/* LOWIZ STORE — focused product card + detail modal refinement.
   This layer styles the current script.js markup only; commerce logic is untouched. */

html body #productGrid.product-grid {
  align-items: stretch !important;
  column-gap: 16px !important;
  row-gap: 18px !important;
}

html body #productGrid.product-grid .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(170, 181, 210, .13) !important;
  border-radius: 19px !important;
  background: linear-gradient(160deg, #121a2a 0%, #0d1422 100%) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .20) !important;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

html body #productGrid.product-grid .product-card:hover {
  border-color: rgba(151, 124, 255, .38) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .30) !important;
}

html body #productGrid.product-grid .card-media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(170, 181, 210, .12) !important;
  background: #10182a !important;
}

html body #productGrid.product-grid .card-media > .product-cover {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  isolation: isolate !important;
}

html body #productGrid.product-grid .card-media > .product-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, rgba(5, 8, 16, .30), rgba(5, 8, 16, .02) 38%, rgba(5, 8, 16, .76)) !important;
  pointer-events: none !important;
}

html body #productGrid.product-grid .card-media > .product-cover img {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body #productGrid.product-grid .card-media .cover-brand,
html body #productGrid.product-grid .card-media .cover-name,
html body #productGrid.product-grid .card-media .cover-foot {
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .36) !important;
}

html body #productGrid.product-grid .card-media .cover-brand {
  font-size: 8px !important;
  letter-spacing: .15em !important;
}

html body #productGrid.product-grid .card-media .cover-name {
  margin-top: auto !important;
  font-size: clamp(19px, 2vw, 27px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

html body #productGrid.product-grid .card-media .cover-foot {
  margin-top: 8px !important;
  font-size: 7px !important;
  letter-spacing: .12em !important;
}

html body #productGrid.product-grid .card-badges {
  top: 11px !important;
  left: 11px !important;
  right: 52px !important;
  max-width: none !important;
  gap: 5px !important;
}

html body #productGrid.product-grid .card-badge {
  max-width: 100% !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  font-size: 9px !important;
  line-height: 1.15 !important;
  letter-spacing: .045em !important;
  white-space: normal !important;
}

html body #productGrid.product-grid .card-fav-btn {
  top: 10px !important;
  right: 10px !important;
  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;
  min-height: 35px !important;
  border: 1px solid rgba(220, 226, 245, .20) !important;
  background: rgba(8, 13, 24, .78) !important;
  color: #e2e8f7 !important;
  backdrop-filter: blur(12px) !important;
}

html body #productGrid.product-grid .card-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 14px 15px 15px !important;
  background: transparent !important;
}

html body #productGrid.product-grid .card-meta {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body #productGrid.product-grid .card-category {
  display: block !important;
  min-width: 0 !important;
  max-width: 68% !important;
  overflow: hidden !important;
  color: #a5b2cb !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body #productGrid.product-grid .card-stock {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 5px !important;
  color: #8fe0bd !important;
  font-size: 9.5px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

html body #productGrid.product-grid .card-stock.status-empty,
html body #productGrid.product-grid .card-stock.status-offline {
  color: #f3a2ab !important;
}

html body #productGrid.product-grid .card-title {
  display: -webkit-box !important;
  min-width: 0 !important;
  min-height: 2.55em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #f4f6fc !important;
  font-size: 14px !important;
  font-weight: 780 !important;
  line-height: 1.28 !important;
  letter-spacing: -.015em !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body #productGrid.product-grid .card-description {
  display: -webkit-box !important;
  min-width: 0 !important;
  min-height: 2.75em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #9ba8c0 !important;
  font-size: 11.5px !important;
  font-weight: 450 !important;
  line-height: 1.38 !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body #productGrid.product-grid .card-pricing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-top: auto !important;
  padding-top: 4px !important;
}

html body #productGrid.product-grid .card-price {
  color: #e4ddff !important;
  font-size: 20px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: -.035em !important;
  font-variant-numeric: tabular-nums !important;
}

html body #productGrid.product-grid .card-old-price {
  color: #8491aa !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

html body #productGrid.product-grid .card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-top: 2px !important;
}

html body #productGrid.product-grid .card-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 43px !important;
  height: auto !important;
  padding: 7px 10px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

html body #productGrid.product-grid .card-actions .card-btn-primary {
  border: 1px solid rgba(186, 165, 255, .3) !important;
  color: #fff !important;
  background: linear-gradient(125deg, #7654d8, #4268be) !important;
  box-shadow: 0 6px 16px rgba(83, 72, 166, .20) !important;
}

html body #productGrid.product-grid .card-actions .card-btn-whatsapp {
  border: 1px solid rgba(91, 205, 144, .26) !important;
  color: #ecfff4 !important;
  background: linear-gradient(125deg, #197b4d, #176641) !important;
  box-shadow: none !important;
}

html body #productGrid.product-grid .card-actions .card-btn-icon {
  width: 44px !important;
  min-width: 44px !important;
  height: 43px !important;
  padding: 0 !important;
  border: 1px solid rgba(170, 181, 210, .16) !important;
  border-radius: 11px !important;
  color: #dce4f5 !important;
  background: #19243a !important;
}

html body #productGrid.product-grid .card-actions button:disabled {
  cursor: not-allowed !important;
  opacity: .48 !important;
  filter: grayscale(.24) !important;
}

/* Product detail: dedicated layout matching the current detail-modal markup. */
html body .product-overlay {
  z-index: 4650 !important;
  display: grid !important;
  place-items: center !important;
  overflow-y: auto !important;
  padding: 24px !important;
  background: rgba(3, 6, 14, .82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

html body .product-overlay .product-modal {
  position: relative !important;
  display: block !important;
  width: min(960px, calc(100vw - 48px)) !important;
  max-width: 960px !important;
  max-height: min(88dvh, 820px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid rgba(174, 187, 215, .18) !important;
  border-radius: 24px !important;
  color: #f4f6fc !important;
  background: linear-gradient(150deg, #121a2a 0%, #0b111e 100%) !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .58) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(155, 135, 235, .36) transparent !important;
}

html body .product-overlay .product-modal::-webkit-scrollbar {
  width: 7px !important;
}
html body .product-overlay .product-modal::-webkit-scrollbar-thumb {
  border-radius: 8px !important;
  background: rgba(155, 135, 235, .36) !important;
}

html body .product-modal .detail-modal-layout {
  display: grid !important;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
  align-items: stretch !important;
  min-width: 0 !important;
}

html body .product-modal .detail-left-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 100% !important;
  overflow: hidden !important;
  background: #0b1221 !important;
  border-right: 1px solid rgba(174, 187, 215, .12) !important;
}

html body .product-modal .detail-cover {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 430px !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 23px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  isolation: isolate !important;
  background-color: #10192b !important;
}

html body .product-modal .detail-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, rgba(5, 8, 16, .22), rgba(5, 8, 16, .06) 40%, rgba(5, 8, 16, .78)) !important;
  pointer-events: none !important;
}

html body .product-modal .detail-cover img {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body .product-modal .detail-cover .cover-brand,
html body .product-modal .detail-cover .cover-name,
html body .product-modal .detail-cover .cover-foot {
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55) !important;
  overflow-wrap: anywhere !important;
}

html body .product-modal .detail-cover .cover-brand {
  font-size: 10px !important;
  letter-spacing: .16em !important;
}

html body .product-modal .detail-cover .cover-name {
  margin-top: auto !important;
  font-size: clamp(26px, 3.2vw, 38px) !important;
  line-height: .96 !important;
  letter-spacing: -.05em !important;
}

html body .product-modal .detail-cover .cover-foot {
  margin-top: 10px !important;
  font-size: 8px !important;
  letter-spacing: .13em !important;
}

html body .product-modal .detail-trust-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  padding: 15px 16px 17px !important;
  border-top: 1px solid rgba(174, 187, 215, .10) !important;
  background: #0d1627 !important;
}

html body .product-modal .detail-trust-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 29px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(153, 135, 231, .22) !important;
  border-radius: 9px !important;
  color: #c8c1f2 !important;
  background: rgba(118, 92, 197, .09) !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

html body .product-modal .detail-right-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 34px 34px 26px !important;
}

html body .product-modal .detail-meta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding-right: 46px !important;
}

html body .product-modal .detail-cat-tag,
html body .product-modal .detail-stock-tag {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 27px !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(174, 187, 215, .15) !important;
  border-radius: 8px !important;
  color: #aebbd2 !important;
  background: rgba(255, 255, 255, .035) !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

html body .product-modal .detail-stock-tag.in {
  color: #8fe0bd !important;
  border-color: rgba(58, 190, 135, .22) !important;
  background: rgba(30, 130, 92, .10) !important;
}

html body .product-modal .detail-stock-tag.out {
  color: #f0a2ab !important;
  border-color: rgba(216, 94, 112, .22) !important;
  background: rgba(150, 38, 56, .10) !important;
}

html body .product-modal .detail-product-title {
  max-width: 20ch !important;
  margin: 0 !important;
  color: #f6f7fc !important;
  font-size: clamp(23px, 2.5vw, 30px) !important;
  font-weight: 850 !important;
  line-height: 1.16 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}

html body .product-modal .detail-top-pricing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 1px 0 2px !important;
}

html body .product-modal .detail-now-price {
  color: #e4ddff !important;
  font-size: 31px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
  font-variant-numeric: tabular-nums !important;
}

html body .product-modal .detail-was-price {
  color: #8491aa !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

html body .product-modal .detail-save-badge {
  padding: 5px 8px !important;
  border: 1px solid rgba(68, 193, 140, .22) !important;
  border-radius: 7px !important;
  color: #9be4c4 !important;
  background: rgba(30, 130, 92, .13) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

html body .product-modal .detail-warranty-pill {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(87, 190, 150, .20) !important;
  border-radius: 11px !important;
  color: #a7e8c9 !important;
  background: rgba(27, 130, 91, .10) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html body .product-modal .detail-warranty-pill.no-warranty {
  border-color: rgba(236, 177, 92, .22) !important;
  color: #f2cc8e !important;
  background: rgba(140, 91, 24, .11) !important;
}

html body .product-modal .detail-warranty-pill .w-icon {
  flex: 0 0 auto !important;
}

html body .product-modal .detail-brief {
  margin: 0 !important;
  color: #b0bdd2 !important;
  font-size: 13px !important;
  font-weight: 450 !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

html body .product-modal .detail-bullets {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body .product-modal .detail-bullets li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(174, 187, 215, .10) !important;
  border-radius: 10px !important;
  color: #d1d9e9 !important;
  background: rgba(255, 255, 255, .025) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

html body .product-modal .detail-bullets li i {
  flex: 0 0 auto !important;
  color: #8fe0bd !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html body .product-modal .detail-sticky-bar {
  position: sticky !important;
  bottom: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px 44px 44px 44px !important;
  gap: 7px !important;
  min-width: 0 !important;
  margin-top: auto !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid rgba(174, 187, 215, .12) !important;
  background: linear-gradient(180deg, rgba(11, 17, 30, .94), #0b111e 24%) !important;
}

html body .product-modal .detail-sticky-bar button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 47px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(174, 187, 215, .16) !important;
  border-radius: 11px !important;
  color: #e7ecf8 !important;
  background: #172238 !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.12 !important;
  text-align: center !important;
}

html body .product-modal .detail-sticky-bar .detail-btn-buy {
  border-color: rgba(174, 154, 255, .28) !important;
  color: #fff !important;
  background: linear-gradient(125deg, #7654d8, #4268be) !important;
  box-shadow: 0 7px 18px rgba(83, 72, 166, .22) !important;
}

html body .product-modal .detail-sticky-bar .detail-btn-cart {
  background: rgba(65, 91, 145, .17) !important;
}

html body .product-modal .detail-sticky-bar .detail-btn-tool {
  padding: 0 !important;
  font-size: 20px !important;
}

html body .product-modal .detail-sticky-bar button:disabled {
  cursor: not-allowed !important;
  opacity: .48 !important;
}

/* Phone: keep the detail sheet readable, scrollable and clear of the home bar. */
@media (max-width: 760px) {
  html body .product-overlay {
    align-items: end !important;
    justify-items: stretch !important;
    padding: 0 !important;
    overflow-y: hidden !important;
  }

  html body .product-overlay .product-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92dvh !important;
    margin: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 22px 22px 0 0 !important;
  }

  html body .product-modal .detail-modal-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .product-modal .detail-left-col {
    min-height: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(174, 187, 215, .10) !important;
  }

  html body .product-modal .detail-cover {
    flex: none !important;
    min-height: 0 !important;
    height: 164px !important;
    max-height: 164px !important;
    padding: 14px 16px !important;
  }

  html body .product-modal .detail-cover .cover-brand {
    font-size: 8px !important;
  }

  html body .product-modal .detail-cover .cover-name {
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  html body .product-modal .detail-trust-pills {
    gap: 6px !important;
    padding: 9px 13px !important;
  }

  html body .product-modal .detail-trust-pill {
    min-height: 26px !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
  }

  html body .product-modal .detail-right-col {
    gap: 10px !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .product-modal .detail-meta-row {
    gap: 6px !important;
    padding-right: 44px !important;
  }

  html body .product-modal .detail-cat-tag,
  html body .product-modal .detail-stock-tag {
    min-height: 25px !important;
    padding: 4px 7px !important;
    font-size: 9px !important;
  }

  html body .product-modal .detail-product-title {
    max-width: none !important;
    font-size: clamp(20px, 5.5vw, 24px) !important;
    line-height: 1.2 !important;
  }

  html body .product-modal .detail-now-price {
    font-size: 28px !important;
  }

  html body .product-modal .detail-brief {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  html body .product-modal .detail-bullets {
    gap: 6px !important;
  }

  html body .product-modal .detail-bullets li {
    padding: 8px 9px !important;
    font-size: 11px !important;
  }

  html body .product-modal .detail-sticky-bar {
    grid-template-columns: minmax(0, 1fr) repeat(4, 42px) !important;
    gap: 6px !important;
    margin-top: 2px !important;
    padding: 10px 0 calc(9px + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, rgba(11, 17, 30, .92), #0b111e 20%) !important;
  }

  html body .product-modal .detail-sticky-bar button {
    min-height: 43px !important;
    padding: 5px 6px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }

  html body .product-modal .detail-sticky-bar .detail-btn-tool {
    font-size: 18px !important;
  }

  html body.no-scroll #mobileBuyBar {
    display: none !important;
  }
}

@media (max-width: 370px) {
  html body #productGrid.product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html body #productGrid.product-grid .card-media {
    aspect-ratio: 16 / 9 !important;
  }

  html body .product-modal .detail-sticky-bar {
    grid-template-columns: minmax(0, 1fr) repeat(4, 38px) !important;
    gap: 5px !important;
  }

  html body .product-modal .detail-sticky-bar button {
    min-height: 41px !important;
  }
}


/* Appended unified premium storefront layer */
/* LOWIZ STORE — Unified premium surface.
   Last-loaded presentation layer. Business logic and checkout flows remain owned
   by the existing storefront scripts. */

:root {
  --lowiz-bg: #080d17;
  --lowiz-surface: #101827;
  --lowiz-surface-raised: #151f31;
  --lowiz-line: rgba(177, 191, 219, .14);
  --lowiz-line-strong: rgba(177, 191, 219, .23);
  --lowiz-text: #f4f6fc;
  --lowiz-muted: #a3aec3;
  --lowiz-subtle: #78859d;
  --lowiz-purple: #8668ed;
  --lowiz-blue: #477fe0;
  --lowiz-green: #72d8ad;
  --lowiz-danger: #f0a0aa;
  --lowiz-radius: 18px;
  --lowiz-shadow: 0 18px 48px rgba(0, 0, 0, .27);
}

html body {
  color: var(--lowiz-text);
  background: var(--lowiz-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html body :focus-visible {
  outline: 2px solid rgba(164, 143, 255, .95) !important;
  outline-offset: 3px !important;
}

html body button,
html body a {
  -webkit-tap-highlight-color: transparent;
}

html body .container {
  width: min(1440px, calc(100% - 48px)) !important;
}

/* Header and desktop navigation */
@media (min-width: 1024px) {
  html body .site-header .nav-shell {
    grid-template-columns: auto minmax(280px, 1fr) auto !important;
    gap: clamp(16px, 2vw, 30px) !important;
    min-height: 76px !important;
  }

  html body .site-header .desktop-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(12px, 1.6vw, 24px) !important;
    min-width: 0 !important;
  }

  html body .site-header .desktop-nav a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 0 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #b5bfd2 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 680 !important;
    white-space: nowrap !important;
    transition: color .18s ease !important;
  }

  html body .site-header .desktop-nav a:hover,
  html body .site-header .desktop-nav a.active {
    color: #fff !important;
  }
}

@media (max-width: 1023px) {
  html body .site-header .desktop-nav {
    display: none !important;
  }
}

html body .site-header {
  border-bottom: 1px solid rgba(180, 192, 216, .11) !important;
  background: rgba(8, 13, 23, .92) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .20) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
}

html body .site-header .brand {
  border-color: rgba(145, 125, 246, .28) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(117, 88, 218, .14), rgba(59, 118, 199, .07)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

html body .site-header .nav-actions {
  gap: 8px !important;
}

html body .site-header .search-trigger,
html body .site-header .cart-trigger,
html body .site-header .theme-toggle,
html body .site-header .wallet-badge,
html body .site-header .balance-topup,
html body .site-header .login-trigger {
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 12px !important;
  color: #e7ecf7 !important;
  background: rgba(19, 28, 44, .92) !important;
  box-shadow: none !important;
}

html body .site-header .search-trigger:hover,
html body .site-header .cart-trigger:hover,
html body .site-header .theme-toggle:hover,
html body .site-header .wallet-badge:hover,
html body .site-header .balance-topup:hover,
html body .site-header .login-trigger:hover {
  border-color: rgba(163, 143, 255, .42) !important;
  background: #19253a !important;
}

html body .site-header .wallet-group {
  display: inline-flex !important;
  align-items: stretch !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body .site-header .wallet-badge {
  min-width: 0 !important;
  padding: 0 11px !important;
}

html body .site-header .balance-topup {
  min-width: 36px !important;
  padding-inline: 10px !important;
  color: #e6dcff !important;
}

/* Hero — keep the actual market feature visible at every breakpoint. */
html body #home.hero {
  display: block !important;
  padding: clamp(18px, 3vw, 42px) 0 20px !important;
  min-height: 0 !important;
  background: transparent !important;
}

html body #home .market-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .92fr) !important;
  gap: 16px !important;
  min-height: 380px !important;
  align-items: stretch !important;
}

html body #home .market-feature,
html body #home .market-side-feature {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 22px !important;
  background: #111a2a !important;
  box-shadow: var(--lowiz-shadow) !important;
}

html body #home .market-feature > img.market-hero-art {
  position: absolute !important;
  z-index: -2 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body #home .market-feature::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(5, 8, 16, .93) 0%, rgba(5, 8, 16, .73) 48%, rgba(5, 8, 16, .08) 100%) !important;
  pointer-events: none !important;
}

html body #home .market-feature-copy {
  position: absolute !important;
  left: clamp(20px, 3vw, 38px) !important;
  bottom: clamp(20px, 3vw, 34px) !important;
  right: 24px !important;
  display: grid !important;
  gap: 10px !important;
  width: min(58%, 520px) !important;
  max-width: none !important;
  min-width: 0 !important;
}

html body #home .market-feature-copy small {
  color: #d2c9ff !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
}

html body #home .market-feature-copy h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(30px, 4.4vw, 58px) !important;
  font-weight: 850 !important;
  line-height: .99 !important;
  letter-spacing: -.055em !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}

html body #home .market-feature-copy p {
  display: -webkit-box !important;
  max-width: 48ch !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #c0cadb !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body #home .market-feature-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

html body #home .market-feature-meta strong {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums !important;
}

html body #home .market-feature-meta span {
  color: #c0cadb !important;
  font-size: 10px !important;
}

html body #home .market-feature-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 3px !important;
}

html body #home .market-feature-actions button {
  min-width: 128px !important;
  min-height: 44px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(177, 161, 255, .28) !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(125deg, #7959dc, #426fc7) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body #home .market-feature-actions .market-secondary {
  border-color: var(--lowiz-line-strong) !important;
  background: rgba(16, 25, 42, .78) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

html body #home .market-side-stack {
  display: grid !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html body #home .market-side-feature {
  min-height: 0 !important;
}

html body #home .market-side-feature > img.market-product-art {
  position: absolute !important;
  z-index: -2 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

html body #home .market-side-feature::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  background: linear-gradient(0deg, rgba(5, 8, 16, .92), rgba(5, 8, 16, .02) 78%) !important;
}

html body #home .market-side-copy {
  position: absolute !important;
  inset: auto 15px 14px !important;
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}

html body #home .market-side-copy small {
  color: #c4baff !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .1em !important;
}

html body #home .market-side-copy h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.12 !important;
  overflow-wrap: anywhere !important;
}

html body #home .market-side-copy strong {
  color: #e2d9ff !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

/* Campaign, categories and filters */
html body .campaign-section {
  padding: 12px 0 26px !important;
}

html body .campaign-card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 20px !important;
  padding: clamp(18px, 2.4vw, 28px) !important;
  border: 1px solid rgba(150, 128, 255, .22) !important;
  border-radius: 20px !important;
  background: linear-gradient(115deg, #171934 0%, #121b30 58%, #101b29 100%) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .18) !important;
}

html body .campaign-card .promo-code-box {
  min-width: 124px !important;
  padding: 12px 15px !important;
  border: 1px dashed rgba(194, 177, 255, .4) !important;
  border-radius: 13px !important;
  background: rgba(8, 12, 24, .35) !important;
}

html body .campaign-card .promo-code-box small {
  color: #aaa6d7 !important;
  font-size: 9px !important;
  letter-spacing: .12em !important;
}

html body .campaign-card .promo-code-box strong {
  color: #f0eaff !important;
  font-size: 18px !important;
  letter-spacing: .07em !important;
}

html body .campaign-card .campaign-copy h2 {
  color: #f4f3ff !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  letter-spacing: -.035em !important;
}

html body .campaign-card .campaign-copy p {
  color: #aeb8cd !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

html body .campaign-card .campaign-button {
  min-height: 44px !important;
  border-radius: 11px !important;
}

html body .lowiz-home-categories {
  padding: 28px 0 42px !important;
  background: linear-gradient(180deg, rgba(8, 13, 23, .2), rgba(10, 16, 28, .5)) !important;
}

html body .lowiz-home-categories .lhc-head {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}

html body .lowiz-home-categories .lhc-head h2 {
  margin: 0 !important;
  color: var(--lowiz-text) !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  font-weight: 850 !important;
  letter-spacing: -.04em !important;
}

html body .lowiz-home-categories .lhc-head p:not(.eyebrow) {
  color: var(--lowiz-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

html body .lowiz-home-categories .lhc-card {
  min-width: 0 !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 17px !important;
  background: linear-gradient(145deg, #141e30, #0f1726) !important;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .18) !important;
}

html body .lowiz-home-categories .lhc-card:hover {
  border-color: rgba(161, 140, 255, .38) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .24) !important;
  transform: translateY(-2px) !important;
}

html body .lowiz-home-categories .lhc-copy strong {
  color: #f4f5fc !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

html body .lowiz-home-categories .lhc-copy > span {
  color: #aeb9cd !important;
  font-size: 11px !important;
  line-height: 1.42 !important;
}

html body .lowiz-home-categories .lhc-copy em {
  color: #c7baff !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

html body .products-section {
  padding: 26px 0 62px !important;
  background: transparent !important;
}

html body .products-section .section-heading {
  align-items: end !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

html body .products-section .section-heading h2 {
  color: var(--lowiz-text) !important;
  font-size: clamp(25px, 2.6vw, 34px) !important;
  font-weight: 880 !important;
  letter-spacing: -.045em !important;
}

html body .products-section .section-heading > p {
  max-width: 42ch !important;
  color: var(--lowiz-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

html body .filters {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 2px 1px 8px !important;
  overflow-x: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(145, 126, 229, .35) transparent !important;
  overscroll-behavior-inline: contain !important;
}

html body .filter-button {
  flex: 0 0 auto !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 11px !important;
  color: #b8c2d5 !important;
  background: #111a29 !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
}

html body .filter-button.active {
  border-color: rgba(174, 154, 255, .36) !important;
  color: #fff !important;
  background: linear-gradient(125deg, #6f55c6, #3f68b8) !important;
  box-shadow: 0 6px 16px rgba(82, 73, 162, .18) !important;
}

/* One consistent product-card system across category and search results. */
html body #productGrid.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

html body #productGrid .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(160deg, #121c2c, #0e1624) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .20) !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

html body #productGrid .product-card:hover {
  border-color: rgba(156, 137, 246, .4) !important;
  box-shadow: 0 17px 38px rgba(0, 0, 0, .28) !important;
  transform: translateY(-3px) !important;
}

html body #productGrid .card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(170, 184, 211, .1) !important;
  background: #111a2a !important;
  cursor: pointer !important;
}

html body #productGrid .card-media .product-cover {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #111a2a !important;
  box-shadow: none !important;
}

html body #productGrid .card-media .product-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .25s ease !important;
}

html body #productGrid .product-card:hover .card-media .product-cover img {
  transform: scale(1.025) !important;
}

html body #productGrid .card-badges {
  position: absolute !important;
  z-index: 4 !important;
  top: 11px !important;
  left: 11px !important;
  right: 52px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  max-width: none !important;
  pointer-events: none !important;
}

html body #productGrid .card-badge {
  max-width: 100% !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(179, 161, 255, .26) !important;
  border-radius: 8px !important;
  color: #e6ddff !important;
  background: rgba(15, 20, 34, .88) !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  letter-spacing: .04em !important;
  white-space: normal !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

html body #productGrid .card-badge.warranty-badge-yes,
html body #productGrid .card-badge.badge-warranty {
  border-color: rgba(72, 190, 145, .3) !important;
  color: #a5e9c8 !important;
  background: rgba(12, 71, 55, .88) !important;
}

html body #productGrid .card-badge.warranty-badge-no,
html body #productGrid .card-badge.badge-no-warranty {
  border-color: rgba(224, 166, 87, .28) !important;
  color: #f0ce98 !important;
  background: rgba(83, 53, 20, .88) !important;
}

html body #productGrid .card-fav-btn {
  position: absolute !important;
  z-index: 5 !important;
  top: 10px !important;
  right: 10px !important;
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border: 1px solid rgba(220, 226, 245, .18) !important;
  border-radius: 11px !important;
  color: #e7eafd !important;
  background: rgba(9, 14, 25, .78) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

html body #productGrid .card-fav-btn.is-favorite {
  border-color: rgba(245, 106, 143, .32) !important;
  color: #ff91af !important;
  background: rgba(111, 24, 53, .78) !important;
}

html body #productGrid .card-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 14px 15px 15px !important;
  background: transparent !important;
}

html body #productGrid .card-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body #productGrid .card-category {
  min-width: 0 !important;
  max-width: 68% !important;
  overflow: hidden !important;
  color: #95a4bc !important;
  font-size: 10px !important;
  font-weight: 730 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body #productGrid .card-stock {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 5px !important;
  color: #8ee1b8 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

html body #productGrid .card-stock .stock-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #69d9a7 !important;
}

html body #productGrid .card-stock.status-empty,
html body #productGrid .card-stock.status-offline {
  color: #f0a0aa !important;
}

html body #productGrid .card-stock.status-empty .stock-dot,
html body #productGrid .card-stock.status-offline .stock-dot {
  background: #e47c8a !important;
}

html body #productGrid .card-stock.status-orderable {
  color: #9de2c2 !important;
}

html body #productGrid .card-stock.status-orderable .stock-dot {
  background: #72d8ad !important;
  box-shadow: 0 0 0 3px rgba(114, 216, 173, .10) !important;
}

html body #productGrid .card-title {
  display: -webkit-box !important;
  min-width: 0 !important;
  min-height: 2.45em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #f1f4fb !important;
  font-size: 14px !important;
  font-weight: 820 !important;
  line-height: 1.25 !important;
  letter-spacing: -.018em !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body #productGrid .card-description {
  display: -webkit-box !important;
  min-width: 0 !important;
  min-height: 2.7em !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #9facbf !important;
  font-size: 11px !important;
  line-height: 1.38 !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body #productGrid .card-pricing {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-top: auto !important;
  padding-top: 5px !important;
  border-top: 1px solid rgba(180, 192, 216, .08) !important;
}

html body #productGrid .card-price {
  color: #e6ddff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  font-variant-numeric: tabular-nums !important;
}

html body #productGrid .card-old-price {
  color: #8390a7 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body #productGrid .card-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-top: 2px !important;
}

html body #productGrid .card-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 43px !important;
  height: auto !important;
  padding: 7px 9px !important;
  border-radius: 11px !important;
  font-size: 11.5px !important;
  font-weight: 820 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

html body #productGrid .card-btn-primary {
  border: 1px solid rgba(177, 158, 255, .3) !important;
  color: #fff !important;
  background: linear-gradient(125deg, #7656d8, #426fc6) !important;
  box-shadow: 0 6px 16px rgba(83, 72, 166, .19) !important;
}

html body #productGrid .card-btn-whatsapp {
  border: 1px solid rgba(84, 196, 139, .25) !important;
  color: #effff5 !important;
  background: linear-gradient(125deg, #197a4d, #176541) !important;
}

html body #productGrid .card-btn-icon {
  width: 44px !important;
  min-width: 44px !important;
  min-height: 43px !important;
  padding: 0 !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 11px !important;
  color: #dce4f4 !important;
  background: #19253a !important;
}

html body #productGrid .card-actions button:disabled {
  opacity: .5 !important;
  cursor: not-allowed !important;
  filter: grayscale(.2) !important;
}

/* Product details modal uses the active detail-modal-layout classes. */
html body .product-overlay {
  z-index: 4650 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(3, 6, 14, .83) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}

html body .product-overlay .product-modal {
  width: min(960px, calc(100vw - 48px)) !important;
  max-width: 960px !important;
  max-height: min(88dvh, 850px) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid rgba(176, 189, 218, .17) !important;
  border-radius: 23px !important;
  color: var(--lowiz-text) !important;
  background: linear-gradient(150deg, #121b2b, #0b111e) !important;
  box-shadow: 0 32px 92px rgba(0, 0, 0, .56) !important;
}

html body .product-modal .product-modal-close {
  position: sticky !important;
  top: 12px !important;
  float: right !important;
  z-index: 20 !important;
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: 12px 12px -50px 0 !important;
  border: 1px solid rgba(220, 226, 245, .19) !important;
  border-radius: 12px !important;
  color: #e9edf8 !important;
  background: rgba(10, 16, 28, .8) !important;
  font-size: 22px !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

html body .product-modal .detail-modal-layout {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  align-items: stretch !important;
  min-width: 0 !important;
}

html body .product-modal .detail-left-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(176, 189, 218, .12) !important;
  background: #0c1423 !important;
}

html body .product-modal .detail-cover {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 390px !important;
  margin: 0 !important;
  padding: 22px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #111a2a !important;
  box-shadow: none !important;
  isolation: isolate !important;
}

html body .product-modal .detail-cover img {
  position: absolute !important;
  z-index: -2 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

html body .product-modal .detail-cover::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(5, 8, 16, .12), rgba(5, 8, 16, .1) 42%, rgba(5, 8, 16, .78)) !important;
}

html body .product-modal .detail-cover .cover-brand,
html body .product-modal .detail-cover .cover-name,
html body .product-modal .detail-cover .cover-foot {
  position: relative !important;
  z-index: 1 !important;
  max-width: 100% !important;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55) !important;
  overflow-wrap: anywhere !important;
}

html body .product-modal .detail-cover .cover-brand {
  font-size: 10px !important;
  letter-spacing: .16em !important;
}

html body .product-modal .detail-cover .cover-name {
  margin-top: auto !important;
  font-size: clamp(27px, 3vw, 39px) !important;
  line-height: .98 !important;
  letter-spacing: -.05em !important;
}

html body .product-modal .detail-cover .cover-foot {
  margin-top: 10px !important;
  font-size: 8px !important;
  letter-spacing: .13em !important;
}

html body .product-modal .detail-trust-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  padding: 14px !important;
  border-top: 1px solid rgba(176, 189, 218, .1) !important;
  background: #0e1727 !important;
}

html body .product-modal .detail-trust-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 29px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(153, 135, 231, .2) !important;
  border-radius: 9px !important;
  color: #c8c1f2 !important;
  background: rgba(118, 92, 197, .08) !important;
  font-size: 10px !important;
  font-weight: 690 !important;
  line-height: 1.2 !important;
}

html body .product-modal .detail-right-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
  min-width: 0 !important;
  padding: 32px 34px 27px !important;
}

html body .product-modal .detail-meta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding-right: 48px !important;
}

html body .product-modal .detail-cat-tag,
html body .product-modal .detail-stock-tag {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 27px !important;
  padding: 5px 9px !important;
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 8px !important;
  color: #aebbd0 !important;
  background: rgba(255, 255, 255, .035) !important;
  font-size: 10px !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
}

html body .product-modal .detail-stock-tag.in,
html body .product-modal .detail-stock-tag.orderable {
  border-color: rgba(72, 190, 145, .24) !important;
  color: #97e3be !important;
  background: rgba(30, 130, 92, .11) !important;
}

html body .product-modal .detail-stock-tag.out {
  border-color: rgba(216, 94, 112, .22) !important;
  color: #f0a2ab !important;
  background: rgba(150, 38, 56, .10) !important;
}

html body .product-modal .detail-product-title {
  max-width: 22ch !important;
  margin: 0 !important;
  color: #f6f7fc !important;
  font-size: clamp(23px, 2.5vw, 31px) !important;
  font-weight: 880 !important;
  line-height: 1.16 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}

html body .product-modal .detail-top-pricing {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

html body .product-modal .detail-now-price {
  color: #e4ddff !important;
  font-size: 31px !important;
  font-weight: 920 !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
  font-variant-numeric: tabular-nums !important;
}

html body .product-modal .detail-was-price {
  color: #8491aa !important;
  font-size: 13px !important;
  font-weight: 660 !important;
}

html body .product-modal .detail-save-badge {
  padding: 5px 8px !important;
  border: 1px solid rgba(68, 193, 140, .22) !important;
  border-radius: 7px !important;
  color: #9be4c4 !important;
  background: rgba(30, 130, 92, .13) !important;
  font-size: 10px !important;
  font-weight: 820 !important;
}

html body .product-modal .detail-warranty-pill {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(87, 190, 150, .20) !important;
  border-radius: 11px !important;
  color: #a7e8c9 !important;
  background: rgba(27, 130, 91, .10) !important;
  font-size: 11px !important;
  font-weight: 740 !important;
  line-height: 1.42 !important;
}

html body .product-modal .detail-warranty-pill.no-warranty {
  border-color: rgba(236, 177, 92, .22) !important;
  color: #f2cc8e !important;
  background: rgba(140, 91, 24, .11) !important;
}

html body .product-modal .detail-brief {
  margin: 0 !important;
  color: #b0bdd2 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

html body .product-modal .detail-bullets {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body .product-modal .detail-bullets li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(174, 187, 215, .1) !important;
  border-radius: 10px !important;
  color: #d1d9e9 !important;
  background: rgba(255, 255, 255, .025) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

html body .product-modal .detail-bullets li i {
  flex: 0 0 auto !important;
  color: #8fe0bd !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html body .product-modal .detail-sticky-bar {
  position: sticky !important;
  bottom: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 46px 44px 44px 44px !important;
  gap: 7px !important;
  min-width: 0 !important;
  margin-top: auto !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(174, 187, 215, .12) !important;
  background: linear-gradient(180deg, rgba(11, 17, 30, .94), #0b111e 24%) !important;
}

html body .product-modal .detail-sticky-bar button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(174, 187, 215, .16) !important;
  border-radius: 11px !important;
  color: #e7ecf8 !important;
  background: #172238 !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  line-height: 1.12 !important;
  text-align: center !important;
}

html body .product-modal .detail-sticky-bar .detail-btn-buy {
  border-color: rgba(174, 154, 255, .28) !important;
  color: #fff !important;
  background: linear-gradient(125deg, #7654d8, #4268be) !important;
  box-shadow: 0 7px 18px rgba(83, 72, 166, .22) !important;
}

html body .product-modal .detail-sticky-bar .detail-btn-tool {
  padding: 0 !important;
  font-size: 19px !important;
}

html body .product-modal .detail-sticky-bar button:disabled {
  cursor: not-allowed !important;
  opacity: .5 !important;
}

/* Checkout and form surfaces */
html body .purchase-choice-overlay {
  z-index: 4800 !important;
  padding: 18px !important;
  background: rgba(3, 6, 14, .84) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  backdrop-filter: blur(15px) !important;
}

html body .purchase-choice-modal.lowiz-checkout-premium {
  width: min(520px, calc(100vw - 36px)) !important;
  max-height: min(90dvh, 850px) !important;
  overflow-y: auto !important;
  padding: 25px !important;
  border: 1px solid rgba(177, 191, 219, .17) !important;
  border-radius: 22px !important;
  color: var(--lowiz-text) !important;
  background: linear-gradient(155deg, #141e30, #0c1422) !important;
  box-shadow: 0 30px 85px rgba(0, 0, 0, .55) !important;
}

html body .purchase-choice-modal .lowiz-checkout-brand {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 18px !important;
  color: #f2efff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .05em !important;
}

html body .purchase-choice-modal .lowiz-checkout-brand i {
  margin-left: auto !important;
  color: #9eaac0 !important;
  font-size: 8px !important;
  font-style: normal !important;
  letter-spacing: .13em !important;
}

html body .purchase-choice-modal h2 {
  color: #f4f6fc !important;
  font-size: 25px !important;
  letter-spacing: -.04em !important;
}

html body .purchase-choice-modal .lowiz-checkout-product {
  border: 1px solid var(--lowiz-line) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .035) !important;
}

html body .purchase-choice-modal .lowiz-checkout-product strong,
html body .purchase-choice-modal .lowiz-checkout-product b {
  color: #f0ebff !important;
}

html body .purchase-choice-modal .lowiz-checkout-balance {
  border: 1px solid rgba(132, 106, 224, .2) !important;
  border-radius: 12px !important;
  background: rgba(97, 74, 178, .08) !important;
}

html body .purchase-choice-modal .choice-delivery-banner,
html body .purchase-choice-modal .choice-warranty-box {
  border-radius: 12px !important;
  line-height: 1.5 !important;
}

html body .purchase-choice-modal .purchase-choice-option {
  min-height: 60px !important;
  border-radius: 13px !important;
}

html body .purchase-choice-modal .purchase-choice-option.wallet.primary-buy {
  border-color: rgba(170, 150, 255, .32) !important;
  background: linear-gradient(125deg, rgba(112, 82, 213, .25), rgba(56, 99, 177, .2)) !important;
}

html body .purchase-choice-modal .purchase-choice-option.whatsapp {
  border-color: rgba(80, 188, 135, .24) !important;
}

html body .purchase-choice-modal .lowiz-checkout-back {
  color: #c2cbe0 !important;
  font-size: 12px !important;
}

/* Floating contact and bot controls */
html body #floatingWhatsapp.floating-whatsapp {
  position: fixed !important;
  z-index: 1040 !important;
  right: 22px !important;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  display: grid !important;
  place-items: center !important;
  width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(145deg, #2cda7d, #159d5a) !important;
  box-shadow: 0 9px 25px rgba(18, 190, 100, .27) !important;
  text-decoration: none !important;
}

html body #floatingWhatsapp.floating-whatsapp svg {
  display: block !important;
  width: 27px !important;
  height: 27px !important;
  fill: #fff !important;
}

html body .lowiz-bot {
  position: fixed !important;
  z-index: 1038 !important;
  right: 22px !important;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
}

html body .lowiz-bot .lowiz-bot-launcher {
  min-height: 48px !important;
  border: 1px solid rgba(177, 191, 219, .18) !important;
  border-radius: 15px !important;
  background: rgba(15, 23, 38, .96) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}

html body .lowiz-bot .lowiz-bot-panel {
  border: 1px solid rgba(177, 191, 219, .18) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 74px rgba(0, 0, 0, .48) !important;
}

html body .toast-region {
  z-index: 6000 !important;
}

/* Footer and safe-area spacing */
html body .site-footer {
  border-top: 1px solid rgba(177, 191, 219, .12) !important;
  background: #090f1b !important;
}

html body .site-footer .footer-grid {
  gap: clamp(22px, 3vw, 44px) !important;
}

html body .site-footer .footer-col-brand p,
html body .site-footer a,
html body .site-footer .footer-link {
  color: #9eabc1 !important;
}

html body .site-footer a:hover,
html body .site-footer .footer-link:hover {
  color: #e2dcff !important;
}

/* Tablet */
@media (max-width: 1100px) {
  html body #productGrid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 13px !important;
  }
}

/* Phone */
@media (max-width: 760px) {
  html body {
    overflow-x: clip !important;
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .container,
  html body .products-section > .container,
  html body #home > .container.hero-layout {
    width: calc(100% - 24px) !important;
  }

  html body .site-header {
    position: sticky !important;
    top: 0 !important;
    min-height: 58px !important;
    height: auto !important;
    z-index: 930 !important;
  }

  html body .site-header .nav-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    min-height: 58px !important;
    padding: 7px 0 !important;
  }

  html body .site-header .brand {
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 8px !important;
    font-size: 15px !important;
  }

  html body .site-header .brand-logo {
    width: 26px !important;
    height: 26px !important;
  }

  html body .site-header .nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  html body .site-header .search-trigger,
  html body .site-header .cart-trigger {
    width: 36px !important;
    min-width: 36px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
  }

  html body .site-header .search-pill-label,
  html body .site-header .theme-toggle,
  html body .site-header .login-trigger,
  html body .site-header .library-trigger,
  html body .site-header .menu-toggle {
    display: none !important;
  }

  html body .site-header .wallet-badge {
    min-height: 38px !important;
    padding: 0 7px !important;
  }

  html body .site-header .wallet-summary small {
    font-size: 8px !important;
  }

  html body .site-header .wallet-summary b {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  html body .site-header .balance-topup {
    min-width: 30px !important;
    width: 30px !important;
    min-height: 38px !important;
    padding: 0 5px !important;
  }

  html body .site-header .topup-full-label {
    display: none !important;
  }

  html body #home.hero {
    padding: 14px 0 10px !important;
  }

  html body #home .market-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 0 !important;
  }

  html body #home .market-feature {
    min-height: 260px !important;
    height: 260px !important;
    border-radius: 18px !important;
  }

  html body #home .market-feature::after {
    background: linear-gradient(0deg, rgba(5, 8, 16, .96) 0%, rgba(5, 8, 16, .58) 58%, rgba(5, 8, 16, .08) 100%) !important;
  }

  html body #home .market-feature-copy {
    left: 16px !important;
    right: 16px !important;
    bottom: 15px !important;
    width: auto !important;
    gap: 7px !important;
  }

  html body #home .market-feature-copy h1 {
    max-width: 18ch !important;
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.02 !important;
  }

  html body #home .market-feature-copy p {
    display: -webkit-box !important;
    font-size: 11px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
  }

  html body #home .market-feature-meta strong {
    font-size: 18px !important;
  }

  html body #home .market-feature-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body #home .market-feature-actions button {
    min-width: 0 !important;
    min-height: 41px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
  }

  html body #home .market-side-stack {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  html body #home .market-side-feature {
    min-height: 126px !important;
    border-radius: 14px !important;
  }

  html body #home .market-side-copy {
    inset: auto 10px 10px !important;
  }

  html body #home .market-side-copy h2 {
    font-size: 12px !important;
  }

  html body #home .market-side-copy strong {
    font-size: 12px !important;
  }

  html body .campaign-section {
    padding: 8px 0 16px !important;
  }

  html body .campaign-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 13px !important;
    border-radius: 15px !important;
  }

  html body .campaign-card .promo-code-box {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    min-width: 0 !important;
    padding: 7px 10px !important;
  }

  html body .campaign-card .promo-code-box strong {
    font-size: 15px !important;
  }

  html body .campaign-card .campaign-copy h2 {
    font-size: 16px !important;
  }

  html body .campaign-card .campaign-copy p {
    font-size: 10px !important;
  }

  html body .campaign-card .campaign-actions .button {
    min-height: 39px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
  }

  html body .lowiz-home-categories {
    padding: 20px 0 28px !important;
  }

  html body .lowiz-home-categories .lhc-head {
    align-items: start !important;
    margin-bottom: 12px !important;
  }

  html body .lowiz-home-categories .lhc-head h2 {
    font-size: 23px !important;
  }

  html body .lowiz-home-categories .lhc-head p:not(.eyebrow) {
    font-size: 10px !important;
  }

  html body .lowiz-home-categories .lhc-show-all-btn {
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 9px !important;
  }

  html body .lowiz-home-categories .lhc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html body .lowiz-home-categories .lhc-card {
    min-height: 144px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  html body .lowiz-home-categories .lhc-copy {
    gap: 5px !important;
  }

  html body .lowiz-home-categories .lhc-copy strong {
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  html body .lowiz-home-categories .lhc-copy > span {
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  html body .lowiz-home-categories .lhc-copy em {
    font-size: 9px !important;
  }

  html body .products-section {
    padding: 20px 0 38px !important;
  }

  html body .products-section .section-heading {
    display: block !important;
    margin-bottom: 12px !important;
  }

  html body .products-section .section-heading h2 {
    font-size: 25px !important;
  }

  html body .products-section .section-heading > p {
    display: block !important;
    margin-top: 5px !important;
    font-size: 10px !important;
  }

  html body .filters {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  html body .filter-button {
    min-height: 35px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
  }

  html body #productGrid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  html body #productGrid .product-card {
    border-radius: 14px !important;
  }

  html body #productGrid .card-media {
    aspect-ratio: 1.2 / 1 !important;
  }

  html body #productGrid .card-body {
    gap: 7px !important;
    padding: 10px !important;
  }

  html body #productGrid .card-category {
    max-width: 62% !important;
    font-size: 8px !important;
  }

  html body #productGrid .card-stock {
    gap: 4px !important;
    font-size: 8px !important;
  }

  html body #productGrid .card-stock .stock-dot {
    width: 5px !important;
    height: 5px !important;
  }

  html body #productGrid .card-title {
    min-height: 2.5em !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  html body #productGrid .card-description {
    min-height: 2.6em !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  html body #productGrid .card-price {
    font-size: 17px !important;
  }

  html body #productGrid .card-actions {
    grid-template-columns: minmax(0, 1fr) 36px !important;
    gap: 5px !important;
  }

  html body #productGrid .card-actions button {
    min-height: 39px !important;
    font-size: 9.5px !important;
  }

  html body #productGrid .card-btn-icon {
    width: 36px !important;
    min-width: 36px !important;
  }

  html body .product-overlay {
    align-items: end !important;
    justify-items: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body .product-overlay .product-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 93dvh !important;
    margin: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 22px 22px 0 0 !important;
  }

  html body .product-modal .detail-modal-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .product-modal .detail-left-col {
    min-height: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(176, 189, 218, .1) !important;
  }

  html body .product-modal .detail-cover {
    flex: none !important;
    min-height: 0 !important;
    height: 150px !important;
    max-height: 150px !important;
    padding: 13px 15px !important;
  }

  html body .product-modal .detail-cover .cover-name {
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  html body .product-modal .detail-trust-pills {
    gap: 5px !important;
    padding: 8px 12px !important;
  }

  html body .product-modal .detail-trust-pill {
    min-height: 25px !important;
    padding: 5px 7px !important;
    font-size: 8.5px !important;
  }

  html body .product-modal .detail-right-col {
    gap: 9px !important;
    padding: 14px 15px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .product-modal .detail-meta-row {
    gap: 5px !important;
    padding-right: 44px !important;
  }

  html body .product-modal .detail-cat-tag,
  html body .product-modal .detail-stock-tag {
    min-height: 24px !important;
    padding: 4px 7px !important;
    font-size: 8.5px !important;
  }

  html body .product-modal .detail-product-title {
    max-width: none !important;
    font-size: clamp(20px, 5.5vw, 24px) !important;
    line-height: 1.18 !important;
  }

  html body .product-modal .detail-now-price {
    font-size: 27px !important;
  }

  html body .product-modal .detail-brief {
    font-size: 11.5px !important;
    line-height: 1.48 !important;
  }

  html body .product-modal .detail-bullets {
    gap: 5px !important;
  }

  html body .product-modal .detail-bullets li {
    padding: 7px 8px !important;
    font-size: 10px !important;
  }

  html body .product-modal .detail-sticky-bar {
    grid-template-columns: minmax(0, 1fr) repeat(4, 38px) !important;
    gap: 5px !important;
    margin-top: 0 !important;
    padding: 9px 0 calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .product-modal .detail-sticky-bar button {
    min-height: 41px !important;
    padding: 4px !important;
    font-size: 10px !important;
  }

  html body .product-modal .detail-sticky-bar .detail-btn-tool {
    font-size: 17px !important;
  }

  html body .purchase-choice-overlay {
    align-items: end !important;
    padding: 0 !important;
  }

  html body .purchase-choice-modal.lowiz-checkout-premium {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 93dvh !important;
    padding: 20px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 22px 22px 0 0 !important;
  }

  html body .purchase-choice-modal .lowiz-checkout-product {
    gap: 8px !important;
    padding: 9px !important;
  }

  html body .purchase-choice-modal .purchase-choice-option {
    min-height: 54px !important;
    padding: 8px 10px !important;
  }

  html body .purchase-choice-modal .lowiz-checkout-safe-note {
    margin-bottom: 0 !important;
  }

  html body .site-footer {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body #floatingWhatsapp.floating-whatsapp {
    z-index: 1040 !important;
    right: 13px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }

  html body .lowiz-bot {
    z-index: 1038 !important;
    right: 13px !important;
    bottom: calc(142px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html body .lowiz-bot .lowiz-bot-launcher {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 6px !important;
    border-radius: 14px !important;
  }

  html body .lowiz-bot .lowiz-bot-launcher-copy,
  html body .lowiz-bot .lowiz-bot-launcher > i {
    display: none !important;
  }

  html body .lowiz-bot .lowiz-bot-panel {
    right: 8px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    left: 8px !important;
    width: auto !important;
    height: min(620px, calc(100dvh - 100px)) !important;
    max-height: calc(100dvh - 100px) !important;
  }

  html body .lowiz-mobile-dock-v4,
  html body #lowizMobileDock.lowiz-mobile-dock-v4 {
    z-index: 1200 !important;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(10, 16, 28, .97) !important;
    border-top: 1px solid rgba(177, 191, 219, .16) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    backdrop-filter: blur(18px) !important;
  }

  html body .lowiz-mobile-dock-v4 button {
    min-height: 48px !important;
    border-radius: 11px !important;
    color: #9eabc1 !important;
  }

  html body .lowiz-mobile-dock-v4 button.is-active,
  html body .lowiz-mobile-dock-v4 button[aria-current="page"] {
    color: #d9ceff !important;
    background: rgba(126, 96, 223, .13) !important;
    box-shadow: inset 0 0 0 1px rgba(174, 154, 255, .1) !important;
  }

  html body .floating-whatsapp,
  html body .lowiz-bot {
    transition: opacity .16s ease, transform .16s ease !important;
  }

  html body.no-scroll .floating-whatsapp,
  html body.no-scroll .lowiz-bot {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html body.no-scroll .lowiz-mobile-dock-v4 {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body #cookieBanner {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Small phones */
@media (max-width: 390px) {
  html body .site-header .nav-actions {
    gap: 3px !important;
  }

  html body .site-header .brand-name {
    font-size: 13px !important;
  }

  html body .site-header .wallet-summary small {
    display: none !important;
  }

  html body #home .market-feature {
    min-height: 238px !important;
    height: 238px !important;
  }

  html body #productGrid .card-body {
    padding: 9px !important;
  }

  html body #productGrid .card-actions {
    grid-template-columns: minmax(0, 1fr) 34px !important;
    gap: 4px !important;
  }

  html body #productGrid .card-btn-icon {
    width: 34px !important;
    min-width: 34px !important;
  }
}

@media (max-width: 370px) {
  html body #productGrid.product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body #productGrid .card-media {
    aspect-ratio: 16 / 9 !important;
  }

  html body .lowiz-home-categories .lhc-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Respect reduced motion and keep the main content usable without animation. */
@media (prefers-reduced-motion: reduce) {
  html body *,
  html body *::before,
  html body *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}



/* Final state corrections: hidden dialogs stay out of layout; close control stays in view. */
html body .product-overlay[hidden] {
  display: none !important;
}
html body .product-overlay.show {
  display: grid !important;
}
html body .product-overlay .product-modal {
  position: relative !important;
}
html body .product-modal .product-modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  float: none !important;
  margin: 0 !important;
}

/* Light theme retains contrast without changing the dark-first brand. */
html[data-theme="light"] body {
  color: #20283a !important;
  background: #f3f5fa !important;
}
html[data-theme="light"] body .site-header {
  background: rgba(248, 250, 255, .94) !important;
  border-bottom-color: rgba(35, 48, 72, .12) !important;
}
html[data-theme="light"] body .site-header .search-trigger,
html[data-theme="light"] body .site-header .cart-trigger,
html[data-theme="light"] body .site-header .theme-toggle,
html[data-theme="light"] body .site-header .wallet-badge,
html[data-theme="light"] body .site-header .balance-topup,
html[data-theme="light"] body .site-header .login-trigger {
  color: #273047 !important;
  background: #fff !important;
  border-color: rgba(35, 48, 72, .13) !important;
}
html[data-theme="light"] body .products-section .section-heading h2,
html[data-theme="light"] body .lowiz-home-categories .lhc-head h2 {
  color: #20283a !important;
}
html[data-theme="light"] body .product-card {
  background: linear-gradient(160deg, #fff, #f6f8fc) !important;
  border-color: rgba(35, 48, 72, .12) !important;
}
html[data-theme="light"] body #productGrid .card-title {
  color: #222b40 !important;
}
html[data-theme="light"] body #productGrid .card-description,
html[data-theme="light"] body #productGrid .card-category {
  color: #65728b !important;
}
html[data-theme="light"] body #productGrid .card-price {
  color: #5d4ab0 !important;
}
html[data-theme="light"] body .site-footer {
  background: #e9edf5 !important;
}
html[data-theme="light"] body .lowiz-mobile-dock-v4,
html[data-theme="light"] body #lowizMobileDock.lowiz-mobile-dock-v4 {
  background: rgba(248, 250, 255, .97) !important;
  border-top-color: rgba(35, 48, 72, .13) !important;
}


html body .site-header .desktop-nav a[hidden],
html body .site-footer a[hidden] {
  display: none !important;
}
