body {
  background: var(--site-background-color);
}
body.has-offcanvas {
  overflow: hidden;
}
/* Side menu - slide from right */
.offcanvas {
  left: auto;
  right: 0;
  transform: translateX(100%);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  background: #fff;
  /* Override framework.css desktop styles - keep hidden until triggered */
  position: fixed !important;
  visibility: hidden !important;
}
.offcanvas.show {
  transform: translateX(0);
  visibility: visible !important;
}
/* Dark overlay when side menu is open */
.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease-in-out, visibility 150ms ease-in-out;
}
body.has-offcanvas .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}
.offcanvas {
  z-index: 99999;
}
.offcanvas .offcanvas-header {
  display: flex;
  padding: 1rem;
}
.offcanvas .offcanvas-header .logotype img {
  max-height: 40px;
}
.offcanvas .offcanvas-header [data-toggle="dismiss"] {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.offcanvas .offcanvas-header [data-toggle="dismiss"] svg {
  width: 24px;
  height: 24px;
}
.offcanvas .navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offcanvas .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
}
.offcanvas .nav-item .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}
.offcanvas .nav-item .nav-link svg {
  width: 20px;
  height: 20px;
}
.offcanvas .nav-item .nav-link .badge {
  background: #e53935;
  color: white;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: auto;
}
.offcanvas .nav-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 600;
  color: #666;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 8px;
}
.offcanvas .nav-section-title svg {
  width: 20px;
  height: 20px;
}
.offcanvas .nav-item .nav-link.active {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
}
#page-container {
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  padding: 0 15px;
}
#content-wrapper {
  flex-grow: 1;
}
#important-notice {
  background: var(--important-notice-background-color);
  color: var(--important-notice-text-color);
  text-align: center;
}
#important-notice .fourteen-forty {
  padding: 0.5em var(--gutter-x);
}
#site-menu .quick-access {
  display: flex;
  align-items: center;
  gap: 1.5em;
  white-space: nowrap;
}
#site-menu .navbar {
  padding: 1.5em 1em;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  #site-menu .navbar {
    padding: 1em 0 2em;
  }
}
#site-menu .navbar .dropdown-menu .nav-link {
  background: transparent;
  color: var(--dropdown-menu-item-text-color);
}
#site-menu .navbar .dropdown-menu .nav-link:hover {
  filter: brightness(0.95);
}
#site-menu .dropdown-menu {
  --gutter-y: 0.75em;
}
.navbar-header {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0.5em 1em;
  justify-content: space-between;
  background: var(--header-background-color);
  color: var(--header-text-color);
  width: 100%;
}
@media (min-width: 768px) {
  .navbar-header {
    flex-wrap: nowrap;
    gap: 3em;
  }
}
.navbar-header .fourteen-forty {
  display: inherit;
  flex-flow: inherit;
  gap: inherit;
  justify-content: inherit;
  align-items: inherit;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-header .logotype {
  flex: 0 0 200px;
}
.navbar-header .logotype img {
  width: 100%;
  margin-top: 15px;
}
.navbar-header .navbar-brand {
  display: none;
  width: calc(var(--sidebar-width) + var(--gutter-x)/2);
  font-size: 17px;
}
.navbar-header .navbar-brand:hover,
.navbar-header .navbar-brand:focus {
  text-decoration: none;
}
.navbar-header .navbar-brand > img {
  display: block;
}
@media (min-width: 768px) {
  .navbar-header .navbar-brand {
    display: block;
  }
}
.navbar-header form[name="search_form"] .input-group {
  background-color: #f1f3f5;
}
.navbar-header form[name="search_form"] input {
  font-size: 18px;
}
.navbar-header form[name="search_form"] input::placeholder {
  font-size: 16px;
}
.navbar-header .navbar-search {
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .navbar-header .navbar-search {
    max-width: 600px;
  }
}
@media (max-width: 767px) {
  .navbar-header .logotype {
    flex: 0 0 150px;
  }
  .navbar-header .navbar-search {
    width: 100%;
    order: 999;
  }
  .navbar-header .user-name {
    display: none;
  }
  .navbar-header .user-dropdown .dropdown-menu {
    display: none !important;
  }
  .navbar-header .user-dropdown .icon-chevron {
    display: none;
  }
}
.navbar-header .navbar-icon {
  font-size: 1.5em;
}
.navbar-header .quick-access {
  display: flex;
  align-items: center;
  gap: 1.5em;
  margin-left: auto;
}
.navbar-header .quick-access svg {
  color: #374151;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Language selector */
@media (max-width: 991px) {
  .navbar-header .language-selector {
    display: none;
  }
}
.navbar-header .language-selector .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background-image: none;
  padding-inline-end: 0 !important;
}
.navbar-header .language-selector .dropdown-toggle:hover {
  text-decoration: none;
}
.navbar-header .language-selector .icon-globe {
  width: 20px;
  height: 20px;
}
.navbar-header .language-selector .language-text {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}
.navbar-header .language-selector .icon-chevron {
  width: 18px;
  height: 18px;
}
.navbar-header .language-selector .dropdown-menu {
  min-width: 140px;
  padding: 0;
  left: -15px !important;
  right: auto !important;
  border: none;
  background-color: transparent;
  box-shadow: none;
  overflow: visible;
}
.navbar-header .language-selector .dropdown-menu .dropdown-header {
  height: 16px;
  background-color: var(--site-background-color);
  position: relative;
}
.navbar-header .language-selector .dropdown-menu .dropdown-body {
  background: linear-gradient(to bottom, var(--site-background-color) 0%, #ffffff 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 0 0 8px 0;
  margin: 0;
  list-style: none;
}
.navbar-header .language-selector .dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
}
.navbar-header .language-selector .dropdown-menu .nav-link .icon-globe {
  width: 20px;
  height: 20px;
}
.navbar-header .language-selector .language-icon {
  width: 20px;
  height: 20px;
}
/* Auth button */
.navbar-header .auth-button {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.navbar-header .auth-button:hover {
  background-color: #1d4ed8;
  color: white;
  text-decoration: none;
}
/* Cart */
.navbar-header #cart.cart-container {
  position: relative;
}
.navbar-header #cart.cart-container > a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.navbar-header #cart.cart-container svg {
  width: 24px;
  height: 24px;
}
.navbar-header #cart.cart-container .cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #e53935;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.navbar-header #cart.cart-container .cart-badge:empty {
  display: none;
}
.navbar-header #cart.cart-container .items {
  display: none;
}
/* User dropdown */
.navbar-header .user-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  background-image: none;
  padding-inline-end: 0 !important;
}
.navbar-header .user-dropdown .dropdown-toggle:hover {
  text-decoration: none;
}
.navbar-header .user-dropdown .icon-user {
  width: 20px;
  height: 20px;
}
.navbar-header .user-dropdown .user-name {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}
.navbar-header .user-dropdown .icon-chevron {
  width: 18px;
  height: 18px;
}
.navbar-header .user-dropdown .dropdown-menu {
  min-width: 180px;
  padding: 0;
  left: -15px !important;
  right: auto !important;
  border: none;
  background-color: transparent;
  box-shadow: none;
  overflow: visible;
}
.navbar-header .user-dropdown .dropdown-menu .dropdown-header {
  height: 16px;
  background-color: var(--site-background-color);
  position: relative;
}
.navbar-header .user-dropdown .dropdown-menu .dropdown-body {
  background: linear-gradient(to bottom, var(--site-background-color) 0%, #ffffff 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 0 0 8px 0;
  margin: 0;
  list-style: none;
}
.navbar-header .user-dropdown .dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
}
.navbar-header .user-dropdown .dropdown-menu .nav-link .nav-icon {
  width: 20px;
  height: 20px;
}
/* User link (not logged in) */
.navbar-header .user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.navbar-header .user-link:hover {
  text-decoration: none;
}
.navbar-header .user-link .icon-lock {
  width: 22px;
  height: 22px;
}
.navbar-header .user-link .user-name {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}
/* Menu icon */
.navbar-header .menu-icon {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: none;
  align-items: center;
}
@media (max-width: 991px) {
  .navbar-header .menu-icon {
    display: flex;
  }
}
.navbar-header .menu-icon svg {
  width: 28px;
  height: 28px;
}
#cart {
  position: relative;
  display: inline-block;
}
#cart > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px transparent solid;
  border-radius: var(--border-radius);
  color: inherit;
  white-space: nowrap;
}
#cart > a:hover {
  border-color: var(--default-border-color);
  text-decoration: none;
}
#cart img {
  max-width: 2em;
  max-height: 2em;
}
@media (min-width: 768px) {
  #cart img {
    font-size: 1.5em;
  }
}
#cart .badge {
  background: #c90000;
  border-radius: 2rem;
  padding: 0.25em 0em;
  display: inline-block;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 15px;
  right: -10px;
  width: 2em;
  animation: pulsating 1.5s linear infinite;
  font-size: 10px;
}
#cart .badge:empty {
  display: none;
}
@media (max-width: calc(768px - 1px)) {
  #cart .details {
    display: none;
  }
  #cart #cart .badge {
    top: 15px;
    right: 0;
  }
}
#sidebar {
  position: relative;
  display: flex;
  flex-flow: column;
}
#footer {
  background-color: var(--footer-background-color);
  color: var(--footer-text-color);
  padding: var(--gutter-y) var(--gutter-x);
}
#footer a {
  color: inherit;
}
#footer .columns {
  display: grid;
  margin-bottom: 0;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  grid-gap: var(--gutter-x);
}
@media (min-width: 768px) {
  #footer .columns {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) {
  #footer .columns {
    grid-template-columns: repeat(5, 1fr);
  }
}
#footer .title {
  font-size: 1.5em;
  margin: 0 0 0.75em 0;
  color: var(--footer-title-color);
}
#footer ul.list-vertical li {
  padding: 0;
}
#copyright {
  background: var(--copyright-background-color);
  color: var(--copyright-text-color);
}
#copyright .container {
  padding: 0.75em var(--gutter-x);
}
#copyright .notice {
  text-align: center;
}
#copyright .notice a {
  color: inherit;
  text-decoration: underline;
}
#scroll-up {
  bottom: 30px;
  display: none;
  height: 48px;
  opacity: 0.3;
  position: fixed;
  right: 30px;
  width: 48px;
}
/* Boxes */
.box {
  margin-bottom: var(--gutter-y);
}
#box-filter .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
#box-filter .filters > * {
  flex: 1 1 auto;
  min-width: fit-content;
}
#box-filter .filters [data-toggle="dropdown"] {
  cursor: pointer;
}
#box-filter .filters .dropdown-menu li {
  margin: 0.5em 1em;
}
#box-filter .filters .dropdown-menu .option {
  white-space: nowrap;
}
#box-filter .manufacturers ul {
  max-height: 200px;
  overflow-y: auto;
}
#box-filter .tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#box-filter .tokens:not(:empty) {
  padding-top: var(--gutter-y);
}
#box-filter .tokens .token {
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: var(--border-radius);
  cursor: default;
}
#box-filter .tokens .token[data-group="name"] {
  background: #cbe2b6;
}
#box-filter .tokens .token[data-group="manufacturer"] {
  background: #b6c2e2;
}
#box-filter .tokens .token[data-group^="attribute"] {
  background: #e2c6b6;
}
#box-filter .tokens .token .remove {
  padding-inline-start: 0.5em;
  color: inherit;
  font-weight: 600;
}
#box-cookie-notice {
  background: var(--cookie-notice-background-color);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;
  backdrop-filter: saturate(200%) blur(5px);
  color: var(--cookie-notice-text-color);
  z-index: 999;
}
#box-cookie-notice .notice {
  margin-bottom: 1em;
}
#box-cookie-notice .notice a {
  color: inherit;
  text-decoration: underline;
}
#box-cookie-notice button {
  margin: 0 0.5em;
}
@media (min-width: 768px) {
  #box-cookie-notice {
    max-width: 480px;
    margin: 0 auto;
    bottom: var(--gutter-y);
    border-radius: var(--border-radius);
  }
}
#box-recently-viewed-products .link img {
  transition: all 100ms linear;
}
#box-recently-viewed-products .link img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
}
@media (min-width: 992px) {
  #box-also-purchased-products {
    position: sticky;
    top: 0;
  }
}
#box-manufacturer-logotypes img {
  max-height: 60px;
}
#box-recently-viewed-products .listing {
  grid-template-columns: repeat(auto-fill, minmax(48px, 0.5fr));
}
.listing {
  display: grid;
  grid-gap: var(--gutter-x);
}
@media (min-width: 768px) {
  .listing {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.listing.products.columns {
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
}
@media (min-width: 768px) {
  .listing.products.columns {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (min-width: 992px) {
  .listing.products.columns {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  }
}
.listing.products.rows {
  grid-auto-flow: row;
  grid-template-columns: initial;
}
.listing.categories {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.listing.manufacturers {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 768px) {
  .listing.manufacturers {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.listing h1,
.listing h2,
.listing h3 {
  padding-bottom: 0;
  border: none;
}
.listing a {
  color: inherit;
  text-decoration: none;
}
.listing .category,
.listing .manufacturer,
.listing .product {
  position: relative;
  overflow: hidden;
  background: var(--image-whitespace-color);
  border: 1px solid var(--default-border-color);
  border-radius: var(--border-radius);
  transform: scale(1);
  transition: all 100ms linear;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 768px) {
  .listing .category:hover,
  .listing .manufacturer:hover,
  .listing .product:hover {
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
  }
}
.listing .category {
  position: relative;
  background: var(--whitespace-color);
}
.listing .category .caption {
  background: var(--whitespace-color);
  padding: calc(var(--gutter-y)/2) var(--gutter-x);
  color: var(--default-text-color);
  text-align: center;
}
.listing .category .caption * {
  font-weight: normal;
  color: inherit;
  margin: 0;
}
.listing .category .caption .name {
  font-size: 1.15em;
}
.listing .manufacturer {
  position: relative;
  background: var(--whitespace-color);
}
.listing .manufacturer img {
  width: 100%;
  height: auto;
  padding: 1rem;
}
.listing .manufacturer .caption {
  margin: 0;
  padding: calc(var(--gutter-y)/2) var(--gutter-x);
  background: #f2f2f2;
  color: var(--default-text-color);
  text-align: center;
}
.listing .product {
  position: relative;
  background: var(--whitespace-color);
}
.listing .product .link {
  text-decoration: none;
}
.listing .product .image-wrapper {
  background: var(--image-whitespace-color);
}
.listing .product .image-wrapper .sticker {
  position: absolute;
  top: 20px;
  left: -32px;
  width: 125px;
  padding: 0.25rem 0;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
}
.listing .product .image-wrapper .sticker.new {
  background: rgba(251, 184, 41, 0.9);
}
.listing .product .image-wrapper .sticker.sale {
  background: rgba(237, 60, 50, 0.9);
}
.listing .product .name {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  height: 40px;
  font-size: 1em;
  font-weight: 400;
  line-height: 115%;
  border-bottom: 0;
  margin: 0;
}
.listing .product .manufacturer-name {
  color: var(--default-text-color);
  font-size: 0.9em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 200%;
  opacity: 0.75;
}
.listing .product .description {
  max-width: 640px;
  text-align: left;
}
.listing .product .stock-available .value {
  color: #009900;
}
.listing .product .stock-partly-available .value {
  color: #ff9900;
}
.listing .product .stock-unavailable .value {
  color: #cc0000;
}
.listing .product .price-wrapper {
  font-size: 1.25em;
}
.listing .product .price-wrapper .price {
  font-weight: bold;
  white-space: nowrap;
}
.listing .product .price-wrapper .regular-price,
.listing .product .price-wrapper .recommended-price {
  color: var(--default-text-color);
  font-size: 0.75em;
  font-weight: normal;
  white-space: nowrap;
}
.listing .product .price-wrapper .campaign-price {
  font-weight: bold;
  color: #c00;
  white-space: nowrap;
}
.listing .product .preview {
  margin: 0 -1px -1px -1px;
  display: none;
  position: absolute;
  top: 1em;
  right: 1em;
  padding: var(--input-padding-y);
  width: 3em;
  box-shadow: none;
}
@media (min-width: 768px) {
  .listing .product:hover .preview {
    display: inline-block;
  }
}
.listing.columns .product .image {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.listing.columns .product .info {
  padding: 0.5rem 0;
  text-align: center;
}
.listing.columns .product .description {
  display: none;
}
.listing.columns .product .price-wrapper {
  position: initial;
}
.listing.rows .product .link {
  display: flex;
  gap: var(--gutter-x);
  padding: var(--gutter-y) var(--gutter-x);
}
.listing.rows .product .info {
  flex: 1 1 auto;
}
.listing.rows .product .image-wrapper {
  width: 175px;
}
@media (min-width: 768px) {
  .listing.rows .product .image-wrapper {
    width: 160px;
  }
}
@media (min-width: 768px) {
  .listing.rows .product {
    height: auto;
  }
  .listing.rows .product .description {
    margin-bottom: 1em;
  }
}
#box-product form[name="buy_now_form"] {
  padding: var(--gutter-y) var(--gutter-x);
  margin: 1em 0;
  border: 1px solid var(--default-border-color);
  border-radius: var(--border-radius);
}
#box-product .images {
  margin-bottom: var(--gutter-y);
}
#box-product .main-image {
  position: relative;
  background: var(--whitespace-color);
  overflow: hidden;
}
#box-product .main-image .sticker {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  top: 15px;
  left: -35px;
  padding: 0.25rem 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
  width: 140px;
}
#box-product .main-image .sticker.new {
  background: rgba(251, 184, 41, 0.85);
}
#box-product .main-image .sticker.sale {
  background: rgba(237, 60, 50, 0.85);
}
#box-product .price-wrapper {
  font-size: 1.75em;
}
#box-product .price-wrapper .regular-price,
#box-product .price-wrapper .recommended-price {
  font-size: 0.75em;
}
#box-product .price-wrapper .campaign-price {
  color: #cc0000;
}
#box-product .tax {
  color: #999;
}
#box-product .stock-available .value {
  color: #009900;
}
#box-product .stock-partly-available .value {
  color: #ff9900;
}
#box-product .stock-unavailable .value {
  color: #cc0000;
}
#box-product .out-of-stock-notice {
  background: var(--default-background-color);
  border: 1px solid var(--default-border-color);
  padding: var(--gutter-y) var(--gutter-x);
  border-radius: var(--border-radius);
}
#box-product .stock-notice {
  margin-top: 1em;
  padding: 0.5em;
  border-radius: var(--border-radius);
  border: 1px #86cb00 solid;
  color: #86cb00;
}
#box-product .stock-notice:empty {
  display: none;
}
#box-product .stock-notice.notice {
  color: #e58310;
  border-color: #e58310;
}
#box-product .stock-notice.warning {
  color: #c00;
  border-color: #c00;
}
#box-product .stock-notice .description {
  margin-top: 1em;
  font-size: 0.8em;
}
#box-product .social-bookmarks {
  font-size: 1.75em;
  margin-top: 1em;
}
#box-product .social-bookmarks a {
  margin: 0 0.25em;
}
#box-product .description p:first-child {
  margin-top: 0;
}
#box-product .description p:last-child {
  margin-bottom: 0;
}
#box-product .description a {
  text-decoration: underline;
}
/* AMZ Product Grid - matching AMZ.lt design */
#box-latest-products,
#box-popular-products,
#box-campaign-products {
  margin-bottom: 2rem;
}
#box-latest-products .box-header,
#box-popular-products .box-header,
#box-campaign-products .box-header {
  margin-bottom: 1rem;
}
#box-latest-products .box-title,
#box-popular-products .box-title,
#box-campaign-products .box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}
.listing.products.columns.amz-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 1380px) {
  .listing.products.columns.amz-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1100px) {
  .listing.products.columns.amz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .listing.products.columns.amz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .listing.products.columns.amz-grid {
    grid-template-columns: 1fr;
  }
}
/* AMZ Product Card */
.listing .product.amz-product-card {
  background: transparent;
  border-radius: var(--border-radius);
  padding: 16px;
  border: 1px solid var(--default-border-color);
  transform: none;
}
.listing .product.amz-product-card:hover {
  box-shadow: none;
  transform: none;
  border-color: #ccc;
}
.amz-product-card .link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.amz-product-card .product-image {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.amz-product-card .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.amz-product-card .brand-name {
  font-size: 14px;
  color: #0d9488;
  margin-bottom: 6px;
  font-weight: 400;
}
.amz-product-card .product-title {
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}
.amz-product-card .rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.amz-product-card .stars {
  display: flex;
  gap: -1px;
  align-items: center;
}
.amz-product-card .star {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.amz-product-card .star svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.amz-product-card .star-full {
  color: #f59e0b;
}
.amz-product-card .star-half {
  color: #f59e0b;
}
.amz-product-card .star-empty {
  color: #d1d5db;
}
.amz-product-card .rating-number {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-left: 6px;
  line-height: 1;
}
.amz-product-card .review-count {
  font-size: 14px;
  color: #6b7280;
  margin-left: 4px;
  line-height: 1;
}
.amz-product-card .price-current {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: start;
}
.amz-product-card .price-current .currency {
  font-size: 16px;
  line-height: 1;
  padding-top: 2px;
  margin-right: 2px;
}
.amz-product-card .price-current .main {
  font-size: 28px;
  line-height: 1;
  margin-right: 2px;
}
.amz-product-card .price-current .cents {
  font-size: 16px;
  line-height: 1;
  padding-top: 2px;
}
.amz-product-card .price-current .discount-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 10px;
  vertical-align: middle;
  height: 28px;
  min-width: 52px;
}
.amz-product-card .price-current .discount-tag .tag-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.amz-product-card .price-current .discount-tag .tag-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  padding: 0 8px 0 18px;
}
.amz-product-card .amazon-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 2px;
}
.amz-product-card .price-original {
  color: #f97316;
  font-weight: 500;
  display: inline-flex;
  align-items: start;
}
.amz-product-card .price-original .currency {
  font-size: 12px;
  line-height: 1;
  padding-top: 1px;
  margin-right: 2px;
}
.amz-product-card .price-original .main {
  font-size: 18px;
  line-height: 1;
  margin-right: 1px;
}
.amz-product-card .price-original .cents {
  font-size: 12px;
  line-height: 1;
  padding-top: 1px;
  font-weight: 600;
}

/* AMZ Product Page Title */
#box-product .title {
  font-size: 1.6em;
  margin-bottom: 0.5rem;
}

/* AMZ Brand Name for Product Page */
#box-product .brand-name {
  font-size: 14px;
  color: #0d9488;
  margin-bottom: 6px;
  font-weight: 400;
}
#box-product .brand-name a {
  color: inherit;
  text-decoration: none;
}
#box-product .brand-name a:hover {
  text-decoration: underline;
}

/* AMZ Star Rating for Product Page - exact same as listing card */
#box-product .rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
#box-product .rating .stars {
  display: flex;
  gap: -1px;
  align-items: center;
}
#box-product .rating .star {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#box-product .rating .star svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
#box-product .rating .star-full {
  color: #f59e0b;
}
#box-product .rating .star-half {
  color: #f59e0b;
}
#box-product .rating .star-empty {
  color: #d1d5db;
}
#box-product .rating .rating-number {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-left: 6px;
  line-height: 1;
}
#box-product .rating .review-count {
  font-size: 14px;
  color: #6b7280;
  margin-left: 4px;
  line-height: 1;
}

/* AMZ Price Display for Product Page */
#box-product .amz-price-display {
  margin-bottom: 1.2em;
}
#box-product .amz-price-display .price-current {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1em;
  display: inline-flex;
  align-items: start;
}
#box-product .amz-price-display .price-current .currency {
  font-size: 20px;
  line-height: 1;
  padding-top: 4px;
  margin-right: 2px;
}
#box-product .amz-price-display .price-current .main {
  font-size: 36px;
  line-height: 1;
  margin-right: 2px;
}
#box-product .amz-price-display .price-current .cents {
  font-size: 20px;
  line-height: 1;
  padding-top: 4px;
}
#box-product .amz-price-display .price-current .discount-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 10px;
  vertical-align: middle;
  height: 36px;
  min-width: 52px;
}
#box-product .amz-price-display .price-current .discount-tag .tag-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#box-product .amz-price-display .price-current .discount-tag .tag-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  padding: 0 8px 0 18px;
}
#box-product .amz-price-display .amazon-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 2px;
}
#box-product .amz-price-display .price-original {
  color: #f97316;
  font-weight: 500;
  display: inline-flex;
  align-items: start;
}
#box-product .amz-price-display .price-original .currency {
  font-size: 14px;
  line-height: 1;
  padding-top: 2px;
  margin-right: 2px;
}
#box-product .amz-price-display .price-original .main {
  font-size: 22px;
  line-height: 1;
  margin-right: 1px;
}
#box-product .amz-price-display .price-original .cents {
  font-size: 14px;
  line-height: 1;
  padding-top: 2px;
  font-weight: 600;
}

/* Product page button container */
#box-product .button-container {
  display: flex;
  gap: 0;
  align-items: center;
  margin-top: 12px;
}
#box-product .button-container .add-to-cart {
  padding: var(--input-padding-y) var(--input-padding-x);
  background-color: #F57C00;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid #F57C00;
  border-radius: var(--input-border-radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}
#box-product .button-container .add-to-cart:hover {
  background-color: #E65100;
  border-color: #E65100;
}
#box-product .button-container .add-to-cart:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}
/* Split buttons after adding to cart */
#box-product .button-container.added .add-to-cart {
  border-radius: 0;
}
#box-product .button-container .add-to-cart.secondary {
  background-color: #F57C00;
  color: #ffffff;
  border-radius: var(--input-border-radius);
  border-color: #F57C00;
  position: relative;
  z-index: 2;
}
#box-product .button-container .add-to-cart.secondary:hover {
  background-color: #E65100;
  border-color: #E65100;
}
#box-product .button-container .add-to-cart.secondary:disabled {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  cursor: default;
  border-radius: var(--input-border-radius) 0 0 var(--input-border-radius);
}
#box-product .button-container .add-to-cart.primary .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#box-product .button-container .view-cart-slide.slide-in .cart-count {
  opacity: 1;
}
#box-product .button-container .add-to-cart.primary .cart-count:empty {
  display: none;
}
#box-product .button-container .add-to-cart.primary {
  background-color: transparent;
  color: #111827;
  border-radius: 0 var(--input-border-radius) var(--input-border-radius) 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-left: none;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 18px 6px 12px;
  text-transform: none;
  position: relative;
  z-index: 1;
  overflow: visible;
  box-shadow: none;
}
#box-product .button-container .add-to-cart.primary:hover {
  border-color: #1a1a1a;
  text-decoration: none;
  background-color: transparent;
}
/* View cart slide-out animation */
#box-product .button-container .view-cart-slide {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
#box-product .button-container .view-cart-slide.slide-in {
  transform: translateX(0);
}

/* Login Modal */
body.has-modal {
  overflow: hidden;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}
.modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.modal .modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  margin: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
}
.modal .modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.modal .modal-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #666;
}
.modal .modal-close:hover {
  color: #333;
}
.modal .modal-close svg {
  width: 24px;
  height: 24px;
}
.modal .modal-body {
  padding: 1.5rem;
}
.modal .modal-body .form-group {
  margin-bottom: 1rem;
}
.modal .modal-body label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 14px;
  font-weight: 500;
}
.modal .modal-body .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}
.modal .modal-body input[type="email"],
.modal .modal-body input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.modal .modal-body input[type="email"]:focus,
.modal .modal-body input[type="password"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.modal .modal-body .btn-block {
  width: 100%;
}
.modal .modal-body .login-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
}
.modal .modal-body .login-links a {
  display: block;
  color: #666;
  margin-bottom: 0.5rem;
}
.modal .modal-body .login-links a:hover {
  color: #333;
}
