/* ═══════════════════════════════════════════════════════════════
   TBLL Store — Home Page  (modern redesign)
═══════════════════════════════════════════════════════════════ */

/* ── SCROLL ENTRANCE ──────────────────────────────────────────── */
.reveal-hidden {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.5s ease,
    translate 0.5s ease;
}
.reveal-visible {
  opacity: 1;
  translate: 0 0;
}

/* ── STORE CONTAINER ────────────────────────────────────────────
   Match sticky header gutters (store-chrome .jumia-bar-inner). */
.store-container {
  width: 100%;
  max-width: var(--store-max-width, 1400px);
  margin: 0 auto;
  padding-left: var(--store-gutter, 20px);
  padding-right: var(--store-gutter, 20px);
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   1. HERO CAROUSEL — inset card; width from parent .store-container
      (aligns with .jumia-bar-inner + section rails)
══════════════════════════════════════════════════════════════ */
.hero-carousel {
  --hero-scrim-ink: #0a0a0a;
  --hero-scrim-mid: #111111;
  --hero-copy-fg: #fafafa;
  --hero-copy-muted: rgba(255, 255, 255, 0.84);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: clamp(12px, 2vw, 20px) 0 clamp(8px, 1.5vw, 16px);
  border-radius: clamp(16px, 2.2vw, 24px);
  min-height: 370px;
  height: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.hero-track {
  display: flex;
  align-items: stretch;
  min-height: inherit;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: inherit;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  border-radius: inherit;
  transform: scale(1.025);
  transition: transform 8s ease-out;
}
.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}
.hero-slide-bg--fashion {
  background-image: url('/img/hero/hero-fashion-desktop.png');
}
.hero-slide-bg--gadgets {
  background-image: url('/img/hero/hero-gadgets-desktop.png');
}
.hero-slide-bg--beauty {
  background-image: url('/img/hero/hero-beauty-desktop.png');
}
.hero-slide-bg--home {
  background-image: url('/img/hero/hero-home-desktop.png');
}
.hero-slide-bg--workout {
  background-image: url('/img/hero/hero-workout-desktop.png');
}
.hero-slide-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  /* Narrower, lighter band on the left so more photo shows through */
  background: linear-gradient(
    100deg,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(17, 17, 17, 0.52) 18%,
    rgba(26, 26, 26, 0.22) 36%,
    rgba(10, 10, 10, 0.06) 52%,
    transparent 68%
  );
}
.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: clamp(18px, 3.5vw, 36px) clamp(20px, 4vw, 44px) clamp(36px, 5vw, 48px);
  display: flex;
  align-items: center;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-copy {
  color: var(--hero-copy-fg);
  max-width: 36rem;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(8px, 1.4vw, 14px);
}
.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.hero-kicker-label {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-copy h1 {
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 clamp(8px, 1.2vw, 12px);
  letter-spacing: -0.03em;
  color: var(--hero-copy-fg);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 4px 20px rgba(0, 0, 0, 0.35);
}
.hero-copy p {
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 500;
  color: var(--hero-copy-muted);
  opacity: 1;
  margin: 0 0 clamp(14px, 2vw, 22px);
  line-height: 1.62;
  max-width: 26rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-scrim-mid);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.03em;
}
.hero-cta:hover {
  background: var(--hero-scrim-ink);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
/* Prev/next — above slides & scrim; dots + swipe still work */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
}
.hero-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-prev {
  left: clamp(8px, 2vw, 16px);
}
.hero-next {
  right: clamp(8px, 2vw, 16px);
}
/* Dots — small circles, active = solid white */
.hero-dots {
  position: absolute;
  bottom: clamp(10px, 1.8vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  align-items: center;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
  padding: 0;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}
.hero-dot.active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}
@media (max-width: 768px) {
  /* Hero-only row: no side padding so 95% is a true 95% of the viewport band; centered with rounded card */
  .store-container:has(> .hero-carousel) {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-carousel {
    width: 95%;
    max-width: 95%;
    min-height: 300px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border-radius: clamp(16px, 2.2vw, 24px);
  }
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }
  .hero-slide-bg {
    background-position: center 42%;
  }
  .hero-slide-scrim {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.78) 0%,
      rgba(17, 17, 17, 0.48) 32%,
      rgba(26, 26, 26, 0.18) 58%,
      transparent 82%
    );
  }
  .hero-panel {
    text-align: center;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-kicker {
    justify-content: center;
  }
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slide-bg--fashion {
    background-image: url('/img/hero/hero-fashion-mobile.png');
  }
  .hero-slide-bg--gadgets {
    background-image: url('/img/hero/hero-gadgets-mobile.png');
  }
  .hero-slide-bg--beauty {
    background-image: url('/img/hero/hero-beauty-mobile.png');
  }
  .hero-slide-bg--home {
    background-image: url('/img/hero/hero-home-mobile.png');
  }
  .hero-slide-bg--workout {
    background-image: url('/img/hero/hero-workout-mobile.png');
  }
}

/* ══════════════════════════════════════════════════════════════
   2. SECTION HEADERS — original gradient bars, width = .store-container
      (same look as full-bleed headers, without edge-to-edge viewport paint)
══════════════════════════════════════════════════════════════ */

.home-section-head {
  margin-bottom: 14px;
  padding: 15px 14px 13px;
  border-radius: 14px;
  overflow: hidden;
}

.home-section-head--flash {
  background: linear-gradient(90deg, #dc2626 0%, #ff6900 100%);
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.22);
}

.home-section-head--discover {
  background: linear-gradient(90deg, #111 0%, #333 100%);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

.home-section-head--catalog {
  background: linear-gradient(90deg, #18181b 0%, #3f3f46 100%);
  box-shadow: 0 8px 26px rgba(24, 24, 27, 0.2);
}

.home-section-head-icon {
  flex-shrink: 0;
  color: #fff;
}

.home-section-head--flash .home-section-head-icon {
  font-size: 1.05rem;
}

.home-section-head--discover .home-section-head-icon {
  font-size: 1.05rem;
}

.home-section-head--catalog .home-section-head-icon {
  font-size: 1.05rem;
}

/* ── FLASH SALES row ── */
.flash-sales-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.flash-sales-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
}
.flash-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.flash-title {
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  font-weight: 800;
  color: white;
  letter-spacing: 0.35px;
  white-space: nowrap;
}
.flash-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.timer-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 2px;
  white-space: nowrap;
}
.timer-block {
  background: white;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.timer-sep {
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
}
.flash-see-all {
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.flash-see-all:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── DISCOVER row ── */
.discover-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.discover-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.discover-title {
  font-size: clamp(0.78rem, 2.5vw, 0.98rem);
  font-weight: 800;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discover-see-all {
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.discover-see-all:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ── ALL PRODUCTS row ── */
.all-products-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.all-products-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.all-products-title {
  font-size: clamp(0.78rem, 2.5vw, 1.02rem);
  font-weight: 800;
  color: white;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.all-products-count {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  white-space: nowrap;
}
.all-products-see-all {
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.all-products-see-all:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Section header “See all” links: icon-only on small screens (Flash + Discover only;
   All Products keeps “View All” text — clearer for the main catalog block) */
@media (max-width: 768px) {
  /* Match hero: gradient bars 95% width, centered; flush container sides + 2.5% inset on content below */
  .flash-sales-wrap > .store-container,
  .discover-wrap > .store-container,
  .products-section > .store-container,
  .interests-section > .store-container {
    padding-left: 0;
    padding-right: 0;
  }
  /* Same horizontal inset as .flash-products-row */
  .interests-section > .store-container .cat-banners-row {
    padding-left: 2.5%;
    padding-right: 2.5%;
    box-sizing: border-box;
  }
  .home-section-head {
    width: 95%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .flash-products-row,
  .discover-products-row {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
  .home-section-head--flash,
  .home-section-head--discover {
    padding: 12px 10px 11px;
  }
  .flash-sales-header-inner {
    gap: 6px;
  }
  .flash-sales-left {
    gap: 6px;
  }
  .flash-heading {
    gap: 5px;
  }
  .flash-timer {
    padding: 3px 6px;
    gap: 2px;
  }
  .timer-label {
    font-size: 0.58rem;
  }
  .timer-block {
    font-size: 0.7rem;
    min-width: 22px;
    padding: 2px 4px;
  }
  .discover-header-inner {
    gap: 6px;
  }

  .flash-see-all .home-section-see-all-label,
  .discover-see-all .home-section-see-all-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .flash-see-all,
  .discover-see-all {
    padding: 8px 11px;
    gap: 0;
    justify-content: center;
  }

  /* ── All Products section (home) — mobile: keep single header row ── */
  .home-section-head--catalog {
    padding: 12px 10px 11px;
  }
  .all-products-header-inner {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .all-products-left {
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    gap: 6px;
  }
  .all-products-left .home-section-head-icon {
    margin-top: 0;
  }
  .all-products-title {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem);
    line-height: 1.2;
    min-width: 0;
    flex: 1 1 auto;
  }
  .all-products-count {
    flex-shrink: 0;
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  .all-products-see-all {
    align-self: center;
    justify-content: center;
    padding: 6px 9px;
    gap: 6px;
  }
  .products-section .product-grid {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
  .see-more-wrap {
    padding: 24px 2.5% 0;
  }
  .see-more-btn {
    display: flex;
    width: 100%;
    max-width: none;
    justify-content: center;
    padding: 14px 20px;
    box-sizing: border-box;
  }

  /* Shop by category — horizontal strip (parent uses same flush + 2.5% pattern as Flash) */
  .interests-products {
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
  }
  .interests-scroll-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* Match .flash-products-row gap */
    gap: 14px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* Match .flash-products-row horizontal inset on mobile */
    padding: 4px 2.5% 12px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2.5%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    grid-template-columns: unset;
    touch-action: pan-x;
  }
  .interests-scroll-row::-webkit-scrollbar {
    display: none;
    height: 0;
  }
  /* Fixed width = .flash-card (Flash Sales rail) */
  .interests-scroll-row .int-product-card {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
    flex-shrink: 0;
    overflow: hidden;
    scroll-snap-align: start;
  }
  .interests-scroll-row::after {
    content: '';
    flex-shrink: 0;
    width: 6px;
  }
}

/* ── INTERESTS / CATEGORY header ── */
.interests-header {
  padding: 28px 0 16px;
  background: white;
}
.interests-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.interests-emoji {
  font-size: 2rem;
  line-height: 1;
}
.interests-headings {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.interests-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0;
}
.interests-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.3px;
}

/* ══════════════════════════════════════════════════════════════
   3. FLASH SALES CAROUSEL
══════════════════════════════════════════════════════════════ */
.flash-sales-wrap {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  padding-top: clamp(8px, 1.2vw, 16px);
  padding-bottom: 28px;
  overflow: hidden;
}
.flash-products-row {
  display: flex;
  gap: 14px;
  padding: 4px 0 8px;
  will-change: transform;
  flex-wrap: nowrap;
}
.flash-card {
  flex: 0 0 168px;
  flex-shrink: 0;
  background: white;
  border: 1.5px solid #ededed;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.22s,
    border-color 0.22s;
  position: relative;
  transform-style: preserve-3d;
}
.flash-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}
.flash-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc2626;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  z-index: 1;
  letter-spacing: 0.3px;
}
.flash-card-img {
  height: 148px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flash-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) brightness(0.97);
  transform: scale(1);
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.35s ease;
}
.flash-card:hover .flash-card-img img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.04);
  animation: imgPop 0.4s ease forwards;
}
.flash-card-img span {
  font-size: 3.5rem;
}
.flash-card-info {
  padding: 10px 12px 12px;
}
.flash-card-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  min-height: calc(0.74rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.flash-card-prices {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
}
.flash-card-price {
  font-size: 0.96rem;
  font-weight: 800;
  color: #111;
}
.flash-card-old {
  font-size: 0.72rem;
  color: #bbb;
  text-decoration: line-through;
}
/* Stock bar */
.flash-stock-bar {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}
.flash-stock-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc2626, var(--orange));
  border-radius: 2px;
  transition: width 0.3s;
}
.flash-stock-label {
  font-size: 0.62rem;
  color: #888;
}

/* ══════════════════════════════════════════════════════════════
   4. DISCOVER MORE CAROUSEL
══════════════════════════════════════════════════════════════ */
.discover-wrap {
  background: white;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 32px;
  overflow: hidden;
}
.discover-products-row {
  display: flex;
  gap: 14px;
  padding: 4px 0 8px;
  will-change: transform;
  flex-wrap: nowrap;
}
.discover-card {
  flex: 0 0 176px;
  flex-shrink: 0;
  background: white;
  border: 1.5px solid #ededed;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.22s,
    border-color 0.22s;
  transform-style: preserve-3d;
}
.discover-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}
.discover-card-img {
  height: 162px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.discover-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) brightness(0.97);
  transform: scale(1);
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.35s ease;
}
.discover-card:hover .discover-card-img img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.04);
  animation: imgPop 0.4s ease forwards;
}
.discover-card-img span {
  font-size: 4rem;
}
.discover-card-info {
  padding: 10px 12px 12px;
}
.discover-card-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  min-height: calc(0.76rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}
.discover-card-price {
  font-size: 0.96rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 3px;
}
.discover-card-rating {
  font-size: 0.65rem;
  color: #888;
}

/* Inner pages: product cards inside Discover-style stepping row (cart, PDP) */
.store-discover-product-row .product-card {
  flex: 0 0 176px;
  flex-shrink: 0;
  max-width: 182px;
}
.store-discover-product-row .product-img-wrap {
  height: 148px;
}
.cart-page .store-discover-rail + .store-discover-rail {
  border-top: 1px solid #f0f0f0;
}
.pd-page .store-discover-rail {
  border-top: 1px solid #f0f0f0;
}

/* ══════════════════════════════════════════════════════════════
   5. SHOP BY CATEGORY
══════════════════════════════════════════════════════════════ */
.interests-section {
  background: white;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 36px;
}
/* Category pill filters */
.cat-pills-scroll-wrap {
  padding-bottom: 20px;
}
.cat-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid #e8e8e8;
  background: white;
  color: #555;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.cat-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff4ec;
}
.cat-pill.active {
  background: #111;
  color: white;
  border-color: #111;
}
.cat-pill i {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .cat-pills-scroll-wrap {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    padding-left: 2.5%;
    padding-right: 2.5%;
    padding-bottom: 18px;
    box-sizing: border-box;
  }
  .cat-pills-scroll-wrap .cat-pills-row {
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 12px;
    margin: 0;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .cat-pills-scroll-wrap .cat-pills-row::after {
    content: '';
    flex-shrink: 0;
    width: 6px;
  }
  .cat-pills-scroll-wrap .cat-pills-row::-webkit-scrollbar {
    display: none;
    height: 0;
  }
  .cat-pills-scroll-wrap .cat-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 18px;
    font-size: 0.8rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }
  .cat-pills-scroll-wrap .cat-pill.active {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }
}
/* Category banner grid */
.cat-banners-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.cat-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  background: #f5f5f5;
}
.cat-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.cat-banner:hover img {
  transform: scale(1.07);
}
.cat-banner-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Interest product scroll — grid on tablet+ only; ≤768px uses flex strip in earlier @media */
@media (min-width: 769px) {
  .interests-scroll-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}
.int-product-card {
  background: white;
  border: 1.5px solid #ededed;
  border-radius: 14px;
  overflow: hidden;
  transition:
    box-shadow 0.22s,
    border-color 0.22s;
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}
.int-product-card > a {
  text-decoration: none;
  color: inherit;
}
/* Keep rail cards from growing with long text — width is fixed on mobile flex strip */
.interests-scroll-row .int-product-card > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
}
.interests-scroll-row .int-product-card .product-info {
  min-width: 0;
}
.int-product-card > a:hover {
  text-decoration: none;
}
.int-product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

/* ══════════════════════════════════════════════════════════════
   6. MAIN PRODUCTS SECTION (home page grid)
══════════════════════════════════════════════════════════════ */
.products-section {
  background: #f8f8f8;
  padding-top: clamp(16px, 2vw, 24px);
  padding-bottom: 48px;
  border-top: 1px solid #f0f0f0;
}
/* Product grid (home) — horizontal inset matches .home-section-head--catalog */
.product-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  padding: 0 14px;
}
.product-card {
  background: white;
  border: 1.5px solid #ededed;
  border-radius: 14px;
  overflow: hidden;
  transition:
    box-shadow 0.22s,
    border-color 0.22s;
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}
.product-card > a {
  text-decoration: none;
  color: inherit;
}
.product-card > a:hover {
  text-decoration: none;
}
.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}
.product-img-wrap {
  height: 148px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) brightness(0.97);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.04);
}
/* Flash pulse — quick brightness spike on hover entry */
@keyframes imgPop {
  0% {
    filter: grayscale(0%) brightness(1.04);
  }
  30% {
    filter: grayscale(0%) brightness(1.22);
  }
  100% {
    filter: grayscale(0%) brightness(1.04);
  }
}
.product-card:hover .product-img-wrap img {
  animation: imgPop 0.4s ease forwards;
}
.badge-hot {
  position: absolute;
}
.badge-hot {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--orange);
  color: white;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}
.product-info {
  padding: 10px 12px 2px;
  flex: 1;
}
.product-cat {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
  min-height: calc(0.75rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.product-price-row {
  margin-bottom: 2px;
}
.product-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
}
.product-rating {
  font-size: 0.65rem;
  color: #888;
  margin-bottom: 0;
  padding-bottom: 8px;
}
/* Add to cart — always in layout, activates on card hover */
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #f5f5f5;
  color: #555;
  border: none;
  border-top: 1.5px solid #ededed;
  padding: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.product-card:hover .btn-add-cart {
  background: #111;
  color: white;
}
.product-card:hover .btn-add-cart:hover {
  background: var(--orange);
}
.int-product-card:hover .product-img-wrap img {
  animation: imgPop 0.4s ease forwards;
}
.int-product-card:hover .btn-add-cart {
  background: #111;
  color: white;
}
.int-product-card:hover .btn-add-cart:hover {
  background: var(--orange);
}
.btn-add-cart.adding {
  background: #888 !important;
  color: white !important;
  pointer-events: none;
}
.btn-add-cart.added {
  background: #16a34a !important;
  color: white !important;
}
.btn-add-cart i {
  font-size: 0.75rem;
}

/* See more */
.see-more-wrap {
  text-align: center;
  padding: 32px 0 0;
}
.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #e0e0e0;
  color: #333;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.18s;
  background: white;
}
.see-more-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff4ec;
}

/* ══════════════════════════════════════════════════════════════
   7. PERKS / TRUST STRIP
══════════════════════════════════════════════════════════════ */
.perks-strip {
  background: white;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 0;
}
.perks-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 22px 0;
  gap: 0;
}
.perk-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.perk-icon {
  width: 44px;
  height: 44px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #111;
  transition: all 0.18s;
}
.perk-item:hover .perk-icon {
  background: #111;
  color: white;
}
.perk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.perk-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
}
.perk-sub {
  font-size: 0.7rem;
  color: #999;
}
.perk-divider {
  width: 1px;
  background: #f0f0f0;
  align-self: stretch;
  margin: 8px 0;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .cat-banners-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .cat-banners-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* All Products (home): 2 cols on small tablets; Shop-by-category grid stays 3 until 640px */
  .products-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .perks-inner {
    flex-wrap: wrap;
    gap: 0;
  }
  .perk-item {
    flex: 0 0 50%;
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 20px;
  }
  .perk-divider {
    display: none;
  }
}
@media (max-width: 640px) {
  .hero-carousel {
    min-height: 300px;
  }
  .hero-copy h1 {
    font-size: 1.45rem;
  }
  .cat-banners-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-img-wrap {
    height: 170px;
  }
  .perks-inner {
    flex-direction: column;
  }
  .perk-item {
    flex: 1 1 100%;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Very narrow: one product per row for grids only (not Flash/Discover rails — step carousel stays on).
   /products .prod-grid also sets 1 col at 349px in store-products.css — keep in sync.
   Shop by category stays horizontal scroll (~2.5 cards) from max-width:768 rules above. */
@media (max-width: 349px) {
  .products-section .product-grid,
  .product-grid,
  .prod-grid:not(.list-view) {
    grid-template-columns: 1fr;
  }
}
