@font-face {
  font-family: RobotoCondensed;
  src: url("fonts/Roboto-Condensed.ttf") format("truetype");
  font-display: swap;
}
body {
  font-family: RobotoCondensed, Arial, sans-serif;
  font-size: 14px;
  color: #666;
  background: #fff;
}
a {
  color: #58982b;
}
a:hover {
  color: #62ad2d;
}
#top {
  background: #191919;
  color: #ddd;
  border: 0;
}
#top a {
  color: #ddd;
}
#menu {
  background: #000;
  background-image: none;
  border: 0;
  border-radius: 3px;
}
#menu .nav-link,
#menu .navbar-brand {
  color: #fff;
}
#search .btn,
#header-cart .btn {
  background: #000;
  border-color: #6f6978;
  color: #fff;
}
.btn-primary {
  background: #f06262;
  border-color: #ca3030;
}
.btn-primary:hover {
  background: #ca3030;
  border-color: #ca3030;
}
h1,
h2,
h3,
h4 {
  color: #333;
}
.b39-home h2 {
  font-size: 20px;
  border-bottom: 2px solid #62ad2d;
  padding-bottom: 10px;
  margin: 0 0 15px;
}
.b39-catalog .list-group-item {
  font-size: 14px;
  padding: 10px 14px;
}
.b39-widget > h3 {
  display: none;
}
.b39-widget .product-thumb {
  margin-bottom: 15px;
}
.b39-widget .product-thumb .description {
  padding: 12px;
}
.b39-widget .product-thumb h4 {
  font-size: 16px;
}
.b39-widget .product-thumb p:not(.price) {
  display: none;
}
.b39-widget .product-thumb .image img {
  max-height: 200px;
  object-fit: contain;
}
.b39-intro {
  margin: 25px 0;
}
.b39-intro h1 {
  font-size: 25px;
}
footer {
  border-top: 3px solid #ff1930;
  background: #252525;
}
.b39-brands img {
  max-height: 90px;
  object-fit: contain;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
@media (max-width: 575px) {
  .b39-product-columns .product-thumb .image img {
    max-height: 240px;
  }
  .b39-catalog {
    display: none;
  }
}

#menu.bg-primary {
  background-color: #000 !important;
}
#top .list-inline a,
#top .list-inline .dropdown-toggle {
  color: #ddd;
}
.b39-catalog .list-group-item {
  padding: 6px 14px;
}
.b39-widget .product-thumb {
  border: 1px solid #ddd;
  border-radius: 3px;
}

.b39-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  min-height: 80px;
  padding: 8px;
  color: #444;
}
.b39-perk strong,
.b39-perk small {
  display: block;
}
.b39-category-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  height: 100%;
}
.b39-category-card h3 {
  font-size: 17px;
}
.b39-category-card img {
  max-width: 100%;
  object-fit: contain;
}
.b39-category-card details {
  text-align: left;
  font-size: 13px;
}
.b39-category-card details ul {
  max-height: 200px;
  overflow: auto;
}
.b39-review-track {
  display: flex;
  gap: 15px;
  overflow: auto;
  scroll-snap-type: x mandatory;
}
.b39-review {
  flex: 0 0 calc(25% - 12px);
  min-width: 235px;
  padding: 15px;
  border: 1px solid #ddd;
  scroll-snap-align: start;
}
.b39-review h3 {
  font-size: 17px;
}
.b39-review img {
  max-width: 100%;
  object-fit: contain;
}
.b39-footer-ribbon {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}
.b39-social a {
  display: inline-block;
  margin-right: 16px;
}
@media (max-width: 575px) {
  .b39-perk {
    min-height: 65px;
  }
  .b39-perks img {
    width: 50px;
    height: 40px;
  }
  .b39-review {
    flex-basis: 85%;
  }
}

.b39-search form > button,
#cart > .dropdown > button {
  background-color: #000;
  border-color: #6f6978;
  color: #fff;
}
.b39-search form > button:hover,
#cart > .dropdown > button:hover {
  background-color: #6f6978;
}
.form-control:focus,
.form-select:focus {
  border-color: #62ad2d;
  box-shadow: 0 0 0 0.2rem rgba(98, 173, 45, 0.2);
}

/* Product layout mirrors the original three areas while retaining native OC4 forms. */
.b39-product-title {
  margin: 20px 0 24px;
}
.b39-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 20px;
  margin: 0 0 28px;
}
.b39-product-layout > * {
  min-width: 0;
  padding: 0;
}
.b39-product-gallery .image > a {
  display: block;
}
.b39-product-gallery .image > a img {
  width: 100%;
  height: auto;
  border: 0;
}
.b39-product-gallery .image > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.b39-product-gallery .image > div img {
  max-width: 80px;
}
.b39-product-summary h2 {
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 14px;
  margin: 0 0 16px;
}
.b39-product-summary h2:not(:first-child) {
  margin-top: 26px;
}
.b39-brief-attributes > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dotted #ddd;
  padding: 8px 0;
}
.b39-brief-attributes dt {
  font-weight: 400;
}
.b39-brief-attributes dd {
  text-align: right;
  margin: 0;
  max-width: 65%;
}
.b39-product-purchase {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 14px;
  align-self: start;
}
.b39-product-purchase #form-product .input-group {
  flex-wrap: wrap;
  gap: 5px;
}
.b39-product-purchase #button-cart {
  width: 100%;
  border-radius: 3px;
}
.b39-product-purchase .price-new {
  font-size: 28px;
}
@media (max-width: 991px) {
  .b39-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .b39-product-summary {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
@media (max-width: 575px) {
  .b39-product-layout {
    display: flex;
    flex-direction: column;
  }
  .b39-product-purchase {
    align-self: stretch;
    order: 1;
  }
  .b39-product-summary {
    order: 2;
  }
}

/* Keep dynamic content and mobile forms above the footer. */
#container {
  position: relative;
  min-height: 100vh;
  margin-bottom: 0;
}
#content,
#column-left,
#column-right {
  padding-bottom: 24px;
}
footer {
  position: static;
  bottom: auto;
  margin-top: 30px;
}
.b39-questions label {
  width: 100%;
  text-align: left;
}
.b39-question-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.b39-consent {
  position: fixed;
  z-index: 10000;
  bottom: 15px;
  left: 15px;
  max-width: 620px;
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border: 2px solid #333;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 4px 24px #0004;
  color: #333;
}
.b39-consent[hidden] {
  display: none;
}
.b39-consent h2 {
  font-size: 21px;
}
.b39-consent label {
  text-align: left;
}
.b39-consent-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.b39-consent button,
.b39-consent-open {
  background: #fff;
  border: 1px solid #666;
  border-radius: 4px;
  padding: 8px 12px;
  color: #333;
}
.b39-consent-open {
  position: fixed;
  bottom: 8px;
  left: 8px;
  z-index: 9998;
  font-size: 12px;
}
@media (max-width: 575px) {
  .b39-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 15px;
  }
  .b39-consent-buttons button {
    flex: 1 1 130px;
  }
}

#content {
  min-width: 0;
}
.b39-brand-description {
  overflow-wrap: anywhere;
}
.b39-brand-description img,
#tab-description img {
  max-width: 100% !important;
  height: auto !important;
}
.b39-brand-description table,
#tab-description table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.b39-home .carousel-control-next {
  right: 0;
}
.b39-home .carousel-control-prev {
  left: 0;
}

.pagination {
  flex-wrap: wrap;
  row-gap: 4px;
}

.b39-header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}
.b39-header-logo #logo img {
  width: 270px;
  max-width: 100%;
}
.b39-search-category {
  max-width: 140px;
  flex: 0 1 140px !important;
  font-size: 12px;
}
.b39-search input {
  min-width: 80px;
}
.b39-subcategories {
  padding-left: 12px;
  font-size: 13px;
}
#menu .dropdown-menu {
  max-height: 70vh;
  overflow: auto;
}
@media (min-width: 992px) {
  #menu {
    background: #f5f5f5 !important;
    border: 2px solid #ddd;
    padding: 0;
  }
  #menu .nav-link {
    color: #333;
    text-transform: uppercase;
  }
  #menu .navbar-nav {
    width: 100%;
  }
  #menu .navbar-nav > .nav-item:first-child {
    background: #000;
    min-width: 25%;
    margin-right: 14px;
  }
  #menu .navbar-nav > .nav-item:first-child > .nav-link {
    color: #fff;
    padding: 14px 20px;
  }
  .b39-search form {
    margin-top: 12px;
  }
  header #cart {
    padding-top: 12px;
  }
  header {
    padding: 20px 0;
  }
}
@media (max-width: 991px) {
  .b39-header-contact {
    font-size: 14px;
  }
  .b39-search-category {
    max-width: 110px;
    flex-basis: 110px !important;
  }
}
@media (max-width: 767px) {
  .b39-header-contact {
    display: none;
  }
  .b39-search {
    margin-bottom: 8px;
  }
}

.b39-recent > .row {
  flex-wrap: nowrap;
  overflow-x: auto;
}
.b39-recent > .row > .col {
  flex: 0 0 20%;
  min-width: 200px;
}
.b39-recent h3 {
  border-bottom: 2px solid #62ad2d;
  padding-bottom: 10px;
}
@media (max-width: 575px) {
  .b39-recent > .row > .col {
    flex-basis: 80%;
  }
}

.b39-top-links {
  font-size: 12px;
}
.b39-top-links .list-inline-item {
  margin-right: 10px;
}
.b39-top-account {
  font-size: 12px;
}
@media (min-width: 992px) {
  #menu.bg-primary {
    background-color: #f5f5f5 !important;
  }
  .b39-top-account .fa-phone + span {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #menu.bg-primary .navbar-nav > .nav-item > .nav-link {
    color: #333;
  }
  #menu.bg-primary .navbar-nav > .nav-item:first-child > .nav-link {
    color: #fff;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  header .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
  header .row > .b39-header-logo,
  header .row > .b39-search {
    width: 100%;
    max-width: 100%;
  }
  header .row > .b39-header-contact {
    display: none;
  }
  header .row > #cart {
    grid-column: 1/-1;
    width: 100%;
    max-width: 100%;
  }
}

.b39-product-meta {
  background: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 20px;
}
.b39-product-meta > .list-unstyled {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}
.b39-product-meta .rating {
  margin-top: 5px;
}
.b39-product-meta .rating p {
  margin: 0;
}
.b39-product-purchase .price-new {
  color: #444;
}
@media (max-width: 575px) {
  .b39-product-summary {
    order: 1;
  }
  .b39-product-purchase {
    order: 2;
  }
}

.b39-news {
  overflow-wrap: anywhere;
}
.b39-news article img {
  max-width: 100% !important;
  height: auto !important;
}
.b39-news article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.b39-news article pre {
  white-space: pre-wrap;
}

.b39-form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Measurements from the live NewStore page, with native checkout controls preserved. */
#top {
  font-size: 12px;
  margin-bottom: 0;
}
.breadcrumb {
  background: #fff;
  min-height: 38px;
  padding: 9px 18px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 18px;
}
.breadcrumb > li.breadcrumb-item {
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.breadcrumb > li.breadcrumb-item:after {
  display: none;
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "/";
  position: static;
  border: 0;
  transform: none;
  padding: 0 10px;
  color: #ccc;
}
.b39-product-title {
  font-size: 33px;
  line-height: 1.1;
  margin: 20px 0 10px;
}
.b39-product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 18px;
}
.b39-product-meta > .list-unstyled {
  gap: 4px 14px;
  max-width: 100%;
}
.b39-product-meta li {
  overflow-wrap: anywhere;
}
.b39-product-meta li:before {
  content: "✓";
  color: #59a4d0;
  margin-right: 4px;
}
.b39-product-meta a {
  color: #438db3;
}
.b39-product-meta .rating {
  margin: 0;
}
.b39-product-meta .rating .fa-stack {
  width: 14px;
  height: 18px;
  line-height: 18px;
}
.b39-product-meta .rating .fa-star {
  font-size: 12px;
}
.b39-product-meta .rating .fa-regular {
  color: #ccc;
}
.b39-product-summary h2 {
  font-size: 14px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.b39-product-summary h2:not(:first-child) {
  margin-top: 14px;
}
.b39-brief-attributes > div {
  padding: 2px 0;
}
.b39-product-side {
  align-self: start;
}
.b39-product-purchase {
  padding: 10px;
}
.b39-product-purchase .price-new {
  font-size: 24px;
}
.b39-product-purchase p {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin: 10px 0;
}
.b39-product-purchase p strong {
  font-weight: 400;
  background: #e8f3df;
  border: 1px solid #9fbd87;
  padding: 3px 6px;
  border-radius: 3px;
}
.b39-product-neighbours {
  display: flex;
  gap: 6px;
  margin-bottom: 5px;
  min-height: 34px;
}
.b39-product-neighbours a {
  background: linear-gradient(#fafafa, #ddd);
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #777;
  font-size: 12px;
  padding: 7px 10px;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b39-product-neighbours .b39-next {
  margin-left: auto;
}
.b39-purchase-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.b39-quantity {
  max-width: 120px;
  flex-wrap: nowrap;
}
.b39-quantity input {
  min-width: 34px;
  text-align: center;
  padding: 6px;
}
.b39-quantity .btn {
  padding: 6px 9px;
}
.b39-purchase-actions > .btn-group {
  gap: 5px;
}
.b39-purchase-actions > .btn-group > .btn {
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 3px;
}
.b39-purchase-actions > .btn-group > .btn:first-child {
  color: #d79a43;
  border-color: #d79a43;
}
.b39-purchase-actions > .btn-group > .btn:last-child {
  color: #5d9d99;
  border-color: #5d9d99;
}
.b39-product-purchase #button-cart {
  font-size: 14px;
  padding: 8px;
}
.b39-product-share {
  display: flex;
  gap: 5px;
  margin-top: 12px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}
.b39-product-share a {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 12px;
  color: #46638c;
}
.b39-product-gallery .image > .b39-thumbnails {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.b39-product-gallery .image > .b39-thumbnails img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.b39-thumbnails > a {
  flex: 0 0 calc((100% - 18px) / 4);
  scroll-snap-align: start;
}
.b39-gallery-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.b39-gallery-controls button {
  border: 0;
  background: transparent;
  color: #777;
  padding: 4px 10px;
}
@media (min-width: 992px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .row {
    --bs-gutter-x: 20px;
  }
  header {
    padding: 7px 0 17px;
  }
  header #logo {
    margin: 0;
    padding: 10px 0;
  }
  .b39-header-logo #logo img {
    width: 272.5px;
  }
  .b39-search form {
    margin-top: 39px;
  }
  .b39-search .form-control,
  .b39-search .form-select,
  .b39-search .btn {
    height: 40px;
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header #cart {
    padding-top: 39px;
  }
  #header-cart .dropdown > button {
    width: 100%;
    min-height: 42px;
    white-space: normal;
    font-size: 12px;
    line-height: 14px;
    padding: 7px;
  }
  #menu {
    margin-bottom: 10px;
    min-height: 42px;
    border-width: 1px;
  }
  #menu .navbar-nav > .nav-item:first-child {
    min-width: 23.7%;
    margin-right: 20px;
  }
  #menu.bg-primary .navbar-nav > .nav-item > .nav-link {
    font-size: 12px;
    padding: 12px 20px;
  }
  #menu.bg-primary .navbar-nav > .nav-item:first-child > .nav-link {
    padding: 12px 20px;
  }
  .b39-product-layout {
    grid-template-columns: minmax(0, calc(41.666667% - 11.666667px)) minmax(
        0,
        calc(33.333333% - 13.333333px)
      ) minmax(0, calc(25% - 15px));
  }
}
@media (max-width: 575px) {
  .b39-product-side {
    order: 2;
    align-self: stretch;
  }
  .b39-product-title {
    font-size: 28px;
  }
  .b39-product-meta {
    gap: 4px 10px;
  }
  .b39-product-purchase .b39-purchase-actions {
    justify-content: flex-start;
  }
}

#top .btn {
  font-size: 12px;
  line-height: 1.42857143;
}
.b39-product-neighbours .b39-next:first-child {
  margin-left: 0;
}
.b39-product-purchase #button-cart {
  text-transform: uppercase;
}
@media (min-width: 992px) {
  #menu.bg-primary .navbar-nav > .nav-item > .nav-link,
  #menu.bg-primary .navbar-nav > .nav-item:first-child > .nav-link {
    padding-top: 10.5px;
    padding-bottom: 10.5px;
  }
}

/* Clean recreation of the original NewStore footer, with all links retained. */
footer.b39-footer {
  background: #141414;
  color: #ccc;
  border-top: 3px solid #ff1930;
  padding: 30px 0 10px;
  margin-top: 30px;
  font-size: 13px;
}
footer.b39-footer > .container {
  position: relative;
}
footer.b39-footer a {
  color: #ccc;
}
footer.b39-footer a:hover {
  color: #fff;
}
footer.b39-footer .b39-footer-ribbon {
  position: relative;
  display: table;
  inset: auto;
  z-index: auto;
  background: #ff1930;
  color: #fff;
  font-family: cursive;
  font-size: 20px;
  line-height: 24px;
  margin: -49px 0 25px;
  padding: 10px 20px 6px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
footer.b39-footer h5 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #999;
  margin: 5px 0 20px;
}
footer.b39-footer ul {
  line-height: 20px;
  margin-bottom: 20px;
}
footer.b39-footer .b39-footer-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #fff;
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 5px 10px;
  margin-bottom: 15px;
  min-height: 82px;
  text-decoration: none;
}
footer.b39-footer .b39-footer-banner > i {
  flex: 0 0 40px;
  font-size: 40px;
  text-align: center;
}
footer.b39-footer .b39-footer-banner > span {
  min-width: 0;
}
footer.b39-footer .b39-footer-banner strong {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}
footer.b39-footer .b39-footer-banner small {
  display: block;
  font-size: 13px;
  line-height: 17px;
  min-height: 34px;
}
footer.b39-footer .b39-footer-banner:hover {
  background: #62ad2d;
  border-color: #58982b;
}
footer.b39-footer .b39-footer-banner:hover strong {
  color: #fff;
}
footer.b39-footer .b39-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}
footer.b39-footer .b39-footer-social img {
  display: block;
}
footer.b39-footer .b39-footer-columns li {
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  footer.b39-footer .b39-footer-columns > div {
    padding-bottom: 12px;
  }
  footer.b39-footer h5 {
    margin-bottom: 12px;
  }
}

/* Mobile header dimensions measured against the live NewStore at 390 px. */
@media (max-width: 575px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .row {
    --bs-gutter-x: 20px;
  }
  header {
    padding: 0;
  }
  header > .container > .row {
    display: flex;
    gap: 0;
  }
  header > .container > .row > div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .b39-header-logo {
    order: 0;
  }
  .b39-header-logo #logo {
    margin: 0;
    padding: 0;
  }
  .b39-header-logo #logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .b39-header-contact {
    display: flex;
    order: 1;
    height: 44.5px;
    font-size: 18px;
    line-height: 24px;
  }
  header #cart {
    order: 2;
    padding: 0;
    margin-bottom: 10px !important;
  }
  header #cart .dropdown > button {
    width: 100%;
    height: 44.5px;
    min-height: 44.5px;
    padding: 7px 10px;
    text-align: left;
    font-size: 12px;
    line-height: 26px;
    border: 2px solid #ccc;
    border-radius: 3px;
  }
  header #cart .dropdown > button > .fa-cart-shopping {
    font-size: 28px;
    vertical-align: middle;
    margin-right: 8px;
  }
  .b39-search {
    order: 3;
    margin: 0 0 15px;
  }
  .b39-search form {
    margin: 0;
  }
  .b39-search .form-control,
  .b39-search .form-select,
  .b39-search .btn {
    height: 42px;
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  #menu {
    min-height: 43px;
    margin-bottom: 10px;
    padding: 5px 14px;
  }
  #menu #category {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
  }
  #menu > .navbar-toggler {
    font-size: 14px;
    padding: 2px 4px;
  }
  .b39-product-title {
    font-size: 33px;
    line-height: 1.1;
  }
}

@media (max-width: 575px) {
  #top .list-inline {
    margin-bottom: 10px;
  }
  .b39-header-logo #logo {
    padding-bottom: 30px;
  }
  header #cart {
    padding-left: 10px;
    padding-right: 10px;
  }
  #menu #category {
    line-height: 31px;
    margin: 0;
  }
}

/* Original NewStore home uses compact product lists in four desktop slots. */
.b39-product-columns .b39-widget .product-thumb {
  display: grid;
  grid-template-columns: 33% minmax(0, 1fr);
  align-items: start;
  margin-bottom: 10px;
  border-radius: 5px;
  min-height: 84px;
}
.b39-product-columns .b39-widget .product-thumb > .image {
  padding: 5px;
  max-width: 100%;
}
.b39-product-columns .b39-widget .product-thumb > .image img {
  width: 100%;
  height: auto;
  max-height: none;
}
.b39-product-columns .b39-widget .product-thumb > .content {
  min-width: 0;
  width: 100%;
}
.b39-product-columns .b39-widget .description {
  padding: 5px;
}
.b39-product-columns .b39-widget h4 {
  font-size: 12px;
  line-height: 17px;
  margin: 0 0 2px;
  text-align: left;
  overflow-wrap: anywhere;
}
.b39-product-columns .b39-widget .price {
  font-size: 14px;
  margin: 0 0 2px;
  text-align: left;
}
.b39-product-columns .b39-widget .product-thumb form {
  display: none;
}
.b39-product-columns .b39-widget .rating {
  font-size: 10px;
  text-align: left;
  margin: 0 0 2px;
}
.b39-product-columns .b39-widget .rating .fa-stack {
  font-size: 6px;
}
.b39-review > a > img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}
.b39-review h3 {
  font-size: 14px;
  line-height: 20px;
}
.b39-review > p {
  font-size: 13px;
  line-height: 19px;
}

.b39-product-columns .b39-widget > .row {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  gap: 0;
}
.b39-product-columns .b39-widget > .row > .col {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0 !important;
}
.b39-product-columns .b39-widget .product-thumb > .image {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
.b39-product-columns .b39-widget .product-thumb > .content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.b39-product-columns .b39-widget .product-thumb .description {
  min-height: 0;
}

.b39-product-columns .b39-widget .product-thumb {
  height: auto;
}
.b39-product-columns .b39-widget .description {
  margin-bottom: 0;
}

/* Owner feedback: readable reviews and logo tiles matching the original store. */
.b39-review-track {
  gap: 20px;
  align-items: stretch;
  padding-bottom: 8px;
}
.b39-review {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  padding: 16px;
  background: #fff;
}
.b39-review > a {
  color: #333;
  text-decoration: none;
}
.b39-review > a:hover h3 {
  color: #58982b;
}
.b39-review > a > img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 16px;
}
.b39-review h3 {
  font-size: 18px;
  line-height: 25px;
  margin: 0 0 12px;
  font-weight: 400;
}
.b39-review > p {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 18px;
}
.b39-review > .b39-review-stars {
  font-size: 21px;
  letter-spacing: -1px;
  margin: 20px 0 24px;
}
.b39-review > small {
  display: block;
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 8px;
}
#menu .b39-brands-dropdown {
  position: static;
}
#menu .dropdown-menu.b39-brands-grid,
#menu .dropdown-menu.b39-brands-grid.show {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 0;
  border-top: 3px solid #62ad2d !important;
  background: #fff;
  box-shadow: 0 10px 20px #0002;
}
#menu .dropdown-menu.b39-brands-grid.show {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 12px;
  max-height: 55vh;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
#menu .dropdown-menu.b39-brands-grid > li {
  display: block !important;
  flex: 0 0 150px !important;
  width: 150px !important;
  max-width: 150px !important;
}
#menu .b39-brand-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 10px;
  padding: 6px;
  color: #333;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  white-space: normal;
}
#menu .b39-brand-tile:hover,
#menu .b39-brand-tile:focus-visible {
  color: #6d5cff;
  background: #f4f2ff;
  border-radius: 4px;
}
#menu .b39-brand-tile img,
#menu .b39-brand-monogram {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
#menu .b39-brand-monogram {
  display: grid;
  place-items: center;
  font-size: 32px;
}
@media (max-width: 991px) {
  .b39-review {
    flex-basis: calc((100% - 20px) / 2);
  }
  #menu .b39-brands-grid {
    position: static;
    padding: 12px;
    max-height: 65vh;
  }
  #menu .b39-brands-grid > li {
    flex-basis: 130px;
    max-width: 130px;
  }
  #menu .b39-brand-tile {
    font-size: 15px;
    line-height: 20px;
  }
}
@media (max-width: 575px) {
  .b39-review {
    flex-basis: 85%;
  }
  #menu .b39-brands-grid > li {
    flex-basis: 120px;
    max-width: 120px;
  }
}

/* Theme tokens shared by OpenCart pages and components. */
:root {
  --b39-ink: #222326;
  --b39-red: #bf1830;
  --b39-border: #dce4dd;
  --b39-surface: #f5f8f5;
  --b39-accent: #253c2c;
  --b39-focus: #41684d;
  --b39-radius: 8px;
  --b39-control-height: 44px;
}

:is(#top, header, main, footer)
  :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--b39-focus);
  outline-offset: 2px;
}

/* Account and information pages. */
#top .btn,
#top a {
  color: #e1e3e1;
}

#top .dropdown-menu a,
#top .dropdown-menu .btn {
  color: #222823;
}

#account-login #content > .row {
  max-width: 920px;
  margin: 24px auto 16px;
  row-gap: 12px;
}

#account-login #content > .row > .col > .border {
  background: #fff;
  border-color: #dce2dd !important;
  border-radius: 16px !important;
  padding: clamp(20px, 4vw, 32px) !important;
}

#account-login #content h2,
#information-information #content > h1 {
  color: var(--b39-ink);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

#account-login #content p,
#account-login #content label {
  color: #424d45;
  font-size: 16px;
  line-height: 1.5;
}

#account-login #form-login .form-control {
  border-color: #bfcac0;
  border-radius: var(--b39-radius);
  font-size: 16px;
  min-height: 46px;
}

#account-login #content .btn-primary {
  background: var(--b39-accent);
  border-color: var(--b39-accent);
  border-radius: var(--b39-radius);
  color: #fff;
  font-size: 16px;
  min-height: var(--b39-control-height);
  padding: 10px 20px;
}

#account-login #content .btn-primary:hover {
  background: #17291c;
  border-color: #17291c;
}

#information-information #content {
  color: #29342b;
  font-size: 16px;
  line-height: 1.65;
  padding-top: 20px;
}

#information-information #content > p,
#information-information #content > .faqInfoText {
  max-width: 75ch;
}

#information-information #content .parcels-widget-wrap {
  max-width: 75ch;
  margin-bottom: 20px;
}

#information-information #content .parcels-widget {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

@media (max-width: 575px) {
  header > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 6px 8px;
    margin: 0;
    padding: 8px 0 10px;
  }

  header > .container > .row > div {
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0 !important;
  }

  header .b39-header-logo {
    grid-area: 1 / 1;
  }

  header .b39-header-logo #logo {
    padding: 0;
  }

  header .b39-header-logo #logo img {
    width: 180px;
  }

  header .b39-header-contact {
    grid-area: 3 / 1 / 4 / -1;
    height: auto;
    justify-content: flex-start;
    font-size: 14px;
  }

  header .b39-search {
    grid-area: 2 / 1 / 3 / -1;
  }

  header > .container > .row > .col-md-2 {
    grid-area: 1 / 2;
  }

  header #cart {
    padding: 0;
    margin: 0 !important;
  }

  header #cart .dropdown > button {
    border: 0;
    border-radius: var(--b39-radius);
    padding: 6px 10px;
    white-space: nowrap;
  }

  header #cart .dropdown > button > .fa-cart-shopping {
    font-size: 16px;
    margin-right: 4px;
  }

  #account-login #content > .row {
    display: block;
    margin: 16px 0;
  }

  #account-login #content > .row > .col {
    padding: 0;
  }

  #account-login #content .btn-primary {
    width: 100%;
  }

  #information-information #content {
    padding-top: 14px;
  }
}

/* Red Line catalog presentation. */
header {
  border-bottom: 2px solid var(--b39-red);
}

#display-control {
  border-bottom: 1px solid var(--b39-border);
  margin-bottom: 16px;
}

:is(
  #compare-total,
  #button-grid,
  #button-list,
  #input-sort,
  #input-limit,
  #product-list .product-thumb form button
) {
  min-height: var(--b39-control-height);
  border-color: var(--b39-border);
  color: var(--b39-ink);
}

#compare-total,
#product-list .product-thumb form button,
:where(
    #product-category,
    #product-search,
    #product-manufacturer,
    #product-special
  )
  .input-group-text {
  background: #fff;
  border: 1px solid var(--b39-border);
  color: var(--b39-ink);
}

#compare-total {
  align-content: center;
  border-radius: var(--b39-radius);
}

:is(#button-grid, #button-list).active {
  background: #fff;
  border-color: var(--b39-border);
  box-shadow: inset 0 -3px var(--b39-red);
  color: var(--b39-ink);
}

#product-list .product-thumb {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--b39-border);
}

#product-list .product-thumb .image a {
  display: block;
  background: #fff;
}

#product-list .product-thumb .image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

#product-list .product-thumb :is(.content, .description) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

#product-list .product-thumb .description {
  padding: 14px 0;
}

#product-list .product-thumb h4 a {
  color: var(--b39-ink);
  font-weight: 700;
}

#product-list .product-thumb .price {
  margin-top: auto;
  padding-top: 8px;
  color: var(--b39-ink);
  font-weight: 700;
}

#product-list .product-thumb form {
  padding: 0 0 12px;
}

:is(#compare-total, #product-list .product-thumb form button):hover {
  background: #f4f4f4;
}

@media (min-width: 768px) {
  #product-list.product-list .product-thumb {
    flex-direction: row;
  }

  #product-list.product-list .product-thumb .image {
    flex: 0 0 28%;
  }
}

/* Manufacturer pages share the Gallery Index heading and editorial typography. */
#product-manufacturer {
  --b39-gallery-paper: #fff;
  --b39-gallery-rule: #c8c5b9;
}

#product-manufacturer #content > h1 {
  margin: 22px 0 0;
  padding: clamp(22px, 5vw, 56px) clamp(18px, 4vw, 48px);
  border-block: 1px solid var(--b39-gallery-rule);
  background: var(--b39-gallery-paper);
  color: var(--b39-ink);
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

#product-manufacturer .b39-brand-description {
  padding: clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--b39-gallery-rule);
  color: var(--b39-ink);
  font-size: 16px;
  line-height: 1.65;
}

#product-manufacturer .b39-brand-description > p {
  max-width: 72ch;
  margin-inline: auto;
}

#product-manufacturer .b39-brand-description > p:has(> img) {
  max-width: 100%;
  text-align: center;
}

#product-manufacturer .b39-brand-description > p:has(> br:only-child) {
  margin-block: 0;
  line-height: 0;
}

#product-manufacturer .b39-brand-description img {
  max-width: 100%;
  height: auto;
}

/* Fit the existing cart label on compact desktop headers. */
@media (min-width: 992px) and (max-width: 1199px) {
  header #cart .dropdown > button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding-inline: 6px;
  }
}

/* Axle-inspired storefront shell using the existing OpenCart navigation. */
:root {
  --b39-asphalt: #17191d;
  --b39-paper: #eef0f2;
  --b39-rule: #d3d6da;
  --b39-heading: system-ui, sans-serif;
}

body {
  background: var(--b39-paper);
}

header {
  background: #f8f9fa;
  border-bottom: 1px solid var(--b39-rule);
}

#top,
#menu.bg-primary {
  background: var(--b39-asphalt) !important;
}

#menu.bg-primary {
  border: 0;
  border-radius: 0;
}

#menu.bg-primary .navbar-nav > .nav-item > .nav-link {
  color: #fff;
  font-weight: 650;
}

#menu.bg-primary
  .navbar-nav
  > .nav-item
  > .nav-link:is(:hover, :focus-visible) {
  background: #5143df;
}

@media (min-width: 992px) {
  #menu.bg-primary {
    isolation: isolate;
    z-index: 1030;
  }

  #menu.bg-primary::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    box-shadow: 0 0 0 100vmax var(--b39-asphalt);
    clip-path: inset(0 -100vmax);
  }

  header {
    padding-block: 0;
  }
}

main .breadcrumb {
  background: transparent;
  border: 0;
  padding-inline: 0;
}

main #content > h1 {
  color: var(--b39-asphalt);
  font: italic 800 clamp(30px, 4.5vw, 62px)/1.06 var(--b39-heading);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

#product-manufacturer #content > h1 {
  margin: 12px 0 20px;
  padding: 20px clamp(14px, 3vw, 36px);
  border: 0;
  border-inline-start: 4px solid var(--b39-red);
  background: #fff;
}

#product-manufacturer #content > .b39-brand-description {
  background: #fff;
  border: 1px solid var(--b39-rule);
}

#account-login #content > .row > .col > .border,
#information-information #content {
  background: #fff;
  border-color: var(--b39-rule);
}

#information-information #content {
  padding: clamp(18px, 4vw, 40px);
  border-radius: var(--b39-radius);
}

/* Cosplay listing and two-column product layout. */
html:has(head link[rel="canonical"][href$="/cosplay/"]) #product-category {
  & #product-list .product-thumb,
  & #column-left .list-group-item {
    border-color: var(--b39-rule);
  }

  & #column-left .list-group-item.active {
    background: var(--b39-asphalt);
    color: #fff;
    border-inline-start: 3px solid var(--b39-red);
  }

  & #product-list .product-thumb {
    border: 1px solid var(--b39-rule);
    border-radius: var(--b39-radius);
  }

  & #product-list .product-thumb :is(.description, form) {
    padding-inline: 14px;
  }
}

.b39-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-inline: 0;
}

.b39-gallery-layout
  > :is(.b39-product-gallery, .b39-product-side, .b39-product-summary) {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.b39-gallery-layout > .b39-product-gallery {
  padding: 12px;
  background: #e4e7eb;
  border-radius: var(--b39-radius);
}

.b39-gallery-layout .b39-product-title {
  margin: 0 0 14px;
  color: var(--b39-asphalt);
  font: italic 800 clamp(27px, 3.2vw, 48px)/1.06 var(--b39-heading);
  letter-spacing: -0.04em;
}

.b39-gallery-layout .b39-product-meta {
  padding: 0;
  background: transparent;
  border: 0;
}

.b39-gallery-layout > .b39-product-side {
  padding: 0;
}

.b39-gallery-layout .b39-product-purchase {
  background: transparent;
  border: 0;
  padding-inline: 0;
}

.b39-gallery-layout #button-cart {
  background: var(--b39-red);
  border-color: var(--b39-red);
}

@media (min-width: 992px) {
  .b39-gallery-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(22px, 4vw, 56px);
  }

  .b39-gallery-layout > .b39-product-gallery {
    grid-area: 1 / 1;
  }

  .b39-gallery-layout > .b39-product-side {
    grid-area: 1 / 2;
  }
}

.b39-gallery-layout .b39-product-purchase .price-new {
  color: var(--b39-asphalt);
  font: 800 clamp(30px, 3.2vw, 46px)/1.08 var(--b39-heading);
  font-variant-numeric: tabular-nums;
}

.b39-gallery-layout #button-cart {
  min-height: 48px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.b39-gallery-details,
.b39-gallery-related:not(:empty) {
  margin-block: 30px;
}

.b39-gallery-details {
  background: #fff;
  border: 1px solid var(--b39-rule);
  border-radius: var(--b39-radius);
}

.b39-gallery-details .nav-tabs {
  padding: 0 clamp(12px, 3vw, 28px);
  border-bottom: 1px solid var(--b39-rule);
}

.b39-gallery-details .nav-tabs .nav-link {
  padding: 12px;
  color: var(--b39-ink);
  border: 0;
  border-radius: 0;
}

.b39-gallery-details .nav-tabs .nav-link.active {
  box-shadow: inset 0 -3px var(--b39-red);
  font-weight: 700;
}

.b39-gallery-details .tab-content {
  padding: clamp(16px, 4vw, 32px);
  font: 400 16px/1.65 var(--b39-heading);
  color: var(--b39-ink);
}

.b39-gallery-details #tab-description {
  max-width: 78ch;
  overflow-wrap: anywhere;
}

.b39-gallery-details img {
  max-width: 100%;
  height: auto;
}

.b39-gallery-details #tab-specification .table > :is(thead, tbody) > tr > td {
  border: 0;
  border-bottom: 1px solid var(--b39-rule);
  padding: 12px;
}

.b39-gallery-details #tab-specification thead td {
  background: var(--b39-paper);
}

.b39-gallery-related > h3 {
  font: 750 clamp(22px, 3vw, 32px)/1.15 var(--b39-heading);
  margin-bottom: 16px;
}

.b39-gallery-details #tab-description h2 {
  margin: 24px 0 12px;
  color: var(--b39-asphalt);
  font-weight: 750;
  font-size: clamp(20px, 2.4vw, 28px);
}

.b39-gallery-details #tab-description li + li {
  margin-top: 6px;
}

@media (max-width: 575px) {
  .b39-gallery-layout > .b39-product-gallery .image > a:first-child img {
    max-height: min(46vw, 250px);
    width: 100%;
    object-fit: contain;
    background: #fff;
  }

  .b39-gallery-layout .b39-thumbnails img {
    max-height: 56px;
    object-fit: contain;
  }
}

/* Product sidebars use modules assigned in OpenCart layouts. */
#product-info:has(.b39-gallery-layout) #column-left .list-group,
#product-info:has(.b39-gallery-layout) #column-left .sidebar {
  background: #fff;
  border: 1px solid var(--b39-rule);
  border-radius: var(--b39-radius);
  overflow: hidden;
}

#product-info:has(.b39-gallery-layout)
  #column-left
  :is(.list-group-item, .sidebar a) {
  display: flex;
  align-items: center;
  min-height: var(--b39-control-height);
  padding: 9px 14px;
  color: var(--b39-ink);
  font: 600 14px/1.35 var(--b39-heading);
}

#product-info:has(.b39-gallery-layout) #column-left .list-group-item.active {
  background: var(--b39-asphalt);
  border-color: var(--b39-asphalt);
  color: #fff;
}

#product-info:has(.b39-gallery-layout) #column-left .sidebar .nav {
  display: block;
  border: 0;
}

#product-info:has(.b39-gallery-layout) #column-left .sidebar li + li {
  border-top: 1px solid var(--b39-rule);
}

#product-info:has(.b39-gallery-layout) #column-left a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  #product-info:has(.b39-gallery-layout) #column-left {
    display: none !important;
  }
}

/* Featured item and facet controls in native layout modules. */
#product-info:has(.b39-gallery-layout) #column-left > h3 {
  margin: 20px 0 10px;
  color: var(--b39-ink);
  font: 750 18px/1.2 var(--b39-heading);
}

#product-info:has(.b39-gallery-layout) #column-left .product-thumb {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--b39-rule);
  border-radius: var(--b39-radius);
}

#product-info:has(.b39-gallery-layout) #column-left .product-thumb img {
  width: 100%;
  height: auto;
}

#column-left > .card:has(#button-filter) {
  margin-bottom: 16px;
  border-color: var(--b39-rule);
  border-radius: var(--b39-radius);
}

#column-left #button-filter {
  min-height: var(--b39-control-height);
  background: var(--b39-asphalt);
  border-color: var(--b39-asphalt);
}

@media (max-width: 767px) {
  #product-category #column-left:has(#button-filter) {
    display: block !important;
    flex: 0 0 100%;
    width: 100%;
  }

  #product-category #column-left:has(#button-filter) > .list-group {
    display: none;
  }
}

@media (min-width: 960px) {
  #menu .b39-brands-dropdown:hover .b39-brands-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }
}
