:root {
  --bg: #f8f7f4;
  --bg-2: #efede8;
  --surface: #ffffff;
  --line: rgba(138, 106, 38, 0.22);
  --text: #2b2118;
  --muted: #6f6253;
  --accent: #8a6a26;
  --gold: #c9a24d;
  --gold-light: #f1d79a;
  --gold-dark: #8a6a26;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 4px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 2em;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  border-radius: var(--radius);
  transition: background .3s, color .3s, border-color .3s, transform .2s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1208; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,162,77,.25); }
.btn-ghost { border: 1px solid var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fffaf0; }
.btn-block { width: 100%; }

/* Announcement + nav */
.announce {
  text-align: center; font-size: .75rem; letter-spacing: .12em;
  padding: .6em 16px; background: var(--gold-dark); color: #fff6e4;
}
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(16px, 4vw, 48px);
  background: rgba(248, 247, 244, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--text); }
.wordmark { font-family: var(--sans); font-weight: 500; font-size: 1.45rem; letter-spacing: .2em; line-height: 1; display: flex; flex-direction: column; }
.wordmark small { font-size: .5rem; letter-spacing: .32em; color: var(--accent); margin-top: .45em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn { position: relative; padding: .5rem; color: var(--accent); }
.cart-count {
  position: absolute; top: -2px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: #1a1208; font-size: .7rem; font-weight: 500;
  display: grid; place-items: center;
}
.menu-btn { display: none; width: 36px; height: 36px; position: relative; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--accent); transition: transform .3s; }
.menu-btn span:first-child { top: 14px; }
.menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem;
  min-height: calc(100vh - 110px);
  padding: 3rem clamp(16px, 4vw, 48px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.halo {
  position: absolute; width: 420px; height: 420px; max-width: 90vw; max-height: 90vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,77,.28), rgba(201,162,77,0) 65%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.08); opacity: .7; } }

/* CSS bottle */
.bottle { position: relative; display: flex; flex-direction: column; align-items: center; --liquid: var(--gold); }
.bottle .cap {
  width: 46%; aspect-ratio: 1.4 / 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(90deg, #6b5120, var(--gold-light) 40%, var(--gold) 60%, #5a431a);
}
.bottle .neck { width: 22%; aspect-ratio: 2 / 1; background: linear-gradient(90deg, #2a221a, #4a3c2c, #2a221a); }
.bottle .glass {
  width: 100%; aspect-ratio: 1 / 1.05; border-radius: 14px;
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255,255,255,.18) 0 8%, transparent 14% 80%, rgba(255,255,255,.08) 88%),
    linear-gradient(180deg, color-mix(in srgb, var(--liquid) 55%, transparent) 0 18%, var(--liquid) 18%, color-mix(in srgb, var(--liquid) 60%, #000) 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 24px rgba(0,0,0,.15), 0 24px 50px rgba(90,67,26,.22);
  display: grid; place-items: center;
}
.bottle .label {
  font-family: var(--serif); letter-spacing: .4em; font-size: 1.1rem; color: #fff7e6;
  border: 1px solid rgba(255,247,230,.5); padding: .6em .9em .6em 1.3em;
  text-align: center; background: rgba(0,0,0,.18);
}
.bottle .label small { display: block; font-size: .6em; letter-spacing: .3em; font-style: italic; margin-top: .3em; }
.bottle-hero { width: 230px; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Strip */
.strip {
  display: grid; grid-template-columns: repeat(var(--strip-cols, 4), 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip div { padding: 1.6rem 16px; text-align: center; display: flex; flex-direction: column; gap: .2rem; }
.strip div + div { border-left: 1px solid var(--line); }
.strip strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--accent); }
.strip span { font-size: .8rem; color: var(--muted); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 7rem clamp(16px, 4vw, 48px); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .lead { margin: 0 auto; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 3rem; }
.chip {
  padding: .5em 1.3em; border: 1px solid var(--line); border-radius: 99px;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--accent); border-color: var(--gold); }
.chip.active { background: var(--gold); color: #1a1208; border-color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem; display: flex; flex-direction: column;
  transition: transform .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,77,.5); }
.card.hidden { display: none; }
.card-visual {
  height: 260px; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: radial-gradient(circle at 50% 60%, rgba(201,162,77,.18), transparent 65%);
}
.card .bottle { width: 130px; transition: transform .5s; }
.card:hover .bottle { transform: scale(1.05) rotate(-2deg); }
.card .bottle .label { font-size: .7rem; padding: .5em .6em .5em 1em; }
.card-tag { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: .3rem 0 .4rem; }
.card-notes { color: var(--muted); font-size: .9rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.price small { font-family: var(--sans); font-size: .75rem; color: var(--muted); margin-left: .3rem; }
.add-btn {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .6em 1.1em; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent);
  transition: all .2s;
}
.add-btn:hover { background: var(--accent); color: #fffaf0; }

/* Story */
.story {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem;
  max-width: var(--max); margin: 0 auto; padding: 6rem clamp(16px, 4vw, 48px);
}
.story-art {
  aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(circle, #fffdf8, var(--bg-2) 75%);
}
.story-emblem { width: 60%; filter: drop-shadow(0 0 40px rgba(201,162,77,.35)); }
.story-text p { color: var(--muted); }
.story-text .btn { margin-top: 1rem; }

/* Notes */
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.note { background: var(--bg); padding: 2.5rem 1.8rem; }
.note-num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.note h3 { margin-top: 1rem; }
.note p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Discovery */
.discovery { background: linear-gradient(135deg, #f4ead8, #fbf7f0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discovery-inner {
  max-width: var(--max); margin: 0 auto; padding: 6rem clamp(16px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem;
}
.discovery-inner p { color: var(--muted); }
.vials { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; }
.vials span {
  width: 34px; height: 150px; border-radius: 4px 4px 17px 17px; position: relative;
  background: linear-gradient(180deg, transparent 0 22%, var(--liquid) 22%);
  border: 1px solid var(--line);
  box-shadow: inset 6px 0 8px rgba(255,255,255,.08);
}
.vials span::before {
  content: ""; position: absolute; top: -18px; left: 4px; right: 4px; height: 18px;
  background: linear-gradient(90deg, #6b5120, var(--gold-light), #5a431a); border-radius: 3px 3px 0 0;
}
.vials span:nth-child(even) { height: 130px; }
.discovery-buy { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.discovery-buy .price { font-size: 2rem; }

/* Newsletter */
.newsletter { display: flex; gap: .8rem; max-width: 520px; margin: 0 auto; }
.newsletter input {
  flex: 1; min-width: 0; padding: .9em 1.2em; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit;
}
.newsletter input:focus { outline: none; border-color: var(--gold); }
.form-msg { text-align: center; margin-top: 1rem; color: var(--accent); min-height: 1.7em; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 4rem clamp(16px, 4vw, 48px) 2rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin: 0 0 1rem; }
.footer-grid a:not(.brand) { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .5rem; word-break: break-word; }
.footer-grid a:hover { color: var(--accent); }
.footer .brand { margin-bottom: 1rem; }
.copyright { text-align: center; color: var(--muted); font-size: .8rem; margin: 3rem 0 0; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(43,33,24,.35); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line); z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.close { font-size: 2rem; line-height: 1; color: var(--muted); }
.cart-items { list-style: none; margin: 0; padding: 1rem 1.5rem; flex: 1; overflow-y: auto; }
.cart-items .empty { color: var(--muted); text-align: center; padding: 3rem 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.cart-item .qty { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.cart-item .qty button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; }
.cart-item .qty button:hover { border-color: var(--gold); color: var(--accent); }
.cart-item .line-price { color: var(--accent); text-align: right; }
.drawer-foot { padding: 1.5rem; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 1rem; }

.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 150%);
  background: var(--gold); color: #1a1208; padding: .8em 1.5em; border-radius: var(--radius);
  font-size: .9rem; z-index: 120; transition: transform .35s, visibility .35s; max-width: calc(100% - 32px);
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast:empty { display: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .notes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; height: 100vh;
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 2rem; padding-top: 4rem;
    background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1rem; color: var(--text); }
  .hero, .story, .discovery-inner { grid-template-columns: 1fr; text-align: center; }
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-text { order: 2; }
  .hero .lead { margin: 0 auto; }
  .hero-cta, .discovery-buy { justify-content: center; }
  .hero-visual { min-height: 360px; }
  .bottle-hero { width: 180px; }
  .story-art { max-width: 360px; margin: 0 auto; width: 100%; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strip.strip-n1 { grid-template-columns: 1fr; }
  .section { padding: 5rem 16px; }
}
@media (max-width: 560px) {
  .grid, .notes { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .vials { gap: .6rem; }
  .vials span { width: 28px; }
}

/* Gold-line pattern, echoing the shop walls */
.hero-visual::before, .discovery, .story-art {
  background-image: repeating-linear-gradient(60deg, transparent 0 54px, rgba(201,162,77,.45) 54px 55px);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.story-art { background-color: var(--bg-2); }
.discovery { background-color: #f3f1ec; }
.story-emblem { width: 62%; filter: drop-shadow(0 20px 40px rgba(125,92,31,.3)); }
@media (max-width: 400px) { .wordmark { font-size: 1.2rem; } }

/* ═════════════ Multi-page additions ═════════════ */
.nav-links a.active, .cart-btn.active { color: var(--accent); }
.nav-links a.active { border-bottom: 1px solid var(--accent); }
.text-link { color: var(--accent); border-bottom: 1px solid currentColor; font-size: .9rem; }
.text-link:hover { opacity: .75; }
.center { text-align: center; }
.toast a { color: inherit; font-weight: 500; text-decoration: underline; margin-left: .4rem; }

/* Page hero (inner pages) */
.page-hero {
  text-align: center; padding: 5rem 16px 4rem;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(60deg, transparent 0 54px, rgba(201,162,77,.35) 54px 55px);
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-hero .lead { margin: 0 auto 1.5rem; }
.page-hero-sm { padding: 3.5rem 16px 2.5rem; }

/* Attar bottle shape */
.bottle.attar .cap { width: 24%; aspect-ratio: 1 / 1.7; border-radius: 45% 45% 4px 4px; }
.bottle.attar .neck { width: 14%; aspect-ratio: 1.4 / 1; }
.bottle.attar .glass { border-radius: 50% 50% 44% 44%; aspect-ratio: 1 / .95; }
.card .bottle.attar { width: 120px; }

/* Shop bar */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.shop-bar .filters { margin: 0; justify-content: flex-start; }
.sort { display: flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sort select, .field select {
  font: inherit; text-transform: none; letter-spacing: 0; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .55em .8em;
}
.result-count { font-size: .85rem; margin-bottom: 1.5rem; }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-link:hover h3 { color: var(--accent); }
.price .from { font-size: .7rem; margin: 0 .3rem 0 0; text-transform: uppercase; letter-spacing: .1em; }
.empty-state { text-align: center; padding: 4rem 0; grid-column: 1 / -1; }
.empty-state .lead { margin: 0 auto 1.5rem; }
.discovery-buy { flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb { max-width: var(--max); margin: 0 auto; padding: 1.5rem clamp(16px, 4vw, 48px) 0; font-size: .8rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .35rem; }

/* Product detail */
.pdp {
  max-width: var(--max); margin: 0 auto; padding: 2rem clamp(16px, 4vw, 48px) 4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.pdp-visual {
  position: sticky; top: 100px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line); background-color: var(--bg-2);
  background-image: repeating-linear-gradient(60deg, transparent 0 54px, rgba(201,162,77,.35) 54px 55px);
}
.pdp-visual .halo { width: 80%; height: 80%; }
.pdp-visual .bottle { width: min(240px, 50%); }
.pdp-visual .bottle.attar { width: min(200px, 42%); }
.pdp-info h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: .2em; }
.pdp-price { font-family: var(--serif); font-size: 2rem; color: var(--accent); margin-bottom: .6rem; }
.pdp-group { margin: 1.6rem 0; }
.pdp-label { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.sizes { display: flex; flex-wrap: wrap; gap: .6rem; }
.size-btn {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 110px;
  padding: .7em 1.1em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s;
}
.size-btn small { color: var(--muted); font-size: .8rem; }
.size-btn:hover { border-color: var(--gold); }
.size-btn.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.qty-stepper button { width: 42px; height: 42px; font-size: 1.1rem; color: var(--muted); }
.qty-stepper button:hover { color: var(--accent); }
.qty-stepper span { min-width: 36px; text-align: center; }
.qty-sm button { width: 32px; height: 34px; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 .8rem; }
.pdp-actions .btn { flex: 1; min-width: 160px; }

.accordion { margin-top: 2.5rem; border-bottom: 1px solid var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.3rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--sans); color: var(--accent); font-size: 1.3rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { color: var(--muted); margin-bottom: 1.2rem; }
.pyramid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.4rem; }
.pyramid div { background: var(--surface); border: 1px solid var(--line); padding: 1rem; }
.pyramid dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }
.pyramid dd { margin: 0; font-size: .9rem; }
.related { padding-top: 3rem; border-top: 1px solid var(--line); }

/* Cart page */
.cart-page {
  max-width: var(--max); margin: 0 auto; padding: 3rem clamp(16px, 4vw, 48px) 6rem;
  display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start;
}
.cart-page.is-empty { display: block; }
.cart-row {
  display: grid; grid-template-columns: 90px 1fr auto 90px; gap: 1.2rem; align-items: center;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
}
.cart-head { padding: 0 0 .8rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cart-head span:last-child, .line-total { text-align: right; }
.cart-thumb { height: 100px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); }
.cart-thumb .bottle { width: 48px; }
.cart-thumb .bottle.attar { width: 42px; }
.cart-thumb .label { display: none; }
.cart-info { display: flex; flex-direction: column; gap: .2rem; align-items: flex-start; }
.cart-info strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.remove-btn { font-size: .8rem; color: var(--muted); text-decoration: underline; padding: 0; margin-top: .2rem; }
.remove-btn:hover { color: var(--accent); }
.line-total { font-family: var(--serif); font-size: 1.3rem; color: var(--accent); }
.cart-list > .text-link { display: inline-block; margin-top: 1.5rem; }
.cart-page .summary {
  position: sticky; top: 100px; padding: 2rem; background: var(--surface); border: 1px solid var(--line);
}
.cart-page .summary h3 { margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.2rem; font-weight: 400; }
.ship-progress { margin-bottom: 1.2rem; }
.ship-progress p { margin-bottom: .5rem; }
.bar { height: 4px; background: var(--bg-2); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.note-field { display: block; margin: 1.2rem 0; }
.note-field textarea, .field input, .field textarea {
  width: 100%; margin-top: .4rem; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75em 1em; resize: vertical;
}
.note-field textarea { background: var(--bg); }
.note-field textarea:focus, .field input:focus, .field textarea:focus, .field select:focus, .sort select:focus { outline: none; border-color: var(--accent); }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.two-col p { color: var(--muted); }
.cta-inner { grid-template-columns: 1.3fr 1fr; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.info-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.info-item:first-child { padding-top: 0; }
.info-item h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.info-item p { color: var(--muted); margin: 0; }
.contact-form { background: var(--surface); border: 1px solid var(--line); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.5rem; }
.field span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.field select { width: 100%; margin-top: .4rem; padding: .75em 1em; }
.field-wide { grid-column: 1 / -1; }
.contact-form .form-msg { text-align: left; }
.faq { padding-top: 2rem; }
.faq-list { max-width: 760px; margin: 0 auto; }

/* Responsive for new pages */
@media (max-width: 900px) {
  .pdp, .cart-page, .contact-grid, .two-col, .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pdp-visual, .cart-page .summary { position: static; }
  .pdp-visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 800px) {
  .cta-inner { text-align: center; }
  .cta-inner .hero-cta { justify-content: center; }
  .shop-bar { flex-direction: column; align-items: stretch; }
  .shop-bar .filters { justify-content: center; }
  .sort { justify-content: center; }
}
@media (max-width: 560px) {
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 70px 1fr auto; grid-template-areas: "thumb info info" "thumb qty total"; row-gap: .6rem; }
  .cart-thumb { grid-area: thumb; height: 90px; }
  .cart-info { grid-area: info; }
  .cart-row .qty-stepper { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; }
  .pyramid, .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.4rem; }
  .pdp-actions .btn { min-width: 0; }
}

/* ═════════════ WordPress additions ═════════════ */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fffaf0; padding: .6em 1em; }
.skip-link:focus { left: 16px; top: 16px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.wordmark { text-transform: uppercase; }

/* Menus output by wp_nav_menu: lay the <li> items out like the static design */
.nav-links ul.menu { display: contents; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
@media (max-width: 800px) {
  .nav-links ul.menu { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
}

/* Sticky header under the WordPress admin bar */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }

/* Hero photo option */
.hero-img { position: relative; max-height: 520px; width: auto; object-fit: contain; }

/* Page content from the editor */
.page-body { padding-top: 4rem; }
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content.entry-wide { max-width: var(--max); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 2.2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a:not(.button):not(.btn):not(.wc-block-components-button) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; }
.story-text .entry-content { max-width: none; margin: 0; color: var(--muted); }

/* FAQ / Details blocks share the accordion look */
.entry-content details, .accordion details { border-top: 1px solid var(--line); }
.entry-content details:last-child { border-bottom: 1px solid var(--line); }
.entry-content details > summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 1.3rem;
}
.entry-content details > summary::-webkit-details-marker { display: none; }
.entry-content details > summary::after { content: "+"; font-family: var(--sans); color: var(--accent); font-size: 1.3rem; }
.entry-content details[open] > summary::after { content: "−"; }
.entry-content details > :not(summary) { color: var(--muted); margin-bottom: 1.2rem; }
.faq-list.entry-content > * + * { margin-top: 0; }

/* Blog / archive list */
.post-summary { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.post-summary h2 { font-size: 2rem; margin: 0 0 .3rem; }

/* Plugin form slots */
.newsletter-slot { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea, .contact-form select,
.newsletter-slot input[type="email"], .newsletter-slot input[type="text"] {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .75em 1em;
}
.contact-form input[type="submit"], .newsletter-slot input[type="submit"], .newsletter-slot button {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1208;
  border: 0; border-radius: var(--radius); padding: .95em 2em; font: inherit;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.admin-note { border: 1px dashed var(--accent); padding: 1rem; color: var(--accent); font-size: .9rem; background: var(--surface); }

/* Required by WordPress: visually hidden text for screen readers */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--surface); clip: auto !important; clip-path: none; color: var(--text); display: block;
  height: auto; left: 5px; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000;
}

/* Make the hidden attribute always win over display rules */
[hidden] { display: none !important; }

/* Account icon + dashboard cards (shared with WooCommerce My Account) */
.account-btn { padding: .5rem; color: var(--text); display: inline-flex; }
.account-btn:hover, .account-btn.active { color: var(--accent); }
.account-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.account-card { display: flex; flex-direction: column; gap: .2rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; text-decoration: none !important; color: var(--text) !important; }
.account-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.account-card .eyebrow { margin: 0 0 .4rem; }
.account-card strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; word-break: break-word; }
@media (max-width: 700px) { .account-cards { grid-template-columns: 1fr; } }
