/* ==========================================================================
   Parfums Astraux — formal "Maison" storefront
   White & cream, black ink, quiet type. Display: Cormorant Garamond. Text & caps: Jost.
   ========================================================================== */
:root {
  --ink: #141414;
  --ink-2: #4b4b4b;
  --ink-3: #8a8782;
  --white: #ffffff;
  --cream: #f4f0e9;
  --tile: #f3f1ed;
  --line: #e4e0d9;
  --line-2: #d3cec5;
  --accent: #8c7355;
  --sale: #8f2f23;
  --ok: #2d6a4c;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --ease: cubic-bezier(.25, .6, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 300 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) { .wrap { padding-left: 40px; padding-right: 40px; } }
.boot { min-height: 100vh; display: grid; place-items: center; font: 400 14px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; }
.caps { font: 400 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { display: block; font: 400 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 34px; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--white); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.white:hover { background: transparent; color: var(--white); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--white); }
.text-link { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; display: inline-block; transition: opacity .3s; }
.text-link:hover { opacity: .6; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; color: inherit; font-size: 13px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: var(--white); text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 9px 16px; }
header.site { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 74px; gap: 12px; }
.hdr-left { display: flex; align-items: center; gap: 6px; }
.logo { text-decoration: none; text-align: center; white-space: nowrap; display: grid; justify-items: center; line-height: 1; }
.logo .w { font: 400 23px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; margin-right: -.42em; }
.logo small { font: 400 8.5px/1 var(--sans); letter-spacing: .62em; text-transform: uppercase; color: var(--ink-2); margin-top: 7px; margin-right: -.62em; }
.nav { display: flex; justify-content: center; gap: 40px; border-top: 1px solid var(--line); }
.nav a { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 16px 0 14px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a.on { border-color: var(--ink); }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.icon-btn { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px; font: 400 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.icon-btn svg { width: 19px; height: 19px; }
.bag-count { font: 400 11px/1 var(--sans); letter-spacing: 0; }
.ship-to svg { width: 16px; height: 16px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .ship-to .lbl { display: none; }
  .hdr { height: 62px; }
  .logo .w { font-size: 16px; letter-spacing: .3em; margin-right: -.3em; }
  .logo small { font-size: 7.5px; }
}
.mobile-nav { display: none; padding: 4px 16px 18px; background: var(--cream); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 15px 0; text-decoration: none; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--line); }

/* ---------- hero (full-bleed campaign) ---------- */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: #ddd5c9; color: var(--white); text-align: center; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.42) 100%); }
.hero .txt { position: relative; z-index: 1; padding: 0 16px 72px; max-width: 760px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; margin-bottom: 14px; }
.hero p { font-size: 16px; margin: 0 auto 30px; max-width: 520px; opacity: .92; }
.hero .eyebrow { color: rgba(255,255,255,.9); }
/* no campaign photo yet: a calm studio composition with the signature bottle */
.hero.studio { background: radial-gradient(90% 80% at 50% 35%, #f6f2ec 0%, #e9e2d7 60%, #ddd4c6 100%); color: var(--ink); align-items: center; }
.hero.studio::after { display: none; }
.hero.studio .grid2 { position: relative; display: grid; gap: 24px; align-items: center; width: 100%; max-width: var(--wrap); padding: 56px 16px; }
@media (min-width: 900px) { .hero.studio .grid2 { grid-template-columns: 1fr 1fr; padding: 40px 40px; } }
.hero.studio .shot { justify-self: center; width: min(440px, 80vw); aspect-ratio: 4/5; overflow: hidden; }
.hero.studio .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero.studio .txt { padding: 0; margin: 0 auto; }
.hero.studio .eyebrow { color: var(--ink-2); }
.hero.studio p { color: var(--ink-2); }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
@media (max-width: 760px) { section.block { padding: 64px 0; } }
.sec-title { text-align: center; margin-bottom: 52px; }
.sec-title h2 { font-size: clamp(32px, 3.6vw, 46px); }
.sec-title p { max-width: 560px; margin: 14px auto 0; color: var(--ink-2); }
.statement { max-width: 860px; margin: 0 auto; text-align: center; }
.statement p.big { font: 400 clamp(24px, 2.8vw, 34px)/1.45 var(--serif); margin: 0 0 30px; color: var(--ink); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- product tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; } }
@media (min-width: 1200px) { .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; text-align: center; }
.card > a { text-decoration: none; display: block; }
.card .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--tile); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
/* Hover: the second product photo softly cross-fades in with a gentle settle-in zoom. */
.card .ph img.alt { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); }
.card:hover .ph.has-alt img.alt, .card:focus-within .ph.has-alt img.alt { opacity: 1; transform: scale(1); }
.card:hover .ph.has-alt img.main, .card:focus-within .ph.has-alt img.main { opacity: 0; transform: scale(1.03); }
.card:hover .ph:not(.has-alt) img.main { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card .ph img { transition: opacity .3s; transform: none !important; } }
.card .badge { position: absolute; top: 12px; left: 12px; font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: var(--white); padding: 6px 9px; }
.card .badge.sale { color: var(--sale); }
.card .info { padding: 18px 6px 0; display: grid; gap: 4px; justify-items: center; }
.card .cat { font: 400 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.card h3 { font-size: clamp(20px, 1.8vw, 24px); }
.card .tl { color: var(--ink-3); font-size: 13.5px; line-height: 1.45; }
.card .price { margin-top: 4px; }
.quick { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(100%); background: rgba(255,255,255,.94); border: 0; border-top: 1px solid var(--line); padding: 14px 10px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: transform .45s var(--ease), background .3s; z-index: 2; }
.card .ph-wrap { position: relative; overflow: hidden; }
.card:hover .quick, .quick:focus-visible { transform: none; }
.quick:hover { background: var(--ink); color: var(--white); }
@media (hover: none) { .quick { display: none; } }
.price { font: 400 14px/1.4 var(--sans); letter-spacing: .06em; }
.price s { color: var(--ink-3); margin-left: 8px; }
.price .now.sale { color: var(--sale); }

/* ---------- category tiles ---------- */
.cats { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(var(--n, 2), 1fr); } }
.cat-tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--tile); color: var(--white); text-decoration: none; }
@media (min-width: 760px) { .cats.two .cat-tile { aspect-ratio: 1 / 1.05; } }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.035); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45)); }
.cat-tile .lbl { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; z-index: 1; display: grid; gap: 16px; justify-items: center; }
.cat-tile .lbl h3 { font-size: clamp(26px, 2.6vw, 36px); }
.cat-tile .lbl span { font: 400 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }

/* ---------- editorial split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 0; } .split .copy { padding: 0 9%; } }
.split .art { aspect-ratio: 4/5; overflow: hidden; background: var(--tile); }
.split .art img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 20px; }
.split p { color: var(--ink-2); margin: 0 0 18px; }
.pyramid { margin: 28px 0 34px; border-top: 1px solid var(--line); }
.pyramid div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pyramid dt { font: 400 10.5px/1.9 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.pyramid dd { margin: 0; font: 400 19px/1.4 var(--serif); }

/* ---------- services row ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); background: var(--cream); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(4, 1fr); } }
.services div { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.services div:last-child { border-right: 0; }
@media (max-width: 899px) { .services div:nth-child(2n) { border-right: 0; } .services div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .services div { padding: 28px 12px; } }
.services b { display: block; font: 400 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.services span { font-size: 13.5px; color: var(--ink-2); }
.services a { color: inherit; }

/* ---------- collection page ---------- */
.page-head { text-align: center; padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(38px, 4.6vw, 60px); }
.page-head p { max-width: 560px; margin: 14px auto 0; color: var(--ink-2); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 26px; flex-wrap: wrap; }
.chip { border: 0; background: none; padding: 6px 0; font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; color: var(--ink-3); border-bottom: 1px solid transparent; }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--ink); border-color: var(--ink); }

/* ---------- product page ---------- */
.crumbs { font: 400 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding: 22px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; gap: 36px; padding-bottom: 90px; }
@media (min-width: 980px) { .pdp { grid-template-columns: 1.15fr .85fr; gap: 72px; } .pdp .info-col { position: sticky; top: 150px; align-self: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 980px) { .gallery.multi { grid-template-columns: 80px 1fr; } .gallery.multi .thumbs { flex-direction: column; order: -1; } }
.gallery .main { aspect-ratio: 4/5; background: var(--tile); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 72px; aspect-ratio: 4/5; padding: 0; border: 1px solid transparent; background: var(--tile); cursor: pointer; opacity: .65; }
.thumbs button.on, .thumbs button:hover { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp .cat { font: 400 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.pdp h1 { font-size: clamp(38px, 4vw, 54px); margin: 10px 0 8px; }
.pdp .tl { font: italic 400 20px/1.4 var(--serif); color: var(--ink-2); margin: 0 0 20px; }
.pdp .price { font-size: 17px; }
.opt-label { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 30px 0 12px; display: flex; justify-content: space-between; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 100px; padding: 12px 16px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; text-align: center; transition: border-color .2s; }
.size b { display: block; font-weight: 400; font-size: 14px; }
.size small { display: block; color: var(--ink-3); font-size: 12px; }
.size:hover { border-color: var(--ink-2); }
.size.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size[disabled] { color: var(--ink-3); cursor: not-allowed; text-decoration: line-through; }
.buy-row { display: flex; gap: 10px; margin-top: 22px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); align-items: center; }
.qty button { width: 40px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; }
.buy-row .btn { flex: 1; padding: 0 16px; }
.stock-note { font-size: 13px; color: var(--sale); margin-top: 10px; min-height: 20px; }
.assure { display: grid; gap: 8px; margin: 4px 0 26px; font-size: 13px; color: var(--ink-2); }
.assure span { display: flex; gap: 10px; align-items: center; }
.assure span::before { content: ""; width: 14px; height: 1px; background: var(--ink-3); flex: 0 0 auto; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; padding: 18px 0; font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font: 300 18px/1 var(--sans); }
details.acc[open] summary::after { content: "−"; }
details.acc > div { padding: 0 0 22px; color: var(--ink-2); font-size: 14.5px; white-space: pre-line; }
details.acc .pyramid { margin: 0; white-space: normal; }
.unavail { border: 1px solid var(--line); background: var(--cream); padding: 16px; margin-top: 22px; font-size: 14px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20,20,20,.4); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); z-index: 51; transform: translateX(102%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-h h2 { font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.drawer-b { flex: 1; overflow-y: auto; padding: 4px 24px; }
.drawer-f { border-top: 1px solid var(--line); padding: 20px 24px; background: var(--cream); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; aspect-ratio: 4/5; object-fit: cover; background: var(--tile); }
.line h4 { margin: 0; font: 400 19px/1.2 var(--serif); }
.line .meta { font-size: 13px; color: var(--ink-3); }
.line .qty { margin-top: 10px; }
.line .qty button { width: 30px; height: 32px; font-size: 14px; }
.line .problem { color: var(--sale); font-size: 13px; margin-top: 6px; }
.tot { display: flex; justify-content: space-between; margin: 5px 0; font-size: 14px; }
.tot.big { font: 400 15px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ship-bar { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.ship-bar .bar { height: 2px; background: var(--line); margin-top: 8px; }
.ship-bar .bar i { display: block; height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.empty { text-align: center; padding: 64px 0; color: var(--ink-3); }
.empty p { font: 400 22px/1.4 var(--serif); color: var(--ink); margin: 0 0 22px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(20,20,20,.45); }
.modal-box { background: var(--white); width: min(440px, 100%); padding: 36px 30px; }
.modal-box h2 { font-size: 30px; margin: 0 0 8px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); background: var(--white); border-radius: 0; font-size: 15px; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }

/* ---------- checkout ---------- */
.checkout { display: grid; gap: 44px; padding-top: 48px; padding-bottom: 100px; }
@media (min-width: 980px) { .checkout { grid-template-columns: 1.2fr .8fr; gap: 72px; } }
.checkout h1 { font-size: clamp(36px, 4vw, 50px); margin-bottom: 24px; }
.checkout h2 { font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 36px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.checkout h2 .step { color: var(--ink-3); }
.summary { background: var(--cream); padding: 30px; align-self: start; position: sticky; top: 150px; }
.summary h2 { font: 400 12px/1 var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase; margin: 0 0 8px !important; padding: 0 !important; border: 0 !important; }
@media (max-width: 979px) { .checkout .summary { order: -1; position: static; } }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); background: var(--white); margin-bottom: 8px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt input { accent-color: var(--ink); width: 17px; height: 17px; flex: 0 0 auto; }
.pay-opt > span:nth-child(2) { flex: 1; }
.pay-opt b { font-weight: 400; display: block; }
.pp-badge { font: italic 700 15px/1 Verdana, sans-serif; color: #003087; letter-spacing: -.02em; }
.pp-box { margin-top: 4px; min-height: 48px; position: relative; z-index: 0; }
.alert { padding: 14px 16px; border: 1px solid #e2bdb4; background: #fbf1ee; color: var(--sale); margin-bottom: 16px; font-size: 14px; }
.note-box { padding: 16px 18px; border: 1px solid var(--line); background: var(--cream); font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

/* ---------- order page ---------- */
.order { max-width: 800px; margin: 0 auto; padding-top: 60px; padding-bottom: 100px; }
.order h1 { font-size: clamp(38px, 4.6vw, 56px); margin: 4px 0 12px; }
.steps { display: flex; margin: 40px 0; }
.steps div { flex: 1; text-align: center; font: 400 10px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); position: relative; padding-top: 22px; }
.steps div::before { content: ""; position: absolute; top: 4px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); transform: translateX(-50%); z-index: 1; }
.steps div::after { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 1px; background: var(--line); }
.steps div:first-child::after { display: none; }
.steps div.done { color: var(--ink); }
.steps div.done::before { background: var(--ink); border-color: var(--ink); }
.steps div.done::after { background: var(--ink); }
.panel { background: var(--white); border: 1px solid var(--line); padding: 28px; margin-bottom: 16px; }
.panel h2 { font-size: 26px; margin-bottom: 12px; }
.pre { white-space: pre-line; }
.pay-panel { border-color: var(--ink); }
.pay-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 620px) { .pay-grid { grid-template-columns: 230px 1fr; } }
.qr { text-align: center; }
.qr img { width: 100%; max-width: 250px; margin: 0 auto 10px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.amount { display: grid; gap: 4px; }
.amount strong { font: 400 38px/1.1 var(--serif); }
.proof { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }

/* ---------- text pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding-top: 64px; padding-bottom: 100px; }
.page h1 { font-size: clamp(38px, 4.6vw, 56px); margin: 0 0 30px; }
.page p, .page .pre { color: var(--ink-2); font-size: 16px; }
.page.center { text-align: center; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: rgba(255,255,255,.82); padding: 72px 0 28px; font-size: 13.5px; }
.foot { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot > div:first-child { grid-column: auto; } }
footer .logo { justify-items: start; color: var(--white); }
footer .logo small { color: rgba(255,255,255,.6); }
footer h4 { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin: 0 0 18px; }
footer a { display: block; text-decoration: none; padding: 4px 0; color: rgba(255,255,255,.7); transition: color .25s; }
footer a:hover { color: var(--white); }
footer p { margin: 18px 0 0; max-width: 320px; color: rgba(255,255,255,.6); }
.foot-b { border-top: 1px solid rgba(255,255,255,.14); margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* newsletter sign-up (top of the footer, every page) */
.news { display: grid; gap: 24px 56px; align-items: end; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1.1fr; } }
.news h2 { font: 400 clamp(26px, 3vw, 34px)/1.15 var(--serif); color: var(--white); }
footer .news p { margin: 12px 0 0; max-width: 480px; }
.news form { position: relative; }
.news-row { display: flex; }
.news-row input { flex: 1; min-width: 0; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.35); border-right: 0; border-radius: 0; background: transparent; color: var(--white); font: 300 15px/1.4 var(--sans); }
.news-row input::placeholder { color: rgba(255,255,255,.5); }
.news-row input:focus { outline: none; border-color: var(--white); }
.news .hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
footer .news .news-msg { color: var(--white); }
footer .news .news-msg:empty { display: none; }
footer .news .news-note { font-size: 12px; margin-top: 10px; color: rgba(255,255,255,.5); }
footer .news-note a { display: inline; padding: 0; color: inherit; text-decoration: underline; }
@media (max-width: 480px) { .news-row { flex-direction: column; gap: 10px; } .news-row input { border-right: 1px solid rgba(255,255,255,.35); } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 13px 20px; font-size: 13px; letter-spacing: .04em; z-index: 70; opacity: 0; transition: all .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 480px) { .btn { padding: 0 20px; letter-spacing: .18em; } }

/* ---------- account ---------- */
.account { padding-bottom: 100px; }
.acct-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 56px 0 24px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(34px, 4vw, 50px); }
.acct-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.acct-tabs a { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 14px 0; border-bottom: 1px solid transparent; margin-bottom: -1px; color: var(--ink-3); }
.acct-tabs a.on, .acct-tabs a:hover { color: var(--ink); border-color: var(--ink); }
.acct-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .acct-grid > section:first-child { border-right: 1px solid var(--line); padding-right: 80px; } }
.acct-form { max-width: 720px; }
.form-sub { font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 8px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acct-form .form-sub { margin-top: 28px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 22px; cursor: pointer; }
.check-row input { width: 17px; height: 17px; accent-color: var(--ink); margin-top: 3px; flex: 0 0 auto; }
.acct-orders { border-top: 1px solid var(--line); }
.acct-order { display: grid; grid-template-columns: 1fr auto auto auto; gap: 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.acct-order:hover { background: var(--cream); }
.acct-order > div:first-child { display: grid; gap: 4px; }
@media (max-width: 640px) { .acct-order { grid-template-columns: 1fr auto; gap: 8px 16px; } .acct-order .text-link { display: none; } }
.status-tag { font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-2); white-space: nowrap; }
.status-tag.shipped, .status-tag.delivered, .status-tag.verified { border-color: var(--ok); color: var(--ok); }
.status-tag.cancelled, .status-tag.rejected { border-color: var(--sale); color: var(--sale); }
.status-tag.pending { color: var(--accent); border-color: var(--accent); }
.tools .acct-lbl { display: inline; }
@media (max-width: 900px) { .tools .acct-lbl { display: none; } }
.code-box { display: flex; gap: 8px; margin-top: 16px; }
.code-box input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); background: var(--white); font: 400 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.code-box input:focus { outline: none; border-color: var(--ink); }
.code-box .btn { min-height: 44px; padding: 0 18px; }
.acct-form input[type="file"] { padding: 10px; min-height: 0; }

/* Long unbroken words (product names, emails, addresses) wrap instead of widening the page on phones */
h1, h2, h3, h4, .card .tl, .pdp .tl, .desc, .pre, .line h4, .meta, .panel, .note-box, .alert, .pyramid dd, .crumbs { overflow-wrap: anywhere; }
.pdp > *, .gallery, .grid > *, .checkout > *, .split > *, .acct-grid > * { min-width: 0; }

/* Uploaded logo (sizes set in Admin → Settings → Logo) */
.logo-img { display: block; height: var(--logo-h, 44px); width: auto; max-width: 46vw; object-fit: contain; }
@media (max-width: 900px) { .logo-img { height: var(--logo-h-m, 30px); } .hdr { height: auto; min-height: 62px; padding: 6px 0; } }
footer .logo-img { height: 40px; max-width: 220px; }
footer .logo-img.on-dark { filter: brightness(0) invert(1); }
.hdr:has(.logo-img) { height: auto; min-height: 74px; padding: 8px 0; }

/* ---------- seasonal themes (Admin → Themes; colours come from app/themes.php) ---------- */
html[data-theme] .announce { background: var(--t-bar); color: var(--t-bar-ink); }
html[data-theme] .announce a { color: inherit; }
html[data-theme] header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 5px; background: var(--t-band); pointer-events: none; }
html[data-theme] .btn:not(.ghost):not(.white) { background: var(--t-btn); border-color: var(--t-btn); color: var(--t-btn-ink); }
html[data-theme] .btn:not(.ghost):not(.white):hover { background: var(--white); color: var(--t-btn); }
html[data-theme] .btn[disabled]:not(.ghost):not(.white):hover { background: var(--t-btn); color: var(--t-btn-ink); }
html[data-theme] .btn.ghost:hover { background: var(--t-btn); border-color: var(--t-btn); color: var(--t-btn-ink); }
html[data-theme] .eyebrow { color: var(--t-accent); }
html[data-theme] .hero:not(.studio) .eyebrow { color: rgba(255,255,255,.92); }
html[data-theme] .hero.studio { background: var(--t-hero); }
html[data-theme] footer.site { background: var(--t-footer); }
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 25; }
@media print { .fx-canvas { display: none; } }

/* ---------- phones: "Add to bag" bar that stays on screen (product page) ---------- */
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy .sb-info { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .sticky-buy .sb-info b { font: 400 18px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .sb-info span { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { min-height: 46px; padding: 0 20px; flex: none; }
  body.has-sticky-buy { padding-bottom: 74px; }
  body.has-sticky-buy .toast { bottom: 92px; }
}

/* ---------- store locator ---------- */
.locator-band { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 300px; padding: 56px 16px; text-align: center; color: var(--white); background: #4b463f; }
.locator-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.locator-band::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.38); }
.locator-band.plain { background: radial-gradient(120% 140% at 30% 20%, #6d655a 0%, #3f3a34 55%, #2a2622 100%); }
.locator-band.plain::after { display: none; }
.locator-band .txt { position: relative; z-index: 1; max-width: 680px; }
.locator-band h2 { font: 400 clamp(22px, 2.6vw, 32px)/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.locator-band p { margin: 0 auto 24px; color: rgba(255,255,255,.88); max-width: 520px; }
.loc-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: -8px 0 32px; }
.loc-tools select { height: 48px; min-width: 240px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--white); font-size: 14px; }
.loc { display: grid; gap: 28px; padding-bottom: 96px; }
@media (min-width: 900px) { .loc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } .loc-map { position: sticky; top: 100px; order: 2; } }
.loc-list { display: grid; gap: 18px; min-width: 0; }
.loc-card { display: grid; border: 1px solid var(--line); background: var(--white); transition: border-color .25s; }
.loc-card.on { border-color: var(--ink); }
@media (min-width: 560px) { .loc-card:has(.loc-img) { grid-template-columns: 160px 1fr; } }
.loc-img { width: 100%; height: 100%; min-height: 160px; max-height: 220px; object-fit: cover; background: var(--tile); }
.loc-body { padding: 22px 24px; min-width: 0; }
.loc-body .eyebrow { margin-bottom: 8px; }
.loc-body h2 { font-size: 26px; margin: 0 0 10px; }
.loc-body p { margin: 0 0 12px; white-space: pre-line; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.loc-hours b { display: block; font: 400 10.5px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.loc-note { font-style: italic; }
.loc-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.loc-contact a { color: var(--ink); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 6px; }
.loc-actions .text-link { background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; padding: 0 0 6px; color: var(--ink); }
.loc-map { min-width: 0; background: var(--tile); border: 1px solid var(--line); }
.loc-map iframe { display: block; width: 100%; height: min(62vh, 560px); border: 0; }
.loc-map-empty { display: grid; place-items: center; min-height: 220px; padding: 24px; text-align: center; color: var(--ink-3); font-size: 14px; }
@media (min-width: 900px) { .loc-map-empty { min-height: 420px; } }
.loc-map-cap { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--ink-2); background: var(--white); }

/* ---------- cookie notice (only when Google Analytics is on) ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 65; max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 18px 20px; display: grid; gap: 14px; font-size: 13.5px; }
.cookie-bar p { margin: 0; color: var(--ink-2); }
.cookie-bar a { color: var(--ink); }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btns .btn { min-height: 42px; padding: 0 22px; }
body.has-sticky-buy .cookie-bar { bottom: 90px; }

/* ---------- checkout: gift & samples ---------- */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.sample { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; font-size: 14px; }
.sample:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sample input { accent-color: var(--ink); width: 17px; height: 17px; flex: none; }

/* ---------- search ---------- */
.search-ov { position: fixed; inset: 0; z-index: 55; background: rgba(20,20,20,.45); }
.search-ov > .wrap { background: var(--white); padding-top: 22px; padding-bottom: 26px; max-width: none; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.search-f { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--ink); padding: 6px 0; }
.search-f > span svg { width: 22px; height: 22px; display: block; }
.search-f input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 300 20px/1.4 var(--sans); padding: 6px 0; }
.search-f.inline { margin-top: 22px; }
.search-res { max-width: 760px; margin: 14px auto 0; display: grid; gap: 4px; }
.sr-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.sr-item img { width: 52px; height: 64px; object-fit: cover; background: var(--tile); }
.sr-item b { display: block; font: 400 18px/1.2 var(--serif); }
.sr-item small { color: var(--ink-3); }
.search-res .text-link { justify-self: start; margin-top: 12px; }
body.no-scroll { overflow: hidden; }

/* ---------- wishlist hearts ---------- */
.ph-wrap { position: relative; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); cursor: pointer; color: var(--ink); transition: transform .2s; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg, .wish-big svg { width: 20px; height: 20px; }
.wish-btn.on svg, .wish-big.on svg, .wish-link.on svg { fill: var(--sale); stroke: var(--sale); }
.wish-big { flex: none; width: 52px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; color: var(--ink); }
.wish-big:hover { border-color: var(--ink); }
@media (max-width: 420px) { .tools .wish-link { display: none; } }

/* ---------- stars & reviews ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars i { width: 13px; height: 13px; background: var(--line-2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.f { background: var(--ink); }
.stars i.h { background: linear-gradient(90deg, var(--ink) 50%, var(--line-2) 50%); }
.stars.big i { width: 20px; height: 20px; }
.rating-sm { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 4px 0; }
.rating-sm small { color: var(--ink-3); font-size: 12px; }
.rating-link { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: 13px; color: var(--ink-2); margin: -4px 0 14px; }
.reviews { border-top: 1px solid var(--line); scroll-margin-top: 60px; } /* keeps the title below the menu when the stars are tapped */
.reviews .sec-title h2 { display: flex; gap: 14px; align-items: center; justify-content: center; }
.rev-list { display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.rev { padding: 24px 0; border-bottom: 1px solid var(--line); }
.rev h3 { font-size: 22px; margin: 10px 0 6px; }
.rev p { margin: 8px 0; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.rev-reply { margin-top: 12px; padding: 12px 16px; background: var(--cream); font-size: 14px; }
.rev-reply p { margin: 4px 0 0; }
.rev-write { max-width: 820px; margin: 28px auto 0; }
.rev-write h3 { font-size: 26px; margin: 0 0 14px; }
.rate-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 16px; }
.rate-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rate-pick label { font-size: 30px; line-height: 1; color: var(--line-2); cursor: pointer; transition: color .15s; }
.rate-pick label:hover, .rate-pick label:hover ~ label, .rate-pick input:checked ~ label { color: var(--ink); }
.rate-pick input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 2px; }

/* ---------- back in stock ---------- */
.restock { margin-top: 16px; padding: 16px 18px; background: var(--cream); }
.restock p { margin: 0 0 10px; font-size: 14px; }

/* ---------- chat button ---------- */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 27; display: grid; justify-items: end; gap: 10px; }
.chat-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.chat-btn svg { width: 24px; height: 24px; }
.chat-menu { background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 14px; display: grid; gap: 4px; min-width: 190px; }
.chat-menu p { margin: 0 0 6px; font: 400 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.chat-menu a { display: block; padding: 10px 12px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.chat-menu a:hover { border-color: var(--ink); }
body.has-sticky-buy .chat { bottom: 92px; }
html[data-theme] .chat-btn { background: var(--t-btn); color: var(--t-btn-ink); }

/* ---------- payment page (QR payments) ---------- */
.pay-page .panel h2 { margin-top: 0; }
.pay-grid.no-qr { grid-template-columns: 1fr; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.shot-prev { max-height: 320px; width: auto; max-width: 100%; margin: 16px 0 0; border: 1px solid var(--line); }
#payForm .btn.block { margin-top: 18px; }
#payMsg .alert { margin: 14px 0 0; }
#paidAsk { z-index: 80; }
#paidAsk .modal-box { max-height: calc(100vh - 32px); overflow-y: auto; }
#paidAsk p { margin: 0 0 20px; color: var(--ink-2); }
.ask-btns { display: grid; gap: 12px; justify-items: center; }
