/* Self-hosted brand fonts (SIL Open Font License, see assets/fonts) */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jost-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }

/* Embersoul — sacred essentials & Vedic remedies
   Brand palette: Soul Plum, Ember Gold, Temple Ivory (Embersoul Brand Colour Palette).
   Layout: centred 1280px container; Temple Ivory page, Sandalwood / Lotus Blush alternate sections,
   Soul Plum brand bands; gold is the spark (one highlight per view). */
:root {
  --plum: #5B2A48;        /* Soul Plum (plum-700): bands, primary buttons, links, footer */
  --ink: #3A1A2E;         /* Deep Plum (plum-900): body text and headings on light grounds */
  --midnight: #24121D;    /* Midnight Plum (plum-950): darkest ground, top bar */
  --rose: #8A4F72;        /* Rose Plum (plum-500): hover state of plum surfaces */
  --mauve: #C49AB3;       /* Mauve (plum-300): dividers on plum */
  --blush: #EEDFE7;       /* Lotus Blush (plum-100): soft section backgrounds */
  --gold: #D2A75C;        /* Ember Gold (gold-500): accent buttons, badges, gold on plum */
  --glow: #E3BF7D;        /* Halo Gold (gold-300): headlines and lines on plum */
  --champagne: #F5D99E;   /* Champagne (gold-100): light gold fields, offer stickers */
  --antique: #835A22;     /* Temple Gold (gold-800): the only gold for small text on light grounds, prices */
  --antique-lg: #B57C3B;  /* Antique Gold (gold-600): 24px+ headings, icons and rules on ivory */
  --ivory: #FCF8F1;       /* Temple Ivory: page background */
  --sand: #F4EADB;        /* Sandalwood: alternate sections, cards on ivory */
  --muted: #6B4A5D;       /* secondary text on light grounds (Deep Plum tint, 6.4:1 on ivory) */
  --line: #EADCC8;        /* fine Sandalwood hairlines and card outlines */
  --field: #A98597;       /* input borders */
  --on-plum: #F2E8ED;     /* body text on plum */
  --plum-line: #7A3F62;   /* rules on plum */
  --white: #FFFFFF;       /* product cards */
  --success: #3F6B4E;     /* Tulsi Green: success, in stock */
  --alert: #A8362B;       /* Sindoor Red: errors, sold out, festival sale tags only */
  --gold-grad: linear-gradient(100deg, #B57C3B, #D2A75C 40%, #F5D99E 70%, #D2A75C);

  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --gutter: clamp(16px, 3vw, 24px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; } /* filters, empty states and menus hide items with the hidden attribute */
a { color: var(--plum); }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--plum); color: var(--glow); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 900px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 88px); }
.band-plum { background: var(--plum); color: var(--ivory); }
.band-ivory { background: var(--sand); }
.band-cream { background: var(--blush); }

/* Type */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--antique); }
.band-plum .eyebrow { color: var(--glow); }
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; }
.h1 { font-size: clamp(40px, 6vw, 68px); }
.h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
.h3 { font-size: clamp(24px, 2.4vw, 28px); font-weight: 600; line-height: 1.2; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.band-plum .lead { color: var(--on-plum); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head .text-link { font-weight: 600; font-size: 15px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--champagne); color: var(--ink); }
.btn-navy { background: var(--ink); color: var(--champagne); }
.btn-navy:hover { background: var(--midnight); color: var(--champagne); }
.btn-blue { background: var(--plum); color: var(--white); }
.btn-blue:hover { background: var(--rose); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--ivory); }
.btn-outline-gold { background: transparent; color: var(--glow); border-color: var(--glow); }
.btn-outline-gold:hover { background: var(--glow); color: var(--ink); }
.btn-outline-blue { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline-blue:hover { background: var(--plum); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Placeholder imagery */
.ph { background-color: var(--sand); background-image: repeating-linear-gradient(135deg, rgba(58,26,46,.05) 0 10px, transparent 10px 20px); color: var(--muted); font-size: 14px; display: flex; align-items: flex-end; padding: 16px; border-radius: var(--radius); }
.ph-dark { background-color: #6A3354; background-image: repeating-linear-gradient(135deg, rgba(252,248,241,.06) 0 10px, transparent 10px 20px); color: var(--on-plum); }
.ph-round { border-radius: 50%; border: 2px solid var(--gold); padding: 0; }

/* Top bar + header */
.topbar { background: var(--midnight); color: var(--ivory); font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 9px; }
.topbar strong { color: var(--champagne); font-weight: 500; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand img { height: 60px; width: auto; }
.search { flex: 1 1 320px; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--field); border-right: 0; border-radius: 999px 0 0 999px; padding: 0 20px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.search button { width: 56px; height: 48px; border: 0; border-radius: 0 999px 999px 0; background: var(--plum); color: var(--glow); cursor: pointer; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; border-radius: 50%; text-decoration: none; }
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.cart-count[data-count="0"] { display: none; }
.header-actions .btn { margin-left: 8px; }
.menu-toggle { display: none; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0 auto; padding-block: 0; padding-inline: var(--gutter); display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; font-weight: 500; }
.main-nav a { display: block; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--gold); }

@media (max-width: 900px) {
  .search { order: 3; flex-basis: 100%; }
  .header-main { flex-wrap: wrap; }
  .brand img { height: 48px; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-media { min-height: 420px; border-radius: var(--radius-lg); }
.page-hero .container-narrow { padding-block: clamp(56px, 8vw, 88px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }

/* Golden page hero (About, Contact) */
.page-hero { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(227,191,125,.20) 0%, rgba(227,191,125,0) 70%),
              radial-gradient(ellipse 60% 50% at 50% 110%, rgba(36,18,29,.55) 0%, rgba(36,18,29,0) 70%),
              var(--plum); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.page-hero::before { inset: clamp(10px, 2vw, 22px); border: 1px solid rgba(227,191,125,.55); }
.page-hero::after { inset: clamp(15px, 2.6vw, 29px); border: 1px solid rgba(227,191,125,.22); }
.hero-mandala { position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); height: auto; transform: translate(-50%, -50%); color: var(--glow); opacity: .16; z-index: -1; animation: mandala-turn 180s linear infinite; }
@keyframes mandala-turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-mark { width: 72px; height: auto; filter: drop-shadow(0 4px 14px rgba(227,191,125,.35)); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--glow); opacity: .7; }
.page-hero h1 { color: var(--ivory); text-shadow: 0 2px 24px rgba(36,18,29,.35); }
.gold-divider { display: flex; align-items: center; gap: 12px; margin-block: -2px 2px; }
.gold-divider span { width: clamp(48px, 10vw, 96px); height: 1px; }
.gold-divider span:first-child { background: linear-gradient(90deg, rgba(227,191,125,0), var(--glow)); }
.gold-divider span:last-child { background: linear-gradient(90deg, var(--glow), rgba(227,191,125,0)); }
.gold-divider i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(227,191,125,.18); }

/* Hero banner slider */
.hero-slider { min-width: 0; }
.slider-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #24121D; box-shadow: 0 18px 40px rgba(36,18,29,.25); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.slide img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(252,248,241,.9); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(58,26,46,.25); }
.slider-btn:hover { background: var(--glow); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 0; padding: 0 6px; border-radius: 999px; background: rgba(58,26,46,.6); }
.slider-dots button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--glow); }
.slider-dots button:not(.slider-pause)::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(252,248,241,.35); transition: width .2s ease, background-color .2s ease; }
.slider-dots button[aria-current="true"]::before { width: 28px; border-radius: 5px; background: var(--gold); }
.slider-pause[aria-pressed="true"] svg { opacity: .55; }
@media (max-width: 600px) { .slider-btn { width: 40px; height: 40px; } .slider-btn.prev { left: 8px; } .slider-btn.next { right: 8px; } }

/* Trust strip */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding-block: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--ink); text-decoration: none; font-weight: 600; }
.cat-tile .ph-round { width: 100%; aspect-ratio: 1; max-width: 100%; transition: transform .2s ease; }
.cat-tile:hover .ph-round { transform: scale(1.03); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--field); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; }
.pill:hover { border-color: var(--plum); color: var(--ink); }
.pill.is-active, .pill[aria-pressed="true"] { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.pill-soft { background: var(--sand); }

/* Product cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.product-card .ph { position: relative; height: 240px; border-radius: 12px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--plum); color: var(--champagne); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.product-card .cat { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--antique); }
.product-card h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; }
.product-card .rating { font-size: 14px; color: var(--muted); }
.product-card .buy { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--antique); }

/* Astrologer cards */
.astro-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.astro-head { display: flex; gap: 14px; align-items: center; }
.astro-head .ph-round { width: 68px; height: 68px; flex: none; }
.astro-card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.chip { background: var(--sand); padding: 4px 10px; border-radius: 999px; }
.astro-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step { border-top: 2px solid var(--gold); padding-top: 16px; }
.step .num { font-family: var(--font-display); font-size: 42px; font-weight: 600; line-height: 1; }
.step h3 { margin: 8px 0 4px; font-size: 19px; font-weight: 600; }
.step p { font-size: 15px; color: var(--on-plum); }

/* Kits */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: var(--sand); border-radius: 20px; padding: 18px; align-items: center; }
.kit .ph { height: 220px; border-radius: 14px; }
.festival-strip { margin-top: 24px; background: var(--plum); color: var(--ivory); border-radius: 16px; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; font-size: 15px; }
.festival-strip strong { color: var(--glow); }
.festival-strip a { color: var(--glow); font-weight: 600; margin-left: auto; }
@media (max-width: 520px) { .kit { grid-template-columns: 1fr; } }

/* Guides */
.guide-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.guide-card .ph { height: 200px; border-radius: 14px; }
.guide-card h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.2; }
.guide-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Reviews */
.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-family: var(--font-display); font-size: 22px; font-style: italic; line-height: 1.4; }
.review cite { display: block; margin-top: 12px; font-family: var(--font-body); font-style: normal; font-size: 14px; font-weight: 600; color: var(--antique); }

/* Newsletter */
.newsletter .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { min-width: min(280px, 100%); flex: 1; height: 50px; border: 1px solid var(--field); border-radius: 999px; padding: 0 20px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.form-note { font-size: 14px; color: var(--success); font-weight: 500; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--field); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 28px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-card .full { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; }
@media (max-width: 560px) { .form-card { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--plum); color: var(--on-plum); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-block: 64px 32px; }
.footer-grid h2 { margin: 0 0 12px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--glow); letter-spacing: 0.02em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--on-plum); text-decoration: none; }
.footer-grid a:hover { color: var(--champagne); text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { width: 160px; }
.footer-bottom { border-top: 1px solid var(--plum-line); padding-block: 18px 32px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Product page */
.breadcrumb { font-size: 14px; color: var(--muted); padding-top: 20px; }
.breadcrumb a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; padding-block: 24px 64px; }
.gallery-main { height: 540px; border-radius: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.thumbs button { aspect-ratio: 1; border-radius: 10px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.thumbs button[aria-pressed="true"] { border-color: var(--plum); }
.pdp-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.price-row .price { font-size: 32px; }
.mrp { color: var(--muted); text-decoration: line-through; }
.tax { font-size: 14px; color: var(--success); font-weight: 600; }
.energise { background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1 1 170px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--field); border-radius: 999px; height: 50px; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 20px; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty output { width: 32px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pin-form { display: flex; gap: 10px; align-items: flex-end; }
.pin-form .field { flex: 1; }
.assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; text-align: center; }
.assurances div { background: var(--sand); border-radius: 10px; padding: 12px 8px; }
.ask-box { background: var(--plum); color: var(--ivory); border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ask-box strong { color: var(--glow); }
.ask-box p { font-size: 15px; color: var(--on-plum); }
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs [role="tab"] { min-height: 48px; padding: 0 18px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { padding-block: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }
.tab-panel ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fbt { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.fbt-item { background: var(--white); border-radius: 14px; padding: 12px; width: 180px; font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.fbt-item .ph { height: 130px; border-radius: 10px; }
.fbt .plus { font-size: 28px; color: var(--antique); }
.fbt-total { margin-left: auto; display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
@media (max-width: 560px) { .assurances { grid-template-columns: 1fr; } .two-col { grid-template-columns: 1fr; } .gallery-main { height: 360px; } .fbt-total { margin-left: 0; } }

/* Shop page */
.shop-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-block: 32px 80px; }
.filters { flex: 1 1 240px; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.filters h2 { margin: 0; font-size: 15px; font-weight: 600; }
.filters fieldset { display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--antique); margin-bottom: 8px; }
.filters label { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); }
.shop-results { flex: 999 1 560px; min-width: 0; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.results-bar select { min-height: 44px; border: 1px solid var(--field); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.empty-state { padding: 40px; text-align: center; border: 1px dashed var(--field); border-radius: var(--radius); color: var(--muted); }

/* About page */
.promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; } }
/* About story photo */
.story-photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(58,26,46,.18); min-width: 0; }
.story-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 58% 50%; display: block; }
.quality-photo img { min-height: 300px; aspect-ratio: 16 / 9; object-position: 60% 50%; }
@media (max-width: 760px) { .story-photo img { min-height: 0; aspect-ratio: 3 / 2; } }

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-block: 44px; }
.creds .big { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1.1; }
.offer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.offer-card .ph-round { width: 56px; height: 56px; }
.offer-card h3 { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 600; }
.offer-card p { font-size: 15px; color: var(--muted); }
.purity { grid-column: 1 / -1; background: var(--sand); border-radius: 22px; padding: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: center; }
.promise-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.promise-card h3 { margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.promise-card p { color: var(--muted); }
.tagline { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--antique); }
address { font-style: normal; display: flex; flex-direction: column; gap: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 600; cursor: pointer; list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: 14px 22px; border-radius: 999px; font-size: 15px; box-shadow: 0 10px 30px rgba(58,26,46,.25); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 200; max-width: calc(100% - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--champagne); }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(58,26,46,.25); text-decoration: none; }
.wa-float:hover { background: var(--champagne); color: var(--ink); }

/* Map */
.map-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); min-width: 0; }
.map-card iframe { flex: 1; width: 100%; min-height: 220px; border: 0; display: block; }
.map-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--white); font-size: 14px; }
.site-footer .footer-brand a { color: var(--on-plum); }
.site-footer .footer-brand a:hover { color: var(--champagne); }

/* Top bar social icons */
.topbar .container { align-items: center; }
.topbar-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.topbar-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; transition: transform .15s ease; }
.topbar-social a:hover { transform: translateY(-1px); }
.topbar-social svg { width: 22px; height: 22px; display: block; }

/* ---------- Cart & checkout ---------- */
.toast.is-visible { pointer-events: auto; }
.toast a { color: var(--champagne); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-hero-compact .container-narrow { padding-block: clamp(40px, 6vw, 64px); gap: 14px; }
.text-link { color: var(--plum); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-block { width: 100%; justify-content: center; }
.checkout-steps { list-style: none; margin: 0 auto clamp(28px, 4vw, 44px); padding: 0; display: flex; justify-content: center; gap: clamp(8px, 3vw, 40px); counter-reset: none; flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.checkout-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 13px; }
.checkout-steps li + li::before { content: ""; width: clamp(16px, 4vw, 48px); height: 1px; background: var(--glow); margin-right: clamp(0px, 1vw, 8px); }
.checkout-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.checkout-steps li[aria-current="step"] span { background: var(--plum); border-color: var(--plum); color: var(--champagne); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-layout[hidden], .cart-empty[hidden], .order-confirmed[hidden] { display: none; }
.cart-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 88px; height: 88px; border-radius: 14px; display: block; padding: 0; }
.cart-info h3 { font-family: var(--font-display, 'Cormorant Garamond', serif); font-size: 22px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.cart-info p { margin: 2px 0; }
.cart-actions { display: flex; align-items: center; gap: 18px; }
.cart-actions .qty { height: 44px; }
.cart-actions .qty button { height: 42px; width: 40px; }
.cart-line { min-width: 84px; text-align: right; font-weight: 600; margin: 0; }
.cart-remove { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 4px; min-height: 44px; }
.cart-remove:hover { color: var(--alert); }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; position: sticky; top: 160px; box-shadow: 0 12px 40px rgba(91,42,72,.07); }
.summary-card h2 { font-size: 26px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sum-rows { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; margin: 0; font-size: 15px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { margin: 0; padding-left: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.sum-rows [hidden] { display: none; }
.sum-rows .sum-total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 18px; }
.pay-accept { margin: 0; text-align: center; }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; }
.order-line .price { white-space: nowrap; font-weight: 500; }
.cart-empty, .order-confirmed { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(24px, 5vw, 48px) 0; }
.checkout-form { display: grid; gap: 20px; }
.checkout-form fieldset.form-card { margin: 0; min-width: 0; }
.co-legend { grid-column: 1 / -1; float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 4px; }
.co-legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: var(--champagne); display: grid; place-items: center; font-family: 'Jost', sans-serif; font-size: 14px; }
.field input:user-invalid, .field select:user-invalid { border-color: var(--alert); }
.pay-grid { display: grid; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--ivory); transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: var(--field); }
.pay-option.is-selected, .pay-option:has(input:checked) { border-color: var(--plum); background: var(--blush); box-shadow: inset 0 0 0 1px var(--plum); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; margin: 0; }
.pay-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pay-text strong { font-weight: 600; color: var(--ink); }
.pay-fee { font-weight: 600; font-size: 14px; white-space: nowrap; }
.pay-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pay-tags i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.secure-note { margin: 4px 0 0; }
.confirm-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--champagne); background: var(--plum); box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px var(--glow); }
.demo-note { background: var(--sand); border: 1px dashed var(--antique); color: var(--antique); border-radius: 12px; padding: 10px 16px; font-size: 14px; margin: 0; }
.demo-note[hidden] { display: none; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 600px) {
  .cart-row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-actions { grid-column: 1 / -1; justify-content: space-between; }
  .pay-tags { display: none; }
  .checkout-steps li { font-size: 12px; }
}
.checkout-steps { scroll-margin-top: 170px; }
@media (max-width: 600px) { .checkout-steps li + li::before { display: none; } .checkout-steps { gap: 14px; } }

/* Top bar: Track Orders + currency picker (sits before the social icons) */
.topbar { position: relative; z-index: 70; }
.topbar-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.topbar-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); text-decoration: none; }
.topbar-link svg { width: 20px; height: 20px; }
.topbar-link:hover, .currency-btn:hover { color: var(--champagne); }
.topbar-sep { width: 1px; height: 20px; background: rgba(252, 248, 241, .28); }
.currency { position: relative; }
.currency-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 2px; background: none; border: 0; color: var(--ivory); font: inherit; font-weight: 500; letter-spacing: .02em; cursor: pointer; }
.currency-btn .chev { width: 16px; height: 16px; transition: transform .15s ease; }
.currency-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.flag { width: 24px; height: 18px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.currency-menu { position: absolute; right: 0; top: calc(100% + 10px); width: min(600px, calc(100vw - 32px)); background: var(--white); border-radius: 14px; box-shadow: 0 18px 44px rgba(36, 18, 29, .22), 0 0 0 1px rgba(36, 18, 29, .06); padding: 14px; }
.currency-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; }
.currency-menu button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.currency-menu .flag { width: 34px; height: 24px; }
.currency-menu button:hover { background: var(--sand); }
.currency-menu button[aria-pressed="true"] { background: var(--blush); color: var(--plum); font-weight: 600; }
@media (max-width: 760px) {
  .topbar .container { position: relative; }
  .topbar-right { gap: 10px; }
  .currency { position: static; }
  .currency-menu { left: var(--gutter); right: var(--gutter); width: auto; top: calc(100% - 2px); }
  .currency-menu ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .currency-menu button { padding: 9px 10px; gap: 10px; }
  .currency-menu .flag { width: 28px; height: 20px; }
}
@media (max-width: 420px) { .topbar-link { font-size: 0; gap: 0; } .topbar-link svg { width: 22px; height: 22px; } }

/* Top bar on brand palette: Soul Plum band, Temple Ivory text, Halo Gold accents, Mauve divider */
.topbar { background: var(--plum); color: var(--ivory); }
.topbar-sep { background: var(--mauve); opacity: .6; }
.topbar-link:hover, .currency-btn:hover { color: var(--glow); }
.topbar-social .tile { fill: var(--glow); transition: fill .15s ease; }
.topbar-social .glyph { fill: var(--plum); }
.topbar-social .glyph-line { stroke: var(--plum); }
.topbar-social a:hover .tile { fill: var(--champagne); }

/* Top bar trust line: "Worldwide Fast & Safe Delivery | ISO 9001:2015 Certified" */
.topbar-note { margin: 0; font-size: 14px; letter-spacing: .01em; color: var(--ivory); }
.topbar-note span { white-space: nowrap; }
.topbar-note .sep { display: inline-block; margin: 0 10px; color: var(--mauve); }
@media (max-width: 760px) { .topbar-note { width: 100%; text-align: center; font-size: 13px; } .topbar-right { margin-inline: auto; } }
@media (max-width: 440px) { .topbar-note .sep { display: none; } .topbar-note span { display: block; } }

/* Product gallery with real photos and video: whole image shown on a deep plum stage, no cropping */
.gallery-main { position: relative; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--ink); }
.thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.thumbs button { position: relative; overflow: hidden; background: var(--sand); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button[aria-pressed="false"] img { opacity: .78; transition: opacity .15s ease; }
.thumbs button:hover img { opacity: 1; }
.thumb-video::after { content: ""; position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(36, 18, 29, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23E3BF7D'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (max-width: 560px) { .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Product card with a real photo */
.product-card .ph-photo { padding: 0; overflow: hidden; background: var(--ink); }
.product-card .card-img { position: absolute; inset: 0; display: block; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .35s ease; }
.product-card:hover .card-img img { transform: scale(1.04); }
.product-card .ph-photo .badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--champagne); color: var(--plum); box-shadow: 0 2px 8px rgba(36,18,29,.25); }

/* Readability and touch targets (audit fixes) */
.badge, .product-card .cat { font-size: 13px; }
@media (max-width: 600px) { .checkout-steps li { font-size: 13px; } }
@media (max-width: 900px) {
  .topbar-social { gap: 2px; }
  .topbar-social a { width: 40px; height: 40px; }
  .topbar-social svg { width: 24px; height: 24px; }
  .currency-btn { min-height: 40px; }
  .topbar-link { min-height: 40px; min-width: 40px; justify-content: center; }
  .slider-dots button { width: 40px; height: 40px; }
  .filters label { min-height: 40px; }
}
@media (max-width: 900px) { a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding-block: 8px; } }

/* Shop filters fold away on phones and tablets */
.filter-fields { display: flex; flex-direction: column; gap: 22px; }
.filters-actions { display: flex; gap: 8px; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .filters-toggle { display: inline-flex; }
  .filter-fields:not(.is-open) { display: none; }
}

/* Touch-friendly targets (QA pass) */
@media (max-width: 420px) {
  .topbar-link { font-size: 14px; gap: 0; min-height: 32px; }
  .topbar-link .tl-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.product-card { position: relative; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }   /* whole card opens the product */
.product-card .buy .btn, .product-card .card-img { position: relative; z-index: 2; }
.product-card .ph-photo .card-img { position: absolute; }
.product-card:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.text-link { display: inline-block; padding-block: 10px; }
a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding-block: 6px; }

/* Shop by category: photo circles */
.cat-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); background: var(--sand); box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px rgba(210,167,92,.35); transition: transform .2s ease, box-shadow .2s ease; }
.cat-tile:hover .cat-img, .cat-tile:focus-visible .cat-img { transform: scale(1.03); box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold), 0 10px 24px rgba(91,42,72,.14); }

/* About: founder portraits */
.founder-photo { width: 120px; height: 120px; object-fit: cover; display: block; background: var(--sand); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(210,167,92,.35), 0 8px 20px rgba(91,42,72,.10); }
.offer-card .offer-img { width: 96px; height: 96px; object-fit: cover; display: block; background: var(--sand); box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px rgba(210,167,92,.35); }

/* ===== Cart fixes ===== */
[hidden] { display: none !important; }
.price.price-request, .price-request { color: var(--antique); font-size: 15px; font-weight: 500; font-style: italic; }
img.cart-thumb { object-fit: cover; border: 1px solid var(--line); background: var(--sand); }
.cart-line.price { min-width: 84px; text-align: right; }
.request-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--sand); color: var(--antique); }
body:has(#cart-items) .wa-float, body:has(#checkout-form) .wa-float, body:has(#account-app) .wa-float { display: none; }
.saved-addr select { min-height: 48px; }

/* ===== Account: header indicator ===== */
.icon-btn.is-signed-in::after { content: ""; position: absolute; right: 7px; bottom: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--ivory); }

/* ===== Account: sign in / create ===== */
.auth-card { max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(91,42,72,.07); overflow: hidden; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 18px 12px; text-align: center; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.auth-tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); background: var(--ivory); }
.auth-form { padding: clamp(22px, 4vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.auth-form .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--plum); margin: 0; }
.form-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.form-msg.is-err { background: #FBEAEA; color: #8A1F2B; }
.form-msg.is-ok { background: #EAF5EC; color: #1F5F33; }
@media (max-width: 560px) { .auth-form { grid-template-columns: 1fr; } }

/* ===== Account: dashboard tiles ===== */
.acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.acct-tile { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
.acct-tile:hover, .acct-tile:focus-visible { border-color: var(--gold); box-shadow: 0 10px 28px rgba(91,42,72,.10); transform: translateY(-2px); }
.acct-icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); }
.acct-icon svg { width: 40px; height: 40px; }
.i-line { fill: none; stroke: var(--plum); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-gold { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-gold-fill { fill: var(--gold); }
.i-white { fill: var(--white); }
.acct-tile-text { display: flex; flex-direction: column; gap: 4px; }
.acct-tile-text strong { font-size: 19px; font-weight: 600; }
.acct-tile-text span { color: var(--muted); font-size: 15px; }
.acct-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.acct-crumbs { font-size: 15px; margin-bottom: 20px; color: var(--muted); }
.acct-crumbs a { color: var(--plum); font-weight: 500; }
.acct-section { display: grid; gap: 20px; }
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.acct-bar p { margin: 0; }
.inline-select { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.inline-select select { min-height: 44px; border: 1px solid var(--field); border-radius: 999px; padding: 0 16px; font: inherit; background: var(--white); color: var(--ink); }
.acct-empty { text-align: center; padding: 40px 20px; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); display: grid; gap: 14px; justify-items: center; }
.text-btn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--plum); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--rose); }

/* ===== Your Orders ===== */
.order-list { display: grid; gap: 18px; }
.order-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.order-head { display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 14px 22px; background: var(--sand); font-size: 13px; }
.order-head div { display: flex; flex-direction: column; gap: 2px; }
.order-head span { text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 11px; font-weight: 600; }
.order-head strong { font-size: 14px; font-weight: 600; }
.order-head .order-ref { margin-left: auto; }
.order-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; padding: 20px 22px; }
.order-status { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 600; font-size: 17px; color: var(--ink); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.order-items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.order-items li { display: flex; gap: 14px; align-items: center; }
.order-items img, .order-items .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; padding: 0; border: 1px solid var(--line); }
.order-items li div { display: flex; flex-direction: column; gap: 2px; }
.order-actions { display: flex; flex-direction: column; gap: 10px; }
.order-actions .btn { width: 100%; }
.track, .return-box { padding: 0 22px 20px; }
.track-steps { list-style: none; margin: 0 0 8px; padding: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: st; }
.track-steps li { position: relative; padding-top: 26px; text-align: center; font-size: 14px; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--line); z-index: 1; }
.track-steps li::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track-steps li:first-child::after { display: none; }
.track-steps li.is-done { color: var(--ink); font-weight: 600; }
.track-steps li.is-done::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(210,167,92,.25); }
.track-steps li.is-done::after { background: var(--gold); }
@media (max-width: 760px) { .order-body { grid-template-columns: 1fr; } .order-head .order-ref { margin-left: 0; } }

/* ===== Login & security ===== */
.sec-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sec-row { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sec-row:last-child { border-bottom: 0; }
.sec-view { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sec-view div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sec-view strong { font-weight: 600; }
.sec-view span { color: var(--muted); overflow-wrap: anywhere; }
.sec-row .form-card { border: 0; padding: 0; margin-top: 4px; }

/* ===== Payment options ===== */
.acct-section fieldset.form-card { margin: 0; min-width: 0; }
.upi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.upi-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); }
.upi-list li strong { flex: 1; font-weight: 500; overflow-wrap: anywhere; }
.upi-list li.muted { border-style: dashed; background: transparent; }
.upi-chip { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--plum); color: var(--champagne); }
.upi-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.upi-add .field { flex: 1 1 240px; }
.upi-add .btn { min-height: 48px; }

/* ===== Business Analytics ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat strong { font-family: var(--font-body); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.chart-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.chart-card figcaption { font-weight: 600; margin-bottom: 12px; }
.bar-chart svg { width: 100%; height: auto; max-height: 230px; display: block; }
.chart-grid { align-items: start; }
.bar-chart .bar { fill: var(--plum); }
.bar-chart .bar:hover { fill: var(--gold); }
.bar-chart .axis { stroke: var(--line); stroke-width: 1; }
.bar-chart .lbl { font-size: 12px; fill: var(--muted); text-anchor: middle; font-family: var(--font-body); }
.bar-chart .val { font-size: 11px; fill: var(--ink); text-anchor: middle; font-family: var(--font-body); font-weight: 600; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hbars li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.hb-track { height: 12px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.hb-fill { display: block; height: 100%; background: var(--gold-grad); border-radius: 6px; }
.hb-val { font-weight: 600; white-space: nowrap; }

/* ===== Your Addresses ===== */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.addr-card { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 250px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; font: inherit; color: var(--ink); }
.addr-card p { margin: 0; font-size: 15px; }
.addr-card strong { margin-bottom: 4px; }
.addr-card.is-default { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.addr-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--champagne); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.addr-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--line); }
.addr-add { align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--field); background: transparent; cursor: pointer; }
.addr-add:hover { border-color: var(--gold); background: var(--white); }
.addr-add .plus { font-size: 46px; line-height: 1; color: var(--antique); font-weight: 300; }
.addr-form { margin-bottom: 4px; }
.form-card h3.co-legend { margin: 0; float: none; }
.order-head strong, .order-items .small, .hb-val, .sec-view span { font-variant-numeric: lining-nums; }

/* ===== Product page extras (Lavender Oil) ===== */
.pdp-sub { margin: -6px 0 0; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--antique); }
.pdp-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-badges li { padding: 6px 14px; border: 1px solid var(--gold); border-radius: 999px; font-size: 14px; color: var(--ink); background: var(--white); }
.use-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.use-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.spec-list dt { font-weight: 600; color: var(--ink); }
.spec-list dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .spec-list { grid-template-columns: 1fr; gap: 2px; } .spec-list dd { margin-bottom: 10px; } }

/* ===== Astrologer cards ===== */
.astro-head .astro-photo { width: 68px; height: 68px; flex: none; object-fit: cover; display: block; }
.astro-initials { width: 68px; height: 68px; flex: none; display: grid; place-items: center; background: var(--plum); color: var(--champagne); font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.astro-foot:has(> :only-child) { justify-content: flex-start; }
.expert-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
