/* DISCO Shop — base styles & animations
   Everything else is inline-styled inside app.js render output,
   so you can tweak any element's look right where it's built. */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #dfe1e6;
  color: #18181b;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
.checkout-input {
  width: 100%;
  border: 1.5px solid #e7e7ea;
  border-radius: 12px;
  padding: 13px;
  font-size: 16px;
  line-height: 1.25;
  outline: none;
  background: #fff;
  color: #18181b;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}
.checkout-input--grow {
  flex: 1;
  min-width: 0;
}
.checkout-input--zip {
  width: 110px;
  flex: none;
}
.checkout-input:focus {
  border-color: #18181b;
}
::-webkit-scrollbar { width: 0; height: 0; }

#root { height: 100%; }

/* App shell — real mobile browsers need dvh + no body scroll so bottom nav stays visible */
#app-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
#app-frame {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  display: flex;
  flex-direction: column;
}
.scroll-main {
  flex: 1 0 auto;
}
.bottom-nav {
  flex: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  background: #fff;
  border-top: 1px solid #efeff2;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
}

/* Fixed above bottom nav — product/cart/checkout action bars on mobile */
.mobile-action-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(54px + env(safe-area-inset-bottom));
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border-top: 1px solid #efeff2;
  box-shadow: 0 -6px 24px rgba(15, 17, 21, .1);
}

/* Floating GPT ad modal — top of site, slides in right → left */
.gpt-float-modal {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  z-index: 1000;
  max-width: min(300px, calc(100vw - 24px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 17, 21, .18);
  padding: 28px 10px 10px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  pointer-events: none;
}
.gpt-float-modal--visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.gpt-float-modal--closing {
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
}
.gpt-float-close {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f4f4f5;
  color: #18181b;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  z-index: 2;
}
.gpt-float-close:hover {
  background: #e4e4e7;
}
.gpt-float-ad-slot {
  overflow: hidden;
  line-height: 0;
}

/* In-content top banner (after Categories on home) */
.home-ad-top-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0 14px;
  min-height: 50px;
  overflow: hidden;
}
.home-ad-top-slot > div {
  margin: 0 auto;
  line-height: 0;
}
#gpt-top-ad-hold {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cookie notice — UI only; does not gate GPT ads */
.cookie-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 980;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px;
  background: #18181b;
  color: #fafafa;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(15, 17, 21, .28);
  font-size: 13px;
  line-height: 1.45;
  box-sizing: border-box;
}
.cookie-consent__text {
  flex: 1 1 220px;
  min-width: 0;
  font-weight: 500;
}
.cookie-consent__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.cookie-consent__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 11px;
  background: #ff3b30;
  color: #fff;
  line-height: 1;
}
.cookie-consent__btn:hover {
  background: #e0342b;
}
@media (min-width: 760px) {
  .cookie-consent {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 48px);
  }
}

/* Full-page interstitial (shown on cart Buy now) */
.gpt-interstitial-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
  box-sizing: border-box;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.gpt-interstitial-modal--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gpt-interstitial-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.gpt-interstitial-close:hover {
  background: rgba(255, 255, 255, .24);
}
.gpt-interstitial-ad-slot {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  line-height: 0;
}
.gpt-interstitial-ad-slot > div,
.gpt-interstitial-ad-slot iframe {
  max-width: 100%;
  max-height: 100%;
}

/* Bottom GPT ad — full-width 100% anchor bar; height follows creative */
.gpt-bottom-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  height: auto;
  z-index: 999;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 -4px 24px rgba(15, 17, 21, .14);
  padding: 0 0 env(safe-area-inset-bottom);
  transform: translateY(110%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  pointer-events: none;
  box-sizing: border-box;
}
.gpt-bottom-modal--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.gpt-bottom-modal--closing {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.gpt-bottom-close {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f4f4f5;
  color: #18181b;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  z-index: 2;
}
.gpt-bottom-close:hover {
  background: #e4e4e7;
}
.gpt-bottom-ad-slot {
  width: 100%;
  height: auto;
  min-height: 50px;
  overflow: visible;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 32px;
  box-sizing: border-box;
}
.gpt-bottom-ad-slot > div {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  text-align: center;
}
.gpt-bottom-ad-slot iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#scroll.scroll-with-dock {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
#scroll.scroll-with-dock .scroll-main {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.mobile-action-dock--solo {
  bottom: 0;
  padding-bottom: calc(11px + env(safe-area-inset-bottom));
}
#scroll.scroll-with-dock--solo {
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
#scroll.scroll-with-dock--solo .scroll-main {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

/* Touch swipe targets */
.swipe-surface {
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

@keyframes fadeUp   { from { transform: translateY(10px); } to { transform: none; } }
@keyframes popIn    { 0% { transform: scale(.7); } 65% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes modalIn  { from { transform: translateY(26px) scale(.97); } to { transform: none; } }
@keyframes overlayIn{ from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse    { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes toastIn  { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes spin     { to { transform: rotate(360deg); } }
#banner-track { backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* Site footer — full width */
.site-footer {
  width: 100%;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
  background: #f4f4f5;
  border-top: 1px solid #ececef;
  box-sizing: border-box;
}
.site-footer-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 18px 28px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 28px 20px;
}
.site-footer-brand-head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.site-footer-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #18181b;
  padding: 0;
}
.site-footer-logo span {
  color: #ff3b30;
}
.site-footer-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #71717a;
  max-width: 280px;
}
.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e4e7;
  color: #52525b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.footer-social:hover {
  background: #18181b;
  color: #fff;
  border-color: #18181b;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-link {
  font-size: 13px;
  font-weight: 500;
  color: #71717a;
  padding: 0;
  text-align: left;
  line-height: 1.3;
  transition: color .15s ease;
}
.footer-link:hover {
  color: #18181b;
}
.site-footer-bar {
  width: 100%;
  border-top: 1px solid #e4e4e7;
  box-sizing: border-box;
}
.site-footer-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 0;
  box-sizing: border-box;
}
.site-footer-copy {
  font-size: 12px;
  color: #9aa0a6;
  font-weight: 500;
}
@media (max-width: 900px) {
  .site-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer-desc {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .site-footer-main {
    padding: 32px 16px 24px;
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }
  .footer-col-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .footer-link {
    font-size: 12px;
  }
}

.home-eyebrow-left {
  text-align: left;
}
.home-section-title-left {
  text-align: left;
}
.home-browse {
  margin-bottom: 8px;
}
.home-browse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.home-browse-head .home-section-title-left {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.home-browse-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.home-browse-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #ececef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .2s ease, box-shadow .2s ease;
}
.home-browse-arrow:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}
.home-browse-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.home-browse-slider {
  overflow: hidden;
  width: 100%;
}
.home-browse-track {
  display: flex;
  gap: 14px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.home-browse-slider[data-visible="3"] .home-browse-slide {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
}
.home-browse-slider[data-visible="2"] .home-browse-slide {
  flex: 0 0 calc((100% - 14px) / 2);
  min-width: 0;
}
.home-browse-slide .home-browse-card {
  width: 100%;
}
.home-browse-deal {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 9px;
  border-radius: 8px;
}
.home-browse-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 0.9;
  min-height: 120px;
  background: #18181b;
  text-align: left;
  display: block;
  width: 100%;
  cursor: pointer;
}
.home-browse-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.home-browse-card:hover img {
  transform: scale(1.05);
}
.home-browse-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 17, 21, .72) 100%);
  pointer-events: none;
}
.home-browse-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 13px;
  z-index: 1;
}
.home-browse-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.home-browse-count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}
.home-browse-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.home-browse-view {
  flex-shrink: 0;
  background: #fff;
  color: #18181b;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: -.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.home-browse-card:hover .home-browse-view {
  background: #ff3b30;
  color: #fff;
}
.home-deals-head {
  margin-top: 36px;
  margin-bottom: 22px;
}

/* Product cards */
.product-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
.product-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(15, 17, 21, .04);
}
.product-card-media {
  position: relative;
  aspect-ratio: 0.8;
  background: #f4f4f5;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid #ececef;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f4f4f5;
}
.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 8px;
  border-radius: 8px;
  animation: popIn .3s ease;
}
.product-card-wish {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}
.product-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-height: 0;
}
.product-card-subcat {
  font-size: 10px;
  font-weight: 700;
  color: #8a8a93;
  letter-spacing: .03em;
}
.product-card-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #27272a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8a8a93;
  font-weight: 600;
}
.product-card-prices {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 2px;
}
.product-card-sale {
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.01em;
}
.product-card-was {
  font-size: 12px;
  color: #b4b4bb;
  text-decoration: line-through;
}
.product-card-save {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}
.product-card-urgency {
  margin-top: 2px;
}
.product-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.product-card-meta-row .product-card-rating {
  min-width: 0;
}
.product-card-stock-bar {
  height: 4px;
  background: #f0eef0;
  border-radius: 999px;
  overflow: hidden;
}
.product-card-stock-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3b30, #ff7a18);
  border-radius: 999px;
}
.product-card-stock-label {
  font-size: 10px;
  color: #ef4444;
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}
.product-card-btn {
  margin-top: auto;
  flex-shrink: 0;
  background: #18181b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 12px;
  border-radius: 12px;
  width: 100%;
}
.product-grid > [data-wish-card] {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-grid > [data-wish-card] .product-card {
  flex: 1;
}
@media (max-width: 520px) {
  .product-grid {
    gap: 16px;
  }
  .product-card {
    border-radius: 16px;
  }
  .product-card-body {
    padding: 12px 12px 14px;
    gap: 8px;
  }
}
@media (min-width: 1024px) {
  .site-footer-main,
  .site-footer-bar-inner {
    max-width: 1400px;
  }
  .home-prod-slider-track {
    gap: 24px;
  }
  .home-prod-slider-viewport[data-visible="4"] .home-prod-slide {
    flex: 0 0 calc((100% - 72px) / 4);
  }
  .home-prod-slider-viewport[data-visible="3"] .home-prod-slide {
    flex: 0 0 calc((100% - 48px) / 3);
  }
  .product-card-body {
    padding: 18px 18px 20px;
    gap: 11px;
  }
  .product-card-subcat {
    font-size: 11px;
  }
  .product-card-name {
    font-size: 15px;
    min-height: calc(1.35em * 2);
  }
  .product-card-rating {
    font-size: 12px;
  }
  .product-card-sale {
    font-size: 22px;
  }
  .product-card-was {
    font-size: 13px;
  }
  .product-card-save {
    font-size: 12px;
  }
  .product-card-stock-label {
    font-size: 11px;
  }
  .product-card-btn {
    font-size: 14px;
    padding: 13px 14px;
  }
  .product-card-badge {
    font-size: 12px;
    padding: 5px 10px;
  }
  .home-section-title {
    font-size: 30px;
  }
  .home-flash-title {
    font-size: 28px;
  }
  .product-grid {
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .home-browse-head {
    margin-bottom: 14px;
  }
  .home-browse-arrow {
    width: 30px;
    height: 30px;
  }
  .home-browse-track {
    gap: 10px;
  }
  .home-browse-slider[data-visible="2"] .home-browse-slide {
    flex: 0 0 calc((100% - 10px) / 2);
  }
  .home-browse-card {
    border-radius: 14px;
    aspect-ratio: 0.9;
  }
  .home-browse-name {
    font-size: 14px;
  }
}

/* Home product sliders */
.home-prod-slider {
  margin-top: 28px;
}
.home-prod-slider .home-browse-head .home-section-title-left {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.home-prod-slider-viewport {
  overflow: hidden;
  width: 100%;
}
.home-prod-slider-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.home-prod-slider-viewport[data-visible="4"] .home-prod-slide {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
}
.home-prod-slider-viewport[data-visible="3"] .home-prod-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}
.home-prod-slider-viewport[data-visible="2"] .home-prod-slide {
  flex: 0 0 calc((100% - 18px) / 2);
  min-width: 0;
}
.home-prod-slide {
  display: flex;
  flex-direction: column;
}
.home-prod-slide .product-card {
  width: 100%;
  flex: 1;
}
.home-prod-slide > div {
  height: 100%;
}

/* Flash Sale — highlighted panel (full viewport width) */
.home-prod-slider--flash {
  margin-top: 32px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.home-flash-panel {
  background: linear-gradient(135deg, #ff3b30 0%, #ff5a2e 42%, #ff7a18 100%);
  border-radius: 0;
  width: 100%;
  padding: 18px 0 16px;
  box-shadow: 0 12px 36px rgba(255, 59, 48, .22);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.home-flash-inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.home-flash-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, transparent 70%);
  pointer-events: none;
}
.home-flash-head {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.home-flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.home-flash-live {
  flex-shrink: 0;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.home-flash-title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.home-flash-panel .home-browse-arrows {
  flex-shrink: 0;
}
.home-flash-panel .home-browse-arrow {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.home-flash-panel .home-prod-slider-viewport {
  position: relative;
  z-index: 1;
}
@media (max-width: 520px) {
  .home-flash-panel {
    padding: 16px 0 14px;
  }
  .home-flash-head {
    margin-bottom: 14px;
  }
  .home-flash-title-wrap {
    gap: 8px;
  }
  .home-flash-live {
    font-size: 9px;
    padding: 4px 8px;
  }
  .home-flash-title {
    font-size: 20px;
  }
}

/* Featured brands */
.home-brands > .home-section-title-left {
  margin: 0 0 18px;
}
.home-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.home-brand-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1.35;
  background: #18181b;
  text-align: left;
  display: block;
  width: 100%;
}
.home-brand-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.home-brand-card:hover img {
  transform: scale(1.05);
}
.home-brand-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 17, 21, .78) 100%);
  pointer-events: none;
}
.home-brand-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  z-index: 1;
}
.home-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.home-brand-tag {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  margin-top: 2px;
}

/* Newsletter */
.home-newsletter-panel {
  background: linear-gradient(135deg, #18181b 0%, #2a2a32 100%);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.home-newsletter-panel .home-section-title {
  color: #fff;
}
.home-newsletter-panel .home-section-sub {
  color: rgba(255, 255, 255, .78);
  margin-top: 8px;
}
.home-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}
.home-newsletter-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.home-newsletter-input::placeholder {
  color: rgba(255, 255, 255, .45);
}
.home-newsletter-input:focus {
  border-color: rgba(255, 59, 48, .6);
  background: rgba(255, 255, 255, .12);
}
.home-newsletter-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff3b30, #ff7a18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  white-space: nowrap;
}
.home-newsletter-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .home-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-newsletter-panel {
    padding: 22px 18px;
  }
  .home-newsletter-form {
    max-width: none;
    width: 100%;
    flex-direction: column;
  }
  .home-newsletter-btn {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .home-prod-slider-track {
    gap: 14px;
  }
  .home-prod-slider-viewport[data-visible="2"] .home-prod-slide {
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

/* Home page extra sections */
.home-section {
  margin-top: 28px;
}
.home-perks-above-footer {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 8px;
  padding-bottom: 0;
}
.home-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff3b30;
  text-align: center;
  margin-bottom: 8px;
}
.home-section-head {
  text-align: center;
  margin-bottom: 20px;
}
.home-section-title {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 850;
  letter-spacing: -.03em;
  color: #18181b;
}
.home-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.home-perk-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 16px;
  padding: 18px 16px;
}
.home-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff0ef, #fff8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.home-perk-title {
  font-size: 14px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.home-perk-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
  font-weight: 500;
}
/* Stats — dark trust band */
.home-stats-band {
  margin-top: 32px;
}
.home-stats-band-inner {
  background: linear-gradient(135deg, #18181b 0%, #2a2a30 55%, #1f1f24 100%);
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 12px 40px rgba(15, 17, 21, .22);
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.home-stat-item {
  padding: 8px 12px;
  text-align: center;
}
.home-stat-item-divider {
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.home-stat-val {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ff7a18, #ff3b30);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .62);
}
/* Reviews — warm tinted panel */
.home-reviews {
  margin-top: 36px;
}
.home-reviews-panel {
  background: linear-gradient(180deg, #fff8f5 0%, #fff3ee 100%);
  border: 1px solid #ffe4dc;
  border-radius: 22px;
  padding: 28px 20px 24px;
}
.home-eyebrow-dark {
  color: #e0352b;
}
.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.home-reviews-slider {
  overflow: hidden;
}
.home-reviews-track {
  display: flex;
  transition: transform .35s ease;
}
.home-reviews-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.home-reviews-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.home-reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d4d4d8;
  border: none;
  padding: 0;
}
.home-reviews-dot.is-active {
  width: 18px;
  background: #18181b;
}
.home-review-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(255, 59, 48, .07);
  border-left: 4px solid #ff3b30;
}
.home-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}
.home-review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3f3f46;
  flex: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
.home-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f4f4f5;
}
.home-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.home-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-review-name {
  font-size: 13px;
  font-weight: 800;
  color: #18181b;
}
.home-review-meta {
  font-size: 11px;
  color: #9aa0a6;
  font-weight: 600;
  margin-top: 2px;
}
.home-verified {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #16a34a;
  background: #e7f7ec;
  padding: 5px 8px;
  border-radius: 999px;
}
/* FAQ — clean split layout */
.home-faq {
  margin-top: 36px;
}
.home-faq-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 28px 36px;
  align-items: start;
}
.home-section-head-left {
  text-align: left;
  margin-bottom: 0;
}
.home-eyebrow-muted {
  color: #71717a;
  text-align: left;
}
.home-section-head-left .home-section-title {
  text-align: left;
}
.home-section-sub {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #71717a;
  font-weight: 500;
  max-width: 34ch;
}
.home-faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 18px;
  overflow: hidden;
}
.home-faq-item {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #f0f0f2;
  overflow: hidden;
}
.home-faq-item:last-child {
  border-bottom: none;
}
.home-faq-item.is-open {
  background: #fafafa;
  box-shadow: none;
}
.home-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #18181b;
  text-align: left;
}
.home-faq-q span:first-child {
  flex: 1;
  min-width: 0;
}
.home-faq-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f4f4f5;
  color: #52525b;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-faq-toggle.is-open {
  background: linear-gradient(135deg, #ff3b30, #ff7a18);
  color: #fff;
}
.home-faq-a {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #71717a;
  font-weight: 500;
}
.home-cta {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.home-cta-title {
  font-size: 17px;
  font-weight: 800;
  color: #18181b;
  letter-spacing: -.01em;
}
.home-cta-sub {
  font-size: 13px;
  color: #71717a;
  font-weight: 500;
  margin-top: 4px;
}
.home-cta-btn {
  background: linear-gradient(135deg, #ff3b30, #ff7a18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 59, 48, .32);
  white-space: nowrap;
}
.home-cta-btn:hover {
  filter: brightness(1.05);
}
@media (max-width: 900px) {
  .home-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }
  .home-stat-item-divider {
    border-right: none;
  }
  .home-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .12);
  }
  .home-stat-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 16px;
  }
  .home-reviews-grid {
    grid-template-columns: 1fr;
  }
  .home-reviews-grid {
    display: none;
  }
  .home-reviews-slider {
    display: block;
  }
  .home-faq-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-section-head-left {
    text-align: center;
  }
  .home-eyebrow-muted {
    text-align: center;
  }
  .home-section-head-left .home-section-title {
    text-align: center;
  }
  .home-section-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}
@media (min-width: 769px) {
  .home-reviews-slider,
  .home-reviews-dots {
    display: none;
  }
}
@media (max-width: 520px) {
  .home-perks-grid {
    grid-template-columns: 1fr;
  }
  .home-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .home-cta-btn {
    width: 100%;
  }
}

/* Product detail — hero image */
.product-hero {
  position: relative;
  background: #f4f4f5;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}
@media (min-width: 640px) {
  .product-hero {
    max-width: 320px;
    border-radius: 16px;
    aspect-ratio: 0.8;
  }
}

/* Listing / filter toolbar */
.listing-page {
  animation: fadeUp .32s ease;
  padding: 14px;
}
.listing-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background: #f4f4f5;
  color: #18181b;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}
.listing-panel {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 20px;
  padding: 18px 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(15, 17, 21, .07);
}
.listing-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.listing-panel__titles {
  min-width: 0;
  flex: 1;
}
.listing-panel__title {
  margin: 0;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 850;
  letter-spacing: -.03em;
  color: #18181b;
  line-height: 1.15;
}
.listing-panel__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8a8a93;
  font-weight: 600;
}
.listing-panel__count {
  flex: none;
  background: linear-gradient(135deg, #fff0ef, #fff8f0);
  color: #ff3b30;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid #ffd9d4;
  white-space: nowrap;
  line-height: 1.2;
}
.listing-toolbar {
  margin-top: 0;
  margin-bottom: 16px;
}
.listing-toolbar:last-child {
  margin-bottom: 0;
}
.listing-toolbar__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #9aa0a6;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.chip-row--scroll::-webkit-scrollbar {
  display: none;
}
.chip-row--scroll .filter-chip {
  scroll-snap-align: start;
}
.filter-chip {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  font-family: inherit;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #efeff2;
  background: #f8f8f9;
  color: #52525b;
  white-space: nowrap;
  letter-spacing: -.01em;
  cursor: pointer;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}
.filter-chip.is-active {
  border: none;
  background: linear-gradient(135deg, #ff3b30, #ff7a18);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 59, 48, .32);
}
.listing-empty {
  text-align: center;
  padding: 36px 16px 8px;
  margin-top: 4px;
  border-top: 1px solid #f0f0f2;
  color: #8a8a93;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* Static footer pages */
.static-page {
  max-width: 720px;
  margin: 0 auto;
}
.static-page-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 20px;
  padding: 28px 24px 32px;
  box-shadow: 0 8px 32px rgba(15, 17, 21, .06);
}
.static-page-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background: #f4f4f5;
  color: #18181b;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
}
.static-page-back-btn--top {
  margin-bottom: 18px;
}
.static-page-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 850;
  letter-spacing: -.03em;
  color: #18181b;
  line-height: 1.15;
}
.static-page-intro {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #52525b;
  font-weight: 500;
}
.static-page-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.static-page-block {
  padding-top: 4px;
}
.static-page-h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #18181b;
}
.static-page-block p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #52525b;
  font-weight: 500;
}
.static-page-block p:last-child {
  margin-bottom: 0;
}
.static-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 4px;
}
.static-table th,
.static-table td {
  border: 1px solid #ececef;
  padding: 10px 12px;
  text-align: left;
}
.static-table th {
  background: #f8f8f9;
  font-weight: 800;
  color: #18181b;
}
.static-table td {
  color: #52525b;
  font-weight: 500;
}
@media (max-width: 520px) {
  .static-page-card {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }
  .static-table th,
  .static-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
}
