/* =========================================
   VELMORAS — Lumora-inspired storefront
   ========================================= */

:root {
  --cream:   #f6efe6;    /* page bg */
  --cream-2: #faf5ed;    /* card bg */
  --blush:   #f2c8c9;    /* hero shape */
  --blush-2: #f7d9d9;
  --pink-soft:#f9e6df;
  --green:   #1f4a3a;    /* brand deep green */
  --green-2: #2d6a54;
  --gold:    #e8c982;
  --gold-2:  #c9a877;
  --sage:    #c8dcc4;
  --leaf:    #8a9a78;
  --ink:     #1a1a1a;
  --ink-dim: #6b6b6b;
  --line:    #e8e0d5;
  --radius:  20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.hamburger {
  display: none;
  width: 40px; height: 40px; border-radius: 50%;
  place-items: center; align-items: center;
  color: var(--ink);
  cursor: pointer;
}
.hamburger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px; max-width: 88vw;
  background: var(--cream);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  padding: 20px 0;
  box-shadow: 6px 0 30px rgba(0,0,0,0.15);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-nav {
  display: flex; flex-direction: column;
  padding: 20px 8px;
  flex: 1;
}
.drawer-nav a {
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px; font-weight: 500;
  transition: background 0.2s;
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-nav a:hover { background: var(--cream-2); }
.drawer-badge {
  background: var(--green); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 100px;
  font-weight: 600;
}
.drawer-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 16px;
  flex-wrap: wrap;
}
.drawer-mini {
  font-size: 12px; color: var(--ink-dim);
  font-weight: 500;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
img.brand-icon { border-radius: 6px; }
.brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 4.2vw, 20px); font-weight: 700;
  letter-spacing: clamp(1.5px, 0.9vw, 4px);
  color: var(--ink);
}
.foot-brand img.brand-icon {
  filter: brightness(1.1) drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
.main-nav {
  display: flex; justify-content: center;
  gap: 42px;
}
.main-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--ink); position: relative;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 0.2s;
  position: relative;
}
.icon-btn:hover { background: rgba(0,0,0,0.05); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge, .notif-badge {
  position: absolute; top: 2px; right: 2px;
  background: #d47a80; color: #fff;
  font-size: 10px; font-weight: 600;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
}
.header-search-flyout {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: min(320px, 80vw);
  background: #fff; border: 1px solid var(--line, #e5ddd2); border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.header-search-flyout.open { opacity: 1; visibility: visible; transform: translateY(0); }
.header-search-flyout input {
  width: 100%; border: 1px solid var(--line, #e5ddd2); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none;
}
.header-search-flyout input:focus { border-color: var(--green, #1e5b3a); }

.notif-flyout {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: min(340px, 88vw); max-height: 420px;
  background: #fff; border: 1px solid var(--line, #e5ddd2); border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  z-index: 60; display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.notif-flyout.open { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-flyout-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line, #e5ddd2); font-size: 13px;
}
.notif-flyout-head button { background: none; border: none; color: var(--green, #1e5b3a); font-size: 11.5px; font-weight: 600; cursor: pointer; }
.notif-flyout-list { overflow-y: auto; flex: 1; }
.notif-flyout-empty { padding: 30px 16px; text-align: center; color: #8b6b58; font-size: 12.5px; }
.notif-flyout-item { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line, #e5ddd2); text-decoration: none; color: inherit; }
.notif-flyout-item:hover { background: var(--cream, #faf5ed); }
.notif-flyout-item.unread { background: #f0f7f2; }
.notif-flyout-item .nfi-msg { font-size: 13px; color: #222; line-height: 1.4; }
.notif-flyout-item .nfi-time { font-size: 11px; color: #8b6b58; margin-top: 4px; }

/* ================= HERO (full-bleed slider) ================= */
.hero {
  padding: 20px 28px 0;
  max-width: 1280px;         /* match .section max-width so hero + categories align */
  margin: 0 auto;
}
.hero-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 620px;
  height: 72vh;
  max-height: 720px;
  background: var(--cream-2);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  transition: opacity 1s var(--ease);
  will-change: opacity;
  z-index: 0;
}
.hero-bg.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(246, 239, 230, 0.95) 0%,
    rgba(246, 239, 230, 0.82) 25%,
    rgba(246, 239, 230, 0.35) 55%,
    rgba(246, 239, 230, 0) 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  height: 100%;
  padding: 50px 40px;
  display: flex; align-items: center;
}
.hero-left { position: relative; max-width: 540px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 22px;
}
.tiny-leaf { width: 24px; height: 40px; opacity: 0.55; }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 500; line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-title em { font-style: italic; font-weight: 600; }
.hero-sub {
  font-size: 15px; color: var(--ink-dim);
  max-width: 380px;
  margin-bottom: 30px;
}

/* Hero right — floating product card hidden per current spec (was covering the model) */
.hero-right {
  display: none;
}
.hero-product-card {
  width: 240px;
  background: #fff;
  padding: 16px 16px 14px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-product-card img {
  width: 100%; height: 130px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Slider dots (bottom-center over the banner) */
.hero-slider-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.hero-slider-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.hero-slider-dots i.on {
  background: var(--green);
  width: 26px; border-radius: 4px;
}
.hero-slider-dots i:hover { background: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--green); color: #fff;
}
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(31,74,58,0.5); }
.btn-dark { background: var(--green); color: #fff; padding: 12px 24px; }
.btn-dark:hover { background: var(--green-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-2); }

.trust-row {
  display: flex; gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.mobile-trust-row { display: none; }
.trust {
  display: flex; align-items: center; gap: 12px;
}
.trust-ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-ic svg { width: 20px; height: 20px; }
.ic-yellow { background: #fbe8a6; }
.ic-green { background: #cfe1d5; }
.ic-pink { background: #f7d9d9; }
.trust strong { font-size: 13px; font-weight: 600; display: block; color: var(--ink); }
.trust small { font-size: 11px; color: var(--ink-dim); }

.fav-btn {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
}
.fav-btn svg { width: 16px; height: 16px; }
.hpc-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.hpc-meta h4 { font-size: 14px; font-weight: 500; }
.hpc-meta span { font-size: 14px; font-weight: 600; }
.hpc-cta { display: flex; gap: 6px; margin-bottom: 10px; }
.btn-small {
  flex: 1;
  background: var(--green); color: #fff;
  padding: 8px; border-radius: 8px;
  font-size: 12px; font-weight: 500;
}
.btn-plus {
  width: 34px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; font-size: 16px; color: var(--ink);
}
.hpc-dots {
  display: flex; gap: 4px; justify-content: center;
}
.hpc-dots i, .pc-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #d0d0d0;
}
.hpc-dots i.on, .pc-dots i.on { background: var(--ink); width: 14px; border-radius: 3px; }

/* ================= SECTIONS ================= */
.section {
  max-width: 1280px; margin: 0 auto;
  padding: 40px 28px;
}
.section + .section { padding-top: 20px; }
.section.arrivals-section { padding-top: 20px; }
.section.testimonials-section { padding-top: 30px; }
.section.newsletter-section { padding-top: 30px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-head h2 { flex: 1; min-width: 0; }

/* Categories float up over the hero — light overlap, keeps clear of product card */
.categories-section {
  padding-top: 0 !important;
  margin-top: -50px;
  position: relative;
  z-index: 5;
}
.section-head.between { justify-content: space-between; }
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.section-head h2 em { font-style: italic; font-weight: 700; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: gap 0.2s;
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { gap: 12px; color: var(--green); }

/* ================= CATEGORIES ================= */
.categories-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.cat-row {
  display: grid;
  /* Auto-fit: fills the row with as many tiles as fit, each at least 130px wide.
     On a wide desktop this shows all categories horizontally; on a phone it
     naturally wraps to fewer columns. */
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  justify-content: center;
}
/* Item count under each category — hidden per product decision */
.cat small { display: none !important; }
.cat {
  text-align: center; padding: 8px;
  transition: transform 0.3s var(--ease);
}
.cat:hover { transform: translateY(-4px); }
.cat-img {
  display: grid; place-items: center;
  width: 130px; max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream-2);
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-empty { font-size: 44px; color: var(--gold-2); }
.cat h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cat small { font-size: 12px; color: var(--ink-dim); }
.cat-placeholder { opacity: 0.65; }

/* ================= OFFER BANNER V2 — image bg + overlaid content ================= */
.offer-banner-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 340px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.35s var(--ease);
}
.offer-banner-v2:hover { box-shadow: var(--shadow-lg); }

/* Cream fade so text on left stays crisp regardless of image */
.offer-banner-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(246, 239, 230, 0.96) 0%,
    rgba(246, 239, 230, 0.85) 26%,
    rgba(246, 239, 230, 0.35) 48%,
    rgba(246, 239, 230, 0.05) 62%,
    transparent 78%);
  pointer-events: none;
}

/* Left content block — top-aligned so trust panel can sit safely below */
.offer-content {
  position: relative; z-index: 2;
  max-width: 480px;
  padding: 34px 48px 100px;
  color: var(--ink);
  display: flex; flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.offer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 16px;
}
.offer-tag svg { width: 16px; height: 16px; }
.offer-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.05;
}
.offer-content p {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 22px;
  max-width: 340px;
}
.offer-content p strong { color: var(--green); font-weight: 600; }
.offer-cta { width: fit-content; padding: 12px 26px; font-size: 13px; }

/* Center discount circle — centered vertically + horizontally */
.offer-discount {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--blush);
  display: grid; place-items: center; align-content: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(163, 91, 106, 0.35);
  z-index: 4;
  text-align: center;
}
.offer-discount small { font-size: 10px; letter-spacing: 2.5px; opacity: 0.92; }
.offer-discount strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700; line-height: 1;
  margin: 3px 0;
}
.offer-banner-v2.no-discount .offer-discount { display: none; }

/* Left corner trust badges */
.offer-trust {
  position: absolute;
  left: 24px; bottom: 20px;
  z-index: 3;
  display: flex; gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.ob-trust {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.ob-ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ob-ic svg { width: 16px; height: 16px; }
.ob-trust > div { display: flex; flex-direction: column; line-height: 1.2; }
.ob-trust strong { font-size: 12px; font-weight: 600; color: var(--ink); }
.ob-trust small { font-size: 10px; color: var(--ink-dim); }

/* Kept for backward compat if admin swaps to the old split-card banner */
.offer-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--green);
  border-radius: 24px;
  overflow: hidden;
  height: 300px;
  position: relative;
}
.offer-left {
  padding: 40px 48px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.offer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.offer-tag svg { width: 16px; height: 16px; }
.offer-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 600;
  color: #fff; margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.offer-left p {
  font-size: 14px; color: rgba(255,255,255,0.8);
  margin-bottom: 22px;
  max-width: 380px;
}
.offer-left .btn { padding: 12px 26px; font-size: 13px; }
.offer-left .btn { width: fit-content; }
.offer-right {
  position: relative;
  background: linear-gradient(135deg, #f0d4d5 0%, #e5c1c1 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.offer-right img {
  height: 90%; width: auto; object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.15));
  position: relative; z-index: 1;
}
/* Discount circle — perfectly centered vertically, near the boundary between green/pink.
   Admin can hide by adding .no-discount to .offer-banner (JS/PHP toggle). */
.offer-badge {
  position: absolute;
  top: 50%;
  /* horizontally centered on the green/pink split (at grid-column-boundary ~53.5%) */
  left: 53.5%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--blush);
  display: grid; place-items: center; align-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  z-index: 3;
  transition: opacity 0.3s, transform 0.3s;
}
.offer-badge small { font-size: 10px; letter-spacing: 2.5px; opacity: 0.9; }
.offer-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 700; line-height: 1;
  margin: 2px 0;
}
/* Admin toggle: hide the badge cleanly */
.offer-banner.no-discount .offer-badge { display: none; }
.offer-banner.no-discount { grid-template-columns: 1.4fr 1fr; }

/* ================= NEW ARRIVALS ================= */
/* Arrivals white card wrapper (matches Categories card style) */
.arrivals-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.arrivals-card .section-head { margin-bottom: 24px; }

.products-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.arrivals-card .product-card {
  background: var(--cream-2);
  box-shadow: none;
  border: 1px solid var(--line);
}
.arrivals-card .product-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.arrivals-card .pc-img { background: #fff; }
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Legacy .pc-img rules removed — unified card CSS at end of file handles this */
.product-card h5 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.pc-price { font-size: 14px; font-weight: 600; color: var(--ink); }
.pc-dots {
  display: flex; gap: 4px; justify-content: flex-end;
  margin-top: 8px;
}

/* ================= TESTIMONIALS ================= */
.reviews-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-3px); }
.stars {
  color: var(--gold-2);
  font-size: 14px; letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-card p {
  font-size: 14px; color: var(--ink-dim);
  line-height: 1.6; margin-bottom: 18px;
  min-height: 90px;
}
.reviewer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.reviewer strong { font-size: 13px; display: block; }
.reviewer small { font-size: 11px; color: var(--ink-dim); }

/* ================= NEWSLETTER ================= */
.newsletter {
  background: var(--blush-2);
  border-radius: 24px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.news-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.news-icon svg { width: 22px; height: 22px; }
.news-copy h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
}
.news-copy p { font-size: 13px; color: var(--ink-dim); }
.news-form {
  display: flex; gap: 8px; position: relative;
}
.news-form input {
  min-width: 0; flex: 1;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit; font-size: 13px;
  outline: none;
}
.news-form input:focus { border-color: var(--green); }
.thanks {
  position: absolute; bottom: -22px; left: 20px;
  color: var(--green); font-size: 12px;
  opacity: 0; transition: opacity 0.3s;
}
.thanks.show { opacity: 1; }

/* ================= TRUST BAR ================= */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tb {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 8px 4px;
}
.tb-ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tb-ic svg { width: 20px; height: 20px; }
.tb strong { font-size: 13px; display: block; margin-bottom: 2px; }
.tb small { font-size: 12px; color: var(--ink-dim); }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 60px 28px 30px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand .brand-icon g { fill: #fff; }
.foot-brand .brand-word { color: #fff; }
.foot-brand p { font-size: 13px; margin-top: 14px; color: rgba(255,255,255,0.8); max-width: 280px; }
.foot-brand p.muted { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 20px; }
.foot-col h6 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600;
  margin-bottom: 18px;
  color: var(--gold);
}
.foot-col a {
  display: block; font-size: 13px;
  padding: 5px 0;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.foot-col a:hover { color: #fff; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .cat-img { width: 110px; }
  .hero-product-card { width: 200px; }
}
@media (max-width: 1024px) {
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .products-row { grid-template-columns: repeat(3, 1fr); }
  .reviews-row { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 24px; }
  .hero-banner { min-height: 560px; height: 65vh; }
}
@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: clamp(4px, 2vw, 12px); padding: 14px clamp(12px, 4vw, 20px);
  }
  .main-nav { display: none; }
  .hamburger { display: grid; }
  .brand { justify-self: center; min-width: 0; }
  /* The icon/sign-in cluster shrinks fluidly on narrow phones so it never
     starves the centered brand column of space (was fixed-size before,
     which could squeeze "VELMORAS" down to a sliver on ~320px screens). */
  .header-actions { gap: clamp(0px, 1.5vw, 6px); }
  .icon-btn {
    width: clamp(32px, 9vw, 40px); height: clamp(32px, 9vw, 40px);
  }
  .icon-btn svg { width: clamp(17px, 4.5vw, 20px); height: clamp(17px, 4.5vw, 20px); }
  .header-signin {
    padding: clamp(6px, 2vw, 8px) clamp(10px, 3.5vw, 18px);
    font-size: clamp(11px, 2.8vw, 12.5px);
  }

  /* MOBILE HERO: image with text overlaid, trust badges horizontal below */
  .hero { padding: 16px 16px 0; max-width: 100%; }
  .hero-banner {
    min-height: 0; max-height: none;
    height: 420px;
    display: block; position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--cream-2);
  }
  /* Only the active image shows, filling the banner */
  .hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 68% top;
    border-radius: 0;
    display: none;
  }
  .hero-bg.active { display: block; opacity: 1; }

  /* Dark-to-clear gradient so overlay text is legible */
  .hero-overlay {
    display: block;
    background: linear-gradient(180deg,
      rgba(20, 25, 20, 0.55) 0%,
      rgba(20, 25, 20, 0.25) 40%,
      rgba(20, 25, 20, 0.05) 70%,
      transparent 100%);
  }

  /* Content sits at TOP of the image */
  .hero-inner {
    display: block;
    padding: 32px 24px;
    height: auto;
    text-align: left;
    max-width: 100%;
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 2;
  }
  .hero-left { max-width: 100%; }
  .hero-eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 14px; }
  .hero-eyebrow .tiny-leaf path { stroke: rgba(255,255,255,0.7); }
  .hero-title {
    font-size: clamp(28px, 7vw, 36px);
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.05;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  }
  .hero-title em { color: #fff; }
  .hero-sub {
    color: rgba(255,255,255,0.9);
    max-width: 100%; margin-bottom: 16px;
    font-size: 13px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.25);
  }

  /* Smaller Shop Now button, left-aligned */
  .hero-left .btn-primary {
    width: fit-content;
    padding: 9px 18px;
    font-size: 11px;
    letter-spacing: 1px;
    gap: 6px;
  }
  .hero-left .btn-primary svg { width: 12px; height: 12px; }

  /* Compact horizontal trust text INSIDE hero, right under the button */
  .hero-inner .trust-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    border: none;
    flex-wrap: nowrap;
  }
  .hero-inner .trust {
    display: inline-flex; align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }
  .hero-inner .trust-ic {
    width: 20px; height: 20px;
    background: rgba(255,255,255,0.9);
    flex-shrink: 0;
  }
  .hero-inner .trust-ic svg { width: 10px; height: 10px; }
  .hero-inner .trust > div { display: inline; }
  .hero-inner .trust strong {
    font-size: 9.5px; font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    white-space: nowrap;
  }
  .hero-inner .trust small { display: none; }

  /* Hide product card + slider dots + separate mobile-trust-row on mobile */
  .hero-right { display: none; }
  .hero-slider-dots { display: none; }
  .mobile-trust-row { display: none !important; }

  /* Reduce hero height and overlap category card upward */
  .hero-banner { height: 380px; }
  .hero-inner { padding: 24px 20px; }

  .section { padding: 40px 16px; }
  .section + .section { padding-top: 20px; }

  /* Category card floats over the hero on mobile */
  .categories-section {
    margin-top: -50px;
    padding-top: 0 !important;
    padding-left: 16px; padding-right: 16px;
  }
  .categories-card { padding: 22px 18px; border-radius: 20px; }
  .categories-section .section-head {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }
  .categories-section .section-head h2 {
    font-size: 22px;
    flex: 1 1 auto;
  }
  .section-head .link-arrow { font-size: 12px; }
  .section-head .link-arrow svg { width: 12px; height: 12px; }
  .cat-img { width: 90px; }
  .cat h5 { font-size: 12px; }
  .cat small { font-size: 10px; }
  .cat-empty { font-size: 32px; }

  /* Offer banner v2 — mobile: image top, content below */
  .offer-banner-v2 {
    height: auto;
    background-size: cover;
    background-position: 65% center;
    border-radius: 18px;
    min-height: 460px;
  }
  .offer-banner-v2::before {
    background: linear-gradient(180deg,
      rgba(246,239,230,0) 0%,
      rgba(246,239,230,0.15) 35%,
      rgba(246,239,230,0.85) 55%,
      rgba(246,239,230,0.98) 100%);
  }
  .offer-content {
    padding: 200px 20px 20px;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  .offer-content h2 { font-size: 26px; }
  .offer-content p { font-size: 13px; max-width: 100%; margin-bottom: 16px; }
  .offer-cta { padding: 11px 22px; font-size: 12px; }

  /* Center discount circle → moves to top-center on mobile */
  .offer-discount {
    top: 40px; left: 50%;
    transform: translate(-50%, 0);
    width: 90px; height: 90px;
  }
  .offer-discount strong { font-size: 22px; }
  .offer-discount small { font-size: 8px; letter-spacing: 2px; }

  /* Trust badges → row below CTA on mobile */
  .offer-trust {
    position: static;
    margin: 16px auto 0;
    right: auto; bottom: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%; max-width: 380px;
    padding: 10px;
    gap: 6px;
    border-radius: 14px;
  }
  .ob-trust {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .ob-trust > div { align-items: center; }
  .ob-trust strong { font-size: 10px; }
  .ob-trust small { font-size: 9px; }
  .ob-ic { width: 26px; height: 26px; }
  .ob-ic svg { width: 13px; height: 13px; }
  .cat-row { grid-template-columns: repeat(2, 1fr); }
  .products-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .arrivals-card { padding: 20px 16px; border-radius: 20px; }

  /* Newsletter: clean vertical stack */
  .newsletter {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 26px 18px;
    gap: 14px;
    border-radius: 20px;
  }
  .news-icon { margin: 0 auto; }
  .news-copy h3 { font-size: 20px; margin-bottom: 6px; }
  .news-copy p { font-size: 12px; line-height: 1.5; }

  /* Form: input on top, button below — full-width both — no overflow */
  .news-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    align-items: stretch;
  }
  .news-form input {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    font-size: 13px;
    min-width: 0; flex: none;
    border-radius: 100px;
  }
  .news-form .btn {
    width: 100%;
    height: 44px;
    padding: 0;
    font-size: 12px;
    letter-spacing: 1.5px;
    white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .thanks {
    position: static;
    margin-top: 6px;
    text-align: center;
    width: 100%;
  }

  /* Footer: 2×2 grid instead of vertical stack */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 40px 20px 20px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { font-size: 12px; }
  .foot-col h6 { font-size: 14px; margin-bottom: 12px; }
  .foot-col a { font-size: 12px; padding: 4px 0; }
  .site-footer { padding: 30px 16px 16px; }
}
@media (max-width: 480px) {
  .cat-row { grid-template-columns: 1fr 1fr; }
  .products-row { grid-template-columns: 1fr 1fr; }
  .reviews-row { grid-template-columns: 1fr; }
  .cat-img { width: 100px; }
  .hero-title { font-size: 36px; }
  .hero-bg { height: 260px; }
  .hero-right { margin-top: -70px; }
  .hero-slider-dots { bottom: 108px; }
  .hero-product-card { width: 220px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }  /* keep 2-col horizontal even at smallest */
  .section { padding: 30px 16px; }
  .header-inner { padding: 12px 16px; }
}

/* --- Keep New Arrivals row clean at every breakpoint (dynamic 5 items max) --- */
@media (max-width: 1024px) {
  .arrivals-section .products-row .product-card:nth-child(n+4) { display: none; }
}
@media (max-width: 700px) {
  .arrivals-section .products-row .product-card:nth-child(n+4) { display: initial; }
  .arrivals-section .products-row .product-card:nth-child(n+5) { display: none; }
}
@media (max-width: 480px) {
  .arrivals-section .products-row .product-card:nth-child(n+5) { display: none; }
}

/* ====================================================
   UNIFIED PRODUCT CARD (v2) — matches reference design
   Used on: home (new arrivals), shop grid, product-detail related
   ==================================================== */
.product-card, .shop-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line, #e7dccb);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(58, 30, 38, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card:hover, .shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58, 30, 38, 0.10);
  border-color: rgba(30, 91, 58, 0.25);
}

/* Sale badge (green pill, top-left) */
.product-card .pc-tag, .shop-card .pc-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  background: var(--green, #1e5b3a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.2;
}

/* Favorite heart button (top-right, only appears on hover on desktop) */
.product-card .fav-btn, .shop-card .fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line, #e7dccb);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.product-card .fav-btn:hover, .shop-card .fav-btn:hover {
  background: #fdecec;
  transform: scale(1.08);
}
.product-card .fav-btn svg, .shop-card .fav-btn svg { width: 16px; height: 16px; }

/* Image area — fills the card, no cream background bleed */
.product-card .pc-img, .shop-card .pc-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fafaf6;
  overflow: hidden;
  border-bottom: 1px solid var(--line, #e7dccb);
  position: relative;
}
.product-card .pc-img img, .shop-card .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
}
.product-card:hover .pc-img img, .shop-card:hover .pc-img img { transform: scale(1.05); }

/* No-image fallback */
.product-card .pc-no-img, .shop-card .pc-no-img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 20px; text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; color: var(--ink-dim, #8b6b58);
  background: linear-gradient(135deg, var(--cream, #f7f0e6), var(--cream-2, #efe3d0));
}

/* Body */
.product-card .pc-body, .shop-card .pc-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card .pc-body h5, .shop-card .pc-body h5 { margin: 0; }
.product-card .pc-body h5 a, .shop-card .pc-body h5 a,
.product-card > h5, .product-card > h5 a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink, #3a1e26);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .pc-body h5 a:hover, .shop-card .pc-body h5 a:hover { color: var(--green); }

/* Fake star rating (until real reviews exist) */
.pc-rating { display: flex; align-items: center; gap: 4px; }
.pc-stars { color: #e8a628; font-size: 11px; letter-spacing: 1px; }
.pc-rating small { font-size: 11px; color: var(--ink-dim, #8b6b58); }

/* Optional subtitle (2-line clamp, small) */
.product-card .pc-sub, .shop-card .pc-sub {
  font-size: 12px;
  color: var(--ink-dim, #8b6b58);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* Price row */
.product-card .pc-foot, .shop-card .pc-foot,
.product-card > .pc-price, .product-card > .pc-dots {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.product-card .pc-price, .shop-card .pc-price {
  font-size: 15px; font-weight: 700;
  color: var(--ink, #3a1e26);
  display: inline-flex; align-items: baseline; gap: 6px;
  line-height: 1.2;
}
.product-card .pc-compare, .shop-card .pc-compare {
  color: var(--ink-dim, #8b6b58);
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 500;
}

/* Add-to-cart / view — small round green icon-button */
.product-card .btn-mini, .shop-card .btn-mini,
.product-card .pcb-btn.primary, .shop-card .pcb-btn.primary {
  width: 34px; height: 34px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--green, #1e5b3a);
  color: #fff;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.product-card .btn-mini:hover, .shop-card .btn-mini:hover {
  background: var(--green-2, #16452c);
  transform: scale(1.08);
}
.product-card .btn-mini::before, .shop-card .btn-mini::before {
  content: '';
  width: 14px; height: 14px;
  background: no-repeat center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h16l-2 12H6L4 6Z'/><path d='M9 6a3 3 0 0 1 6 0'/></svg>");
  background-size: contain;
}
/* Hide the text on the mini button since we use an icon */
.product-card .btn-mini, .shop-card .btn-mini { font-size: 0; }

/* Color swatch pips (when product has variants) */
.pc-swatches { display: flex; gap: 4px; margin-top: 2px; }
.pc-sw {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
}

/* Grid columns for New Arrivals & shop — consistent gaps */
.products-row, .shop-grid { gap: 16px; }
@media (max-width: 900px) {
  .products-row, .shop-grid { gap: 12px; }
  .product-card .pc-body, .shop-card .pc-body { padding: 10px 12px 12px; }
  .product-card .pc-body h5 a, .shop-card .pc-body h5 a { font-size: 13px; }
  .product-card .pc-price, .shop-card .pc-price { font-size: 14px; }
  .product-card .btn-mini, .shop-card .btn-mini { width: 30px; height: 30px; }
  .product-card .fav-btn, .shop-card .fav-btn { width: 30px; height: 30px; top: 8px; right: 8px; }
  .product-card .pc-tag, .shop-card .pc-tag { font-size: 9px; padding: 3px 8px; top: 8px; left: 8px; }
}

/* Hide the old .pc-dots (small dots row on original card) */
.product-card .pc-dots, .shop-card .pc-dots { display: none; }

/* ====================================================
   NIKE-STYLE PRODUCT SHOWCASE OVERRIDES
   Cleaner cards, bigger images, "Just In" label styling
   ==================================================== */

/* Card: flat, bigger image area, no heavy border */
.product-card, .shop-card {
  border: none;
  box-shadow: none;
  border-radius: 6px;
  background: transparent;
}
.product-card:hover, .shop-card:hover {
  box-shadow: none;
  transform: translateY(-2px);
  border-color: transparent;
}
.product-card:hover .pc-img, .shop-card:hover .pc-img {
  background: #ececed;
}

/* Bigger image container with soft grey backdrop like Nike */
.product-card .pc-img, .shop-card .pc-img {
  background: #f5f5f5;
  border: none;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  transition: background 0.25s var(--ease);
}

/* Image fills nearly the whole tile — subject-centric */
.product-card .pc-img img, .shop-card .pc-img img {
  object-fit: cover;
  padding: 0;
}

/* Body: no side padding — align with tile edges */
.product-card .pc-body, .shop-card .pc-body {
  padding: 12px 2px 6px;
  gap: 4px;
}

/* "Just In" / "Sale" label — text-style, orange like Nike, above title */
.product-card .pc-tag, .shop-card .pc-tag {
  position: static;
  background: transparent;
  color: #ea580c;   /* Nike orange */
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 2px;
  order: -1;
}

/* Product name — slightly larger, tighter */
.product-card .pc-body h5 a, .shop-card .pc-body h5 a {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
  -webkit-line-clamp: 1;
}

/* Subtitle / category as secondary text */
.product-card .pc-sub, .shop-card .pc-sub {
  color: #757575;
  font-size: 13px;
  -webkit-line-clamp: 1;
  margin: 0;
}

/* Rating hidden by default — Nike doesn't show inline stars on shop grid */
.product-card .pc-rating, .shop-card .pc-rating { display: none; }

/* Price row — no fancy button, price bolder */
.product-card .pc-foot, .shop-card .pc-foot {
  margin-top: 6px;
}
.product-card .pc-price, .shop-card .pc-price {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  gap: 8px;
}
.product-card .pc-compare, .shop-card .pc-compare {
  color: #757575;
}

/* Add-to-cart circular button — keep, but slightly smaller and less loud */
.product-card .btn-mini, .shop-card .btn-mini {
  width: 30px; height: 30px;
  background: #111;
}
.product-card .btn-mini:hover, .shop-card .btn-mini:hover {
  background: var(--green, #1e5b3a);
}
.product-card .btn-mini::before, .shop-card .btn-mini::before {
  width: 13px; height: 13px;
}

/* Favorite heart — pure white, no border */
.product-card .fav-btn, .shop-card .fav-btn {
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px; height: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  top: 12px; right: 12px;
}
.product-card .fav-btn svg, .shop-card .fav-btn svg { width: 17px; height: 17px; }

/* Bigger gap between cards, tighter columns on desktop for larger tiles */
.shop-grid, .products-row { gap: 22px; }
@media (max-width: 1024px) { .shop-grid, .products-row { gap: 18px; } }
@media (max-width: 640px) {
  .shop-grid, .products-row { gap: 14px; }
  .product-card .pc-body, .shop-card .pc-body { padding: 10px 2px 6px; }
  .product-card .pc-tag, .shop-card .pc-tag { font-size: 11px; }
  .product-card .pc-body h5 a, .shop-card .pc-body h5 a { font-size: 13px; }
  .product-card .pc-sub, .shop-card .pc-sub { font-size: 12px; }
}

/* ====================================================
   MINIMAL CARD TILE (v3) — image dominates, transparent info
   Removes: SALE tag, cart button, borders, backgrounds on info
   Shows: image + name + price
   ==================================================== */

/* Card container — no border, no background, just image + text */
.product-card, .shop-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.product-card:hover, .shop-card:hover {
  background: transparent !important;
  box-shadow: none !important;
}

/* Image container — bigger, subtle background only in image area */
.product-card .pc-img, .shop-card .pc-img {
  background: #f5f5f5;
  border: none;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: background 0.25s var(--ease);
}
.product-card:hover .pc-img, .shop-card:hover .pc-img { background: #ececed; }
.product-card .pc-img img, .shop-card .pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .pc-img img, .shop-card:hover .pc-img img { transform: scale(1.03); }

/* Info section — transparent, tight spacing, only name + price */
.product-card .pc-body, .shop-card .pc-body {
  background: transparent !important;
  padding: 12px 4px 4px;
  gap: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* HIDE everything except name and price */
.product-card .pc-tag, .shop-card .pc-tag,             /* Sale/Just In label */
.product-card .fav-btn, .shop-card .fav-btn,           /* heart icon top-right */
.product-card .btn-mini, .shop-card .btn-mini,         /* black cart button */
.product-card .pc-sub, .shop-card .pc-sub,             /* subcategory line */
.product-card .pc-rating, .shop-card .pc-rating,       /* stars */
.product-card .pc-swatches, .shop-card .pc-swatches,   /* color pips */
.product-card .pc-dots, .shop-card .pc-dots {          /* legacy dots */
  display: none !important;
}

/* Product name — cleaner */
.product-card .pc-body h5, .shop-card .pc-body h5 { margin: 0; }
.product-card .pc-body h5 a, .shop-card .pc-body h5 a {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .pc-body h5 a:hover, .shop-card .pc-body h5 a:hover { color: var(--green, #1e5b3a); }

/* Price row — no button, just price */
.product-card .pc-foot, .shop-card .pc-foot {
  display: block !important;
  margin-top: 2px;
}
.product-card .pc-price, .shop-card .pc-price {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.product-card .pc-compare, .shop-card .pc-compare {
  color: #757575;
  text-decoration: line-through;
  font-size: 12.5px;
  font-weight: 400;
}

/* Grid — bigger tiles, tighter columns for showcase */
.shop-grid, .products-row { gap: 22px; }
@media (max-width: 1024px) { .shop-grid, .products-row { gap: 18px; } }
@media (max-width: 640px) {
  .shop-grid, .products-row { gap: 14px; }
  .product-card .pc-body h5 a, .shop-card .pc-body h5 a { font-size: 13px; }
  .product-card .pc-price, .shop-card .pc-price { font-size: 14px; }
}

/* ====================================================
   MINIMAL ARRIVALS SECTION — no card wrapper, bigger tiles
   ==================================================== */

/* Remove white card look on New Arrivals — flat layout */
.arrivals-card {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.arrivals-card .section-head { margin-bottom: 22px; padding: 0; }

/* Also flatten any product-card override that was giving inner tiles a card look */
.arrivals-card .product-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.arrivals-card .product-card:hover {
  background: transparent !important;
  box-shadow: none !important;
}
.arrivals-card .pc-img { background: #f5f5f5 !important; }

/* Bigger tiles: drop from 5 columns to 4 on desktop = ~28% wider */
.products-row, .shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
}
@media (max-width: 1100px) {
  .products-row, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
}
@media (max-width: 800px) {
  .products-row, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  .products-row, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}

/* Now that grid is 4-col, adjust the arrivals limit visibility */
@media (min-width: 1101px) {
  .arrivals-section .products-row .product-card:nth-child(n+5) { display: none !important; }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .arrivals-section .products-row .product-card:nth-child(n+4) { display: none !important; }
}
@media (max-width: 800px) {
  .arrivals-section .products-row .product-card:nth-child(n+5) { display: none !important; }
  .arrivals-section .products-row .product-card:nth-child(-n+4) { display: initial !important; }
}

/* ====================================================
   LARGER CARD TILES (v4) — 3-col desktop, bigger fonts
   Matches the reference outline (bigger showcase tiles)
   ==================================================== */
.products-row, .shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
}
@media (max-width: 1180px) {
  .products-row, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
}
@media (max-width: 900px) {
  .products-row, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; }
}
@media (max-width: 560px) {
  .products-row, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
}

/* Bigger fonts on the card body */
.product-card .pc-body, .shop-card .pc-body {
  padding: 16px 4px 4px !important;
  gap: 6px !important;
}
.product-card .pc-body h5 a, .shop-card .pc-body h5 a {
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}
.product-card .pc-price, .shop-card .pc-price {
  font-size: 18px !important;
  font-weight: 600 !important;
  gap: 10px !important;
}
.product-card .pc-compare, .shop-card .pc-compare {
  font-size: 14px !important;
}

/* Slightly larger rounded corners on the bigger image */
.product-card .pc-img, .shop-card .pc-img {
  border-radius: 14px !important;
}

/* Responsive font tuning */
@media (max-width: 900px) {
  .product-card .pc-body h5 a, .shop-card .pc-body h5 a { font-size: 15px !important; }
  .product-card .pc-price, .shop-card .pc-price { font-size: 16px !important; }
  .product-card .pc-compare, .shop-card .pc-compare { font-size: 13px !important; }
  .product-card .pc-body, .shop-card .pc-body { padding: 12px 4px 4px !important; }
}
@media (max-width: 480px) {
  .product-card .pc-body h5 a, .shop-card .pc-body h5 a { font-size: 14px !important; }
  .product-card .pc-price, .shop-card .pc-price { font-size: 15px !important; }
}

/* Arrivals limit — with 3 cols, show 3 or 6 products max */
@media (min-width: 901px) {
  .arrivals-section .products-row .product-card:nth-child(n+4) { display: none !important; }
}
@media (max-width: 900px) {
  .arrivals-section .products-row .product-card:nth-child(-n+4) { display: initial !important; }
  .arrivals-section .products-row .product-card:nth-child(n+5) { display: none !important; }
}

/* ====================================================
   Footer newsletter (Velmoras Circle)
   ==================================================== */
.foot-newsletter { margin: 16px 0 12px; max-width: 320px; }
.foot-newsletter label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.foot-newsletter-row {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  overflow: hidden;
}
.foot-newsletter-row input {
  flex: 1;
  padding: 10px 16px;
  border: none; outline: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
}
.foot-newsletter-row input::placeholder { color: rgba(255,255,255,0.5); }
.foot-newsletter-row button {
  padding: 10px 18px;
  background: #fff;
  color: #1e5b3a;
  border: none;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.foot-newsletter-row button:hover { background: #efe3d0; }
.foot-note { font-size: 12px; margin-top: 6px; min-height: 16px; }
.foot-copy { margin-top: 14px; opacity: 0.7; }

/* Header Sign In (guest-only) */
.header-signin {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  background: #111;
  color: #fff !important;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin-right: 4px;
  transition: background 0.15s;
}
.header-signin:hover { background: #1e5b3a; }

/* ====================================================
   Cart page heading (fixes broken flex layout)
   ==================================================== */
.cart-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 12px;
}
.cart-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #111;
  margin: 0;
}
.cart-header h1 em { color: var(--green, #1e5b3a); font-weight: 700; font-style: italic; margin-left: 6px; }

/* ====================================================
   Merge marquee announcement bar with header
   Creates a seamless overlay feel — no visible gap
   ==================================================== */
.velm-announce {
  background: linear-gradient(180deg, var(--green, #1e5b3a) 0%, var(--green-2, #16452c) 100%);
  padding: 6px 0 !important;
  border-bottom: none !important;
  position: relative;
  z-index: 51;             /* sit above the sticky header edge */
  box-shadow: 0 2px 0 rgba(0,0,0,0.02);
}
.velm-announce + .site-header,
.site-header {
  border-top: 1px solid rgba(30, 91, 58, 0.08);   /* soft border echoing the marquee */
  margin-top: -1px;                                /* pull header up so borders fuse */
  background: linear-gradient(180deg, rgba(246, 239, 230, 0.98) 0%, rgba(246, 239, 230, 0.92) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* Softer marquee text so it reads as an accent, not a heavy separator */
.velm-announce-track span {
  font-weight: 500;
  letter-spacing: 2.5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92);
}
.velm-announce-track span::before {
  content: '✦';
  color: var(--gold, #e8c982);
  opacity: 0.85;
}

/* ====================================================
   SPLIT HERO — sticky strip + main banner
   Layout matches: [header] [strip 20%] [main banner 80%]
   ==================================================== */

/* Hero container becomes a stack */
.hero {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Top strip — sticks below header on scroll */
.hero-strip {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(246, 239, 230, 0.98) 0%, rgba(246, 239, 230, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line, #e8e0d5);
  transition: padding 0.25s var(--ease), background 0.25s;
}
.hero-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.hero-strip-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-dim, #757575);
  white-space: nowrap;
}
.hero-strip-eyebrow .tiny-leaf { width: 16px; height: 24px; opacity: 0.55; }
.hero-strip-content { min-width: 0; }
.hero-strip .hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px !important;
  margin: 0 !important;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-strip .hero-title em { font-style: italic; font-weight: 700; }
.hero-strip .hero-title-sep { color: var(--green, #1e5b3a); opacity: 0.5; }
.hero-strip .hero-sub {
  font-size: 12.5px !important;
  color: var(--ink-dim, #757575) !important;
  margin: 3px 0 0 !important;
  max-width: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-strip-cta {
  white-space: nowrap;
  padding: 10px 20px !important;
  font-size: 12px !important;
  flex-shrink: 0;
}

/* Main banner — full showcase image */
.hero-banner {
  border-radius: 0 !important;
  min-height: unset !important;
  height: 78vh !important;
  max-height: 720px !important;
}

/* Scrolled state — strip becomes more compact */
.hero-strip.is-scrolled { }
.hero-strip.is-scrolled .hero-strip-inner {
  padding: 12px 28px;
}
.hero-strip.is-scrolled .hero-title { font-size: clamp(16px, 1.8vw, 22px) !important; }
.hero-strip.is-scrolled .hero-sub { display: none !important; }

/* ====================================================
   Mobile parity — same look, scaled proportionally
   ==================================================== */
@media (max-width: 900px) {
  .hero-strip-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
    text-align: left;
  }
  .hero-strip .hero-title {
    font-size: clamp(20px, 6vw, 26px) !important;
    -webkit-line-clamp: 2;
    line-height: 1.15 !important;
  }
  .hero-strip .hero-title-sep { display: none; }
  .hero-strip .hero-title em { display: block; }
  .hero-strip .hero-sub {
    font-size: 12px !important;
    -webkit-line-clamp: 2;
  }
  .hero-strip-cta {
    align-self: flex-start;
    padding: 10px 18px !important;
  }
  .hero-banner {
    height: 60vh !important;
    min-height: 380px !important;
  }
}
@media (max-width: 560px) {
  .hero-strip-inner { padding: 14px 16px; }
  .hero-strip-eyebrow { font-size: 10px; letter-spacing: 2px; }
  .hero-strip .hero-title { font-size: clamp(19px, 5.5vw, 24px) !important; }
  .hero-banner { height: 52vh !important; min-height: 340px !important; }
}

/* Ensure scroll animations, tilts and reveals ALSO run on mobile */
@media (max-width: 900px) {
  [data-reveal], [data-stagger] > *, [data-tilt-3d] { transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
  .product-card, .shop-card, .cat { transform-style: preserve-3d; }
}

/* ====================================================
   REVERT: split-hero rules cancelled — scoped to DESKTOP only
   so they don't override the mobile responsive rules
   ==================================================== */
@media (min-width: 901px) {
  .hero {
    padding: 20px 28px 0 !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
  }
  .hero-banner {
    border-radius: 28px !important;
    min-height: 620px !important;
    height: 72vh !important;
    max-height: 720px !important;
  }
}
.hero-strip { display: none !important; }

/* ====================================================
   MOBILE HERO FIXES (v2)
   - Title scales down cleanly, no awkward line breaks
   - Colorful trust icons restored (not white circles)
   - Removes big empty space between hero and next section
   - Compact hero height on phones
   ==================================================== */

@media (max-width: 900px) {
  /* Kill the huge min-height on the hero container that leaves empty space */
  .hero {
    padding: 12px 12px 0 !important;
    margin-bottom: 0 !important;
  }
  .hero-banner {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 4;
    max-height: 640px !important;
    border-radius: 20px !important;
  }
  /* Section following hero shouldn't leave a huge gap */
  .hero + .section, .hero + section {
    margin-top: 0 !important;
    padding-top: 24px !important;
  }
  .section + .categories-section {
    padding-top: 16px !important;
  }

  /* Title: scale down cleanly — each phrase on its own line via <br>, no mid-word breaks */
  .hero-title {
    font-size: clamp(24px, 6.4vw, 34px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.4px !important;
    word-break: keep-all;
    overflow-wrap: normal;
    max-width: 90%;
    text-wrap: balance;
  }
  .hero-title em {
    display: block;    /* each em on its own line — no mid-phrase wrap */
    color: #fff;
  }
  .hero-title br { display: none; }   /* <br> not needed since em is block */

  .hero-sub {
    font-size: 12.5px !important;
    line-height: 1.5;
    max-width: 92% !important;
  }

  /* RESTORE COLORFUL TRUST BADGES on mobile — matches desktop look */
  .hero-inner .trust-row {
    background: rgba(255, 255, 255, 0.94);
    padding: 8px 10px !important;
    border-radius: 100px;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
  }
  .hero-inner .trust {
    gap: 6px !important;
  }
  /* Full-colour icon badges — no white overlay */
  .hero-inner .trust-ic {
    width: 26px !important; height: 26px !important;
    border-radius: 50%;
    display: inline-grid; place-items: center;
    flex-shrink: 0;
    background: unset;       /* strip the white overlay from the earlier rule */
  }
  .hero-inner .trust-ic.ic-yellow { background: #fef1c9 !important; }
  .hero-inner .trust-ic.ic-green  { background: #dceccf !important; }
  .hero-inner .trust-ic.ic-pink   { background: #fdd8dd !important; }
  .hero-inner .trust-ic svg { width: 13px !important; height: 13px !important; }

  /* Trust text back to dark on white pill */
  .hero-inner .trust strong {
    font-size: 10.5px !important;
    color: #111 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
  }
  .hero-inner .trust small { display: none !important; }
}

/* Extra-small phones */
@media (max-width: 420px) {
  .hero-banner { aspect-ratio: 4 / 5; }
  .hero-title { font-size: clamp(22px, 7vw, 28px) !important; }
  .hero-sub { font-size: 12px !important; }
  .hero-inner { padding: 20px 16px !important; }
  .hero-inner .trust strong { font-size: 9.5px !important; }
  .hero-inner .trust-ic { width: 22px !important; height: 22px !important; }
  .hero-inner .trust-ic svg { width: 11px !important; height: 11px !important; }
}

/* ====================================================
   MOBILE HERO — TIGHTER (v3): kill leftover empty space
   ==================================================== */
@media (max-width: 900px) {
  /* Fixed compact height instead of aspect-ratio so no empty area below content */
  .hero-banner {
    aspect-ratio: unset !important;
    height: 520px !important;
    min-height: 0 !important;
    max-height: 60vh !important;
  }
  /* Zero gap between hero and following categories/shop section */
  .hero + .section, .hero + section,
  .section + .categories-section, .categories-section {
    margin-top: 0 !important;
    padding-top: 12px !important;
  }
  .hero { padding-bottom: 0 !important; }
  /* Legacy stray separator span (if any) — hide */
  .hero-title-sep { display: none !important; }
}
@media (max-width: 420px) {
  .hero-banner { height: 460px !important; max-height: 56vh !important; }
}

/* ====================================================
   MOBILE HERO — TIGHTER (v4)
   - Trust pill transparent
   - Kill all leftover empty space below banner
   ==================================================== */
@media (max-width: 900px) {
  /* Trust pill: transparent, subtle border — no white background */
  .hero-inner .trust-row {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    padding: 6px 10px !important;
    display: inline-flex !important;
    width: fit-content;
  }
  /* Text stays readable over image via subtle shadow */
  .hero-inner .trust strong {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
  }
  /* Colored icons stay */
  .hero-inner .trust-ic {
    background: rgba(255,255,255,0.95) !important;
  }

  /* Kill EVERY possible gap under the hero */
  .hero {
    padding: 12px 12px 0 !important;
    margin: 0 !important;
  }
  .hero-banner {
    margin-bottom: 0 !important;
  }
  /* The section right after hero comes flush against it */
  .hero + .section,
  .hero + section,
  .hero-section + .section,
  section.hero + .section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* Categories card sits directly on top */
  .categories-section {
    padding-top: 12px !important;
    margin-top: 0 !important;
  }
  .categories-section .categories-card {
    margin-top: 0 !important;
  }
  /* Hide the mobile-trust-row backup so it doesn't add height */
  .mobile-trust-row { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }
}

/* ====================================================
   MOBILE HERO — FINAL (v5)
   Kill leftover empty space: banner height matches content
   ==================================================== */
@media (max-width: 900px) {
  /* Make banner size to its content — no more fixed 520px with empty bottom */
  .hero-banner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  /* Content flows normally instead of absolute — dictates banner height */
  .hero-inner {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    padding: 24px 20px !important;
    z-index: 2;
  }
  /* Image sits BEHIND as absolute background, banner still shows it via aspect-ratio image */
  .hero-bg, .hero-bg.active {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    z-index: 0;
  }
  /* Overlay behind text sits between image and content */
  .hero-overlay { z-index: 1; }
  /* Overall: bump content-padding so banner has enough vertical breathing room to show the model */
  .hero-inner {
    min-height: 380px;   /* ensures the model image is visible with the text overlay */
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* ====================================================
   MOBILE HERO — CONSISTENT LAYOUT (v6)
   - Text always at same top position across all banners
   - Trust pill anchored at bottom, transparent border
   - Shop by Category card overlaps bottom of hero (~10%)
   ==================================================== */
@media (max-width: 900px) {
  /* Force consistent internal layout regardless of image */
  .hero-banner { position: relative; }
  .hero-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 26px 22px 22px !important;
    min-height: 420px;      /* uniform banner height */
    gap: 12px;
  }
  /* All top content sits together — no gaps between elements */
  .hero-eyebrow  { margin: 0 0 4px !important; }
  .hero-title    { margin: 0 !important; }
  .hero-sub      { margin: 4px 0 0 !important; }
  .hero-left .btn-primary { margin: 12px 0 0 !important; }
  /* Trust pill: pinned at the BOTTOM of the banner, transparent border */
  .hero-inner .trust-row {
    margin: auto 0 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    padding: 6px 10px !important;
  }
}

/* ====================================================
   Shop by Category overlaps the bottom of the hero
   Card floats over the bottom ~10% of the banner
   ==================================================== */
@media (max-width: 900px) {
  .categories-section {
    margin-top: -46px !important;   /* pull card up into the bottom of the hero */
    position: relative;
    z-index: 3;
    padding-top: 0 !important;
  }
  .categories-section .categories-card {
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding-top: 20px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  }
  /* Small headroom above the fold below the hero */
  .categories-section + .section {
    padding-top: 20px !important;
  }
}

/* ====================================================
   MOBILE HERO (v7) — content gravity-down, no eyebrow
   ==================================================== */
@media (max-width: 900px) {
  /* 1. Kill the "LIMITED TIME OFFER" eyebrow on mobile */
  .hero-eyebrow { display: none !important; }

  /* 2. All hero content anchored to BOTTOM of the banner
        (no empty gap below content — image dominates the top) */
  .hero-inner {
    justify-content: flex-end !important;
    padding: 20px 22px 26px !important;
    min-height: 420px !important;
    gap: 10px !important;
  }
  /* Remove the auto-margin push on trust pill — flex-end handles it now */
  .hero-inner .trust-row {
    margin: 8px 0 0 !important;
  }
  /* Slight tightening on stacked elements */
  .hero-title { margin: 0 !important; line-height: 1.1 !important; }
  .hero-sub { margin: 2px 0 0 !important; }
  .hero-left .btn-primary { margin: 10px 0 0 !important; }

  /* 3. Categories section overlaps the bottom of hero by ~10% */
  .categories-section {
    margin-top: -60px !important;
    position: relative;
    z-index: 3;
    padding-top: 0 !important;
  }
  .categories-section .categories-card {
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding-top: 24px;
    box-shadow: 0 -10px 28px rgba(0,0,0,0.08);
  }
}

/* ====================================================
   HEADER Category dropdown
   ==================================================== */
.nav-cat-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-cat-trigger {
  display: inline-flex; align-items: center;
  background: transparent; border: none;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink, #111);
  padding: 6px 0;
  cursor: pointer;
  gap: 4px;
}
.nav-cat-trigger:hover { color: var(--green, #1e5b3a); }

/* Panel — first-level parent categories */
.nav-cat-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line, #e8e0d5);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 60;
}
.nav-cat-drop.is-open .nav-cat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-cat-item { position: relative; }
.nav-cat-parent {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px; color: var(--ink, #111);
  text-decoration: none;
  transition: background 0.15s;
  gap: 12px;
}
.nav-cat-parent:hover, .nav-cat-item:hover > .nav-cat-parent { background: var(--cream, #f7f0e6); color: var(--green, #1e5b3a); }

/* Second-level submenu — reveals on hover.
   The parent item gets right-padding so hover doesn't break between
   parent and sub, and the sub is positioned flush (no margin gap). */
.nav-cat-item { padding-right: 0; }
.nav-cat-sub {
  position: absolute;
  top: -6px; left: 100%;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line, #e8e0d5);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 1001;
}
/* Invisible bridge so the mouse can travel from parent to sub without a hover gap */
.nav-cat-sub::before {
  content: '';
  position: absolute;
  top: 0; left: -10px;
  width: 12px; height: 100%;
}
.nav-cat-item:hover > .nav-cat-sub,
.nav-cat-item.is-hover > .nav-cat-sub {
  opacity: 1; pointer-events: auto;
}
.nav-cat-sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink, #111);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cat-sub a:hover { background: var(--cream, #f7f0e6); color: var(--green, #1e5b3a); }

/* Mobile — dropdown becomes tap-open, submenu stacks */
@media (max-width: 900px) {
  .nav-cat-drop { display: none; }   /* Use drawer version on mobile */
}

/* Drawer nested categories (mobile) */
.drawer-cat > summary,
.drawer-cat-parent > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #111);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-cat > summary::-webkit-details-marker,
.drawer-cat-parent > summary::-webkit-details-marker { display: none; }
.drawer-cat > summary::after,
.drawer-cat-parent > summary::after {
  content: '›';
  font-size: 20px; color: var(--ink-dim, #757575);
  transition: transform 0.15s;
}
.drawer-cat[open] > summary::after,
.drawer-cat-parent[open] > summary::after { transform: rotate(90deg); }
.drawer-cat > summary:hover,
.drawer-cat-parent > summary:hover { background: var(--cream, #f7f0e6); }
.drawer-cat-body { padding-left: 8px; }
.drawer-cat-parent > summary a { color: inherit; text-decoration: none; flex: 1; }
.drawer-cat-sub {
  padding: 4px 0 8px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.drawer-cat-sub a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px; color: var(--ink-dim, #757575);
  text-decoration: none;
}
.drawer-cat-sub a:hover { background: var(--cream, #f7f0e6); color: var(--green, #1e5b3a); }

/* ====================================================
   Mobile drawer polish — matches header look
   ==================================================== */
.drawer {
  padding: 0 !important;
  width: 300px !important;
  max-width: 88vw !important;
}
.drawer-head {
  padding: 20px 22px 18px !important;
  background: rgba(246, 239, 230, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
}
.drawer-nav {
  padding: 14px 10px !important;
  gap: 2px !important;
}
.drawer-nav > a {
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--ink, #111) !important;
}
.drawer-nav > a:hover { background: var(--cream, #f7f0e6) !important; }
.drawer-nav > a[data-guestonly] {
  background: #111 !important;
  color: #fff !important;
  margin: 8px 8px !important;
  text-align: center;
  justify-content: center;
  border-radius: 100px !important;
  padding: 12px 20px !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}
.drawer-nav > a[data-authonly] { color: var(--green, #1e5b3a) !important; font-weight: 600 !important; }
.drawer-foot {
  border-top: 1px solid var(--line, #e8e0d5) !important;
  padding: 14px 22px !important;
  background: var(--cream, #f7f0e6);
}
/* Nested category drop-details in drawer sits flush */
.drawer-cat, .drawer-cat-parent { border-radius: 10px; }
.drawer-cat > summary {
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
.drawer-cat[open] > summary { background: var(--cream, #f7f0e6) !important; }

/* ====================================================
   GLOBAL TEXT SAFETY — prevent overflow across the whole UI
   Fluid typography — scales with screen size
   ==================================================== */

/* 1. No horizontal overflow anywhere by default */
html, body { overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }

/* 2. Long words (emails, URLs, product SKUs) wrap instead of overflowing */
p, span, strong, label, small, a, li, td, th, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
/* But don't break inside spec-key/nav rows we want on one line */
.main-nav a, .drawer-nav > a, .btn, .header-signin, .cart-badge, .drawer-badge, .brand, .brand-word {
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;
}

/* 3. Fluid typography — scales from mobile to desktop */
:root {
  --fs-sm: clamp(11px, 2.6vw, 12.5px);
  --fs-body: clamp(13px, 2.9vw, 14.5px);
  --fs-md: clamp(14px, 3.1vw, 16px);
  --fs-lg: clamp(18px, 4vw, 22px);
  --fs-xl: clamp(22px, 5vw, 28px);
  --fs-hero: clamp(28px, 6.5vw, 48px);
}
body { font-size: var(--fs-body); }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
small { font-size: var(--fs-sm); }

/* 4. Profile row — email etc. must stay inside its cell */
.acct-row {
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr) !important;
}
.acct-row label,
.acct-row span {
  min-width: 0 !important;
  max-width: 100%;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.acct-row span { font-size: var(--fs-body) !important; }

/* Mobile profile row: label stacks above value so long emails have room */
@media (max-width: 640px) {
  .acct-row {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    padding: 10px 0 !important;
  }
  .acct-row label { margin-bottom: 2px !important; }
  .acct-row span { font-size: 14px !important; }
}

/* 5. Common overflow safety on cards and grid children */
.card, .acct-panel, .co-panel, .cart-summary, .pdx-info, .sup-card, .od-card,
.form-field, .filter-card {
  min-width: 0;
}
.form-field input, .form-field select, .form-field textarea,
.rev-field input, .rev-field textarea,
.sup-field input, .sup-field textarea {
  max-width: 100%;
  box-sizing: border-box;
}

/* 6. Table cells wrap gracefully */
table.tbl td, table.tbl th, table.pdx-specs-tbl td { overflow-wrap: anywhere; word-break: break-word; }

/* ====================================================
   Mobile drawer v2 — nav-cat.js renders links here.
   Divided rows, nested categories, version pinned to bottom.
   ==================================================== */
.drawer {
  display: flex !important;
  flex-direction: column !important;
}
.drawer-nav {
  padding: 4px 0 !important;
  gap: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
}
.drawer-nav .dr-link,
.drawer-nav .dr-cat > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 15px 22px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
  font-size: 15px !important;
  color: var(--ink, #111) !important;
  text-decoration: none !important;
  background: transparent !important;
  cursor: pointer !important;
  list-style: none !important;
  transition: background 0.15s;
}
.drawer-nav .dr-link:hover,
.drawer-nav .dr-cat > summary:hover { background: var(--cream, #f7f0e6) !important; }
.drawer-nav .dr-link-accent { color: var(--green, #1e5b3a) !important; font-weight: 600 !important; }

/* Section label between plain links and nested categories */
.drawer-nav .dr-section-label {
  padding: 14px 22px 6px !important;
  font-size: 10.5px !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: var(--ink-dim, #888) !important;
  background: var(--cream, #f7f0e6) !important;
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
  font-weight: 600 !important;
}

/* Nested category accordion */
.drawer-nav .dr-cat > summary::-webkit-details-marker { display: none !important; }
.drawer-nav .dr-cat > summary::marker { content: '' !important; }
.drawer-nav .dr-cat-chev {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
  color: var(--ink-dim, #888);
}
.drawer-nav .dr-cat[open] > summary .dr-cat-chev { transform: rotate(180deg); }
.drawer-nav .dr-cat[open] > summary { background: var(--cream, #f7f0e6) !important; }
.drawer-nav .dr-cat-body {
  display: flex;
  flex-direction: column;
  background: #fbf7f0;
  border-bottom: 1px solid var(--line, #e8e0d5);
}
.drawer-nav .dr-cat-body a {
  padding: 12px 22px 12px 42px !important;
  font-size: 13.5px !important;
  color: var(--ink-dim, #555) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(232, 224, 213, 0.6) !important;
  transition: background 0.15s;
}
.drawer-nav .dr-cat-body a:last-child { border-bottom: none !important; }
.drawer-nav .dr-cat-body a:hover { background: #f0e9db !important; color: var(--green, #1e5b3a) !important; }
.drawer-nav .dr-cat-body .dr-cat-all {
  color: var(--green, #1e5b3a) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding-left: 42px !important;
}

/* Version pinned at the very bottom */
.drawer-nav .dr-version {
  margin-top: auto !important;
  padding: 14px 22px !important;
  font-size: 11px !important;
  color: var(--ink-dim, #999) !important;
  text-align: right !important;
  border-top: 1px solid var(--line, #e8e0d5) !important;
  background: var(--cream, #f7f0e6) !important;
  letter-spacing: 0.5px !important;
}
.drawer-nav .dr-version:empty { display: none !important; }

/* ====================================================
   Mobile drawer v3 — slide-panel drill-down
   Main list + one sub-panel per category, translate on X
   ==================================================== */
.drawer-nav {
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;   /* clip the sliding sub-panels */
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Main list — shifts left when a sub is drilled into */
.drawer-nav .dr-main {
  position: absolute; inset: 0;
  overflow-y: auto;
  transform: translateX(0);
  transition: transform 0.28s ease;
  background: #fff;
  padding-bottom: 60px;   /* leave room for the version strip */
}
.drawer-nav.dr-drilled .dr-main { transform: translateX(-100%); }

/* Sub-panels sit off-screen to the right, slide in when active */
.drawer-nav .dr-subpanel {
  position: absolute; inset: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  background: #fff;
  padding-bottom: 60px;
  visibility: hidden;
}
.drawer-nav .dr-subpanel.is-active {
  transform: translateX(0);
  visibility: visible;
}

/* All rows — plain link OR category button — share the same look */
.drawer-nav .dr-link,
.drawer-nav .dr-cat-btn {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 15px 22px !important;
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  font-family: inherit !important;
  color: var(--ink, #111) !important;
  text-decoration: none !important;
  background: transparent !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: background 0.15s;
}
.drawer-nav .dr-link:hover,
.drawer-nav .dr-cat-btn:hover { background: var(--cream, #f7f0e6) !important; }
.drawer-nav .dr-link-accent { color: var(--green, #1e5b3a) !important; font-weight: 600 !important; }

.drawer-nav .dr-chev-right {
  width: 16px; height: 16px;
  color: var(--ink-dim, #888);
}

/* Section label */
.drawer-nav .dr-section-label {
  padding: 14px 22px 6px !important;
  font-size: 10.5px !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: var(--ink-dim, #888) !important;
  background: var(--cream, #f7f0e6) !important;
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
  font-weight: 600 !important;
}

/* Back button on sub-panels */
.drawer-nav .dr-back {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 15px 22px !important;
  border: none !important;
  border-bottom: 1px solid var(--line, #e8e0d5) !important;
  background: var(--cream, #f7f0e6) !important;
  color: var(--green, #1e5b3a) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  font-family: inherit !important;
  cursor: pointer !important;
  text-align: left !important;
}
.drawer-nav .dr-back svg { width: 16px; height: 16px; }
.drawer-nav .dr-back:hover { background: #eee5d5 !important; }

/* Version pinned bottom-right, sits on top of any panel */
.drawer-nav .dr-version {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 22px !important;
  font-size: 11px !important;
  color: var(--ink-dim, #999) !important;
  text-align: right !important;
  border-top: 1px solid var(--line, #e8e0d5) !important;
  background: var(--cream, #f7f0e6) !important;
  letter-spacing: 0.5px !important;
  z-index: 3;
  pointer-events: none;
}
.drawer-nav .dr-version:empty { display: none !important; }

/* ====================================================
   GLOBAL RESPONSIVE HARDENING (v36)
   Fires last — wins over any earlier layout rules.
   ==================================================== */

/* No horizontal scroll on ANY page, ever */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
* {
  /* Prevent any element pushing beyond viewport */
  max-width: 100%;
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Every flex + grid child gets min-width: 0 so text can wrap
   instead of forcing the container to grow */
main *, section *, article *, aside *, header *, footer * {
  min-width: 0;
}
/* Except things that are ALLOWED to be wider (marquees, icons, etc.) */
.velm-announce-track,
.velm-announce-track span,
.icon-btn,
.btn,
.social-btn,
.header-signin,
.cart-badge,
.brand-icon,
.brand-word {
  min-width: 0; max-width: none;
}
.velm-announce-track { max-width: none !important; }
.velm-announce-track span { max-width: none !important; }

/* Prevent tables from breaking mobile layout */
table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Anything using CSS Grid without explicit column count on mobile collapses.
   We only target classes literally starting with "grid-" (e.g. "grid-2") —
   NOT ".cat-row", ".shop-grid", ".arrivals-row", ".products-grid" or the
   admin form-grid, all of which manage their own layout via auto-fit. */
@media (max-width: 640px) {
  [class^="grid-"], [class*=" grid-"] { grid-template-columns: 1fr !important; }
}

/* ====================================================
   SHOP-BY-CATEGORY — auto-fit hardening (v37)
   Overrides older breakpoint rules that force column counts.
   ==================================================== */
.cat-row {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  justify-content: center !important;
}
@media (max-width: 480px) {
  .cat-row {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (max-width: 360px) {
  .cat-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .cat-img { width: 80px !important; }
}
.cat small { display: none !important; }
