/* ══════════════════════════════════════════════════════════════════════
   SIKHAA SHREE — STOREFRONT THEME
   Bright red + sunny yellow on white. Modern, high-contrast, responsive.

   Loaded ONLY on customer-facing pages, always AFTER style.css.
   The admin panel loads style.css alone and is completely unaffected.

   Structure:
     1. Fonts (self-hosted — no Google dependency)
     2. Palette override
     3. Typography
     4. Navbar · Hero · Sections
     5. Product cards · Buttons
     6. Forms · Cart · Orders · Footer
     7. Missing classes from the old home-enhanced.css
     8. Responsive
════════════════════════════════════════════════════════════════════════ */

/* ── 1. FONTS ───────────────────────────────────────────────────────── */
@font-face { font-family:'DM Sans'; src:url('../fonts/dm-sans-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'DM Sans'; src:url('../fonts/dm-sans-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'DM Sans'; src:url('../fonts/dm-sans-600.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'DM Sans'; src:url('../fonts/dm-sans-700.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Outfit';  src:url('../fonts/outfit-500.woff2')  format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Outfit';  src:url('../fonts/outfit-600.woff2')  format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Outfit';  src:url('../fonts/outfit-700.woff2')  format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Outfit';  src:url('../fonts/outfit-800.woff2')  format('woff2'); font-weight:800; font-display:swap; }

/* ── 2. PALETTE ─────────────────────────────────────────────────────── */
:root {
  /* Reds — the old plum slots, so every existing rule follows automatically */
  --plum:         #8A0F12;
  --plum-dark:    #5C0A0A;
  --plum-mid:     #B81319;
  --plum-light:   #E01B24;

  /* Yellows — the old gold slots */
  --gold:         #F0A500;
  --gold-light:   #FFC300;
  --gold-pale:    #FFF6DB;
  --gold-shine:   #FFD84D;

  /* Warm tints */
  --blush:        #FFE1E1;
  --blush-deep:   #FFC2C2;
  --rose:         #E01B24;

  /* Backgrounds — white-led for brightness */
  --cream:        #FFFFFF;
  --ivory:        #FFF8F4;
  --warm-white:   #FFFDFB;
  --off-white:    #FFF7F2;

  /* Text */
  --text:         #1B1512;
  --text-mid:     #5A4A44;
  --text-soft:    #7E6E66;   /* 4.87:1 on white — #8A7A72 was 4.11:1 and failed AA */
  --text-muted:   #B8A9A2;

  /* UI */
  --border:       #F2E2DC;
  --border-light: #FAF0EC;
  --shadow:       rgba(120,25,12,0.07);
  --shadow-md:    rgba(120,25,12,0.13);
  --shadow-lg:    rgba(120,25,12,0.20);
  --shadow-gold:  rgba(255,195,0,0.38);

  /* Extra tokens this theme introduces */
  --red-50:       #FFF2F2;
  --yellow-ink:   #6B4A00;   /* readable text on yellow */
  --ring:         0 0 0 4px rgba(224,27,36,.18);

  /* Rounder = more modern */
  --r-sm:   9px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;

  --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-serif:   'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'DM Sans', 'Segoe UI', system-ui, sans-serif;
}

/* ── 3. TYPOGRAPHY ──────────────────────────────────────────────────── */
body { background: var(--cream); letter-spacing: -0.005em; }

h1, h2, h3, .sec-title, .hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.sec-title { font-size: clamp(26px, 3.6vw, 44px); color: var(--text); }
.sec-title em { color: var(--plum-light); font-style: normal; }
.sec-kicker {
  color: var(--plum-light); font-weight: 700; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
}
.sec-sub { color: var(--text-mid); font-size: clamp(14px, 1.5vw, 16.5px); }

/* Yellow underline under section headings */
.sec-title::after {
  content: ''; display: block; width: 58px; height: 4px; border-radius: 3px;
  background: var(--gold-light); margin: 16px auto 0;
}
.inspo-text .sec-title::after, .hero-left .sec-title::after { margin-left: 0; margin-right: auto; }

/* Visible keyboard focus everywhere — the old sheet had none */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--r-sm);
}

/* ── 4. NAVBAR ──────────────────────────────────────────────────────── */
.navbar {
  background: var(--plum-dark);
  position: sticky; top: 0; z-index: 900;
  border-bottom: 3px solid var(--gold-light);
  box-shadow: 0 2px 18px rgba(92,10,10,.18);
}
.logo { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.logo-gem { color: var(--gold-light); }
.navbar-nav a { font-weight: 500; border-radius: 20px; transition: background .18s, color .18s; }
.navbar-nav a:hover { background: rgba(255,195,0,.16); color: var(--gold-light); }

/* ── 5. HERO ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #FFF4E8 0%, #FFFFFF 46%, #FFEFEF 100%);
  min-height: auto; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero-kicker {
  background: var(--gold-light); color: var(--yellow-ink);
  font-weight: 700; letter-spacing: .12em; border-radius: 30px;
  padding: 7px 18px; display: inline-block; font-size: 11.5px;
}
.hero-h1 { font-size: clamp(34px, 5.6vw, 68px); color: var(--text); }
/* The markup uses <span>, not <em>. Yellow on white is 1.6:1 contrast — unreadable —
   so the emphasis word is red (4.8:1). Yellow is kept for fills and dark backgrounds. */
.hero-h1 span, .hero-h1 em { color: var(--plum-light); font-style: normal; }
.hero-desc { color: var(--text-mid); font-size: clamp(15px, 1.7vw, 18px); max-width: 52ch; }
.hero-glow, .hero-glow-2 { display: none; }   /* purple blobs — replaced by the gradient */

/* These three were written for the old dark plum hero and turn invisible on a light one */
.feature-pill {
  background: #fff; border: 1.5px solid var(--gold-shine); color: var(--text-mid);
  font-weight: 600; box-shadow: 0 2px 8px var(--shadow); backdrop-filter: none;
}
.hero-scroll-hint { color: var(--text-soft); }
.hstat-divider { background: var(--border); width: 1px; align-self: stretch; }

/* Hero collage chips */
.htag { background: #fff; color: var(--plum); border: 1.5px solid var(--gold-shine);
        font-weight: 700; box-shadow: 0 4px 14px var(--shadow); }

/* ── 6. BUTTONS ─────────────────────────────────────────────────────── */
.cta-primary, .btn-primary, .btn-add, .btn-promo, .cta-secondary, .btn, .btn-outline {
  font-family: var(--font-body);
  font-weight: 700; letter-spacing: .01em; border-radius: 40px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cta-primary, .btn-primary {
  background: var(--plum-light); color: #fff; border: none;
  box-shadow: 0 6px 18px rgba(224,27,36,.28);
}
.cta-primary:hover, .btn-primary:hover {
  background: #C4101A; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224,27,36,.36);
}
.cta-secondary, .btn-outline {
  background: #fff; color: var(--plum); border: 2px solid var(--plum-light);
}
.cta-secondary:hover, .btn-outline:hover {
  background: var(--gold-light); border-color: var(--gold-light); color: var(--yellow-ink);
  transform: translateY(-2px);
}
.btn-promo { background: var(--gold-light); color: var(--yellow-ink); border: none; }
.btn-promo:hover { background: var(--gold-shine); transform: translateY(-2px); }

/* ── 7. PRODUCT CARDS ───────────────────────────────────────────────── */
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; box-shadow: 0 2px 10px var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prod-card:hover {
  transform: translateY(-6px); border-color: var(--blush-deep);
  box-shadow: 0 16px 36px var(--shadow-md);
}
.prod-img-wrap { overflow: hidden; background: var(--ivory); }
.prod-img-wrap img { transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.prod-card:hover .prod-img-wrap img { transform: scale(1.07); }
.prod-cat-tag {
  background: var(--gold-pale); color: var(--yellow-ink);
  border: 1px solid var(--gold-shine); border-radius: 20px;
  font-weight: 600; font-size: 10.5px; letter-spacing: .06em;
}
.prod-name { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.prod-price { color: var(--plum-light); font-weight: 700; font-family: var(--font-display); }
.prod-wish {
  background: #fff; border: 1px solid var(--border); color: var(--plum-light);
  border-radius: 50%; box-shadow: 0 2px 8px var(--shadow);
}
.prod-wish:hover { background: var(--plum-light); color: #fff; border-color: var(--plum-light); }
.btn-add, .btn-login-buy {
  background: var(--plum-light); color: #fff; border: none; font-weight: 700;
}
.btn-add:hover, .btn-login-buy:hover { background: var(--gold-light); color: var(--yellow-ink); }
.prod-no-img { background: var(--ivory); color: var(--text-muted); }

/* ── 8. CATEGORIES / TICKER / TRUST / PROMO ─────────────────────────── */
.cat-card, .cat-pill {
  border-radius: var(--r-md); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cat-card:hover, .cat-pill:hover {
  transform: translateY(-4px); background: var(--gold-pale);
  border-color: var(--gold-shine); box-shadow: 0 10px 24px var(--shadow);
}
.ticker { background: var(--plum-light); color: #fff; border: none; }
.ticker-item { font-weight: 600; letter-spacing: .06em; }
.trust-bar { background: var(--gold-pale); border-top: none; border-bottom: 1px solid var(--gold-shine); }
.trust-title { color: var(--text); font-weight: 700; }
.trust-sub { color: var(--text-mid); }
.showcase-strip { background: var(--ivory); }
.showcase-label { color: var(--plum-light); font-weight: 700; letter-spacing: .22em; }
.showcase-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); }
.showcase-item:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.marquee-band { background: var(--plum-dark); color: var(--gold-light); }
.promo-card { border-radius: var(--r-lg); overflow: hidden; }

/* ── 9. NEWSLETTER / FOOTER ─────────────────────────────────────────── */
.newsletter-section { background: var(--plum-dark); }
.newsletter-section .sec-title, .newsletter-section h2 { color: #fff; }
.newsletter-section .sec-title::after { background: var(--gold-light); }
.site-footer { background: var(--plum-dark); color: #F6E3DF; }
.site-footer a { color: #F6E3DF; }
.site-footer a:hover { color: var(--gold-light); }
.f-brand-logo { font-family: var(--font-display); font-weight: 800; color: #fff; }
.footer-foot { border-top: 1px solid rgba(255,255,255,.14); }

/* ── 10. FORMS / AUTH / ALERTS ──────────────────────────────────────── */
.form-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 10px 40px var(--shadow);
}
.form-group input, .form-group select, .form-group textarea,
.search-input, .sort-select {
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 15px; padding: 12px 14px; transition: border-color .18s, box-shadow .18s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.search-input:focus, .sort-select:focus {
  border-color: var(--plum-light); box-shadow: var(--ring); outline: none;
}
.form-subtitle { color: var(--text-mid); }
.badge-gold, .badge { border-radius: 20px; font-weight: 600; }

/* ── 11. CART / ORDERS ──────────────────────────────────────────────── */
.cart-item, .cart-card-item, .order-card, .ostat-card {
  border-radius: var(--r-md); border: 1px solid var(--border);
  box-shadow: 0 2px 10px var(--shadow);
}
.cart-summary { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--gold-pale); }
.ostat-num { color: var(--plum-light); font-family: var(--font-display); font-weight: 700; }
.page-hero { background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-mid) 100%); }
.page-hero h1 { color: #fff; }
.page-hero h1::after, .page-hero .sec-title::after { background: var(--gold-light); }

/* ── 12. SLIDER (includes/slider.php) ───────────────────────────────── */
.ss-slider { box-shadow: 0 12px 38px var(--shadow-md); background: var(--ivory); }
.ss-nav { color: var(--plum-light); }
.ss-dot.is-active { background: var(--gold-light); }
.ss-cap h3 { font-family: var(--font-display); font-weight: 700; }

/* ── 13. CLASSES THE OLD home-enhanced.css NEVER DEFINED ───────────── */
.hero-left-enhanced { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hstat-item { display: flex; flex-direction: column; gap: 2px; }
.hstat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); color: var(--plum-light); line-height: 1; }
.hstat-lbl { font-size: 11.5px; color: var(--text-soft); letter-spacing: .07em; text-transform: uppercase; }
.inspo-text { display: flex; flex-direction: column; justify-content: center; }
.testi-enhanced .testi-card { border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; }

/* ── 14. RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner, .inspo-inner { gap: 34px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 10px 16px; }
  .hero { padding: 34px 0 44px; text-align: center; }
  .hero-left-enhanced { align-items: center; }
  .hero-desc { margin-inline: auto; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .sec-title::after { margin-inline: auto; }
  .inspo-text .sec-title::after { margin-inline: auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 22px; }
  /* Comfortable tap targets */
  .navbar-nav a, .cta-primary, .cta-secondary, .btn, .btn-add { min-height: 44px; }
}
@media (max-width: 480px) {
  /* Two columns still beat one on a phone for browsing clothes */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-name { font-size: 13px; }
  .prod-price { font-size: 15px; }
  .prod-desc-sm { display: none; }
  .sec-title { font-size: 24px; }
  .form-box { padding: 22px 18px; border-radius: var(--r-md); }
  .showcase-items { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .prod-card:hover, .cta-primary:hover { transform: none; }
}

/* ── 15. CONTRAST FIXES FOR SECTIONS THAT FLIPPED TO A LIGHT BACKGROUND ──
   Yellow text reads 1.6:1 on white. Anywhere yellow sat on the old dark plum
   and the section is now light, it becomes a yellow FILL with dark ink instead. */

.hero-eyebrow {
  background: var(--gold-light); color: var(--yellow-ink);
  padding: 7px 16px 7px 12px; border-radius: 30px; width: max-content;
  letter-spacing: .16em; font-size: 10.5px;
}
.eyebrow-dot { background: var(--plum); }

.showcase-item { color: var(--text-mid); font-weight: 600; }
.showcase-item:hover { color: var(--yellow-ink); }
.showcase-emoji { filter: none; }

/* Stars sit on white now — a deeper amber stays gold but stays visible */
.testi-stars, .ts-stars { color: #C97F00; }

.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); }
.testi-card::before { color: var(--blush-deep); }

/* .why-section, .marquee-band, .newsletter-section and .site-footer stay dark,
   so their yellow text is untouched and reads at 8.7:1 */

/* Marquee text was 25% white on dark plum — far too faint once the band went red */
.marquee-track span { color: rgba(255,255,255,.62); }
.marquee-dot { color: var(--gold-light) !important; }
.marquee-band { border-top: 1px solid rgba(255,195,0,.28); border-bottom: 1px solid rgba(255,195,0,.28); }

/* ── 16. NAVBAR LOGO IMAGE ──────────────────────────────────────────────
   Drop a file into assets/img/ and includes/logo.php picks it up:
     logo.png       -> replaces the emoji mark, "Sikhaa Shree" text stays
     logo-full.png  -> replaces the whole lockup, text is not printed        */

.logo-img {
  height: 42px; width: auto; max-width: 190px;
  object-fit: contain; display: block; flex-shrink: 0;
}
/* A full lockup can run wider and needs no gap after it */
.logo-img-full { height: 46px; max-width: 260px; }
.logo { display: flex; align-items: center; gap: 10px; }

@media (max-width: 768px) {
  .logo-img      { height: 34px; max-width: 140px; }
  .logo-img-full { height: 38px; max-width: 190px; }
}
@media (max-width: 480px) {
  .logo-img      { height: 30px; max-width: 112px; }
  .logo-img-full { height: 33px; max-width: 158px; }
}

/* Footer lockup sits on the dark red band, so keep the mark a little smaller */
.f-brand-logo { display: flex; align-items: center; gap: 9px; }
.f-brand-logo .logo-img { height: 34px; max-width: 150px; }
.f-brand-logo .logo-img-full { height: 40px; max-width: 210px; }

/* ══════════════════════════════════════════════════════════════════════
   17. HERO — real photos, and a much shorter block on phones
════════════════════════════════════════════════════════════════════════ */

/* Photos uploaded under Admin → Sliders → Hero */
.hero-photos {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; aspect-ratio: 4 / 3.2;
}
.hphoto { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg);
          box-shadow: 0 14px 40px var(--shadow-md); background: var(--ivory); }
.hphoto img { width: 100%; height: 100%; object-fit: cover; display: block;
              transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.hphoto:hover img { transform: scale(1.05); }
.hphoto-main { grid-row: 1 / 3; }
.hphoto-main figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px;
  background: linear-gradient(to top, rgba(30,8,8,.8), transparent);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
/* One image only — let it fill the whole block */
.hero-photos-solo { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4 / 3; }
.hero-photos-solo .hphoto-main { grid-row: auto; }

/* Shorter, tighter hero */
.hero { padding: clamp(30px, 5vw, 76px) 0 clamp(34px, 5vw, 84px); }
.hero-h1 { font-size: clamp(30px, 5vw, 60px); line-height: 1.08; }
.hero-feature-pills { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .hero-photos { aspect-ratio: 16 / 10; gap: 9px; }
}

/* ── Phones: this is the height reduction ─────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 20px 0 26px; }
  .hero-inner { gap: 20px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 9.5px; padding: 5px 13px; }
  .hero-h1 { font-size: clamp(26px, 8vw, 34px); margin-bottom: 8px; }
  .hero-desc { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
  /* the long paragraph is the biggest height eater — trim it to two lines */
  .hero-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
               overflow: hidden; }
  .hero-feature-pills { gap: 6px; margin-bottom: 12px; }
  .feature-pill { font-size: 10.5px; padding: 5px 10px; }
  .hero-ctas { gap: 8px; margin-bottom: 14px; }
  .hero-stats { gap: 16px; margin-top: 2px; }
  .hstat-num { font-size: 19px; }
  .hstat-lbl { font-size: 9.5px; }
  .hero-photos { aspect-ratio: 16 / 9; gap: 7px; }
  .hero-scroll-hint, .petal { display: none; }   /* pure decoration, costs height */
  .htag { font-size: 10px; padding: 5px 10px; }
  .htag-3 { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 14px 0 20px; }
  .hero-h1 { font-size: 26px; }
  .hero-desc { font-size: 12.5px; -webkit-line-clamp: 2; }
  .feature-pill:nth-child(3) { display: none; }   /* keep pills on one line */
  .hero-photos { aspect-ratio: 3 / 2; border-radius: var(--r-md); }
  .hphoto { border-radius: var(--r-md); }
  .hero-ctas .cta-primary, .hero-ctas .cta-secondary { flex: 1; text-align: center; font-size: 12.5px; padding: 11px 14px; }
}

/* ══════════════════════════════════════════════════════════════════════
   18. COLLECTION ROWS — grid on desktop, swipe rail on phones
════════════════════════════════════════════════════════════════════════ */
/* .section-wrap already carries 84px top/bottom from style.css, so this
   section must not add its own or the two stack to 148px a side. */
.coll-section { padding: 0; }
.coll-alt { background: var(--ivory); }
.coll-more { text-align: center; margin-top: 26px; }
.coll-more .cta-secondary { display: inline-block; padding: 11px 26px; font-size: 13.5px; }

@media (max-width: 768px) {
  .coll-section { padding: 0; }
  .coll-more { margin-top: 16px; }

  /* One swipeable row instead of a wrapping grid */
  .coll-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 63%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* bleed to the screen edges so the last card doesn't look cut off */
    padding: 4px 16px 14px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .coll-rail::-webkit-scrollbar { display: none; }
  .coll-rail > .prod-card { scroll-snap-align: start; }
  /* hover lift is meaningless on touch and breaks the snap */
  .coll-rail > .prod-card:hover { transform: none; }
}
@media (max-width: 480px) {
  .coll-rail { grid-auto-columns: 71%; gap: 10px; padding: 4px 14px 12px; margin: 0 -14px; }
}

/* ══════════════════════════════════════════════════════════════════════
   19. HERO — richer background, and photos visible on phones
════════════════════════════════════════════════════════════════════════ */

/* The old background was near-white. This keeps dark text fully readable
   but gives the top of the page real warmth and depth. */
.hero {
  position: relative;
  background:
    radial-gradient(1150px 560px at 86% 14%, rgba(255,195,0,.42), transparent 62%),
    radial-gradient(900px 560px at 6% 88%, rgba(224,27,36,.20), transparent 60%),
    linear-gradient(155deg, #FFE6C9 0%, #FFF1E0 40%, #FFDEDE 100%);
  overflow: hidden;
}
/* Soft dot texture — barely there, stops the gradient looking flat */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(140,30,20,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}
/* The hero ends on a plain straight edge — no curve, no rule. The red marquee
   band that follows already provides the visual break. */
.hero-inner { position: relative; z-index: 2; }

/* Keep the eyebrow and pills legible on the warmer backdrop */
.feature-pill { background: rgba(255,255,255,.92); }

/* ── Photos on phones ─────────────────────────────────────────────────
   style.css hides .hero-right below 768px. That was fine when it held
   decorative emoji cards; now it holds your real uploaded photos.       */
@media (max-width: 768px) {
  .hero-right { display: block; padding: 0; }        /* style.css puts 60px top+bottom here */
  .hero-left  { padding: 0; }                        /* and 56px/36px here */
  .hero-inner { grid-template-columns: 1fr; }
  /* style.css gives the collage a fixed width for the old emoji layout, which
     pushes it past the screen edge. Grid items also need min-width:0 to shrink. */
  .hero-left, .hero-right { min-width: 0; }
  .hero-right, .hero-collage, .hero-photos {
    width: 100%; max-width: 100%; min-width: 0;
  }
  /* style.css sizes .hero-collage for the old emoji cards — let it hug the photos */
  .hero-collage { position: relative; min-height: 0; height: auto; margin: 2px 0 0; }
  .hero-photos { aspect-ratio: 21 / 9; gap: 6px; }
  /* the floating chips crowd a small screen — keep one, drop the rest */
  .htag-2, .htag-3 { display: none; }
  .htag-1 { top: 8px; right: 8px; left: auto; bottom: auto; }
}
@media (max-width: 480px) {
  .hero-photos { aspect-ratio: 2 / 1; }
  .hero::before { background-size: 18px 18px; }
}

/* ══════════════════════════════════════════════════════════════════════
   20. "VIEW ALL PRODUCTS" — centred even if some CSS fails to load
════════════════════════════════════════════════════════════════════════ */
.coll-more {
  display: flex;
  justify-content: center;
  align-items: center;
  clear: both;
  margin-top: 26px;
  padding-top: 4px;
}
.coll-more .cta-secondary { display: inline-block; white-space: nowrap; }
@media (max-width: 768px) { .coll-more { margin-top: 18px; } }

/* ══════════════════════════════════════════════════════════════════════
   21. TIGHTER SPACING BETWEEN THE PRODUCT SECTIONS
   style.css gives every .section-wrap 84px top and bottom, so two stacked
   sections sat ~232px apart. These four run one after another and read
   better closer together.
════════════════════════════════════════════════════════════════════════ */
.cats-section  > .section-wrap,
.coll-section  > .section-wrap { padding-top: 46px; padding-bottom: 46px; }

/* The heading block had 56px under it as well */
.cats-section .sec-head,
.coll-section .sec-head { margin-bottom: 30px; }

@media (max-width: 768px) {
  .cats-section > .section-wrap,
  .coll-section > .section-wrap { padding-top: 26px; padding-bottom: 26px; }
  .cats-section .sec-head,
  .coll-section .sec-head { margin-bottom: 18px; }
}

/* ══════════════════════════════════════════════════════════════════════
   22. DIVIDER STRIPS BETWEEN PRODUCT SECTIONS
   Slim scrolling band that marks the boundary between one section and the
   next. Alternates dark red / yellow so two never look the same, and is
   deliberately thinner than the main marquee so it reads as a separator
   rather than a second banner.
════════════════════════════════════════════════════════════════════════ */
.ss-divider {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.ss-div-red    { background: var(--plum-dark); }
.ss-div-red    span { color: var(--gold-light); }
.ss-div-red    i    { color: rgba(255,255,255,.42); }
.ss-div-yellow { background: var(--gold-light); }
.ss-div-yellow span { color: var(--plum-dark); }
.ss-div-yellow i    { color: rgba(92,10,10,.42); }

.ss-div-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: ssDivScroll 30s linear infinite;
}
.ss-div-track span {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 0 20px;
}
.ss-div-track i { font-style: normal; font-size: 7px; }

/* the list is printed twice, so -50% loops seamlessly */
@keyframes ssDivScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* scroll the other way under a yellow strip, so the pair feels intentional */
.ss-div-yellow .ss-div-track { animation-direction: reverse; }

.ss-divider:hover .ss-div-track { animation-play-state: paused; }

@media (max-width: 768px) {
  .ss-divider { padding: 8px 0; }
  .ss-div-track span { font-size: 10px; letter-spacing: 2.2px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-div-track { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   23. CATEGORY IMAGES
   Uploaded in Admin → Categories. Categories without a picture keep the
   emoji icon, so both can sit side by side while you fill them in.
════════════════════════════════════════════════════════════════════════ */

/* Homepage "Shop by Category" tiles */
.cat-icon-wrap { overflow: hidden; }
.cat-icon-wrap .cat-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: inherit;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.cat-card:hover .cat-icon-wrap .cat-photo { transform: scale(1.08); }

/* Products page filter pills — small round thumbnail before the name */
.filter-pill { display: inline-flex; align-items: center; gap: 7px; }
.filter-pill .cat-photo {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 1px solid rgba(0,0,0,.08);
}
.filter-pill.active .cat-photo { border-color: rgba(255,255,255,.5); }

@media (max-width: 768px) {
  .filter-pill .cat-photo { width: 19px; height: 19px; }
}