/* Kanak Jewellers: deep navy, warm gold and blush.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF5F2;
  --surface: #FFFFFF;
  --soft: #F6E7E1;
  --ink: #13213C;
  --muted: #5D6476;
  --line: #EBDDD6;
  --line-strong: #D9C4BA;
  --navy: #13213C;
  --gold: #C9973A;
  --blush: #F6E7E1;
  --brand: #13213C;
  --brand-hover: #22355A;
  --brand-ink: #FFFFFF;
  --brand-text: #13213C;
  --eyebrow: #9A6E1F;
  --head: "Marcellus", Georgia, serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --btn-radius: 10px;
  --wrap: 1200px;
  --gap: 18px;
  --art-bg: linear-gradient(160deg, #FFFFFF, #F6E7E1);
  --rates-bg: #13213C;
  --rates-ink: #F3E8D8;
  --bar-bg: #13213C;
  --bar-ink: #FBF5F2;
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h1 em, h2 em, .f-statement em { font-style: normal; color: var(--gold); }
.eyebrow { letter-spacing: .16em; }
.btn { font-weight: 600; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #B3842D; }
.text-link { color: var(--navy); font-weight: 600; text-underline-offset: 5px; }
.pc-body h3 { font-family: var(--body); font-weight: 600; }

/* ---------- header ---------- */
.header { background: rgba(251,245,242,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 400 1.7rem var(--head); color: var(--navy); }
.logo small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 80px); background: linear-gradient(120deg, var(--bg) 40%, var(--blush)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); line-height: 1.04; margin: 16px 0 20px; }
.quick-x { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 12px; align-items: end; margin-top: 26px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(19,33,60,.4); }
@media (max-width: 640px) { .quick-x { grid-template-columns: 1fr 1fr; } .qx-out { grid-column: 1 / -1; } }
.qx-out { display: grid; padding: 8px 12px; border-radius: var(--radius); background: var(--navy); color: #F3E8D8; }
.qx-out span { font-size: .8rem; }
.qx-out b { font: 400 1.6rem var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.rates { border: 0; box-shadow: 0 30px 50px -30px rgba(19,33,60,.6); }
.rates-list dd { color: #fff; }

/* ---------- sections ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2, .sec-title { font-size: clamp(2rem, 4vw, 3rem); margin-top: 6px; }
.occ-tiles { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 900px) { .occ-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .occ-tiles { grid-template-columns: repeat(2, 1fr); } }
.occ-tiles a { display: grid; place-items: center; min-height: 96px; padding: 12px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); font: 400 1.2rem var(--head); text-align: center; text-decoration: none; transition: background .2s, color .2s; }
.occ-tiles a:hover { background: var(--navy); color: #fff; }
.picks-band { background: var(--soft); }
.store-strip { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 860px) { .store-strip { grid-template-columns: repeat(2, 1fr); } }
.store-strip a { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-lg); background: var(--navy); color: #F3E8D8; text-decoration: none; }
.store-strip b { font: 400 1.4rem var(--head); color: #fff; }
.store-strip .is-open { color: #8EE0B5; }

/* ---------- exchange (signature) ---------- */
.xc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .xc { grid-template-columns: minmax(0, 1fr); } }
.xc-old, .xc-new { display: grid; gap: 16px; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.xc-new { position: sticky; top: 96px; background: var(--navy); color: #DCE2EE; border: 0; }
@media (max-width: 900px) { .xc-new { position: static; } }
.xc-new .field > label { color: #fff; }
.xc-new .input { background: #fff; color: var(--ink); }
.xc-title { font-size: 1.6rem; }
.xc-new .xc-title { color: #fff; }
.old-list { list-style: none; display: grid; gap: 10px; }
.old-row { display: grid; grid-template-columns: 1.1fr .8fr 1.3fr auto 44px; gap: 10px; align-items: end; padding: 12px; border-radius: var(--radius); background: var(--soft); }
@media (max-width: 640px) { .old-row { grid-template-columns: 1fr 1fr; } .old-row .field:nth-child(3) { grid-column: 1 / -1; } }
.old-val { font-weight: 700; font-variant-numeric: tabular-nums; padding-bottom: 14px; white-space: nowrap; }
.old-x { width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); font-size: 1.2rem; cursor: pointer; margin-bottom: 3px; }
.old-x:hover { border-color: var(--navy); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.xc-sum { display: grid; gap: 6px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.xc-sum div { display: flex; justify-content: space-between; }
.xc-sum dt { color: var(--muted); }
.xc-sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.xc-value { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.xc-value b { font: 400 clamp(2rem, 4vw, 2.8rem) var(--head); color: var(--gold); font-variant-numeric: tabular-nums; }
.xc-pick { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.xc-pick:empty { display: none; }
.xc-pick svg { border-radius: var(--radius); background: #fff; padding: 6px; }
.xc-pick p { color: #fff; font-weight: 600; }
.xc-diff { font: 400 1.4rem var(--head); color: #fff; }
.xc-new .form-note { color: #A9B4C8; }

/* ---------- gift finder ---------- */
.gf { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .gf { grid-template-columns: minmax(0, 1fr); } }
.gf-qs { position: sticky; top: 96px; display: grid; gap: 22px; padding: clamp(18px, 2.6vw, 26px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .gf-qs { position: static; } }
.gq { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.gq legend, .gq-label { font: 400 1.3rem var(--head); margin-bottom: 6px; padding: 0; display: flex; justify-content: space-between; gap: 10px; }
.gq-label output { font: 600 1rem var(--body); color: var(--gold); }
.gq input[type="range"] { width: 100%; height: 30px; accent-color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-grid; place-items: center; min-height: 42px; padding: 6px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 500; font-size: .92rem; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.gf-count { font-weight: 600; margin-bottom: 14px; }
.gf .pc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* ---------- showrooms ---------- */
.stores { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .stores { grid-template-columns: minmax(0, 1fr); } }
.store-list { list-style: none; display: grid; gap: 14px; }
.store { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 100px; }
.store:target { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.st-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-top h2 { font-size: 1.6rem; }
.st-status { padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .84rem; background: var(--soft); }
.st-status.is-open { background: #DFF5E8; color: #11643B; }
.store > p { color: var(--muted); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li { padding: 4px 12px; border-radius: 999px; background: var(--soft); font-size: .84rem; font-weight: 500; }
.stock { position: sticky; top: 96px; }
@media (max-width: 900px) { .stock { position: static; } }
.stock-out { padding: 14px 16px; border-radius: var(--radius); background: var(--soft); font-weight: 600; }

/* ---------- inner pages ---------- */
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 104px); text-align: center; background: var(--navy); color: #DCE2EE; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; }
.cta-band p { margin: 14px auto 0; max-width: 52ch; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.footer { background: #0C1528; color: #A9B4C8; --footer-line: rgba(255,255,255,.12); }
.f-statement { font: 400 clamp(1.8rem, 4vw, 3rem)/1.15 var(--head); color: #fff; max-width: 26ch; margin-bottom: 48px; }
.footer .logo b { color: #fff; }
.footer .logo small { color: #8A96AD; }
.footer h2 { color: var(--gold); opacity: 1; }
.f-about { margin: 14px 0 10px; max-width: 34ch; }
.footer .credit a { color: #fff; }
