/* ─────────────────────────────────────────────────────────────────────────
   Chrissy Wig Collection storefront. High-contrast serif display + clean
   letter-spaced sans UI on a warm neutral palette.
   ───────────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #555;
  --muted: #9a948b;
  --line: #e6e1d8;
  --sand: #cdbfa6;
  --sand-soft: #ece7dd;
  --accent: #1a1a1a;
  --danger: #a8432f;
  --ok: #4a6b4a;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1280px;
  --shadow: 0 10px 40px rgba(26, 22, 16, .14);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); font-weight: 300; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
/* Visible keyboard focus for all interactive elements (mouse users unaffected). */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
#view:focus { outline: none; }
[inert] { pointer-events: none; }
/* A CSS display value beats the `hidden` attribute, which let an empty
   .countdown pill show as a stray black box — enforce hidden globally. */
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
.serif { font-family: var(--serif); }
.upper { text-transform: uppercase; letter-spacing: .18em; }
.muted { color: var(--muted); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
/* CWC dark header — the logo lives on black, so the whole bar goes dark and
   blends with the logo's background; nav/icons/search flip to light. */
.hdr { background: linear-gradient(180deg, #0a0d16 0%, #05070d 100%); border-bottom: 1px solid rgba(160,180,220,.16); }
.hdr .nav > a, .hdr .nav__top { color: #eef1f6; }
.hdr .nav > a::after, .hdr .nav__top::after { background: #1e6bff; height: 1.5px; }
.hdr .iconbtn { color: #eef1f6; }
.hdr .iconbtn:hover { color: #1e6bff; }
.hdr .searchpanel { background: #05070d; }
.hdr .searchpanel__inner input { color: #eef1f6; }
.hdr .searchpanel__inner input::placeholder { color: #7c8598; }
.hdr .searchpanel__icon { color: #7c8598; }
.hdr .searchsug__name { color: #eef1f6; }
.hdr .searchsug { border-top-color: rgba(160,180,220,.14); }
/* Logo left · nav centered · icons right. */
.hdr__bar { max-width: var(--maxw); margin: 0 auto; padding: 12px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .04em; justify-self: start; display: inline-flex; align-items: center; line-height: 0; }
.brand b { font-weight: 500; }
/* Big enough that the "Chrissy Wig Collection" wordmark inside the logo is
   actually legible — it is only ~9% of the logo's height. Bar padding is pulled
   in so the taller mark does not blow up the sticky header. */
.brand__logo { height: 104px; width: auto; display: block; transition: height .25s ease; }
.hdr__bar { transition: padding .25s ease; }
.hdr--compact .brand__logo { height: 62px; }
.hdr--compact .hdr__bar { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 720px) { .brand__logo { height: 68px; } .hdr--compact .brand__logo { height: 46px; } }
@media (prefers-reduced-motion: reduce) { .brand__logo, .hdr__bar { transition: none; } }
.nav { display: flex; gap: 38px; justify-content: center; align-items: center; }
.nav > a, .nav__top { font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); padding: 6px 0; position: relative; cursor: pointer; display: inline-block; background: none; border: 0; }
.nav > a::after, .nav__top::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--ink); transition: width .25s; }
.nav > a:hover::after, .nav > a.active::after, .nav__group:hover .nav__top::after, .nav__top.active::after { width: 100%; }
.hdr__icons { display: flex; gap: 22px; justify-content: flex-end; align-items: center; }

/* ── Shop mega-menu ─────────────────────────────────────────────────────── */
.nav__group { display: inline-flex; align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 38px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; z-index: 45; }
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__cols { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.mega__col h5 { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 500; margin: 0 0 14px; }
.mega__col a { display: block; font-size: 13.5px; letter-spacing: .02em; text-transform: none; color: var(--ink-soft); padding: 7px 0; transition: color .15s; }
.mega__col a:hover { color: var(--ink); }
.mega__empty { font-size: 12.5px; color: var(--muted); }
.iconbtn { background: none; border: 0; font-size: 18px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; letter-spacing: .1em; padding: 4px; }
.iconbtn small { font-size: 12px; }
/* Consistent stroke line-icons across the header. */
.iconbtn .ico { width: 21px; height: 21px; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn--cart { position: relative; }
.cart-badge { position: absolute; top: -3px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #1e6bff; color: #fff; font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ── Search panel + mobile nav ──────────────────────────────────────────── */
.navtoggle { display: none; font-size: 20px; }
.searchpanel { max-height: 0; overflow: hidden; transition: max-height .28s ease; border-top: 0 solid var(--line); }
.searchpanel[aria-hidden="false"] { max-height: 70vh; border-top: 1px solid var(--line); }
.searchpanel__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 12px; }
.searchpanel__icon { font-size: 20px; color: var(--muted); }
.searchpanel__inner input { flex: 1; border: 0; outline: none; font: 300 22px/1 var(--serif); background: transparent; padding: 6px 0; }
.searchpanel__results { max-width: var(--maxw); margin: 0 auto; padding: 0 32px 18px; }
.searchsug { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.searchsug img { width: 44px; height: 56px; object-fit: cover; background: var(--sand-soft); }
.searchsug__name { font-family: var(--serif); font-size: 16px; }
.searchsug__price { font-size: 13px; color: var(--muted); }
.searchsug__all { display: block; padding: 12px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; border-top: 1px solid var(--line); }
.searchsug__hint { padding: 14px 0 4px; color: var(--muted); font-size: 13px; }
.swatch.sold { opacity: .5; text-decoration: line-through; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 15px 34px; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; transition: .2s; }
.btn:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--link { border: 0; background: none; padding: 6px 0; border-bottom: 1px solid var(--ink); letter-spacing: .18em; }
.btn--block { width: 100%; text-align: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--sm { padding: 10px 20px; font-size: 11px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* ── Hero (configurable: split | cover | card | minimal) ─────────────────── */
.hero { position: relative; overflow: hidden; background: var(--sand-soft) center/cover no-repeat; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw 6vw; position: relative; z-index: 2; }
.hero__inner { max-width: 640px; }
.hero__eyebrow { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 26px; }
.hero__title { font-size: clamp(44px, 7.5vw, 100px); line-height: .98; margin: 0 0 26px; }
.hero__sub { font-size: 17px; color: var(--ink-soft); max-width: 34ch; margin: 0 0 38px; line-height: 1.7; }
.hero__cta { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.hero__img { background: var(--sand) center/cover no-repeat; min-height: 360px; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; }
/* heights */
.hero--h-sm { min-height: 52vh; } .hero--h-md { min-height: 66vh; } .hero--h-lg { min-height: 80vh; }
/* split — copy beside a tall image */
.hero--split { display: grid; grid-template-columns: 1fr 1fr; }
/* cover & card — copy overlaid on a full-bleed image */
.hero--cover, .hero--card, .hero--minimal { display: flex; }
.hero--cover .hero__copy, .hero--card .hero__copy, .hero--minimal .hero__copy { width: 100%; }
/* minimal — centred typography, soft gradient, no image */
.hero--minimal { background: linear-gradient(165deg, var(--sand-soft), var(--bg)); }
.hero--minimal .hero__inner { max-width: 780px; }
.hero--minimal .hero__sub { max-width: 54ch; }
/* card — frosted-glass copy panel */
.hero--card .hero__copy { padding: 6vw; }
.hero--card .hero__inner { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); padding: 40px 44px; border-radius: 10px; box-shadow: var(--shadow); }
/* copy alignment */
.hero--a-left .hero__copy { align-items: flex-start; text-align: left; }
.hero--a-center .hero__copy { align-items: center; text-align: center; }
.hero--a-center .hero__inner { margin-left: auto; margin-right: auto; }
.hero--a-center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--a-right .hero__copy { align-items: flex-end; text-align: right; }
.hero--a-right .hero__inner { margin-left: auto; }
/* light text (for image/dark backgrounds) */
.hero--text-light .hero__title, .hero--text-light .hero__eyebrow { color: #fff; }
.hero--text-light .hero__sub { color: rgba(255, 255, 255, .85); }
.hero--text-light .btn--link { color: #fff; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 32px; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 10px; }
.section__head p { color: var(--muted); letter-spacing: .04em; }

/* ── Product grid ───────────────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 24px; }
.pcard { display: block; }
.pcard__media { position: relative; aspect-ratio: 3/4; background: var(--sand-soft); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); padding: 4px 9px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .16em; font-weight: 500; }
.pcard__tag.sold { background: var(--ink); color: #fff; }
.pcard__body { padding: 14px 0 0; }
.pcard__brand { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 3px; }
.pcard__name { font-family: var(--serif); font-size: 17px; line-height: 1.25; margin: 0 0 5px; }
.pcard__price { font-size: 13.5px; letter-spacing: .02em; color: var(--ink-soft); }
/* Sale price = accent; the old price is muted + struck through. Applies anywhere
   (cards, PDP, quick-view, variant buttons). */
.sale { color: var(--danger); }
.was { color: var(--muted); text-decoration: line-through; margin-left: 8px; }

/* ── Catalog layout — product grid left, filters on the RIGHT ────────────── */
.catalog { display: grid; grid-template-columns: 1fr 250px; gap: 48px; max-width: var(--maxw); margin: 0 auto; padding: 44px 32px 90px; }
.catalog--nofilters { grid-template-columns: 1fr; }
.catalog__main { order: 1; min-width: 0; }
.filters { order: 2; align-self: start; position: sticky; top: 100px; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters__head h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .16em; margin: 0; }
.filters__close { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }
.filters h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 12px; }
.filters a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.filters a.active, .filters a:hover { color: var(--ink); }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); gap: 16px 24px; flex-wrap: wrap; }
.catalog__title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.catalog__head h1 { font-size: 34px; margin: 0; line-height: 1; }
.catalog__count { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.catalog__tools { display: flex; gap: 8px; align-items: center; }
/* Search + sort + filter share one height so the toolbar reads as a single row. */
.catalog__tools .shopsearch, .catalog__tools .select, .catalog__tools .filterbtn { height: 42px; border-radius: 2px; }
.select { font-family: inherit; border: 1px solid var(--line); background: #fff; padding: 0 34px 0 14px; font-size: 13px; color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.select:focus { outline: none; border-color: var(--ink); }
/* Phones: stack the tools under the title and let search flex so 3 controls
   (search + sort + filter) never overflow the viewport. */
@media (max-width: 640px) {
  .catalog__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .catalog__tools { width: 100%; }
  .catalog__tools .shopsearch { flex: 1 1 auto; width: auto; min-width: 0; }
}
/* Small phones: search gets its own full-width row so its placeholder isn't
   clipped; sort + filter share the row below. */
@media (max-width: 480px) {
  .catalog__tools { flex-wrap: wrap; }
  .catalog__tools .shopsearch { flex: 1 1 100%; }
  .catalog__tools .select { flex: 1; }
}
.filterbtn { display: none; border: 1px solid var(--ink); background: #fff; padding: 9px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-chips .ac { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.active-chips .ac:hover { border-color: var(--ink); }
.active-chips .clear { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 12px; cursor: pointer; }
.filters__ov { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filterbtn { display: inline-block; }
  .filters { position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 88vw); background: #fff; z-index: 95; transform: translateX(100%); transition: transform .3s; overflow: auto; padding: 24px; box-shadow: var(--shadow); }
  .filters.open { transform: none; }
  .filters__close { display: block; }
  .filters__ov.show { display: block; position: fixed; inset: 0; background: rgba(20,20,20,.42); z-index: 94; }
}

/* ── Product detail ─────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; max-width: var(--maxw); margin: 0 auto; padding: 44px 32px 90px; align-items: start; }
.pdp__gallery { display: grid; gap: 12px; min-width: 0; }
.pdp__main { aspect-ratio: 3/4; background: var(--sand-soft); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
/* Thumbnails scroll horizontally within the column instead of overflowing the
   page (6+ fixed-width thumbs are wider than a phone viewport). */
.pdp__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: #cdc6b8 transparent; -webkit-overflow-scrolling: touch; }
.pdp__thumbs::-webkit-scrollbar { height: 5px; }
.pdp__thumbs::-webkit-scrollbar-thumb { background: #cdc6b8; border-radius: 3px; }
.pdp__thumbs img { flex: none; width: 76px; height: 96px; object-fit: cover; cursor: pointer; opacity: .6; }
.pdp__thumbs img.active { opacity: 1; outline: 1px solid var(--ink); }
.pdp__info { position: sticky; top: 110px; }
.pdp__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.pdp__title { font-size: 40px; margin: 8px 0 14px; line-height: 1.05; }
.pdp__price { font-size: 22px; margin-bottom: 6px; }
.pdp__price .sale { color: var(--danger); } .pdp__price .was { color: var(--muted); text-decoration: line-through; margin-left: 10px; font-size: 17px; }
.opt { margin-bottom: 22px; }
.opt__label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { border: 1px solid var(--line); background: #fff; padding: 11px 16px; font-size: 13px; letter-spacing: .04em; min-width: 48px; text-align: center; }
.swatch.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.swatch:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
/* Product add-ons (paid options) */
.addons { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 18px 0 6px; }
.addons__title { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.addon-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.addon-opt input { width: 16px; height: 16px; }
.addon-opt__label { flex: 1; }
.addon-field { margin: 10px 0; }
.addon-field label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 5px; }
.addon-field select, .addon-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); font-family: inherit; font-size: 14px; background: #fff; }
.addon-price { color: var(--ink); font-size: 13px; white-space: nowrap; }
.addon-field .req, .req { color: #a3322b; }
.addon-hint { font-size: 12px; color: var(--muted); margin-top: 8px; min-height: 14px; }
.cline__addons { margin: 2px 0 6px; }
.addon-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.addon-row em { font-style: italic; color: var(--ink-soft); }
.pdp__desc { margin: 28px 0; color: var(--ink-soft); line-height: 1.8; font-size: 15px; }
.pdp__specs { margin: 22px 0; }
.pdp__specs-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.pdp__specs .spectable { margin-top: 8px; }
.pdp__specs .spectable th { width: 170px; padding: 10px 14px 10px 0; }
.pdp__specs .spectable td { padding: 10px 0; }
.pdp__meta { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.stockline { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.countdown { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 7px 13px; background: var(--ink); color: #fff; border-radius: 4px; font-size: 12px; }
.countdown__lbl { letter-spacing: .12em; text-transform: uppercase; opacity: .75; font-size: 10px; }
.countdown__t { font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: .04em; }
.stockline.low { color: var(--danger); } .stockline.ok { color: #4a6b4a; }

/* ── Cart drawer ────────────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer[aria-hidden="false"] { pointer-events: auto; }
.drawer__ov { position: absolute; inset: 0; background: rgba(26,26,26,.4); opacity: 0; transition: .25s; }
.drawer[aria-hidden="false"] .drawer__ov { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; height: 100%; width: min(440px, 100%); background: var(--surface); transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.drawer[aria-hidden="false"] .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 20px; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 24px; }
.cline { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline__img { width: 72px; height: 92px; object-fit: cover; background: var(--sand-soft); flex: none; }
.cline__name { font-family: var(--serif); font-size: 16px; }
.cline__opt { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 30px; height: 30px; border: 0; background: #fff; font-size: 15px; }
.qty span { min-width: 34px; display: grid; place-items: center; font-size: 13px; }
.linkx { background: none; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0 0; }
.trow { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.trow.grand { font-size: 18px; font-family: var(--serif); border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 14px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field.err input { border-color: var(--danger); }
.field .msg { color: var(--danger); font-size: 12px; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* ── Checkout ───────────────────────────────────────────────────────────── */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; max-width: var(--maxw); margin: 0 auto; padding: 50px 32px 90px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 28px; }
.panel h3 { margin: 0 0 18px; font-size: 20px; }
.summary { position: sticky; top: 110px; }
.ship-opt { display: flex; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.ship-opt.active { border-color: var(--ink); }
.note { font-size: 12px; color: var(--muted); }
.autofill { font-size: 12px; padding: 6px 0; }

/* ── Confirmation / account / generic ───────────────────────────────────── */
.narrow { max-width: 760px; margin: 0 auto; padding: 60px 32px 100px; }
.center { text-align: center; padding: 80px 20px; color: var(--muted); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tabs button { background: none; border: 0; padding: 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--ink); border-color: var(--ink); }
.orow { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.badge { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; padding: 4px 9px; background: var(--sand-soft); }
.badge.paid,.badge.delivered{background:#e3ece3;color:#3c5a3c}.badge.pending{background:#f3ecd9;color:#8a6d2a}
.badge.cancelled,.badge.refunded{background:#f3e0db;color:#a8432f}.badge.shipped,.badge.processing{background:#e0e7ef;color:#3a567a}

/* ── Ratings / reviews / filters / tabs ─────────────────────────────────── */
.stars { color: #b08a3e; letter-spacing: 1px; font-size: 13px; }
.pcard__rating { margin-top: 4px; font-size: 12px; min-height: 16px; }
.filters .facet { border-top: 1px solid var(--line); padding: 18px 0; }
.filters .facet:first-of-type { border-top: 0; }
.swatchrow { display: flex; flex-wrap: wrap; gap: 7px; }
.fswatch { border: 1px solid var(--line); background: #fff; padding: 6px 11px; font-size: 12px; cursor: pointer; }
.fswatch.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.checkline { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; cursor: pointer; }
.pricein { display: flex; gap: 8px; align-items: center; }
.pricein input { width: 70px; padding: 8px; border: 1px solid var(--line); font-family: inherit; }
/* One clean control: white box, transparent buttons that fill the (possibly
   stretched) height — otherwise 48px white buttons float inside a taller box
   and read as separate framed squares. */
.qtybox { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); background: #fff; }
.qtybox button { width: 42px; border: 0; background: transparent; font-size: 18px; color: var(--ink); line-height: 1; transition: background .15s; }
.qtybox button:hover { background: rgba(26,22,16,.06); }
.qtybox span { min-width: 40px; display: grid; place-items: center; font-size: 15px; }
.ptabs { max-width: var(--maxw); margin: 0 auto; padding: 0 32px 40px; }
.ptabs__nav { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.ptabs__nav button { background: none; border: 0; padding: 16px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); border-bottom: 2px solid transparent; }
.ptabs__nav button.active { color: var(--ink); border-color: var(--ink); }
.ptabs__body { padding: 28px 0; }
.spectable { margin: 26px 0 0; border-collapse: collapse; width: 100%; max-width: 680px; font-size: 14px; }
.spectable tr { border-bottom: 1px solid var(--line); }
.spectable th { text-align: left; font-weight: 500; color: var(--ink); width: 200px; padding: 12px 16px 12px 0; vertical-align: top; }
.spectable td { color: var(--ink-soft); padding: 12px 0; }
.review { border-bottom: 1px solid var(--line); padding: 18px 0; }
.review__head { display: flex; justify-content: space-between; align-items: center; }
.review__name { font-weight: 400; font-family: var(--serif); font-size: 16px; }
.review__verified { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #4a6b4a; border: 1px solid #cfe0cf; padding: 2px 7px; margin-left: 8px; }
.rate-input { font-size: 26px; color: var(--line); cursor: pointer; }
.rate-input span.on { color: #b08a3e; }
.notify-box { border: 1px solid var(--line); padding: 16px; margin-top: 6px; }
.notify-box input { width: 100%; padding: 11px; border: 1px solid var(--line); font-family: inherit; margin: 8px 0; }
.news { display: flex; gap: 8px; max-width: 360px; margin-top: 12px; }
.news input { flex: 1; padding: 12px; border: 1px solid #4a463f; background: transparent; color: #fff; font-family: inherit; }
.news button { background: #fff; color: var(--ink); border: 0; padding: 0 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; cursor: pointer; }

/* ── Account portal ─────────────────────────────────────────────────────── */
.account { display: grid; grid-template-columns: 220px 1fr; gap: 44px; max-width: var(--maxw); margin: 0 auto; padding: 44px 32px 90px; align-items: start; }
.acct-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 100px; }
.acct-hello { font-family: var(--serif); font-size: 22px; }
.acct-nav a { padding: 9px 0; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.acct-nav a:hover { color: var(--ink); }
.acct-nav a.active { color: var(--ink); font-weight: 500; }
.acct-body { min-width: 0; }
.acct-title { font-size: 30px; margin: 0 0 22px; }
.acct-sub { font-size: 20px; margin: 30px 0 14px; }
.acct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 10px; }
.acct-card { background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.acct-card .k { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.acct-card .v { font-family: var(--serif); font-size: 30px; margin: 6px 0; }
.acct-order { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 10px; font-size: 14px; }
.acct-order:hover { border-color: var(--ink); }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.addr-card { border: 1px solid var(--line); background: var(--surface); padding: 18px; font-size: 14px; position: relative; }
.addr-card .badge { position: absolute; top: 12px; right: 12px; }
.addr-actions { display: flex; gap: 14px; margin-top: 12px; }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; } .acct-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; } }

/* Blog article header image as a clean banner (portrait sources are cropped to
   a consistent height, weighted toward the top so faces/hairlines stay in). */
.post-hero { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; border-radius: 4px; margin-bottom: 28px; display: block; }

/* ── Legal / contact pages ──────────────────────────────────────────────── */
/* Highlight business details that still need filling in via the admin. */
.legal-todo { display: inline-block; background: #fdf3e3; color: #9a6a1a; border: 1px dashed #d9b877; border-radius: 3px; padding: 1px 7px; font-size: 13px; font-style: italic; }
.legal-id { border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.legal-id th { text-align: left; font-family: var(--sans); font-weight: 500; color: var(--ink); width: 190px; padding: 9px 16px 9px 0; vertical-align: top; border: 0; background: none; }
.legal-id td { padding: 9px 0; color: var(--ink-soft); border: 0; }
.prose .legal-callout { background: var(--sand-soft); border-left: 3px solid var(--sand); padding: 16px 20px; margin: 18px 0; border-radius: 0 4px 4px 0; }
.prose .legal-callout strong { color: var(--ink); }
.prose .legal-callout p { margin: 8px 0 0; }
.prose .legal-model { border: 1px solid var(--line); background: #fff; padding: 18px 22px; margin: 12px 0; border-radius: 4px; }
.prose .legal-model p { margin: 6px 0; }

/* ── Prose (CMS pages / blog body) ──────────────────────────────────────── */
.prose img { max-width: 100%; height: auto; border-radius: 2px; }
.prose h1, .prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; margin: 1.3em 0 .5em; line-height: 1.2; }
.prose h1 { font-size: 34px; } .prose h2 { font-size: 27px; } .prose h3 { font-size: 21px; }
.prose blockquote { border-left: 3px solid var(--sand); margin: 1em 0; padding: 6px 18px; color: var(--ink-soft); font-style: italic; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--sand-soft); font-family: var(--serif); font-weight: 400; }
.prose tbody tr:nth-child(even) { background: rgba(205,191,166,.08); }
/* Wide tables scroll horizontally within the article on small screens. */
.table-scroll { margin: 1.3em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #cdc6b8 transparent; }
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: #cdc6b8; border-radius: 3px; }
/* Only genuinely wide tables (4+ columns) need a min-width + horizontal scroll;
   2–3 column tables just fit the article width. */
.table-scroll--wide table { min-width: 560px; }
.prose figure { margin: 1.4em 0; }
.prose figure.re-video, .prose .re-video { position: relative; padding-bottom: 56.25%; height: 0; }
.prose figure.re-video iframe, .prose .re-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose iframe { max-width: 100%; }

/* ── Lightbox / size-guide modal ────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 120; display: none; }
.lb[aria-hidden="false"] { display: block; }
.lb__ov { position: absolute; inset: 0; background: rgba(20,20,20,.82); }
.lb__inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90vw; max-height: 90vh; background: #fff; }
.lb__inner img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; }
.lb__close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 28px; background: none; border: 0; cursor: pointer; z-index: 2; }
.lb__box { background: #fff; padding: 32px; width: min(560px, 92vw); max-height: 86vh; overflow: auto; }
.lb__box h3 { font-size: 24px; margin: 0 0 16px; }
.sizetable { width: 100%; border-collapse: collapse; font-size: 14px; }
.sizetable th, .sizetable td { border: 1px solid var(--line); padding: 10px 12px; text-align: center; }
.sizetable th { background: var(--sand-soft); font-weight: 400; font-family: var(--serif); }
.pdp__main { cursor: zoom-in; }
.sizelink { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: 12px; letter-spacing: .04em; padding: 0; }

/* ── Toast / footer ─────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 24px; font-size: 13px; letter-spacing: .06em; opacity: 0; pointer-events: none; transition: .3s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }
.footer { background: var(--ink); color: #cfc9bf; padding: 64px 32px; }
.footer__in { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--serif); font-weight: 400; }
.footer a { display: block; padding: 5px 0; font-size: 13px; color: #cfc9bf; }
.spin { display: inline-block; width: 13px; height: 13px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: sp .7s linear infinite; }
/* Loading skeletons */
.skel { position: relative; overflow: hidden; background: var(--sand-soft); border-radius: 3px; }
.skel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: shimmer 1.3s infinite; }
.skel-line { height: 11px; margin: 8px 0; }
.pcard--skel { pointer-events: none; }
.pcard--skel .pcard__media { aspect-ratio: 4/5; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes sp { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; } .hero--split .hero__img { min-height: 300px; order: -1; }
  .pdp, .checkout { grid-template-columns: 1fr; gap: 32px; }
  .catalog { grid-template-columns: 1fr; }
  .hdr__bar { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; }
  .navtoggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow-y: auto; overflow-x: hidden; transition: max-height .28s ease; z-index: 40; }
  .nav.open { max-height: 82vh; }
  .nav > a, .nav__top { padding: 14px 32px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav > a::after, .nav__top::after { display: none; }
  /* The open menu is a light panel, so flip the links back to dark ink — the
     header-bar light colour would be near-invisible white-on-white here. */
  .hdr .nav > a, .hdr .nav__top { color: var(--ink); }
  .hdr .nav > a:hover, .hdr .nav > a.active, .hdr .nav__top.active { color: #1e6bff; }
  .nav__group { display: block; }
  /* On mobile the mega becomes an inline, tap-to-expand section of the menu. */
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; display: none; background: var(--bg); }
  .mega.open { display: block; }
  .mega__cols { display: block; padding: 0; max-width: none; gap: 0; }
  .mega__col h5 { padding: 14px 32px 2px; margin: 0; }
  .mega__col a { padding: 11px 44px; border-bottom: 1px solid var(--line); }
  .footer__in { grid-template-columns: 1fr; }
}

/* ── Shop live search ────────────────────────────────────────────────────── */
.shopsearch { border: 1px solid var(--line); background: var(--surface, #fff); padding: 0 14px; font: inherit; font-size: 13px; width: 210px; border-radius: 2px; }
.shopsearch:focus { outline: none; border-color: var(--ink); }

/* ── Product-card quick view ─────────────────────────────────────────────── */
.pcard__media { position: relative; }
.pcard__quick { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(8px); opacity: 0; transition: .2s; background: rgba(255,255,255,.96); border: 1px solid var(--ink); color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; padding: 9px 18px; cursor: pointer; white-space: nowrap; z-index: 2; }
.pcard:hover .pcard__quick { opacity: 1; transform: translateX(-50%) translateY(0); }
.pcard__quick:hover { background: var(--ink); color: #fff; }
@media (hover: none) { .pcard__quick { opacity: 1; transform: translateX(-50%); bottom: 10px; padding: 7px 14px; } }

/* ── Variant quick-view modal ────────────────────────────────────────────── */
.qv-ov { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s; }
.qv-ov.open { opacity: 1; }
.qv-ov__bg { position: absolute; inset: 0; background: rgba(20,18,15,.55); }
.qv-card { position: relative; width: 100%; max-width: 880px; max-height: 90vh; overflow: auto; background: var(--bg); box-shadow: 0 40px 100px rgba(20,18,15,.42); transform: translateY(14px) scale(.985); transition: transform .24s ease; }
.qv-ov.open .qv-card { transform: none; }
.qv-x { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.9); border: 0; border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 14px; color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.14); transition: .15s; }
.qv-x:hover { background: var(--ink); color: #fff; }
.qv-grid { display: grid; grid-template-columns: 1.02fr 1fr; }
/* Image fills the info column's height (info height is near-constant because the
   option list is capped + scrolls) — so no empty gap, and cards stay uniform. */
.qv-media { background: #efeae1; align-self: stretch; overflow: hidden; position: relative; min-height: 0; }
.qv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.95); color: var(--ink); font-size: 9.5px; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; padding: 6px 10px; }
.qv-badge--sale { background: var(--ink); color: #fff; }
.qv-info { padding: 40px 38px 30px; display: flex; flex-direction: column; }
.qv-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 22px; }
.qv-eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 10px; }
.qv-title { font-family: var(--serif, 'Playfair Display', serif); font-size: 26px; line-height: 1.12; margin: 0 0 12px; }
.qv-priceRow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qv-price { font-size: 20px; letter-spacing: .01em; }
.qv-price .sale { color: var(--danger); } .qv-price .was { color: var(--muted); text-decoration: line-through; margin-left: 8px; font-size: 15px; }
.qv-vat { font-size: 11.5px; color: var(--muted); }
.qv-desc { font-size: 13px; line-height: 1.65; color: var(--ink-soft); margin: 12px 0 0; }
.qv-optsWrap { position: relative; }
/* Soft fade at the bottom signals the option list scrolls (toggled from JS). */
.qv-optsWrap.is-scroll::after { content: ''; position: absolute; left: 0; right: 8px; bottom: 0; height: 30px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.qv-opts { max-height: 172px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: #cdc6b8 transparent; }
.qv-opts::-webkit-scrollbar { width: 6px; }
.qv-opts::-webkit-scrollbar-track { background: transparent; }
.qv-opts::-webkit-scrollbar-thumb { background: #cdc6b8; border-radius: 3px; }
.qv-opts .opt { margin-bottom: 16px; }
.qv-opts .opt:last-child { margin-bottom: 6px; }
.qv-opts .opt__label { margin-bottom: 9px; }
.qv-opts .swatches { gap: 6px; }
.qv-opts .swatch { padding: 8px 10px; font-size: 12px; min-width: 34px; }
.qv-stock { min-height: 17px; margin: 14px 0; font-size: 12px; letter-spacing: .02em; }
.qv-stock em { font-style: normal; }
.qv-stock__ok { color: var(--ok); }
.qv-stock__low { color: #a8752f; }
.qv-stock__out { color: var(--danger); }
.qv-variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.qv-variant { border: 1px solid var(--line); background: #fff; padding: 9px 14px; font-size: 12.5px; cursor: pointer; transition: .15s; }
.qv-variant:hover:not(:disabled) { border-color: var(--ink); }
.qv-variant.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.qv-variant:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.qv-actions { display: flex; gap: 10px; align-items: stretch; margin-top: auto; padding-top: 4px; }
.qv-wish { flex: none; width: 48px; padding: 0; font-size: 16px; line-height: 1; }
.qv-wish.is-wished { color: var(--danger); border-color: var(--danger); }
.qv-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.qv-full { display: inline-block; align-self: flex-start; margin-top: 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: .15s; }
.qv-full:hover { color: var(--ink); border-color: var(--ink); }
/* Stacked on mobile: a 3/4 box would go tall+narrow (aspect-ratio drives width
   once max-height caps it), so switch to a wide banner crop at full width. */
@media (max-width: 680px) { .qv-grid { grid-template-columns: 1fr; } .qv-media { aspect-ratio: 3/2; max-height: none; align-self: stretch; } .qv-info { padding: 24px 22px; } .qv-opts { max-height: none; } }

/* ── Marketing popup / modal ─────────────────────────────────────────────── */
.popup-ov { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20,18,15,.55); opacity: 0; transition: opacity .22s ease; }
.popup-ov.open { opacity: 1; }
.popup-card { position: relative; width: 100%; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.28); transform: translateY(14px) scale(.98); transition: transform .24s ease; max-height: 88vh; overflow: auto; }
.popup-ov.open .popup-card { transform: none; }
.popup-content .popup-body { padding: 40px 38px; text-align: center; }
.popup-image .popup-body { padding: 0; }
.popup-img { display: block; width: 100%; height: auto; }
.popup-image .popup-body > [data-popup-cta] + .btn, .popup-image .btn { margin: 18px; }
.popup-h { font-size: 28px; margin: 0 0 14px; line-height: 1.15; }
.popup-prose { color: var(--ink-soft); line-height: 1.8; font-size: 15px; }
.popup-prose img { max-width: 100%; height: auto; }
.popup-x { position: absolute; top: 10px; right: 12px; z-index: 2; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; width: 32px; height: 32px; cursor: pointer; font-size: 14px; line-height: 1; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.popup-x:hover { background: #fff; }
@media (max-width: 560px) { .popup-content .popup-body { padding: 30px 22px; } .popup-h { font-size: 23px; } }
