/* =====================================================================
   AYE NOOR — styles.css
   1) THEME: every color, font and text size lives here. Change it once,
      the whole site updates.
   2) Everything below uses these tokens via var(--name).
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  /* Colors (from the Phase 2 design spec) */
  --paper: #F7F3EE;        /* main page background */
  --white: #FFFFFF;        /* cards, drawer surfaces */
  --ink: #2B211E;          /* primary text, strong buttons */
  --muted: #70645E;        /* secondary text */
  --rose: #C78383;         /* small accents */
  --brass: #B18A59;        /* fine detail only */
  --sage: #65725B;         /* success / in-stock accent */
  --line: #E4D9D1;         /* borders and dividers */

  /* Extra tones used by this design */
  --sand: #F2E9DE;         /* shop section background */
  --cream: #F0E5D7;        /* notes and highlights */
  --story-bg: #E5D5C4;     /* brand story section */
  --story-text: #4F4139;   /* text on the story section */
  --clay: #B87964;         /* decorative stars and glyphs only */
  --accent-text: #9A5F4C;  /* accent color that is dark enough for small text */

  /* Fonts (two families only) */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;

  /* Text sizes: nothing on the site should go below these */
  --fs-label: 11px;        /* small uppercase labels only */
  --fs-small: 13px;        /* captions, notes, secondary text */
  --fs-body: 14px;         /* normal text and navigation */
  --fs-price: 16px;        /* prices */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

/* Keyboard focus: always visible */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; font-size: var(--fs-body); transition: top .15s; }
.skip-link:focus { top: 12px; }

/* ---------- Announcement bar ---------- */
.announcement { min-height: 34px; padding: 6px 16px; background: var(--ink); color: #F5EADE; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; font-size: var(--fs-label); letter-spacing: .16em; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { height: 82px; padding: 0 6.5%; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(247,243,238,.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; font-weight: 700; letter-spacing: .18em; font-size: 18px; white-space: nowrap; }
.wordmark span { font-weight: 400; }
.wordmark small { font-size: 9px; letter-spacing: .27em; margin-top: 4px; color: var(--muted); }
.menu-button { display: none; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: var(--fs-body); }
.main-nav a { transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--accent-text); }
.menu-search { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-search { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--muted); padding: 6px 0; color: var(--muted); }
.header-search span[aria-hidden] { font-size: 24px; line-height: 15px; }
.header-search input, .menu-search input { border: 0; outline: 0; background: transparent; font-size: var(--fs-body); color: var(--ink); }
.header-search input { width: 130px; }
.header-search:focus-within, .menu-search:focus-within { border-bottom-color: var(--ink); }
.header-search input::placeholder, .menu-search input::placeholder { color: var(--muted); }
.cart-button { border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 30px; padding: 0 16px; min-height: 42px; font-size: var(--fs-body); display: inline-flex; align-items: center; }
.cart-button span { display: inline-grid; place-items: center; background: var(--ink); color: var(--white); border-radius: 50%; min-width: 20px; height: 20px; margin-left: 8px; font-size: var(--fs-label); }

/* ---------- Hero ---------- */
.hero { min-height: 565px; padding: 66px 9% 70px; display: grid; grid-template-columns: 1fr .92fr; gap: 40px; align-items: center; overflow: hidden; background: linear-gradient(110deg, var(--paper) 0%, #F9F3E9 55%, #EFE0D0 100%); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: var(--fs-label); letter-spacing: .18em; font-weight: 700; color: var(--accent-text); margin: 0 0 17px; }
.hero h1 { font: 400 clamp(46px, 5.5vw, 76px)/1.06 var(--serif); letter-spacing: -.04em; margin: 0 0 22px; }
.hero h1 em, h2 em { font-weight: 400; color: var(--accent-text); }
.hero-description { max-width: 440px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.dark-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; background: var(--ink); color: #FFFAF4; border: 1px solid var(--ink); padding: 0 22px; min-height: 46px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .03em; transition: background .2s, color .2s; }
.dark-button:hover { background: transparent; color: var(--ink); }
.hero-copy > .dark-button { margin-top: 20px; }
.hero-note { margin-top: 28px; color: var(--muted); font-size: var(--fs-small); }
.tiny-star { color: var(--clay); font-size: 16px; vertical-align: -2px; margin-right: 9px; }

.hero-art { height: 390px; position: relative; max-width: 475px; width: 100%; justify-self: end; background: #E9D8C4; overflow: hidden; }
.sun-disc { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #D4A794; top: 27px; right: 59px; }
.arch { position: absolute; bottom: 0; border-radius: 150px 150px 0 0; }
.arch-back { height: 300px; width: 220px; right: 24px; background: #D7BD9F; }
.arch-front { height: 265px; width: 190px; right: 95px; background: #B5A184; opacity: .65; }
.pedestal { position: absolute; bottom: 0; right: 27px; width: 310px; height: 54px; background: #C5AD94; }
.candle { position: absolute; bottom: 54px; z-index: 3; box-shadow: inset -12px 0 18px #AB8E6B2A, 8px 7px 16px #715A3A20; }
.candle:before { content: ""; position: absolute; top: -7px; left: 0; width: 100%; height: 15px; border-radius: 50%; background: #F9EAD2; border: 1px solid #DFC8A8; }
.candle-tall { right: 128px; width: 96px; height: 184px; border-radius: 8px 8px 13px 13px; background: linear-gradient(90deg, #F8E9CE, #E8D0AD 75%, #D9BD97); }
.candle-small { right: 49px; width: 75px; height: 112px; border-radius: 7px 7px 10px 10px; background: linear-gradient(90deg, #E9B1A0, #CF8D7E 75%, #B97265); }
.candle i { position: absolute; top: -23px; left: 50%; width: 2px; height: 18px; background: #5A4637; transform: translateX(-50%); }
.candle b { position: absolute; top: -34px; left: 50%; width: 11px; height: 16px; border-radius: 70% 25% 60% 25%; transform: translateX(-50%) rotate(4deg); background: #D98C4A; box-shadow: 0 0 15px #F2B7669C; }
.flower { position: absolute; z-index: 4; color: #F8EADD; text-shadow: 0 1px 6px #F8EADD66; }
.flower-one { font-size: 48px; bottom: 130px; right: 205px; transform: rotate(-14deg); }
.flower-two { font-size: 28px; bottom: 82px; right: 218px; color: #D8A39B; }
.art-caption { position: absolute; bottom: 15px; left: 18px; font-size: 10px; letter-spacing: .2em; color: #6F5441; }

/* ---------- Intro strip ---------- */
.intro-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 35px; min-height: 60px; padding: 10px 16px; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-label); font-weight: 600; letter-spacing: .15em; }
.strip-flower { color: var(--clay); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 90px 8%; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-heading h2, .story-section h2 { font: 400 clamp(34px, 4vw, 50px)/1.13 var(--serif); letter-spacing: -.025em; margin: 0; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: var(--fs-body); line-height: 1.7; margin: 0 0 5px; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { border: 0; padding: 0; text-align: left; background: #EDE0D2; position: relative; min-height: 220px; overflow: hidden; display: flex; align-items: flex-end; color: var(--ink); isolation: isolate; }
.category-card:before { content: ""; position: absolute; inset: 0; background: var(--catbg); z-index: -2; transition: transform .5s; }
.category-card:after { content: ""; position: absolute; inset: 20px 20px 45px; border: 1px solid #FFF8; z-index: -1; }
.category-card:hover:before { transform: scale(1.05); }
.category-art { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%); font: 70px var(--serif); color: #FFF9; text-shadow: 0 5px 15px #6F49332C; }
.category-name { display: block; width: 100%; padding: 28px 18px 16px; background: linear-gradient(transparent, #FFFAF2E6); font: 20px var(--serif); color: var(--ink); }

/* Shop */
.shop-section { background: var(--sand); }
.shop-heading { align-items: end; }
.shop-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter-label { font-size: var(--fs-small); color: var(--muted); margin-left: 8px; }
.shop-tools select { background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; padding: 10px 22px 10px 4px; min-height: 42px; font-size: var(--fs-body); color: var(--ink); max-width: 175px; }
.demo-note { font-size: var(--fs-small); color: var(--muted); margin: -10px 0 24px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.product-card { min-width: 0; background: var(--white); border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #715A3A0C; }
.product-visual { position: relative; aspect-ratio: 4/4.2; overflow: hidden; display: grid; place-items: center; background: var(--productbg); }
.product-visual:before { content: ""; position: absolute; width: 68%; height: 70%; border-radius: 48% 48% 6% 6%; background: #FFF3; top: 14%; left: 16%; filter: blur(1px); }
.product-visual:after { content: ""; position: absolute; bottom: 10%; left: 20%; width: 60%; height: 12%; border-radius: 50%; background: #7F59442C; filter: blur(8px); }
.product-glyph { position: relative; z-index: 1; font: clamp(45px, 5vw, 78px) var(--serif); color: var(--glyph); text-shadow: 0 8px 14px #65482B25; }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--white); color: var(--ink); padding: 6px 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-info { padding: 16px 16px 18px; }
.product-category { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-info h3 { font: 400 19px/1.25 var(--serif); margin: 6px 0 8px; }
.product-description { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); min-height: 42px; margin: 0 0 12px; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: var(--fs-price); font-weight: 700; }
.old-price { font-size: var(--fs-small); color: var(--muted); text-decoration: line-through; }
.add-button { width: 100%; margin-top: 14px; padding: 0 10px; min-height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; transition: background .2s, color .2s; }
.add-button:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.add-button:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.empty-state { text-align: center; color: var(--muted); font-size: var(--fs-body); padding: 60px 0; }

/* Brand story */
.story-section { padding: 88px 12%; background: var(--story-bg); display: grid; grid-template-columns: 150px 1fr 70px; gap: 50px; align-items: center; }
.story-mark { width: 130px; height: 160px; border: 1px solid #A98C73; display: grid; place-items: center; font: 46px var(--serif); color: var(--story-text); letter-spacing: .12em; }
.story-section > div:nth-child(2) > p:not(.eyebrow) { max-width: 520px; color: var(--story-text); font-size: 15px; line-height: 1.8; }
.story-section .eyebrow { color: var(--story-text); }
.text-link { display: inline-flex; gap: 18px; border-bottom: 1px solid var(--story-text); padding: 0 0 7px; margin-top: 10px; font-size: var(--fs-body); transition: color .2s; }
.story-spark { font-size: 40px; color: #8E6249; align-self: start; }

/* Footer */
.footer { padding: 42px 8%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer p, .footer-copy { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.footer-text p + p { margin-top: 4px; }
.footer-wordmark { font-size: 15px; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 49; background: #241C17A3; backdrop-filter: blur(2px); }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(440px, 100%); z-index: 50; background: var(--paper); padding: 28px; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s ease; box-shadow: -10px 0 40px #241C1712; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.drawer-header .eyebrow { margin-bottom: 7px; }
.drawer-header h2 { font: 32px var(--serif); margin: 0; }
.close-button { border: 0; background: transparent; font-size: 32px; color: var(--ink); line-height: 1; width: 44px; height: 44px; margin: -8px -10px 0 0; }
.drawer-demo { font-size: var(--fs-small); color: var(--muted); padding: 10px 12px; background: var(--cream); }
.cart-items { flex: 1; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-art { display: grid; place-items: center; background: var(--productbg); font: 26px var(--serif); color: var(--glyph); }
.cart-line h4 { margin: 0 0 5px; font: 16px var(--serif); }
.cart-line small { display: block; color: var(--muted); font-size: var(--fs-small); }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.qty-control button { border: 1px solid var(--muted); background: transparent; color: var(--ink); width: 36px; height: 36px; font-size: 18px; }
.qty-control span { min-width: 22px; text-align: center; font-size: var(--fs-body); }
.remove-line { border: 0; background: transparent; color: var(--accent-text); font-size: var(--fs-small); margin-top: 4px; padding: 8px 0; text-decoration: underline; }
.cart-line-total { font-size: var(--fs-body); font-weight: 700; white-space: nowrap; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.cart-empty span { font-size: 36px; color: var(--clay); }
.cart-empty h3 { font: 24px var(--serif); color: var(--ink); margin-bottom: 0; }
.cart-empty p { font-size: var(--fs-body); }
.cart-footer { border-top: 1px solid var(--line); padding-top: 17px; }
.subtotal-row { display: flex; justify-content: space-between; font-size: var(--fs-price); }
.cart-footer > p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.full-button { display: flex; width: 100%; margin-top: 12px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--white); padding: 14px 22px; font-size: var(--fs-body); z-index: 80; transition: opacity .25s, transform .25s; box-shadow: 0 8px 25px #0002; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet & small laptop ---------- */
@media (max-width: 1000px) {
  .site-header { padding: 0 4%; gap: 18px; }
  .main-nav { gap: 18px; font-size: var(--fs-small); }
  .header-search input { width: 90px; }
  .hero { padding-left: 6%; padding-right: 6%; }
  .section { padding: 75px 6%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 200px; }
  .story-section { padding: 70px 7%; grid-template-columns: 110px 1fr 30px; gap: 30px; }
  .story-mark { width: 100px; height: 130px; }
}

/* ---------- Mobile menu (collapses navigation below 860px) ---------- */
@media (max-width: 860px) {
  .site-header { display: grid; grid-template-columns: 44px 1fr auto; height: 70px; gap: 8px; }
  .menu-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); margin-left: -10px; }
  .wordmark { justify-self: center; font-size: 15px; }
  .wordmark small { font-size: 8px; }
  .header-search { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px 5% 18px; box-shadow: 0 14px 24px #241C171A; font-size: 17px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .menu-search { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 4px; border-bottom: 1px solid var(--muted); color: var(--muted); }
  .menu-search span[aria-hidden] { font-size: 24px; line-height: 15px; }
  .menu-search input { flex: 1; min-width: 0; font-size: 16px; }
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  .announcement { letter-spacing: .1em; }
  .cart-button { padding: 0 14px; }
  .hero { padding: 45px 6% 50px; grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 56px; }
  .hero-art { justify-self: center; width: min(100%, 440px); height: 330px; }
  .sun-disc { width: 180px; height: 180px; right: 47px; }
  .arch-back { height: 255px; width: 190px; }
  .arch-front { height: 230px; width: 160px; right: 80px; }
  .pedestal { width: 270px; }
  .candle-tall { right: 115px; height: 155px; width: 82px; }
  .candle-small { right: 48px; height: 95px; width: 65px; }
  .flower-one { right: 174px; bottom: 115px; }
  .flower-two { right: 184px; }
  .intro-strip { gap: 6px 14px; letter-spacing: .08em; }
  .strip-flower { font-size: 11px; }
  .section { padding: 60px 5%; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .section-heading > p { max-width: 100%; }
  .category-grid { gap: 10px; }
  .category-card { min-height: 175px; }
  .category-art { font-size: 56px; }
  .category-name { font-size: 17px; padding: 24px 12px 12px; }
  .shop-tools { justify-content: flex-start; }
  .shop-tools select { max-width: 150px; }
  .filter-label { margin-left: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { padding: 12px 11px 14px; }
  .product-info h3 { font-size: 17px; }
  .product-description { min-height: 58px; }
  .product-visual { aspect-ratio: 1/1.1; }
  .product-glyph { font-size: 54px; }
  .product-badge { top: 7px; left: 7px; padding: 5px 8px; }
  .story-section { padding: 55px 7%; grid-template-columns: 1fr; gap: 22px; }
  .story-mark { width: 80px; height: 85px; font-size: 32px; }
  .story-spark { display: none; }
  .footer { padding: 35px 6%; align-items: flex-start; flex-direction: column; gap: 12px; }
  .cart-drawer { padding: 22px; }
  .drawer-header h2 { font-size: 28px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 48px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { aspect-ratio: 1.2/1; }
  .product-description { min-height: 0; }
}

/* ---------- Respect "reduce motion" settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .product-card:hover { transform: none; }
}
/* ---------- Step 3: Shop page & Status (404 / 500) ---------- */
.shop-page h1, .status-section h1 { font: 400 clamp(36px, 4.2vw, 54px)/1.12 var(--serif); letter-spacing: -.025em; margin: 0; }
.shop-page h1 em { font-weight: 400; color: var(--accent-text); }
.main-nav a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.inline-underline { text-decoration: underline; color: var(--accent-text); }
.status-section { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.status-message { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.75; margin: 16px 0 26px; }
.status-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---------- Step 4: Product detail page ---------- */
.product-visual-link { display: block; }
.product-title-link:hover { color: var(--accent-text); }
.product-detail-section { padding-top: 42px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

.product-detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; }
.product-stage { position: relative; aspect-ratio: 1 / 1.02; background: var(--productbg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.product-stage::before { content: ""; position: absolute; width: 64%; height: 68%; border-radius: 48% 48% 8% 8%; background: #FFF4; top: 13%; left: 18%; }
.product-stage-glyph { position: relative; z-index: 1; font: clamp(72px, 9vw, 120px) var(--serif); color: var(--glyph); text-shadow: 0 12px 24px #65482B25; }
.product-stage-caption { position: absolute; bottom: 14px; right: 16px; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(247,243,238,.86); padding: 5px 10px; }

.product-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.product-thumb { border: 1px solid var(--line); background: var(--white); padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: border-color .2s, background .2s; }
.product-thumb.active, .product-thumb:hover { border-color: var(--ink); background: var(--cream); }
.thumb-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--productbg); color: var(--glyph); font: 20px var(--serif); }
.thumb-text { font-size: var(--fs-label); color: var(--ink); }

.product-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.product-meta-top .eyebrow { margin: 0; }
.sku-tag { font-size: var(--fs-label); color: var(--muted); letter-spacing: .08em; }
.product-summary h1 { font: 400 clamp(32px, 3.6vw, 46px)/1.12 var(--serif); margin: 0 0 16px; letter-spacing: -.02em; }
.detail-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-price { font-size: 24px; font-weight: 700; }
.detail-old-price { font-size: var(--fs-price); color: var(--muted); text-decoration: line-through; }
.save-pill { background: var(--cream); color: var(--accent-text); font-size: var(--fs-label); font-weight: 600; padding: 4px 9px; letter-spacing: .06em; text-transform: uppercase; }

.stock-pill { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 500; margin: 0 0 18px; color: var(--sage); }
.stock-pill.out-stock { color: var(--accent-text); }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.detail-description { font-size: 15px; line-height: 1.75; color: var(--ink); margin: 0 0 24px; }
.purchase-box { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-qty-wrap { display: flex; flex-direction: column; gap: 6px; }
.detail-qty-wrap .filter-label { margin-left: 0; }
.detail-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--ink); background: var(--white); height: 46px; }
.detail-qty-control button { border: 0; background: transparent; width: 42px; height: 100%; font-size: 18px; color: var(--ink); }
.detail-qty-control input { width: 52px; height: 100%; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.detail-qty-control input::-webkit-outer-spin-button, .detail-qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.detail-add-button { flex: 1; min-width: 200px; }
.detail-demo-note { margin: 14px 0 26px; }

.specs-block h2 { font: 500 18px var(--serif); margin: 0 0 12px; }
.specs-grid { margin: 0 0 26px; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.spec-row dt { color: var(--muted); font-weight: 500; }
.spec-row dd { margin: 0; color: var(--ink); }

.care-block details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.care-block summary { font-weight: 600; font-size: var(--fs-body); cursor: pointer; }
.care-block p { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.7; color: var(--muted); }

@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Step 5: Dedicated Cart Page & Server Cart Quote ---------- */
.thumb-mark { min-width: 44px; width: auto; padding: 0 6px; white-space: nowrap; font-size: 16px; }
.drawer-shipping-banner { font-size: var(--fs-small); color: var(--ink); padding: 10px 12px; background: var(--cream); margin-top: 12px; font-weight: 500; }
.drawer-meta-row { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--muted); margin-top: 6px; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.drawer-actions .full-button { margin-top: 0; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 0 18px; min-height: 46px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; transition: background .2s, color .2s; }
.outline-button:hover { background: var(--ink); color: var(--white); }

.cart-page-section { padding-top: 42px; }
.cart-page-heading h1 { font: 400 clamp(34px, 4vw, 50px)/1.12 var(--serif); margin: 0; letter-spacing: -.025em; }
.cart-page-heading h1 em { font-weight: 400; color: var(--accent-text); }

.cart-page-empty { background: var(--white); border: 1px solid var(--line); padding: 64px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-star { font-size: 36px; color: var(--clay); }
.cart-page-empty h2 { font: 400 28px var(--serif); margin: 0; }
.cart-page-empty p { color: var(--muted); max-width: 420px; margin: 0 0 10px; line-height: 1.6; }

.cart-page-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 40px; align-items: start; }
.cart-table-wrap { background: var(--white); border: 1px solid var(--line); padding: 24px 28px; }
.cart-table-header { display: grid; grid-template-columns: 2.2fr .9fr 1fr .8fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.cart-table-header span:last-child { text-align: right; }

.cart-page-row { display: grid; grid-template-columns: 2.2fr .9fr 1fr .8fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-page-product { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.cart-page-thumb { width: 76px; height: 80px; display: grid; place-items: center; background: var(--productbg); color: var(--glyph); font: 32px var(--serif); border: 1px solid var(--line); }
.cart-page-product h3 { font: 400 18px/1.25 var(--serif); margin: 0 0 4px; }
.cart-page-meta { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.cart-page-unit { display: flex; flex-direction: column; gap: 2px; }
.cart-page-qty { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.cart-page-qty .qty-control { margin-top: 0; }
.stock-hint { font-size: var(--fs-label); color: var(--muted); }
.cart-page-line-total { font-size: var(--fs-price); font-weight: 700; text-align: right; white-space: nowrap; }

.cart-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
.cart-table-footer .demo-note { margin: 0; }
.clear-cart-button { border: 0; background: transparent; color: var(--accent-text); text-decoration: underline; font-size: var(--fs-small); padding: 6px 0; }

.cart-summary-card { background: var(--white); border: 1px solid var(--line); padding: 28px; position: sticky; top: 106px; }
.cart-summary-card h2 { font: 400 26px var(--serif); margin: 0 0 18px; }
.shipping-meter { background: var(--paper); padding: 14px 16px; border: 1px solid var(--line); margin-bottom: 20px; }
.shipping-meter-text { font-size: var(--fs-small); margin: 0 0 10px; color: var(--ink); font-weight: 500; }
.shipping-bar-track { height: 6px; background: var(--line); overflow: hidden; }
.shipping-bar-fill { height: 100%; background: var(--sage); transition: width .3s ease; }

.summary-lines { margin: 0 0 20px; }
.summary-line { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
.summary-line dt { color: var(--muted); }
.summary-line dd { margin: 0; font-weight: 600; color: var(--ink); }
.savings-line dd { color: var(--sage); }
.summary-total { border-bottom: 0; padding-top: 16px; font-size: 18px; }
.summary-total dt, .summary-total dd { color: var(--ink); font-weight: 700; }
.summary-footnote { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; margin: 14px 0 0; }

@media (max-width: 960px) {
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
}

@media (max-width: 680px) {
  .cart-table-wrap { padding: 18px; }
  .cart-table-header { display: none; }
  .cart-page-row { grid-template-columns: 1fr auto; gap: 12px; }
  .cart-page-product { grid-column: 1 / -1; }
  .cart-page-unit { display: none; }
}

/* ---------- Step 6: Static Brand, Help & Policy Pages + Multi-column Footer ---------- */
.page-hero-section { padding-top: 42px; }
.page-hero-section h1 { font: 400 clamp(34px, 4.2vw, 52px)/1.12 var(--serif); margin: 0 0 18px; letter-spacing: -.025em; }
.page-hero-section h1 em { font-weight: 400; color: var(--accent-text); }
.lead-paragraph { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 620px; margin: 0 0 22px; }

.tbd-callout { background: var(--cream); border-left: 3px solid var(--brass); padding: 14px 18px; font-size: var(--fs-small); line-height: 1.65; color: var(--ink); max-width: 620px; }

.about-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.about-emblem-card { background: var(--story-bg); border: 1px solid var(--line); padding: 48px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.emblem-caption { font-size: var(--fs-label); letter-spacing: .2em; color: var(--story-text); margin: 0; font-weight: 600; }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar-card { background: var(--white); border: 1px solid var(--line); padding: 28px 24px; }
.pillar-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--cream); color: var(--accent-text); font: 24px var(--serif); margin-bottom: 16px; }
.pillar-card h3 { font: 400 22px var(--serif); margin: 0 0 10px; }
.pillar-card p { font-size: var(--fs-body); line-height: 1.7; color: var(--muted); margin: 0; }

.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 24px; }
.contact-channel-card { background: var(--white); border: 1px solid var(--line); padding: 18px 20px; }
.contact-channel-card h3 { font: 400 19px var(--serif); margin: 4px 0 6px; }
.contact-channel-card p { font-size: var(--fs-small); line-height: 1.65; color: var(--muted); margin: 0; }

.contact-form-card { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.contact-form-card h2 { font: 400 28px var(--serif); margin: 0 0 8px; }
.contact-form-card .demo-note { margin: 0 0 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { border: 1px solid var(--line); background: var(--paper); padding: 11px 14px; font: inherit; font-size: var(--fs-body); color: var(--ink); border-radius: 0; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; background: var(--white); }
.form-feedback { padding: 12px 14px; font-size: var(--fs-small); margin: 0 0 14px; font-weight: 500; }
.form-feedback.error { background: #F9E5E2; color: #8C3328; border: 1px solid #E4B9B3; }
.form-feedback.success { background: #E7EFE3; color: #3D5233; border: 1px solid #C2D4B9; }

.faq-header { margin-bottom: 32px; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { display: flex; flex-direction: column; gap: 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-category-tag { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.faq-question-text { font: 400 21px/1.3 var(--serif); color: var(--ink); }
.faq-answer { margin: 12px 0 4px; font-size: var(--fs-body); line-height: 1.75; color: var(--muted); max-width: 720px; }
.faq-cta-box { margin-top: 40px; max-width: 820px; background: var(--white); border: 1px solid var(--line); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.faq-cta-box h2 { font: 400 24px var(--serif); margin: 0 0 4px; }
.faq-cta-box p { margin: 0; color: var(--muted); font-size: var(--fs-body); }

.policy-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.policy-sidebar { background: var(--white); border: 1px solid var(--line); padding: 22px; position: sticky; top: 106px; }
.policy-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.policy-nav a { font-size: var(--fs-body); color: var(--muted); padding: 4px 0; }
.policy-nav a:hover, .policy-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.policy-content-card { background: var(--white); border: 1px solid var(--line); padding: 36px 40px; max-width: 820px; }
.policy-updated { font-size: var(--fs-small); color: var(--muted); margin: -8px 0 20px; }
.policy-sections { margin-top: 28px; display: grid; gap: 24px; }
.policy-block h2 { font: 500 20px var(--serif); margin: 0 0 8px; }
.policy-block p { font-size: var(--fs-body); line-height: 1.75; color: var(--muted); margin: 0; }

/* Upgraded Multi-column Footer */
.footer { padding: 56px 8% 36px; border-top: 1px solid var(--line); background: var(--paper); display: block; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand .footer-wordmark { align-items: flex-start; margin-bottom: 12px; }
.footer-tagline { font-size: var(--fs-body); color: var(--ink); line-height: 1.65; max-width: 310px; margin: 0 0 8px !important; }
.footer-tbd { font-size: var(--fs-small); color: var(--muted); max-width: 310px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .15em; color: var(--ink); margin: 0 0 6px; font-weight: 700; }
.footer-col a { font-size: var(--fs-small); color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .about-hero-grid, .contact-layout, .policy-layout { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; }
  .policy-content-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-form-card { padding: 22px 18px; }
}

/* ---------- Fix pack: equal-height product cards (Add to Cart buttons line up) ---------- */
.product-card { display: flex; flex-direction: column; }
.product-info { display: flex; flex-direction: column; flex: 1; }
.product-info .price-row { margin-bottom: 14px; }
.product-info .add-button { margin-top: auto; }

/* ---------- Step 7: Checkout Page & Search Filter Chip ---------- */
.active-search-chip { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); padding: 8px 14px; margin: -6px 0 18px; font-size: var(--fs-small); }
.active-search-chip a { color: var(--accent-text); font-weight: 600; text-decoration: underline; }
.disabled-link { opacity: .5; pointer-events: none; cursor: not-allowed; }

.checkout-page-section { padding-top: 42px; }
.checkout-heading h1 { font: 400 clamp(34px, 4vw, 50px)/1.12 var(--serif); margin: 0; letter-spacing: -.025em; }
.checkout-heading h1 em { font-weight: 400; color: var(--accent-text); }

.checkout-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 40px; align-items: start; }
.checkout-form-card { background: var(--white); border: 1px solid var(--line); padding: 32px 34px; }
.checkout-mode-banner { max-width: 100%; margin-bottom: 26px; }

.checkout-fieldset { border: 0; padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.checkout-fieldset legend { font: 500 22px var(--serif); color: var(--ink); padding: 0; margin-bottom: 16px; }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-hint { font-size: var(--fs-label); color: var(--muted); line-height: 1.4; }
.optional-tag { font-weight: 400; color: var(--muted); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-small); color: var(--ink); cursor: pointer; margin-top: 6px; }
.checkbox-row input { margin-top: 2px; accent-color: var(--ink); width: 16px; height: 16px; }

.payment-options { display: grid; gap: 12px; }
.payment-option-card { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.payment-option-card.enabled { border-color: var(--ink); background: var(--white); }
.payment-option-card.disabled { opacity: .6; cursor: not-allowed; }
.payment-option-card input { margin-top: 3px; accent-color: var(--ink); }
.payment-option-card strong { display: block; font-size: var(--fs-body); margin-bottom: 4px; }
.payment-option-card p { margin: 0; font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }

.checkout-submit-btn { min-height: 50px; font-size: var(--fs-body); }

.checkout-preview-result { background: var(--paper); border: 1px solid var(--sage); padding: 20px 22px; margin-bottom: 18px; }
.checkout-preview-result h3 { font: 500 20px var(--serif); margin: 0 0 6px; color: var(--ink); }
.preview-sub { font-size: var(--fs-small); color: var(--muted); margin: 0 0 14px; }
.preview-dl { margin: 0; display: grid; gap: 8px; font-size: var(--fs-small); }
.preview-dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.preview-dl dt { color: var(--muted); font-weight: 600; }
.preview-dl dd { margin: 0; color: var(--ink); }

.summary-card-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.summary-card-header h2 { margin: 0; }
.checkout-summary-items { border-top: 1px solid var(--line); margin-bottom: 12px; max-height: 320px; overflow-y: auto; }
.checkout-mini-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checkout-mini-art { width: 48px; height: 50px; display: grid; place-items: center; background: var(--productbg); color: var(--glyph); font: 22px var(--serif); border: 1px solid var(--line); }
.checkout-mini-info h4 { font: 400 15px/1.25 var(--serif); margin: 0 0 3px; }
.checkout-mini-info small { font-size: var(--fs-small); color: var(--muted); }
.checkout-mini-total { font-size: var(--fs-small); font-weight: 700; white-space: nowrap; }

@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .checkout-form-card { padding: 22px 18px; }
  .form-row-two { grid-template-columns: 1fr; gap: 0; }
  .preview-dl > div { grid-template-columns: 1fr; gap: 2px; }
}


/* Floating WhatsApp contact button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 19px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #25D366;
  color: #073b20;
  box-shadow: 0 5px 20px rgba(20, 74, 43, .25);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover {
  background: #1fbe5b;
  box-shadow: 0 7px 24px rgba(20, 74, 43, .32);
  transform: translateY(-2px);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--ink, #2d2621);
  outline-offset: 4px;
}
.whatsapp-float-icon { width: 25px; height: 25px; flex: 0 0 25px; }
@media (max-width: 560px) {
  .whatsapp-float {
    right: 15px;
    bottom: max(16px, env(safe-area-inset-bottom));
    min-height: 50px;
    padding: 11px 15px;
    gap: 8px;
    font-size: 13px;
  }
  .whatsapp-float-icon { width: 23px; height: 23px; flex-basis: 23px; }
}

/* ===== VOLUSPA LUXURY THEME OVERRIDES ===== */
:root {
  --paper: #FAF8F5; --ink: #1A1A1A; --muted: #6B655E; --brass: #C5A059;
  --line: #E2DDD5; --cream: #F4F1EA; --sand: #F4F1EA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', Arial, sans-serif;
}
.product-visual { aspect-ratio: 3/4 !important; }
.product-card-photo { object-fit: cover !important; padding: 0 !important; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: 0; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(26,26,26,.08); }
.product-info h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.price { font-family: var(--serif); font-weight: 700; }
.add-button { background: var(--ink); color: var(--white); border-color: var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-label); font-weight: 700; }
.add-button:hover:not(:disabled) { background: var(--brass); border-color: var(--brass); color: var(--white); }
.add-button:disabled { background: var(--line); border-color: var(--line); color: var(--muted); }
.site-header { background: rgba(250,248,245,.95); }
.announcement { background: var(--ink); }

/* ===== VOLUSPA LAYOUT PASS ===== */
.main-nav { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; gap: 34px; }
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.cart-button { border-radius: 0; background: transparent; color: var(--ink); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.cart-button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cart-button:hover span { background: var(--white); color: var(--ink); }

.section { padding: 110px 8%; }
.section-heading { flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 56px; }
.section-heading > p { margin: 0 auto; max-width: 480px; }
.section-heading h2 { letter-spacing: 0; }
.shop-tools { justify-content: center; }
.shop-section { background: #FFFFFF; }
.eyebrow { letter-spacing: .28em; color: var(--brass); }
.intro-strip { background: #FFFFFF; letter-spacing: .2em; }

.product-grid { gap: 44px 26px; }
.product-card { border: 0; background: transparent; text-align: center; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card:hover .product-card-photo { transform: scale(1.04); }
.product-card-photo { transition: transform .6s ease; }
.product-visual { background: var(--cream); }
.product-info { padding: 20px 6px 0; }
.product-category { letter-spacing: .22em; font-size: 10px; display: block; margin-bottom: 8px; }
.product-info h3 { font-size: 22px; font-weight: 500; letter-spacing: 0; }
.product-description { display: none; }
.price-row { justify-content: center; margin: 8px 0 16px; }
.add-button { min-height: 46px; }
.dark-button { border-radius: 0; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }

@media (min-width: 861px) {
  .site-header { height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "nav logo actions"; }
  .main-nav { grid-area: nav; justify-self: start; }
  .main-nav .menu-search { display: none; }
  .wordmark { grid-area: logo; font-size: 26px; }
  .header-actions { grid-area: actions; justify-self: end; }

  .hero { background: #1A1A1A; grid-template-columns: 1fr; text-align: center; min-height: 640px; padding: 130px 8%; justify-items: center; }
  .hero-art { display: none; }
  .hero h1 { color: #FAF8F5; letter-spacing: 0; font-size: clamp(52px, 6vw, 88px); }
  .hero h1 em { color: var(--brass); }
  .hero .eyebrow { color: var(--brass); letter-spacing: .3em; }
  .hero-description { color: #D9D2C7; max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-copy > .dark-button { background: #FAF8F5; color: #1A1A1A; border-color: #FAF8F5; }
  .hero-copy > .dark-button:hover { background: transparent; color: #FAF8F5; }
  .hero-note { color: #B8B0A4; }
}

/* ===== VOLUSPA HOME PAGE ===== */
body { background: #FFFFFF; }
.vl-btn { display: inline-block; padding: 15px 34px; border: 1px solid #FFFFFF; color: #FFFFFF; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.vl-btn:hover { background: #FFFFFF; color: #1A1A1A; }
.vl-btn-dark { border-color: #1A1A1A; color: #1A1A1A; }
.vl-btn-dark:hover { background: #1A1A1A; color: #FFFFFF; }

.vl-quicklinks { display: flex; justify-content: center; gap: 40px; padding: 16px 6%; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; flex-wrap: wrap; }
.vl-quicklinks a:hover { color: var(--brass); }

.vl-hero { min-height: 80vh; display: flex; align-items: center; padding: 0 8%; color: #FFFFFF; background-color: #2A2420; background-image: linear-gradient(rgba(20,16,14,.38), rgba(20,16,14,.38)), var(--hero-img); background-size: cover; background-position: center; }
.vl-hero-inner { max-width: 560px; }
.vl-hero h1 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.15; margin: 0 0 18px; }
.vl-hero p { font-family: var(--serif); font-style: italic; font-size: 22px; margin: 0 0 30px; }

.vl-tagline { text-align: center; padding: 80px 6% 40px; }
.vl-tagline h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 3vw, 36px); margin: 0 0 26px; letter-spacing: 0; }

.vl-carousel { position: relative; padding: 0 6% 90px; }
.vl-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.vl-track::-webkit-scrollbar { display: none; }
.vl-slide { flex: 0 0 calc(25% - 17px); min-width: 250px; scroll-snap-align: start; }
.vl-arrow { position: absolute; top: 35%; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; font-size: 26px; line-height: 1; color: #1A1A1A; }
.vl-arrow:hover { background: #1A1A1A; color: #FFFFFF; }
.vl-prev { left: 2%; }
.vl-next { right: 2%; }

.vl-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.vl-split-img { background-color: var(--cream); background-size: cover; background-position: center; }
.vl-split-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px 10%; background: #FFFFFF; }
.vl-split-text h2 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); margin: 0 0 18px; }
.vl-split-text p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 420px; margin: 0 0 28px; }
.vl-reverse .vl-split-img { order: 2; }

.vl-values { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 70px 6%; border-top: 1px solid var(--line); }
.vl-values h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; margin: 0; }

@media (max-width: 860px) {
  .vl-hero { min-height: 62vh; padding: 0 6%; }
  .vl-split { grid-template-columns: 1fr; }
  .vl-split-img { min-height: 340px; }
  .vl-reverse .vl-split-img { order: 0; }
  .vl-values { grid-template-columns: 1fr; gap: 22px; }
  .vl-slide { flex-basis: 70%; }
  .vl-arrow { display: none; }
}

/* ===== COLLECTION PAGES ===== */
.vl-page-head { text-align: center; padding: 70px 6% 20px; }
.vl-page-head h1 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; font-size: clamp(28px, 4vw, 46px); margin: 0 0 14px; }
.vl-page-blurb { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.vl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 24px 6% 10px; }
.vl-chips a { padding: 10px 18px; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; transition: background .2s, color .2s; }
.vl-chips a:hover, .vl-chips a.is-active { background: #1A1A1A; color: #FFFFFF; border-color: #1A1A1A; }
.vl-collection { padding-top: 40px; }
.vl-empty { text-align: center; color: var(--muted); }

/* ===== LOGO ===== */
.site-logo { height: 58px; width: auto; display: block; }
@media (max-width: 860px) { .site-logo { height: 40px; } }

/* ===== LOGO SIZE FIX ===== */
.wordmark { height: 80px; width: 220px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.site-logo { height: 230px; width: auto; max-width: none; flex: none; }
@media (max-width: 860px) {
  .wordmark { height: 56px; width: 160px; }
  .site-logo { height: 160px; }
}

/* MOBILE_UI_V11 */
.mobile-signin-link { display: none; }
@media (max-width: 860px) {
  html, body { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; position: relative !important; }
  main, .site-header, .announcement, section, footer { max-width: 100vw !important; box-sizing: border-box !important; }
  .announcement { display: block !important; text-align: center !important; font-size: 10.5px !important; line-height: 1.45 !important; padding: 7px 12px !important; }
  .site-header { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto !important; grid-template-areas: "nav logo actions" !important; align-items: center !important; width: 100% !important; padding: 0 12px !important; gap: 6px !important; position: relative !important; }
  .menu-button { grid-area: nav !important; margin-left: 0 !important; }
  .wordmark { grid-area: logo !important; justify-self: center !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  .header-actions { grid-area: actions !important; display: flex !important; align-items: center !important; justify-self: end !important; gap: 4px !important; }
  .header-actions a.cart-button { display: none !important; }
  .cart-button { white-space: nowrap !important; padding: 8px 10px !important; font-size: 11px !important; letter-spacing: .08em !important; }
  .main-nav { z-index: 1000 !important; }
  .main-nav .mobile-signin-link { display: block !important; }
  .vl-quicklinks { display: flex !important; flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; overflow: hidden !important; width: 100% !important; gap: 24px !important; padding: 12px 10px !important; }
  .vl-quicklinks a:nth-child(n+4) { display: none !important; }
  
  /* Premium Mobile Hero Polish */
  .vl-hero {
    padding: 60px 24px !important;
    min-height: 480px !important;
    background-image: linear-gradient(rgba(20, 16, 14, 0.25), rgba(20, 16, 14, 0.55)), var(--hero-img) !important;
    background-position: center center !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .vl-hero-inner {
    max-width: 100% !important;
  }
  .vl-hero h1 {
    font-size: clamp(28px, 7.5vw, 42px) !important;
    letter-spacing: 0.12em !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
  }
  .vl-hero p {
    font-size: 17px !important;
    margin-bottom: 24px !important;
    color: #F3EFEA !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
  }
  .vl-hero .vl-btn {
    display: inline-block !important;
    padding: 12px 28px !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1A1A1A !important;
    border: 1px solid #FFFFFF !important;
  }
}

/* --- Aye Noor: notes + made-to-order --- */
.made-pill{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;padding:6px 14px;border-radius:999px;background:#f4ece3;color:#6b5a4a;margin:0 0 14px}
.detail-note-wrap{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;width:100%}
.detail-note-wrap input,.detail-note-wrap textarea{width:100%;padding:10px;border:1px solid #d6cfc7;border-radius:6px;font:inherit;background:#fff;box-sizing:border-box}
.detail-note-wrap label span,.detail-note-hint{font-weight:400;opacity:.7;font-size:.8rem}
.cart-line-note{font-size:.8rem;opacity:.75;margin:4px 0;font-style:italic}

/* --- Aye Noor: product photos in cart / checkout tiles --- */
.cart-line-art.has-photo,.checkout-mini-art.has-photo,.cart-page-thumb.has-photo{padding:0;overflow:hidden}
.cart-line-art img,.checkout-mini-art img,.cart-page-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
