/* ═══════════════════════════════════════════
   SHILPKRITI — HOMEPAGE V3 DESIGN SYSTEM
   Only loaded on the homepage (page_type === 'index')
   ═══════════════════════════════════════════ */

:root {
  --brand: #ff6600;
  --brand-dark: #e55a00;
  --brand-deep: #cc4d00;
  --brand-light: #ff8533;
  --brand-bg: #fff8f2;
  --brand-bg-alt: #fff1e6;

  --dark: #111111;
  --dark-mid: #222222;
  --dark-soft: #333333;

  --v3-bg: #ffffff;
  --bg-warm: #fdfbf8;
  --bg-muted: #f7f5f2;
  --bg-alt: #f0ece7;

  --v3-text: #111111;
  --text-mid: #444444;
  --text-soft: #777777;
  --text-muted: #aaaaaa;

  --line: #e8e4de;
  --line-light: #f2efeb;

  --green: #0d9f4f;
  --red: #e63946;
  --star: #f5a623;

  --v3-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --px: clamp(1rem, 4vw, 2rem);
  --fb-px: var(--px); /* banner card rows (product-card.css) */
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ═══════════ SCOPED RESET (homepage only) ═══════════ */
.page-homepage *, .page-homepage *::before, .page-homepage *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* The reset above also strips the shared announcement bar's padding (it loads
   after site-chrome.css), making the bar thinner on the homepage than on every
   other page. Give it back the same padding as site-chrome.css .ann-bar. */
.page-homepage .ann-bar { padding: 0.45rem 1rem; }
.page-homepage { scroll-behavior: smooth; }
.page-homepage {
  font-family: var(--v3-font);
  color: var(--v3-text);
  background: var(--v3-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip !important;
}
.page-homepage img { max-width: 100%; height: auto; display: block; }
.page-homepage a { text-decoration: none; color: inherit; }
.page-homepage button { cursor: pointer; border: none; background: none; font: inherit; }
.page-homepage ul, .page-homepage ol { list-style: none; }

/* ═══════════ OVERRIDE SHARED HEADER/FOOTER for V3 ═══════════ */
/* Kill old body padding and position (position:relative + overflow-x:hidden break sticky) */
.page-homepage { padding-top: 0 !important; position: static !important; }
html:has(.page-homepage) { overflow-x: clip !important; }

/* Kill old body::before radial gradient background */
.page-homepage::before { display: none !important; }

/* Hide the discount banner on homepage — we use the announcement bar instead */

/* Override WA float */
.page-homepage .whatsapp-btn { display: none !important; }

/* ═══════════ OVERRIDE OLD HERO STYLES (style.css conflicts) ═══════════ */
/* Old style.css sets .hero-slide { position:absolute; opacity:0 } — kill it */
.page-homepage .hero-slide {
  position: relative !important;
  opacity: 1 !important;
  flex: 0 0 100%;
  min-height: clamp(380px, 70vh, 600px);
  display: flex;
  align-items: center;
}
/* Old style.css adds .hero-slide::after dark overlay — remove it */
.page-homepage .hero-slide::after { display: none !important; }
/* Old style.css overrides .hero h1 and .hero p colors — force white */
.page-homepage .hero h1, .page-homepage .hero h2 { color: #fff !important; }
.page-homepage .hero p { color: rgba(255,255,255,0.8) !important; }
/* Old style.css .hero-bg img rules */
.page-homepage .hero-bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; }


/* Container */
.v3-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--px); }

/* Typography */
.page-homepage h1, .page-homepage h2, .page-homepage h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* ═══════════ BUTTONS ═══════════ */
.btn-v3 {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.8125rem; padding: 0.75rem 1.625rem;
  border-radius: 8px; transition: all 0.25s var(--ease); white-space: nowrap;
  font-family: var(--v3-font);
}
.btn-v3-brand { background: var(--brand); color: #fff; }
.btn-v3-brand:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,102,0,0.25); }
.btn-v3-ghost { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); }
.btn-v3-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-v3-lg { padding: 0.9rem 2rem; font-size: 0.875rem; }
.btn-v3-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }


/* ═══════════ MOBILE CATEGORY STRIP ═══════════
   Phones only: a swipeable row of arch-shaped category tiles under the
   header (the category photo from admin, else its icon), name underneath. */
.page-homepage .cat-strip { display: none; background: #fff; }
.page-homepage .cat-strip-scroll {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 12px 16px 4px; scroll-padding-left: 16px;
}
.page-homepage .cat-strip-scroll::-webkit-scrollbar { display: none; }
.page-homepage .cat-item {
  flex: 0 0 17vw; max-width: 76px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-align: center; text-decoration: none; color: #1f1f23; scroll-snap-align: start;
  font-size: 11px; font-weight: 500; line-height: 1.25;
}
.page-homepage .cat-arch {
  width: 100%; aspect-ratio: 1 / 0.92; border-radius: 999px 999px 10px 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: #fde9dc;
}
.page-homepage .cat-item:nth-child(4n+2) .cat-arch { background: #f3efe6; }
.page-homepage .cat-item:nth-child(4n+3) .cat-arch { background: #e8f3ec; }
.page-homepage .cat-item:nth-child(4n+4) .cat-arch { background: #fbeee4; }
.page-homepage .cat-arch img { width: 100%; height: 100%; object-fit: cover; }
.page-homepage .cat-arch svg {
  width: 24px; height: 24px; fill: none; stroke: #cc4d00;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.page-homepage .cat-item:focus-visible { outline: none; }
.page-homepage .cat-item:focus-visible .cat-arch { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff6600; }
.page-homepage .cat-name { display: block; max-width: 100%; overflow-wrap: anywhere; }

/* ═══════════ PHONE BANNERS ═══════════
   Phones only (the hero slider below is desktop only): the admin slides as
   rounded banners that swipe, the next one peeking in. */
.page-homepage .m-banners { display: none; }
.page-homepage .m-ban-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 0 16px; scroll-padding: 0 16px;
}
.page-homepage .m-ban-track::-webkit-scrollbar { display: none; }
.page-homepage .m-ban {
  position: relative; flex: 0 0 86vw; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  background: #eee; color: #fff; text-decoration: none; scroll-snap-align: start;
}
.page-homepage .m-ban:only-child { flex-basis: 100%; }
.page-homepage .m-ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-homepage .m-ban::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.72) 100%); }
.page-homepage .m-ban-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
.page-homepage .m-ban-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #b83d00; color: #fff; padding: 3px 7px; border-radius: 4px; }
.page-homepage .m-ban-h { font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.page-homepage .m-ban-btn { margin-top: 4px; background: #fff; color: var(--dark); font-size: 0.75rem; font-weight: 700; padding: 0.5rem 0.875rem; border-radius: 8px; }

/* ═══════════ HERO SLIDER ═══════════ */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform 0.6s var(--ease); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.hero-body { position: relative; z-index: 2; color: #fff; max-width: 500px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: rgba(255,102,0,0.9); font-size: 0.6875rem; font-weight: 700;
  padding: 0.3rem 0.75rem; border-radius: 4px; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hero-h {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.08;
  margin-bottom: 0.875rem;
}
.hero-p {
  font-size: 0.9375rem; color: rgba(255,255,255,0.8);
  line-height: 1.6; margin-bottom: 1.5rem; max-width: 400px;
}
.hero-btns { display: flex; gap: 0.625rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-dispatch {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.6875rem; color: rgba(255,255,255,0.7); font-weight: 500;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #0d9f4f; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(13,159,79,0.4); } 50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(13,159,79,0); } }

/* Slider Controls */
.hero-progress { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.375rem; z-index: 3; width: min(260px, 45vw); }
.hero-prog { flex: 1; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; cursor: pointer; border: none; padding: 0; }
.hero-prog-fill { height: 100%; width: 0; background: #fff; border-radius: 2px; }
.hero-prog.done .hero-prog-fill { width: 100%; transition: none; }
.hero-prog.active .hero-prog-fill { width: 100%; transition: width 5s linear; }
.hero-arr {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  cursor: pointer; border: none;
}
.hero-arr:hover { background: rgba(255,255,255,0.2); }
.hero-arr svg { width: 18px; height: 18px; }
.hero-arr--l { left: 1rem; }
.hero-arr--r { right: 1rem; }

/* Video slides (admin > Homepage banners): the photo stays underneath as the
   poster; homepage-v3.js attaches the source on desktop only. style.css sizes
   .hero-slide video with height:auto/min-height on small screens. */
.page-homepage .hero-bg .hero-video {
  position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
  min-height: 0 !important; object-fit: cover !important; display: block;
}
/* Admin > Homepage banners: text_position places the whole text block,
   text_align lines up what is inside it. The slide is a flex row, so the
   container would shrink to the text; full width lets the block reach either
   edge of the content area. While the arrows show (above 1024px) the inset
   grows only as far as needed to keep the text clear of them (1rem + 40px). */
.page-homepage .hero-slide > .v3-container { width: 100%; }
@media (min-width: 1025px) {
  .page-homepage .hero-slide > .v3-container {
    padding-left: max(var(--px), calc(4.5rem - max(0px, (100vw - var(--container)) / 2)));
    padding-right: max(var(--px), calc(4.5rem - max(0px, (100vw - var(--container)) / 2)));
  }
}
.page-homepage .hero-slide--pos-center .hero-body { margin-left: auto; margin-right: auto; max-width: 640px; }
.page-homepage .hero-slide--pos-right .hero-body { margin-left: auto; margin-right: 0; }
.page-homepage .hero-slide--pos-center .hero-bg::after { background: rgba(0,0,0,0.45); }
.page-homepage .hero-slide--pos-right .hero-bg::after { background: linear-gradient(255deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 55%, transparent 100%); }
.page-homepage .hero-slide--align-center .hero-body { text-align: center; }
.page-homepage .hero-slide--align-center .hero-p { margin-left: auto; margin-right: auto; }
.page-homepage .hero-slide--align-center .hero-btns,
.page-homepage .hero-slide--align-center .hero-dispatch { justify-content: center; }
.page-homepage .hero-slide--align-right .hero-body { text-align: right; }
.page-homepage .hero-slide--align-right .hero-p { margin-left: auto; margin-right: 0; }
.page-homepage .hero-slide--align-right .hero-btns,
.page-homepage .hero-slide--align-right .hero-dispatch { justify-content: flex-end; }
/* Admin-written text can be long: keep it clear of the header edge and the
   progress bars (the slide grows instead), and let long button labels wrap. */
.page-homepage .hero-slide { padding: 2.5rem 0 3.5rem; }
.page-homepage .hero-btns .btn-v3 { white-space: normal; max-width: 100%; text-align: center; }
.page-homepage .hero-h, .page-homepage .hero-p { overflow-wrap: anywhere; }

/* ═══════════ TRUST STRIP ═══════════ */
.trust-strip {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line-light);
  padding: 0.75rem 0;
}
.trust-items { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--text-mid); }
.trust-item svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.trust-item strong { color: var(--v3-text); }
.trust-sep { width: 1px; height: 16px; background: var(--line); }
.trust-dispatch { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 600; color: var(--brand-dark); }
/* Desktop: all four on ONE line. */
@media (min-width: 1025px) {
  .trust-items { flex-wrap: nowrap; gap: 1.5rem; }
  .trust-item, .trust-dispatch { white-space: nowrap; }
}
/* Tablet: the line can't fit, so the dispatch text gets its own centred row
   and the separator before it is hidden (no stray "|" at a row end). */
@media (min-width: 641px) and (max-width: 1024px) {
  .trust-items { row-gap: 0.625rem; }
  .trust-sep--dispatch { display: none; }
  .trust-dispatch { width: 100%; justify-content: center; }
}

/* ═══════════ BEST SELLERS ═══════════ */
.products-sec { padding: var(--section) 0; }
/* Right under the thin trust strip: a full section gap reads as dead space. */
.page-homepage .products-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.sec-top { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-top h2 { font-size: clamp(1.375rem, 3vw, 2rem); margin-bottom: 0.25rem; }
.sec-top p { color: var(--text-soft); font-size: 0.875rem; }

/* Featured Gifts: one scrolling row on every screen (4 cards in view on
   desktop, 3 on tablet, about 2 on phones), arrows on desktop. The card is
   the shared .sk-card; it only stretches so the phone button lines up.
   Arrows (.p-wrap, .p-arr) and the phone banner cards (.fb, .fb-track):
   product-card.css. */
.p-grid {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.p-grid::-webkit-scrollbar { display: none; }
.p-grid .sk-card { flex: 0 0 calc((100% - 3rem) / 4); scroll-snap-align: start; display: flex; flex-direction: column; }
.p-grid .sk-card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.p-grid .sk-card-cta { margin-top: auto; }

/* Product card: shared .sk-card, see product-card.css */

/* Skeleton */

/* Scroll fade hint */
.scroll-fade { position: relative; }
.scroll-fade::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 2rem; pointer-events: none; z-index: 3;
  background: linear-gradient(to right, transparent, var(--scroll-bg, var(--v3-bg)));
}
.p-scroll-fade::after { display: none; }

/* ═══════════ GIFTS BY BUDGET ═══════════
   index.php draws it twice: .budget-sec--d (desktop and tablet, with photos)
   and .budget-sec--m (phones, under Featured gifts, price tiles only). */
.page-homepage .budget-sec { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.page-homepage .budget-sec--m { display: none; }
.page-homepage .budget-title { font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; line-height: 1.2; margin: 0 0 1rem; color: var(--dark); }
.page-homepage .budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.page-homepage .budget-tile {
  display: flex; align-items: center; gap: 0.75rem; min-height: 136px; padding: 1rem 0.875rem 1rem 1.25rem;
  border-radius: 18px; background: #fdebdc; color: inherit; text-decoration: none; overflow: hidden;
  transition: transform 0.2s var(--ease);
}
.page-homepage .budget-tile--1 { background: #e8f3ec; }
.page-homepage .budget-tile--2 { background: #fdf3d6; }
.page-homepage .budget-tile:hover { transform: translateY(-2px); }
.page-homepage .budget-txt { flex: 1 1 auto; min-width: 0; }
.page-homepage .budget-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-mid); }
.page-homepage .budget-price { display: block; font-size: clamp(1.5rem, 2.8vw, 1.875rem); font-weight: 800; color: var(--dark); line-height: 1.15; }
.page-homepage .budget-count { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 700; color: var(--brand-deep); }
.page-homepage .budget-count svg { width: 14px; height: 14px; }
.page-homepage .budget-img { flex: 0 0 112px; height: 112px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.page-homepage .budget-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════ BRAND STORY ═══════════ */
.brand-story {
  padding: var(--section) 0;
  background: var(--bg-warm);
  overflow: hidden;
}
.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.story-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;            /* product photos are square: show them whole */
  width: 100%;
  max-width: 420px;          /* keep the story photo/video compact */
  justify-self: center;
  background: var(--bg-muted);
}
.story-img img, .story-img video { width: 100%; height: 100%; object-fit: cover; }
/* No photo (or still loading): the product card's gift icon tile. */
.page-homepage .story-noimg, .page-homepage .bss-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #f5efe8; color: #cdbfb0; }
.page-homepage .story-noimg svg, .page-homepage .bss-noimg svg { width: 56px; height: 56px; }
/* Night lamp light switch: real off/on photo pair (API light_switch, rendered by homepage-v3.js).
   Portrait photos on white, so show them whole (contain) instead of cropping. */
.story-img--switch { background: #fff; }
/* The stacked photos are absolutely positioned, so the box gets no size from
   its content: give it a width, and keep a portrait shape at every breakpoint
   (the mobile rules below would otherwise make it a short 4:3 strip). */
.story-img.story-img--switch { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 5; }
.story-img--switch img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transition: opacity 0.6s ease;
}
.story-img--switch .story-sw-on { opacity: 0; }
.story-img--switch.is-lit .story-sw-on { opacity: 1; }
.story-img--switch.is-lit .story-sw-off { opacity: 0; }
/* Two classes, not one: `.page-homepage button` (0,1,1) resets border,
   background and font on every homepage button and would otherwise win. */
.story-img--switch .story-switch {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.1rem; border-radius: 8px;
  border: 1px solid rgba(204,77,0,0.35); background: #fff; color: #1a1612;
  font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.story-img--switch.is-lit .story-switch { background: #1a1612; color: #ffb27a; border-color: #1a1612; }
.story-img--switch .story-switch:focus-visible { outline: 2px solid #cc4d00; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .story-img--switch img, .story-img--switch .story-switch { transition: none; }
}

.story-body {}
.story-label {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--brand-bg-alt); color: var(--brand-dark);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.3rem 0.75rem; border-radius: 4px;
  margin-bottom: 1rem;
}
.story-body h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem;
}
.story-body > p { color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.9375rem; }

.story-highlights {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.story-hl {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600; color: var(--text-mid);
  padding: 0.35rem 0.75rem;
  background: var(--v3-bg);
  border: 1px solid var(--line-light);
  border-radius: 4px;
}
.story-hl svg { color: var(--green); flex-shrink: 0; }

.story-pricing {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.story-pricing .now { font-size: 1.75rem; font-weight: 800; }
.story-pricing .was { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.story-pricing .off { font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--green); padding: 0.15rem 0.5rem; border-radius: 3px; }
.story-dispatch {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; color: var(--brand-dark); font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ═══════════ SHOP BY OCCASION ═══════════ */
.occasions { padding: var(--section) 0; }
/* Right after the (white) bestseller spotlight its bottom padding already
   separates the two, so a second top padding would leave a dead band. */
.page-homepage .bss:not([hidden]) + .occasions { padding-top: 0; }
/* Photo cards: the featured occasion (admin) is the big card on the left,
   the rest fill 3 columns. Scoped + specific enough to beat the
   .page-homepage * reset and style.css. */
.page-homepage .occasions .occ-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px; gap: 16px;
}
.page-homepage .occasions .occ-card {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  background: #f7f2ec; color: #fff; text-decoration: none; min-width: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.page-homepage .occasions .occ-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(26,22,18,.14); }
.page-homepage .occasions .occ-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.page-homepage .occasions .occ-card:hover img { transform: scale(1.04); }
.page-homepage .occasions .occ-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,8,0) 40%, rgba(20,14,8,.75)); }
.page-homepage .occasions .occ-card.no-photo { background: #2a221b; }
.page-homepage .occasions .occ-card-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.page-homepage .occasions .occ-card-name { display: block; font-size: 1.125rem; font-weight: 700; line-height: 1.2; color: #fff; }
.page-homepage .occasions .occ-card-line { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.35; color: rgba(255,255,255,.88); }
.page-homepage .occasions .occ-card-tag {
  position: absolute; top: 0; left: 0; z-index: 2; background: #cc4d00; color: #fff; font-family: "Space Grotesk", "DM Sans", sans-serif; line-height: 1;
  font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px 6px 9px; border-bottom-right-radius: 9px; box-shadow: 0 2px 8px rgba(204, 77, 0, .18);
}
/* Featured: 2 columns x 2 rows; every other card is the same size. */
.page-homepage .occasions .occ-card.is-feature { grid-column: span 2; grid-row: span 2; }
.page-homepage .occasions .occ-card.is-feature .occ-card-text { left: 24px; bottom: 22px; }
.page-homepage .occasions .occ-card.is-feature .occ-card-name { font-size: 1.875rem; }
.page-homepage .occasions .occ-card.is-feature .occ-card-line { font-size: .9375rem; }
@media (max-width: 900px) {
  .page-homepage .occasions .occ-grid, .page-homepage .occasions .occ-grid.has-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .page-homepage .occasions .occ-card.is-feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  /* Phone: one swipe row; the featured card is wider. */
  .page-homepage .occasions .occ-grid, .page-homepage .occasions .occ-grid.has-feature {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--px); gap: 12px;
    padding: 0 var(--px) 4px; margin: 0 calc(var(--px) * -1); scrollbar-width: none;
  }
  .page-homepage .occasions .occ-grid::-webkit-scrollbar { display: none; }
  .page-homepage .occasions .occ-card { flex: 0 0 62%; height: 220px; scroll-snap-align: start; }
  .page-homepage .occasions .occ-card.is-feature { flex-basis: 80%; }
  .page-homepage .occasions .occ-card.is-feature .occ-card-name { font-size: 1.5rem; }
}

/* ═══════════ REELS ═══════════
   Rounded videos that play while on screen, each with a white product strip
   on it (photo, name, price) so shoppers know which gift they are watching
   (homepage-v3.js). About 2 in view on phones. */
.reels-sec { padding: clamp(2rem, 4vw, 3rem) 0; background: #fff; overflow: hidden; }
.reels-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.reels-header .sec-top { text-align: left; margin-bottom: 0; }
.reels-header .sec-top h2 { color: var(--dark); }
.reels-header .sec-top p { color: var(--text-soft); }
.reels-follow {
  display: inline-flex; align-items: center; gap: 0.375rem; flex: 0 0 auto;
  font-size: 0.75rem; font-weight: 600; color: var(--dark);
  padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; white-space: nowrap; transition: border-color 0.2s, color 0.2s;
}
.reels-follow:hover { border-color: var(--brand); color: var(--brand); }
.reels-row {
  display: flex; gap: 0.875rem; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Inside the page width, in line with the title and the other rows. */
  padding: 0 var(--px); scroll-padding: 0 var(--px);
}
/* The reel row and its arrows sit inside the page width. */
.page-homepage .r-wrap { max-width: var(--container); margin: 0 auto; }
.reels-row::-webkit-scrollbar { display: none; }
.page-homepage .reel {
  position: relative; flex: 0 0 210px; aspect-ratio: 9 / 16; scroll-snap-align: start;
  border-radius: 14px; overflow: hidden; background: #f1ede8;
}
.page-homepage .reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The whole video is the tap area (product page; full-screen viewer on phones). */
.page-homepage .reel-open { position: absolute; inset: 0; z-index: 1; }
/* `.page-homepage a` sets the link colour (0,1,1): the strip restates its own. */
.page-homepage .reel-prod {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px;
  background: #fff; border-radius: 10px; color: #1a1612; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.page-homepage .reel-prod img, .page-homepage .reel-prod-ph {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #f1ede8;
}
.page-homepage .reel-prod-ph { display: flex; align-items: center; justify-content: center; color: #b3a89b; }
.page-homepage .reel-prod-ph svg { width: 20px; height: 20px; }
.page-homepage .reel-prod-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.page-homepage .reel-prod-name {
  font-size: 12.5px; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.page-homepage .reel-prod-price { font-size: 13px; font-weight: 700; line-height: 1.2; }
/* Reel skeleton (same size as a reel, so nothing moves when they arrive) */
.page-homepage .reel-skel { flex: 0 0 210px; aspect-ratio: 9 / 16; border-radius: 14px; background: #f1ede8; }

/* ═══════════ FAQ ═══════════ */
.faq-sec { padding: var(--section) 0; }
.faq-wrap { max-width: 660px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-light);
  /* Override style.css .faq-item card styles */
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  animation: none !important;
}
.faq-item:hover {
  transform: none !important;
  box-shadow: none !important;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 0; text-align: left;
  font-size: 0.875rem; font-weight: 600; color: var(--v3-text);
  transition: color 0.2s;
  cursor: pointer; border: none; background: none; font-family: var(--v3-font);
}
.faq-q:hover { color: var(--brand); }
.faq-q:focus, .faq-q:active { outline: none; color: var(--v3-text); }
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.faq-item.open .faq-q { color: var(--v3-text); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 1.125rem; font-size: 0.8125rem; color: var(--text-soft); line-height: 1.7; }

/* ═══════════ BULK AND CORPORATE GIFTS (end of the page) ═══════════ */
/* Full width, sitting right on the footer; the band inside keeps the page width. */
.page-homepage .bulk-sec { padding: 0; margin-top: var(--section); background: #b8430a; }
.page-homepage .bulk-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem) 0; color: #fff; overflow: hidden;
}
.page-homepage .bulk-h { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.2; color: #fff; }
.page-homepage .bulk-p { margin: 0.5rem 0 0; max-width: 520px; color: rgba(255,255,255,0.88); font-size: 0.9375rem; line-height: 1.5; }
.page-homepage .bulk-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1.125rem;
  padding: 0.8rem 1.5rem; border-radius: 10px; background: #fff; color: #b8430a;
  font-size: 0.875rem; font-weight: 700; text-decoration: none;
}
.page-homepage .bulk-btn:hover { background: #fff3ea; }
.page-homepage .bulk-imgs { display: flex; gap: 0.75rem; flex: 0 0 auto; }
.page-homepage .bulk-imgs img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; background: #fff; border: 3px solid rgba(255,255,255,0.35); }
@media (max-width: 1024px) {
  .page-homepage .bulk-imgs img { width: 96px; height: 96px; }
}
/* Desktop shows the long text and button label; phones a slim app row. */
.page-homepage .bulk-ic, .page-homepage .bulk-sub, .page-homepage .bulk-btn-s { display: none; }
@media (max-width: 640px) {
  /* The FAQ above already ends with its own space. */
  .page-homepage .bulk-sec { margin-top: 0.5rem; }
  .page-homepage .bulk-imgs, .page-homepage .bulk-p, .page-homepage .bulk-btn-l { display: none; }
  .page-homepage .bulk-band { gap: 12px; padding: 14px 0; }
  .page-homepage .bulk-ic {
    display: flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(255,255,255,0.16); color: #fff;
  }
  .page-homepage .bulk-ic svg { width: 22px; height: 22px; }
  .page-homepage .bulk-txt { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "h btn" "sub btn"; column-gap: 10px; align-items: center; }
  .page-homepage .bulk-h { grid-area: h; font-size: 0.9375rem; line-height: 1.25; }
  .page-homepage .bulk-sub { grid-area: sub; display: block; margin-top: 2px; font-size: 0.75rem; line-height: 1.35; color: rgba(255,255,255,0.85); }
  .page-homepage .bulk-btn { grid-area: btn; margin: 0; min-height: 40px; padding: 0 0.875rem; font-size: 0.8125rem; white-space: nowrap; }
  .page-homepage .bulk-btn-s { display: inline; }
}

/* V3 WA Float */
.v3-wa-float {
  position: fixed; bottom: 5rem; right: 1rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(37,211,102,0.3);
  transition: transform 0.2s;
}
.v3-wa-float:hover { transform: scale(1.08); }
.v3-wa-float svg { width: 24px; height: 24px; }

/* ═══════════ ACCESSIBILITY ═══════════ */
.page-homepage :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.page-homepage a:focus-visible, .page-homepage button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.page-homepage input:focus-visible, .page-homepage textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; }

/* ═══════════ RESPONSIVE — TABLET ═══════════ */
@media (max-width: 1024px) {

  .p-grid .sk-card { flex-basis: calc((100% - 2rem) / 3); }
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .story-img { max-width: 480px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .hero-arr { display: none; }

}

@media (max-width: 768px) {
  /* Kill old style.css mobile overrides */
  .page-homepage { padding-bottom: 0 !important; }
  .page-homepage .hero { padding: 0 !important; }
}

/* ═══════════ RESPONSIVE — MOBILE ═══════════ */
@media (max-width: 640px) {
  .page-homepage .cat-strip { display: block; }
  /* App-like feed: tighter sections, smaller left-aligned titles. */
  .page-homepage { --section: 1.75rem; }
  .page-homepage .sec-top { text-align: left; margin-bottom: 0.75rem; }
  .page-homepage .sec-top h2 { font-size: 1.25rem; }
  .page-homepage .sec-top p { font-size: 0.8125rem; }
  .page-homepage .products-sec { padding-top: 1.25rem; }


  /* Two lines on phones: the three labels side by side (their second half
     hidden), then the order-time line. */
  .trust-strip { padding: 0.5rem 0; }
  .trust-items { gap: 0.375rem 0.875rem; font-size: 0.6875rem; flex-wrap: wrap; justify-content: center; }
  .trust-sep { display: none; }
  .trust-sub { display: none; }
  .trust-item { white-space: nowrap; font-size: 0.6875rem; }
  .trust-dispatch { flex-basis: 100%; justify-content: center; font-size: 0.6875rem; }

  .page-homepage .p-wrap { display: none; }
  .page-homepage .m-banners { display: block; padding: 12px 0 16px; }
  .page-homepage .hero { display: none !important; }
  .page-homepage .budget-sec--d { display: none; }
  /* Phones: three price tiles in one row, no photos. */
  .page-homepage .budget-sec--m { display: block; padding: 1.25rem 0 0; }
  .page-homepage .budget-sec--m .budget-title { font-size: 1.25rem; margin: 0 0 0.75rem; }
  .page-homepage .budget-sec--m .budget-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .page-homepage .budget-sec--m .budget-tile { min-height: 0; gap: 0; padding: 10px 6px 10px 10px; border-radius: 12px; }
  .page-homepage .budget-sec--m .budget-label { font-size: 0.6875rem; line-height: 1.2; }
  .page-homepage .budget-sec--m .budget-price { font-size: 1.25rem; line-height: 1.2; }
  .page-homepage .budget-sec--m .budget-count { font-size: 0.6875rem; margin-top: 2px; }
  .page-homepage .budget-sec--m .budget-count svg { width: 11px; height: 11px; }

  .reels-follow { font-size: 0.6875rem; padding: 0 0.625rem; min-height: 40px; }

  .v3-wa-float { bottom: 4.25rem; width: 44px; height: 44px; }
  .v3-wa-float svg { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
  .trust-items { column-gap: 0.625rem; }
  .trust-item, .trust-dispatch { font-size: 0.65625rem; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .hero-track { transition: none; }
}

/* ═══════ BESTSELLER SPOTLIGHT (.bss-*) — 2 big product cards ═══════
   Desktop: two cards side by side (media | details). ≤768px: stacked, square media on top. */
.page-homepage .bss { padding: 4.5rem 0; background: #fff; }
.page-homepage .bss[hidden] { display: none; }
.page-homepage .bss-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.page-homepage .bss-eyebrow { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); }
.page-homepage .bss-title { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; margin: 0.5rem 0 0.375rem; }
.page-homepage .bss-sub { color: #5c544c; font-size: 1rem; }
.page-homepage .bss-all { font-weight: 600; color: #1a1612; border-bottom: 2px solid var(--brand); padding-bottom: 2px; white-space: nowrap; font-size: 0.95rem; }
.page-homepage .bss-all-m { display: none; }
.page-homepage .bss-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.page-homepage .bss-grid--one { grid-template-columns: minmax(0, 640px); justify-content: center; }
.page-homepage .bss-card { position: relative; background: #fff; border: 1px solid #ece4dc; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 46% 1fr; min-width: 0; transition: box-shadow .25s ease, transform .25s ease; }
.page-homepage .bss-card:hover { box-shadow: 0 14px 34px rgba(26,22,18,0.10); transform: translateY(-2px); }
.page-homepage .bss-media { position: relative; background: var(--bg-muted, #f5f0eb); min-height: 0; align-self: stretch; }
.page-homepage .bss-media img, .page-homepage .bss-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Photos shown whole, never cropped (videos still fill). */
.page-homepage .bss-media img { object-fit: contain; background: #fff; }
.page-homepage .bss-media:has(img) { background: #fff; }
.page-homepage .bss-rank { position: absolute; top: 0; left: 0; z-index: 2; background: #cc4d00; color: #fff; font-family: "Space Grotesk", "DM Sans", sans-serif; font-weight: 600; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding: 6px 10px 6px 9px; border-bottom-right-radius: 9px; box-shadow: 0 2px 8px rgba(204, 77, 0, 0.18); }
.page-homepage .bss-info { padding: 1.5rem 1.5rem 1.375rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.page-homepage .bss-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8f857b; }
.page-homepage .bss-name { font-size: 1.35rem; line-height: 1.2; overflow-wrap: anywhere; }
.page-homepage .bss-name a { color: #1a1612; }
/* Whole card is one tap target (link stretched over the card). */
.page-homepage .bss-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.page-homepage .bss-sold { align-self: flex-start; background: var(--brand-bg-alt); color: var(--brand-deep); font-weight: 600; font-size: 0.78rem; padding: 3px 9px; border-radius: 4px; }
.page-homepage .bss-desc { color: #5c544c; font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page-homepage .bss-price { display: flex; align-items: baseline; gap: 0.625rem; margin-top: auto; font-variant-numeric: tabular-nums; }
.page-homepage .bss-price .now { font-size: 1.6rem; font-weight: 700; color: #1a1612; }
.page-homepage .bss-price .was { color: #8f857b; text-decoration: line-through; font-size: 0.95rem; }
.page-homepage .bss-price .off { color: #1f8a4c; font-weight: 700; font-size: 0.85rem; }
.page-homepage .bss-eta { font-size: 0.8rem; color: #1f8a4c; display: flex; align-items: center; gap: 6px; }
.page-homepage .bss-eta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f8a4c; }
.page-homepage .bss-cta { position: relative; z-index: 1; text-align: center; color: #fff; }
@media (max-width: 1024px) {
  .page-homepage .bss-card { grid-template-columns: 1fr; }
  .page-homepage .bss-media { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 768px) {
  .page-homepage .bss-all { display: none; }
  .page-homepage .bss-all-m { display: block; margin-top: 1.125rem; text-align: center; border: 1.5px solid #1a1612; color: #1a1612; font-weight: 600; padding: 0.75rem; border-radius: 10px; }
  .page-homepage .bss-grid { grid-template-columns: minmax(0, 1fr); gap: 1.125rem; }
  .page-homepage .bss-info { padding: 1rem 1rem 1.125rem; gap: 0.625rem; }
  .page-homepage .bss-name { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-homepage .bss-card { transition: none; }
  .page-homepage .bss-card:hover { transform: none; }
}

/* ═══════════ WHY SHILPKRITI: the short light band (all widths) ═══════════ */
.page-homepage .m-why { padding: var(--section) 0 0; }
.page-homepage .m-why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  padding: 1.25rem 1.5rem; background: #faf6f1; border: 1px solid #f0e8dd; border-radius: 16px;
}
.page-homepage .m-why-i { display: flex; flex-direction: column; gap: 4px; font-size: 0.8125rem; line-height: 1.45; color: #5f5a55; }
.page-homepage .m-why-i b { font-size: 0.9375rem; color: var(--dark); }
.page-homepage .m-why-ic {
  width: 36px; height: 36px; margin-bottom: 4px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #fff; border: 1px solid #f0e8dd; color: var(--brand-deep);
}
.page-homepage .m-why-ic svg { width: 18px; height: 18px; }

/* ═══════════ PHONES: THE FEED BELOW FEATURED ═══════════
   App-like and short: "See all" links instead of big buttons, Bestsellers as
   banner cards, occasions as arch tiles (like the categories), a compact big
   product and a short Why band. Desktop is unchanged. */
.page-homepage .sec-all {
  display: inline-flex; align-items: center; position: absolute; right: 0; min-height: 40px;
  font-weight: 700; color: var(--brand-deep); text-decoration: none;
}
@media (max-width: 640px) {
  /* "See all" beside the Featured title, instead of the View all button. */
  .page-homepage .products-sec .sec-top { position: relative; padding-right: 4.5rem; }
  .page-homepage .sec-all { top: -0.3rem; padding-left: 0.75rem; font-size: 0.8125rem; }

  /* Bestsellers: banner cards (#bssBanners) instead of the tall cards. */
  .page-homepage .bss { padding: var(--section) 0 0; }
  .page-homepage .bss-head { margin-bottom: 0.75rem; }
  .page-homepage .bss-title { font-size: 1.25rem; }
  .page-homepage .bss-sub { font-size: 0.8125rem; }
  .page-homepage .bss-grid, .page-homepage .bss-all-m { display: none !important; }
  .page-homepage .bss-all { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.8125rem; font-weight: 700; color: var(--brand-deep); border: 0; padding: 0; }

  /* Occasions: arch tiles in a swipe row, like the categories at the top. */
  .page-homepage .occasions .sec-top p { display: none; }
  .page-homepage .occasions .occ-grid, .page-homepage .occasions .occ-grid.has-feature { gap: 10px; padding-top: 2px; }
  .page-homepage .occasions .occ-card, .page-homepage .occasions .occ-card.is-feature {
    position: relative; flex: 0 0 26vw; max-width: 112px; height: auto; overflow: visible; background: none; border-radius: 0;
    display: flex; flex-direction: column; align-items: center; gap: 6px; color: #1f1f23; box-shadow: none;
  }
  .page-homepage .occasions .occ-card:hover { transform: none; box-shadow: none; }
  .page-homepage .occasions .occ-card img, .page-homepage .occasions .occ-card:hover img {
    position: static; width: 100%; height: auto; aspect-ratio: 1 / 0.92; transform: none;
    border-radius: 999px 999px 10px 10px; background: #fde9dc; border: 1px solid #efe6dc; box-sizing: border-box;
  }
  /* No photo: the light arch below, never the dark desktop tile (name stays readable). */
  .page-homepage .occasions .occ-card.no-photo { background: none; }
  .page-homepage .occasions .occ-card.no-photo::before {
    content: ''; display: block; width: 100%; aspect-ratio: 1 / 0.92; border-radius: 999px 999px 10px 10px; background: #f3efe6;
  }
  .page-homepage .occasions .occ-card::after { display: none; }
  .page-homepage .occasions .occ-card-text, .page-homepage .occasions .occ-card.is-feature .occ-card-text { position: static; text-align: center; }
  .page-homepage .occasions .occ-card-name, .page-homepage .occasions .occ-card.is-feature .occ-card-name { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: #1f1f23; }
  .page-homepage .occasions .occ-card-line { display: none; }
  /* "In season": a small white label at the bottom of the arch. */
  .page-homepage .occasions .occ-card-tag {
    top: auto; bottom: calc(100% - min(26vw, 112px) * 0.92 + 4px); left: 50%; transform: translateX(-50%);
    padding: 2px 6px; border-radius: 4px; background: #fff; color: #cc4d00;
    font-size: 0.5rem; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  }

  /* Why band: smaller on phones. */
  .page-homepage .m-why-grid { gap: 0.875rem; padding: 1rem; }
  .page-homepage .m-why-i { gap: 3px; font-size: 0.75rem; line-height: 1.4; }
  .page-homepage .m-why-i b { font-size: 0.8125rem; }
  .page-homepage .m-why-ic { width: 32px; height: 32px; }
  .page-homepage .m-why-ic svg { width: 17px; height: 17px; }
}

/* ═══════════ PHONES: REELS ═══════════
   The same reel row, about 2 in view; a tap on a video opens the full-screen
   viewer (.sv, built by homepage-v3.js). */
.page-homepage .sv[hidden] { display: none; }
@media (max-width: 640px) {
  .page-homepage .reels-sec { padding: var(--section) 0 0; }
  /* Phones hide the arrow rows (.p-wrap, Featured shows banner cards), not this one: swipe, no arrows. */
  .page-homepage .p-wrap.r-wrap { display: block; }
  .page-homepage .r-wrap .p-arr { display: none !important; }
  .page-homepage .reels-row { gap: 10px; }
  .page-homepage .reel, .page-homepage .reel-skel { flex-basis: 42vw; }
  .page-homepage .reel-prod { left: 6px; right: 6px; bottom: 6px; gap: 6px; padding: 5px 6px 5px 5px; border-radius: 9px; }
  .page-homepage .reel-prod img, .page-homepage .reel-prod-ph { flex-basis: 34px; width: 34px; height: 34px; border-radius: 7px; }
  .page-homepage .reel-prod-name { font-size: 11.5px; }
  .page-homepage .reel-prod-price { font-size: 12px; }
  .page-homepage .reels-header { margin-bottom: 0.625rem; }
  .page-homepage .reels-header .sec-top p { display: none; }
  /* Title and Follow on one line. */
  .page-homepage .reels-header { align-items: center; flex-wrap: nowrap; }
  .page-homepage .reels-header .sec-top h2 { margin: 0; white-space: nowrap; }
}

/* Reel viewer: styled at every width, so rotating a phone while it is open
   keeps it full screen (it is only opened from a reel on phones). */
html.sv-open, html.sv-open body { overflow: hidden !important; }
.page-homepage .sv { position: fixed; inset: 0; z-index: 3000; background: #000; color: #fff; }
.page-homepage .sv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.page-homepage .sv-bars { position: absolute; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 3; display: flex; gap: 4px; }
.page-homepage .sv-bar { flex: 1 1 0; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; }
.page-homepage .sv-bar i { display: block; height: 100%; width: 0; background: #fff; }
.page-homepage .sv-close, .page-homepage .sv-sound {
  position: absolute; top: calc(24px + env(safe-area-inset-top, 0px)); z-index: 4; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); color: #fff; border-radius: 10px;
}
.page-homepage .sv-close { right: 10px; }
.page-homepage .sv-sound { right: 58px; }
.page-homepage .sv-close svg, .page-homepage .sv-sound svg { width: 20px; height: 20px; }
.page-homepage .sv-tap { position: absolute; top: 80px; bottom: 110px; z-index: 2; width: 50%; background: none; }
.page-homepage .sv-tap--prev { left: 0; width: 35%; }
.page-homepage .sv-tap--next { right: 0; width: 65%; }
.page-homepage .sv-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 40px 16px calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
}
/* The same product strip as on the reels: photo, name, price. */
.page-homepage .sv-prod { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.page-homepage .sv-thumb { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,0.15); }
.page-homepage .sv-thumb[hidden] { display: none; }
.page-homepage .sv-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.page-homepage .sv-name { min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-homepage .sv-price { font-size: 14px; font-weight: 700; }
.page-homepage .sv-link { flex: 0 0 auto; background: #fff; color: #111; font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 10px; text-decoration: none; }

.page-homepage .sv-spin {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%;
  animation: sv-spin 0.8s linear infinite; display: none;
}
.page-homepage .sv.is-loading .sv-spin { display: block; }
@keyframes sv-spin { to { transform: rotate(360deg); } }
/* ═══════════ PHONES: BIG PRODUCT CARD, TIGHTER FAQ ═══════════ */
.page-homepage .m-spot-sec { display: none; }
@media (max-width: 640px) {
  .page-homepage .brand-story { display: none; }
  .page-homepage .m-spot-sec { display: block; padding: var(--section) 0 0; }
  .page-homepage .fb.fb--spot { display: block; width: 100%; max-width: none; aspect-ratio: 4 / 3; }
  .page-homepage .fb--spot .fb-name { font-size: 16px; }

  .page-homepage .faq-q { font-size: 0.875rem !important; padding: 0.8rem 0 !important; }
  .page-homepage .faq-sec .sec-top { margin-bottom: 0.25rem; }
}

/* ═══════════ DESKTOP AND TABLET: COMPACT (approved demo A) ═══════════
   Shorter hero, left titles with "See all", a smaller big product, the
   short Why band and a two-column FAQ. Phones are styled above. */
@media (min-width: 641px) {
  .page-homepage { --section: 2.5rem; }
  .page-homepage .hero-slide { min-height: 400px; padding: 2rem 0 2.5rem; }
  .page-homepage .hero-h { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
  .page-homepage .sec-top { text-align: left; margin-bottom: 1rem; }
  .page-homepage .sec-top h2 { font-size: 1.625rem; }
  .page-homepage .products-sec .sec-top { position: relative; padding-right: 6rem; }
  .page-homepage .sec-all { top: 0.25rem; font-size: 0.875rem; }
  .page-homepage .products-sec { padding-top: 2rem; padding-bottom: 0; }
  .page-homepage .brand-story { padding: 2.5rem 0; }
  .page-homepage .story-body h2 { font-size: 1.75rem; }
  .page-homepage .bss { padding: 2.5rem 0 0; }
  .page-homepage .bss-title { font-size: 1.625rem; }
  .page-homepage .faq-q { padding: 0.9rem 0; }
}
@media (min-width: 900px) {
  .page-homepage .faq-wrap { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; align-items: start; }
}
@media (min-width: 1025px) {
  .page-homepage .story-layout { grid-template-columns: 380px 1fr; gap: 2.5rem; }
  .page-homepage .story-img { max-width: 380px; }
  .page-homepage .m-why-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Tablet: the two bestsellers side by side, the big product photo smaller. */
@media (min-width: 641px) and (max-width: 1024px) {
  .page-homepage .bss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .page-homepage .bss-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .page-homepage .story-img { max-width: 340px; }
  .page-homepage .story-layout { gap: 1.5rem; }
}
