/* =====================================================================
   KayaKriti — base stylesheet (written from scratch, 2026-10-05).
   Foundation + every shared component: header tools, phone menu, dialogs,
   forms, bag, checkout, payment, confirmation, account, policies.
   The editorial home/shop look lives in kk.css (loaded after this).
   ===================================================================== */
:root {
  --maroon: #7d1521; --maroon-d: #5c0f19; --gold: #a0662b; --gold-l: #c9995a;
  --blush: #f3d4c3; --blush-2: #fbf1ec; --ink: #2a1418; --muted: #6b4a50;
  --line: rgba(42, 20, 24, .12); --ok: #2f6b3a; --bad: #b3261e; --warn: #9a5a17;
  --serif: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: min(1440px, calc(100% - 64px));
  /* names the shared scripts still use */
  --brown: var(--maroon); --cream: #fff; --cream-2: var(--blush-2); --paper: #fff;
}
@media (max-width: 760px) { :root { --wrap: calc(100% - 32px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: rgba(243, 212, 195, .8); }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; padding: 10px 16px; background: var(--maroon); color: #fff; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.page { width: var(--wrap); margin: 0 auto; padding-bottom: 40px; }
.section-kicker { margin: 0 0 10px; font: 500 12px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.section-title { font-size: clamp(28px, 3vw, 42px); }
.text-link, .link-btn { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.lede { font-size: 18px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 30px; border: 1px solid var(--maroon); border-radius: 0; background: var(--maroon); color: #fff; font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--maroon-d); border-color: var(--maroon-d); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-line { background: transparent; color: var(--maroon); }
.btn-line:hover { background: var(--maroon); color: #fff; }
.chip { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.chip.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ---------- Announcement ticker ---------- */
.promo-bar { display: flex; justify-content: center; gap: 28px; padding: 9px 16px; background: var(--maroon); color: #fbeee8; font: 400 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.promo-bar.is-ticker { display: block; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 28px; padding-left: 28px; animation: kk-ticker 40s linear infinite; }
.ticker-track i { font-style: normal; color: var(--gold-l); }
.promo-bar.is-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes kk-ticker { to { transform: translateX(-50%); } }

/* ---------- Header basics (layout in kk.css) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.logo { display: inline-flex; text-decoration: none; }
.logo-img { width: auto; height: 80px; transition: height .3s var(--ease); }
.header-tools, .header-left { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--maroon); color: #fff; font: 600 10px/18px var(--sans); text-align: center; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
.mobile-search { display: none; }

/* ---------- Phone menu panel ---------- */
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(42, 20, 24, .45); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.nav-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .35s; }
.nav-drawer { display: none; }
.nav-drawer.nav-panel { display: flex; position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); flex-direction: column; background: #fff; transform: translateX(-104%); transition: transform .45s var(--ease); overflow-y: auto; box-shadow: 0 0 60px rgba(42, 20, 24, .2); }
.nav-drawer.nav-panel.is-open { transform: none; }
html.menu-open { overflow: hidden; }
.np-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.np-logo img { height: 64px; width: auto; }
.np-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.np-links { display: grid; padding: 10px 22px; }
.np-links a { padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 22px var(--serif); }
.np-label { margin: 20px 22px 8px; font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.np-cats, .np-cats-wrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px; }
.np-cats a { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.np-foot { margin-top: auto; padding: 20px 22px; background: var(--blush-2); display: grid; gap: 8px; }
.np-foot a, .np-help, .np-wa, .np-ig { color: var(--maroon); text-decoration: none; font-size: 15px; }

/* ---------- Dialogs (search, wishlist) ---------- */
dialog { width: min(640px, calc(100% - 24px)); max-height: 86vh; padding: 0; border: 0; border-radius: 0; box-shadow: 0 30px 80px rgba(42, 20, 24, .25); }
dialog::backdrop { background: rgba(42, 20, 24, .5); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 26px; }
dialog input[type="search"], dialog input[type="text"] { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); font-size: 17px; }
dialog > *:not(.dialog-head) { padding-left: 22px; padding-right: 22px; }
.search-hit { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-hit img { width: 64px; height: 84px; object-fit: cover; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 1500; left: 50%; bottom: 28px; transform: translate(-50%, 140%); padding: 14px 22px; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: .04em; transition: transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on, .toast.is-open { transform: translate(-50%, 0); }

/* ---------- Forms ---------- */
label { display: grid; gap: 7px; font: 500 13px var(--sans); letter-spacing: .06em; color: var(--ink); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(42, 20, 24, .2); border-radius: 0; background: #fff;
  font: 400 16px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 96px; resize: vertical; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d1521' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(125, 21, 33, .12); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--maroon); width: 18px; height: 18px; }
.field-hint { font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.form-error { min-height: 1em; margin: 6px 0; color: var(--bad); font-size: 14px; }
.form-error:empty { margin: 0; }
form { display: grid; gap: 16px; }
#authSection, #resetSection { max-width: 460px; margin: 10px auto 0; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }

/* ---------- Page heads + toolbar ---------- */
.page-head { text-align: center; padding: 52px 0 18px; }
.page-head h1 { margin: 0 0 12px; font-size: clamp(36px, 4.4vw, 60px); }
.page-head p { max-width: 640px; margin: 0 auto; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 34px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.chips button:hover { border-color: var(--maroon); color: var(--maroon); }
.chips button.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sort select { min-height: 42px; width: auto; }
.sort label { display: inline; font: inherit; letter-spacing: inherit; color: inherit; }   /* "Size" / "Sort" look like the old plain text */
@media (max-width: 760px) { .sort { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1.6fr); gap: 8px; } .sort select { width: 100%; min-width: 0; } .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .chips button { flex: 0 0 auto; } }

/* ---------- Empty / errors / skeletons ---------- */
.empty { max-width: 560px; margin: 30px auto; padding: 50px 24px; text-align: center; }
.empty h2 { font-size: 34px; }
.empty .btn { margin-top: 10px; }
.load-error { text-align: center; padding: 40px 16px; color: var(--muted); }
.skel { pointer-events: none; }
.skel-box, .skel-line, .skel-pill { background: linear-gradient(90deg, #f6ece8 25%, #fbf4f1 37%, #f6ece8 63%); background-size: 400% 100%; animation: kk-shimmer 1.3s ease infinite; }
.skel-box { aspect-ratio: 3 / 4; }
.skel-line { height: 14px; margin-top: 12px; }
.skel-line.w40 { width: 40%; } .skel-line.w70 { width: 70%; }
.skel-pill { height: 46px; margin-top: 14px; }
@keyframes kk-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 28px; align-items: start; }
.product-stage { aspect-ratio: 3 / 4; overflow: hidden; background: var(--blush-2); }
.product-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); cursor: zoom-in; }
.product-stage:hover img { transform: scale(1.06); }
.gallery-strip { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-strip-thumb { flex: 0 0 84px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; }
.gallery-strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip-thumb.is-active { opacity: 1; border-color: var(--maroon); }
.product-buy { position: sticky; top: 130px; }
.crumb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumb a { text-decoration: none; }
.product-buy h1 { font-size: clamp(32px, 3.4vw, 48px); margin: 6px 0 10px; }
.amount { font: 500 24px var(--sans); }
.amount-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-buy .story { margin: 18px 0 24px; color: var(--muted); line-height: 1.8; }
.choices > span { display: block; margin-bottom: 10px; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-list button { min-width: 56px; min-height: 48px; padding: 0 14px; border: 1px solid rgba(42, 20, 24, .25); background: #fff; cursor: pointer; font: 500 14px var(--sans); }
.size-list button:hover { border-color: var(--maroon); }
.size-list button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-list button.is-out { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.stock-note { margin: 10px 0 0; font-size: 14px; color: var(--warn); }
.stock-note:empty { display: none; }
.product-buy > .btn { width: 100%; margin-top: 22px; min-height: 56px; }
.buy-perks, .detail-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.buy-perks li, .detail-list li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.buy-perks li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); }
.detail-list li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold); font-size: 9px; top: 18px; }
.related { padding-top: 90px; }
.related .section-title { margin-bottom: 30px; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } .product-buy { position: static; } }

/* ---------- Bag ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.cart-layout > div:first-child { display: grid; gap: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line img { width: 110px; height: 146px; object-fit: cover; }
.line h3 { margin: 0 0 4px; font-size: 22px; }
.line h3 a { text-decoration: none; }
.line-price { font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty span, .qty input { min-width: 32px; text-align: center; border: 0; }
.remove { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.summary { position: sticky; top: 130px; padding: 28px; background: var(--blush-2); }
.summary h2 { font-size: 26px; }
.summary-row, .total-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.total-row { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 500; }
.summary-row.is-discount { color: var(--ok); }
.summary .btn { width: 100%; margin-top: 16px; }
.note, .tax-note { font-size: 13px; color: var(--muted); }
.ship-bar { height: 4px; margin: 10px 0 4px; background: #fff; overflow: hidden; }
.ship-bar span, .ship-bar i { display: block; height: 100%; background: var(--maroon); }
.ship-nudge { font-size: 14px; }
.bag-note { padding: 12px 16px; margin: 0 0 18px; background: var(--blush-2); color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } .line { grid-template-columns: 84px 1fr; } .line img { width: 84px; height: 112px; } .line > :last-child { grid-column: 2; } }

/* ---------- Checkout ---------- */
.co-steps { display: flex; justify-content: center; gap: 0; margin: 0 auto 30px; padding: 0; list-style: none; max-width: 460px; }
.co-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-bottom: 2px solid var(--line); color: var(--muted); font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.co-steps li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; }
.co-steps li.is-current { color: var(--maroon); border-bottom-color: var(--maroon); }
.co-steps li.is-done { color: var(--ok); border-bottom-color: var(--ok); }
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.panel { padding: 30px; border: 1px solid var(--line); background: #fff; }
.co-step h2 { font-size: 28px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-full { grid-column: 1 / -1; }
.co-save { display: grid; gap: 8px; }
.addr-check { display: flex; align-items: center; gap: 10px; font-weight: 400; letter-spacing: 0; font-size: 15px; }
.guest-note { padding: 12px 14px; background: var(--blush-2); font-size: 14px; }
.co-next, .co-pay { width: 100%; min-height: 56px; margin-top: 10px; }
.co-review { display: flex; justify-content: space-between; gap: 16px; padding: 16px; margin-bottom: 22px; background: var(--blush-2); }
.co-review-label { margin: 0 0 4px; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.co-review-text { margin: 0; white-space: pre-line; }
.co-summary { position: sticky; top: 130px; padding: 28px; background: var(--blush-2); }
.co-items { list-style: none; margin: 0 0 14px; padding: 0; }
.co-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-thumb { width: 60px; height: 80px; object-fit: cover; }
.co-name { font-size: 15px; }
.co-price { font-weight: 500; }
.co-manage { font-size: 13px; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } .co-summary { position: static; order: -1; } .co-grid { grid-template-columns: 1fr; } .panel { padding: 20px; } }

/* Saved addresses at checkout */
.addr-picks { display: grid; gap: 10px; margin-bottom: 18px; }
.addr-pick { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; font-weight: 400; letter-spacing: 0; }
.addr-pick:has(input:checked) { border-color: var(--maroon); background: var(--blush-2); }
.addr-new { color: var(--maroon); }

/* Promo code */
.promo-box { margin: 14px 0; }
.promo-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.promo-apply { min-height: 50px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.promo-applied, .promo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; border: 1px dashed var(--gold); color: var(--gold); font-size: 13px; letter-spacing: .08em; }
.promo-msg, .promo-hint { font-size: 13px; color: var(--muted); }
.promo-msg.is-ok { color: var(--ok); } .promo-msg.is-bad, .promo-msg.is-error { color: var(--bad); }
.promo-choice { display: flex; gap: 8px; margin-top: 8px; }

/* Payment options */
.pay-methods { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-legend { margin-bottom: 8px; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.pm-group { margin: 12px 0 2px; font: 500 13px var(--sans); color: var(--ink); }
.pm-group span { color: var(--muted); font-weight: 400; }
.pm { position: relative; display: grid; grid-template-columns: 40px 1fr auto 22px; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); cursor: pointer; letter-spacing: 0; font-weight: 400; transition: border-color .2s, background .2s; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm:hover { border-color: rgba(125, 21, 33, .5); }
.pm:has(input:checked) { border-color: var(--maroon); background: var(--blush-2); }
.pm-icon svg { width: 30px; height: 30px; color: var(--maroon); }
.pm-text { display: grid; gap: 2px; }
.pm-text strong { font-size: 16px; font-weight: 500; }
.pm-text small { color: var(--muted); font-size: 13px; }
.pm-marks { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.mk { display: inline-grid; place-items: center; min-width: 40px; height: 24px; padding: 0 6px; border: 1px solid var(--line); background: #fff; font: 700 10px var(--sans); font-style: normal; letter-spacing: .04em; }
.mk svg { height: 14px; width: auto; }
.mk-visa { color: #1a1f71; font-style: italic; } .mk-upi { color: #097939; } .mk-rupay { color: #1b3a86; } .mk-amex { color: #2e77bb; }
.pm-check { width: 22px; height: 22px; border: 1.5px solid rgba(42, 20, 24, .3); border-radius: 50%; }
.pm:has(input:checked) .pm-check { border: 6px solid var(--maroon); }
.is-popular::after { content: "Popular"; position: absolute; top: -9px; right: 14px; padding: 2px 8px; background: var(--gold); color: #fff; font: 500 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pm.is-cod .pm-icon svg { color: var(--gold); }
.pm-trust { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .pm { grid-template-columns: 32px 1fr 22px; } .pm-marks { grid-column: 2; justify-content: start; } }

/* ---------- Order confirmation ---------- */
.cf { width: var(--wrap); margin: 0 auto; }
.cf-hero { text-align: center; padding: 50px 0 30px; }
.cf-check { width: 76px; height: 76px; margin: 0 auto 18px; }
.cf-check-ring { stroke: var(--maroon); }
.cf-check-tick { stroke: var(--maroon); }
.cf-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.cf-sub { color: var(--muted); }
.order-no { display: inline-block; padding: 8px 16px; background: var(--blush-2); font: 500 15px var(--sans); letter-spacing: .1em; white-space: nowrap; }
.cf-copy { margin-left: 8px; }
.cf-pill, .cf-paynote { display: inline-block; padding: 6px 12px; margin: 10px 4px 0; border: 1px solid var(--line); font-size: 13px; }
.cf-pill.is-paid { border-color: var(--ok); color: var(--ok); }
.cf-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.cf-card { padding: 26px; border: 1px solid var(--line); margin-bottom: 20px; }
.cf-card h2 { font-size: 24px; }
.cf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cf-steps li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.cf-steps li.is-done, .cf-steps li.is-current { color: var(--ink); }
.cf-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.is-done .cf-dot { background: var(--ok); border-color: var(--ok); }
.is-current .cf-dot { background: var(--maroon); border-color: var(--maroon); }
.cf-items { list-style: none; margin: 0; padding: 0; }
.cf-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cf-thumb img { width: 64px; height: 84px; object-fit: cover; }
.cf-items small { display: block; color: var(--muted); }
.cf-price { font-weight: 500; }
.cf-summary, .cf-side { background: var(--blush-2); }
.cf-address, .cf-facts { color: var(--muted); }
.cf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-help, .cf-wa, .cf-gift { font-size: 14px; }
.cf-track { margin-top: 14px; }
@media (max-width: 900px) { .cf-grid { grid-template-columns: 1fr; } }

/* ---------- Account ---------- */
#accountSection { max-width: 1040px; margin: 0 auto; }
.acc-crumb { margin-bottom: 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acc-crumb a { color: var(--maroon); }
.acc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.acc-hello { margin: 0; font: 400 26px var(--serif); }
.acc-title { font-size: 32px; }
.acc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.acc-tile { display: flex; gap: 18px; align-items: center; padding: 26px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.acc-tile:hover { border-color: var(--maroon); background: var(--blush-2); }
.acc-tile-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blush-2); color: var(--maroon); flex-shrink: 0; }
.acc-tile-icon svg { width: 26px; height: 26px; }
.acc-tile strong { display: block; font: 400 21px var(--serif); }
.acc-tile small { color: var(--muted); font-size: 14px; }
.acc-card { padding: 24px; border: 1px solid var(--line); margin-bottom: 18px; }
.acc-empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.acc-items { display: flex; gap: 8px; }
.acc-items img { width: 54px; height: 72px; object-fit: cover; }
.order-card { border: 1px solid var(--line); margin-bottom: 16px; }
.order-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--blush-2); font-size: 14px; }
.order-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.order-card > :not(.order-card-head):not(.order-card-foot) { padding: 16px 18px; }
@media (max-width: 700px) { .acc-tiles { grid-template-columns: 1fr; } }

/* Address book */
.addr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addr-add, .addr-card { min-height: 230px; border: 1px solid var(--line); }
.addr-add { display: grid; place-content: center; justify-items: center; gap: 8px; border-style: dashed; text-decoration: none; color: var(--muted); }
.addr-add-plus, .addr-plus { font-size: 46px; line-height: 1; color: var(--maroon); }
.addr-card { display: flex; flex-direction: column; }
.addr-default-bar { padding: 8px 16px; background: var(--maroon); color: #fff; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.addr-inner, .addr-body { padding: 16px; flex: 1; }
.addr-top { display: flex; justify-content: space-between; gap: 8px; }
.addr-chip, .addr-label { display: inline-block; padding: 2px 8px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.addr-default { color: var(--maroon); }
.addr-actions { display: flex; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.addr-actions button, .addr-actions a { background: none; border: 0; padding: 0; color: var(--maroon); cursor: pointer; text-decoration: underline; }
.addr-note { padding: 12px 16px; background: var(--blush-2); }
.addr-form, .addr-page-form { max-width: 620px; }
.addr-labels { display: flex; gap: 8px; }
.addr-form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .addr-grid { grid-template-columns: 1fr; } }

/* Login & security */
.sec-list { display: grid; border: 1px solid var(--line); }
.sec-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); }
.sec-row:last-child { border-bottom: 0; }
.sec-text { color: var(--muted); }
.sec-fields { display: grid; gap: 14px; max-width: 460px; }

/* ---------- Policies, contact, story, collections ---------- */
.policy, .prose { max-width: 820px; margin: 0 auto; }
.policy-body h2, .prose h2 { margin-top: 1.8em; font-size: 28px; }
.policy-body p, .policy-body li, .prose p, .prose li { color: #4a3036; line-height: 1.85; }
.policy-updated { color: var(--muted); font-size: 14px; }
.business-details { padding: 18px; background: var(--blush-2); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font: 400 20px var(--serif); list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: "+"; color: var(--maroon); }
details[open] summary::after { content: "–"; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 40px; }
.contact-card { padding: 26px; border: 1px solid var(--line); text-align: center; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.enquiry { max-width: 620px; margin: 0 auto; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reasons article { padding: 26px; border: 1px solid var(--line); }
.band { width: var(--wrap); margin: 0 auto; padding: 70px 0 0; }
.edit { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--line); }
.edit h2 { font-size: 36px; }
@media (max-width: 900px) { .story-grid, .edit, .reasons { grid-template-columns: 1fr; } }
.category-tile { position: relative; display: block; overflow: hidden; }
.category-tile img, .category-tile-blank { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--blush-2); }
.tile-label { position: absolute; left: 16px; bottom: 16px; color: #fff; }
.unavailable { max-width: 560px; margin: 0 auto; text-align: center; padding: 30px 0; }
.unavailable-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.unavailable-picks { margin-top: 48px; }

/* ---------- Footer ---------- */
.site-footer { display: grid; gap: 34px 40px; padding: 64px max(32px, calc((100% - 1440px) / 2)) 26px; background: var(--blush-2); border-top: 1px solid rgba(125, 21, 33, .1); }
.site-footer h2 { margin: 0 0 16px; }
.site-footer a { display: block; margin: 0 0 10px; color: #4a3036; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--maroon); }
.site-footer p { color: #4a3036; font-size: 15px; }
.site-footer .logo { display: inline-block; margin-bottom: 14px; }
.site-footer .logo-img-full { height: 190px; width: auto; }
.social-links { display: flex; gap: 10px; }
.site-footer .social-links a { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border: 1px solid rgba(125, 21, 33, .25); border-radius: 50%; color: var(--maroon); }
.site-footer .social-links a:hover { background: var(--maroon); color: #fff; }
.social-links svg { width: 19px; height: 19px; }
.pay-badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(125, 21, 33, .12); }
.pay-label { margin-right: 6px; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pay-chip { padding: 5px 11px; border: 1px solid rgba(125, 21, 33, .18); background: #fff; font-size: 12px; color: #4a3036; }
.pay-secure { margin-left: auto; font-size: 12px; color: var(--muted); }
.legal { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(125, 21, 33, .12); font-size: 13px; color: var(--muted); }

/* WhatsApp button */
.whatsapp-float { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* First-paint reveal used by the shared script */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
