/* ==========================================================================
   Alinkrit Jewels — inner pages
   Built on the house tokens. Signature: the jharokha arch from the mark.
   ========================================================================== */
@import url('/assets/css/fonts.css');

@font-face {
  font-family: 'Allright';
  src: url('/assets/fonts/allright.ttf') format('truetype'), url('/assets/fonts/allright.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --indigo: #262262;
  --night: #100E2B;
  --indigo-deep: #1A1744;
  --gold: #C5A059;
  --gold-soft: #DFCA9B;
  --gold-line: rgba(197, 160, 89, .38);
  --pearl: #FAF8F5;
  --pearl-warm: #F3EEE6;
  --white: #FFFFFF;
  --ink: #2B2940;
  --ink-soft: #5D5A72;
  --line: rgba(38, 34, 98, .12);
  --danger: #9B2C2C;
  --ok: #2F6B4F;

  --display: 'Allright', 'Cormorant Garamond', Georgia, serif;
  --text: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --arch: 50% 50% 0 0 / 40% 40% 0 0;            /* semicircular head on a 4:5 frame */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--pearl); color: var(--ink);
  font: 300 1rem/1.7 var(--text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Type ------------------------------------------------------------------ */
h1, h2, h3, .display { font-family: var(--display); font-weight: normal; color: var(--indigo); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; max-width: 68ch; }
.lede { font-size: 1.14rem; line-height: 1.75; color: var(--ink); max-width: 56ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.kicker { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* Header ---------------------------------------------------------------- */
.s-top { background: var(--night); border-bottom: 1px solid rgba(197, 160, 89, .14); color: #E6DDCC; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.s-top .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.s-top a { text-decoration: none; }
.s-top a:hover { color: var(--gold-soft); }
@media (max-width: 760px) { .s-top .wrap > :last-child { display: none; } .s-top .wrap { justify-content: center; } }

.s-head { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid var(--gold-line); transition: box-shadow .3s; }
.s-head.is-scrolled { box-shadow: 0 8px 28px rgba(16, 14, 43, .28); }
.s-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; }
.s-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.s-nav--right { justify-content: flex-end; align-items: center; }
.s-nav a { color: #F3EEE6; text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.s-nav a:hover, .s-nav a[aria-current="page"] { color: var(--gold-soft); border-bottom-color: var(--gold-line); }
.s-logo img { height: 46px; width: auto; }
.s-bag { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.s-bag svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.s-bag__count { min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: var(--night); font-size: .66rem; font-weight: 600; display: inline-grid; place-items: center; padding: 0 5px; letter-spacing: 0; }
.s-bag__count[hidden] { display: none; }
.s-menu { display: none; background: none; border: 0; color: #FAF8F5; padding: 8px; cursor: pointer; }
.s-menu svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.4; fill: none; }
@media (max-width: 1080px) {
  .s-head .wrap { grid-template-columns: auto 1fr auto; }
  .s-nav--left, .s-nav--right a:not(.s-bag):not(.s-icon) { display: none; }
  .s-saved { display: none !important; }
  .s-menu { display: block; }
  .s-logo { justify-self: center; }
  .s-logo img { height: 40px; }
}

.s-drawer { position: fixed; inset: 0; z-index: 80; background: var(--night); color: var(--pearl); padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--ease); visibility: hidden; }
.s-drawer.is-open { transform: none; visibility: visible; }
.s-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.s-drawer__head img { height: 36px; width: auto; }
.s-drawer button { background: none; border: 0; color: var(--pearl); font-size: 1.6rem; cursor: pointer; }
.s-drawer nav a { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--pearl); text-decoration: none; padding: 8px 0; }
.s-drawer nav a:hover { color: var(--gold-soft); }
.s-drawer__sub { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(250, 248, 245, .14); display: grid; gap: 10px; }
.s-drawer__sub a { font-family: var(--text); font-size: .95rem; color: #D9D4E4; }

/* Breadcrumb ------------------------------------------------------------ */
.crumbs { font-size: .8rem; color: var(--ink-soft); padding: 22px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--indigo); text-decoration: underline; }

/* Page hero ------------------------------------------------------------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { margin: 14px 0 22px; }
.hero--simple .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--simple h1 { max-width: 18ch; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* The arch -------------------------------------------------------------- */
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--night); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(223, 202, 155, .55); pointer-events: none; z-index: 1; }
.arch--wide { aspect-ratio: 5 / 4; border-radius: 50% 50% 0 0 / 50% 50% 0 0; }

/* Sections -------------------------------------------------------------- */
.band { padding: clamp(56px, 8vw, 112px) 0; }
.band--pearl-warm { background: var(--pearl-warm); }
.band--night { background: var(--night); color: #E9E4F0; }
.band--night h2, .band--night h3 { color: var(--pearl); }
.band--indigo { background: var(--indigo); color: #ECE8F4; }
.band--indigo h2, .band--indigo h3 { color: var(--pearl); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev > :first-child { order: 0; } }
.rule { height: 1px; background: var(--gold-line); border: 0; margin: 0; }

/* Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--indigo); background: transparent; color: var(--indigo); font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--indigo); color: var(--pearl); }
.btn--solid { background: var(--indigo); color: var(--pearl); }
.btn--solid:hover { background: var(--night); border-color: var(--night); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--night); }
.btn--light { border-color: rgba(250, 248, 245, .6); color: var(--pearl); }
.btn--light:hover { background: var(--pearl); color: var(--indigo); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Collection ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.filters a { text-decoration: none; font-size: .9rem; color: var(--ink-soft); padding: 4px 0; border-bottom: 1px solid transparent; }
.filters a:hover { color: var(--indigo); }
.filters a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { text-decoration: none; display: block; }
.card .arch img { transition: transform 1.2s var(--ease); }
.card:hover .arch img { transform: scale(1.035); }
.card__body { padding: 20px 4px 0; text-align: center; }
.card__name { font-family: var(--display); font-size: 1.5rem; color: var(--indigo); line-height: 1.2; }
.card__meta { font-size: .86rem; color: var(--ink-soft); margin-top: 6px; }
.card__price { font-size: .86rem; color: var(--ink); margin-top: 10px; letter-spacing: .02em; }
.empty { border: 1px solid var(--gold-line); padding: clamp(32px, 5vw, 64px); text-align: center; }
.empty h2 { margin-bottom: 14px; }
.empty p { margin-left: auto; margin-right: auto; }

/* Product --------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); }
.pdp__media { position: sticky; top: 104px; align-self: start; }
.pdp__media .arch { aspect-ratio: 4 / 5; }
.pdp__info h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); margin: 10px 0 18px; }
.pdp__price { font-size: 1.15rem; color: var(--ink); margin: 6px 0 24px; }
.pdp__price small { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.specs { display: grid; grid-template-columns: 130px minmax(0, 1fr); margin: 28px 0 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { color: var(--ink-soft); }
.specs ul { list-style: none; margin: 0; padding: 0; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-size: .82rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(38, 34, 98, .28); background: var(--white); border-radius: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(197, 160, 89, .3); }
.field .hint { font-size: .8rem; color: var(--ink-soft); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); margin: 6px 0 20px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.form-status { font-size: .9rem; margin-top: 14px; min-height: 1.4em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }

.acc { border-top: 1px solid var(--line); margin-top: 36px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--indigo); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; color: var(--gold); transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 20px; font-size: .95rem; }

.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); margin-top: 32px; }
.promise > div { background: var(--pearl); padding: 18px 16px; font-size: .82rem; line-height: 1.5; }
.promise strong { display: block; font-weight: 500; color: var(--indigo); margin-bottom: 4px; }
@media (max-width: 560px) { .promise { grid-template-columns: 1fr; } }

/* Prose (written pages) -------------------------------------------------- */
.prose { max-width: 720px; }
.prose section { padding: 8px 0 18px; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 34px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--indigo); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 10px 0 24px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose th { font-weight: 500; color: var(--indigo); background: var(--pearl-warm); }
.prose dl { display: grid; grid-template-columns: 160px 1fr; gap: 0 20px; }
.prose dt { font-weight: 500; color: var(--indigo); padding: 10px 0; border-bottom: 1px solid var(--line); }
.prose dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.layout-aside { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: 24px 0 clamp(56px, 8vw, 104px); }
.aside-nav { position: sticky; top: 112px; align-self: start; font-size: .9rem; }
.aside-nav p { font-weight: 500; color: var(--indigo); margin-bottom: 10px; }
.aside-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.aside-nav a { text-decoration: none; color: var(--ink-soft); }
.aside-nav a:hover, .aside-nav a[aria-current="page"] { color: var(--indigo); }
.aside-nav a[aria-current="page"] { border-left: 2px solid var(--gold); padding-left: 10px; margin-left: -12px; }
@media (max-width: 860px) { .layout-aside { grid-template-columns: 1fr; } .aside-nav { position: static; } }

/* Tiles (index pages) --------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tile { text-decoration: none; padding: 30px 26px 26px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 10px; transition: border-color .3s; }
.tile:hover { border-color: var(--gold); }
.tile h3 { font-size: 1.45rem; }
.tile p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.steps li { list-style: none; counter-increment: s; border-top: 1px solid var(--gold-line); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { font-size: .9rem; margin: 0; }
.band--night .steps p { color: #CFC9DC; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.timeline .year { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); color: var(--gold); line-height: 1; }
.timeline h3 { margin: 14px 0 10px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }

.labs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold-line); }
.labs > div { padding: 26px 22px 6px 0; }
.labs .abbr { font-family: var(--display); font-size: 2.6rem; color: var(--indigo); line-height: 1; }
@media (max-width: 700px) { .labs { grid-template-columns: 1fr; } }

/* Bag / checkout -------------------------------------------------------- */
.bag { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); padding: 24px 0 clamp(56px, 8vw, 104px); }
@media (max-width: 900px) { .bag { grid-template-columns: 1fr; } }
.bag-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-line .arch { aspect-ratio: 4 / 5; }
.bag-line h3 { font-size: 1.3rem; }
.bag-line button { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 36px; height: 36px; text-decoration: none; color: var(--indigo); }
.qty span { min-width: 32px; display: grid; place-items: center; font-size: .9rem; }
.summary { background: var(--white); border: 1px solid var(--line); padding: 28px; align-self: start; position: sticky; top: 108px; }
.summary h2 { font-size: 1.7rem; margin-bottom: 18px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 20px; font-size: .95rem; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 500; color: var(--indigo); border-top: 1px solid var(--line); padding-top: 12px; }

/* Dialog ---------------------------------------------------------------- */
dialog.modal { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--pearl); color: var(--ink); }
dialog.modal::backdrop { background: rgba(16, 14, 43, .62); }
.modal__inner { padding: clamp(24px, 4vw, 40px); overflow-y: auto; max-height: calc(100vh - 32px); }
.modal__close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--indigo); }
.modal h2 { font-size: 2rem; margin: 6px 0 10px; padding-right: 32px; }

/* Toast ----------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--night); color: var(--pearl); padding: 14px 22px; font-size: .9rem; z-index: 90; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Footer ---------------------------------------------------------------- */
.s-foot { background: var(--night); color: #CFC9DC; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .9rem; }
.s-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.s-foot img.logo { height: 48px; width: auto; margin-bottom: 18px; }
.s-foot h2 { font-family: var(--text); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.s-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.s-foot a { text-decoration: none; color: #E4DFEC; }
.s-foot a:hover { color: var(--gold-soft); }
.s-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(250, 248, 245, .12); font-size: .8rem; color: #9E98B3; }
.s-foot__base nav { display: flex; flex-wrap: wrap; gap: 18px; }
.credit { display: inline-flex; gap: 10px; align-items: center; }
.credit img { width: 18px; height: 18px; border-radius: 3px; opacity: .8; }
@media (max-width: 980px) { .s-foot__grid { grid-template-columns: 1fr 1fr; } .s-foot__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Commerce v2 ------------------------------------------------------------ */
.s-icon { position: relative; display: inline-flex; align-items: center; }
.s-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.s-icon .s-bag__count { position: absolute; top: -8px; right: -12px; }
.grid > li { position: relative; }
.save-btn { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(250, 248, 245, .92); border: 1px solid var(--gold-line); color: var(--indigo); padding: 7px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.save-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.save-btn[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }
.save-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-btn--inline { position: static; background: none; border: 0; padding: 0; }
.save-btn--inline span { position: static; width: auto; height: auto; clip: auto; }
.pdp__links { display: flex; gap: 22px; align-items: center; margin: 14px 0 0; }
.c-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin: -18px 0 32px; }
.c-tools__ctl { display: flex; gap: 20px; flex-wrap: wrap; }
.c-tools label { display: inline-flex; gap: 10px; align-items: center; color: var(--ink-soft); }
.c-tools select { width: auto; min-width: 150px; min-height: 40px; padding: 6px 30px 6px 10px; border: 1px solid rgba(38, 34, 98, .25); background: var(--white); color: var(--ink); }
.notice { border: 1px solid var(--gold-line); background: var(--white); padding: 18px 22px; margin-bottom: 8px; }
.notice p { margin: 6px 0 0; }
.bag-line.is-unavailable .arch, .bag-line.is-unavailable h3 { opacity: .55; }
.bag-line__problem { color: #8A3B2F; margin: 8px 0 0; }
.bag-line__mono { display: grid; place-items: center; background: var(--pearl-warm); }
.bag-line__mono img { width: 46%; height: auto; object-fit: contain; }
.bag-line h3 a { text-decoration: none; }
.qty button[disabled] { opacity: .35; cursor: default; }
.summary dl .tax { border: 0; padding-top: 0; }
.code-pill { display: inline-block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--gold-line); padding: 1px 7px; margin-left: 4px; vertical-align: 2px; color: var(--indigo); }
.code-form { margin: 0 0 6px; }
.code-form__row { display: flex; gap: 8px; margin-top: 6px; }
.code-form__row input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(38, 34, 98, .28); background: var(--white); text-transform: uppercase; letter-spacing: .06em; }
.code-form__row .btn { min-height: 46px; padding: 0 16px; }
.codes { list-style: none; margin: 0 0 16px; padding: 0; font-size: .86rem; }
.codes li { padding: 4px 0; }
.codes button { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: .8rem; margin-left: 6px; }
.gift { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 18px; }
.gift textarea { width: 100%; min-height: 76px; padding: 10px 12px; border: 1px solid rgba(38, 34, 98, .28); background: var(--white); margin-top: 6px; }
.btn.is-disabled { opacity: .4; pointer-events: none; }
.bag-blocked { color: #8A3B2F; }
.co-h { font-size: 1.7rem; margin-bottom: 18px; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.search-form { display: flex; gap: 10px; max-width: 640px; margin-top: 22px; }
.search-form input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(38, 34, 98, .28); background: var(--white); font-size: 1rem; }
.o-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 28px 0 40px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.o-steps li { border-top: 2px solid var(--line); padding-top: 10px; }
.o-steps li.is-done { border-color: var(--gold-line); color: var(--indigo); }
.o-steps li.is-current { border-color: var(--gold); color: var(--indigo); font-weight: 600; }
@media (max-width: 620px) { .o-steps { grid-template-columns: 1fr; } }
.order-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
.summary-dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 18px 0; font-size: .95rem; }
.summary-dl dd { margin: 0; text-align: right; }
.summary-dl .total { font-weight: 500; color: var(--indigo); border-top: 1px solid var(--line); padding-top: 12px; }
.summary-dl .tax { border: 0; padding-top: 0; }
.o-timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.o-timeline li { padding: 10px 0 10px 18px; border-left: 1px solid var(--gold-line); position: relative; }
.o-timeline li::before { content: ""; position: absolute; left: -4px; top: 16px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.o-timeline time { display: block; font-size: .76rem; color: var(--ink-soft); }

/* Product photograph gallery */
.pdp__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pdp__thumb { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--line); background: var(--white); cursor: pointer; overflow: hidden; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

/* Client account */
.acct { padding-bottom: clamp(56px, 8vw, 104px); }
.acct h1 { margin: 18px 0 14px; }
.acct-form { max-width: 440px; margin-top: 26px; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 18px 0 30px; flex-wrap: wrap; }
.acct-head h1 { margin: 6px 0 4px; }
.acct-orders { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.acct-orders li { border-bottom: 1px solid var(--line); }
.acct-orders a { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; text-decoration: none; color: inherit; }
.acct-orders a:hover strong { color: var(--gold); }
.acct-orders a > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.acct-orders__end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
@media (max-width: 640px) { .acct-orders a { grid-template-columns: 1fr auto; } .acct-orders a > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }

/* Product page: price breakdown, dispatch, advisor help, assurance (v1.7) ---------------- */
.pdp__price { margin-bottom: 10px; }
.pdp__break { margin: 0 0 14px; font-size: .88rem; }
.pdp__break summary { cursor: pointer; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; list-style: none; display: inline-block; }
.pdp__break summary::-webkit-details-marker { display: none; }
.pdp__break dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 14px 0 8px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); }
.pdp__break dt, .pdp__break dd { margin: 0; }
.pdp__break dd { text-align: right; font-variant-numeric: tabular-nums; }
.pdp__break .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 500; color: var(--indigo); }
.pdp__dispatch { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink); }
.pdp__dispatch svg, .co-dispatch svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.pdp__help { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.pdp__help a, .pdp__help button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); background: transparent; color: var(--indigo); font: inherit; font-size: .86rem; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.pdp__help a:hover, .pdp__help button:hover { border-color: var(--gold); background: var(--white); }
.pdp__help svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.assure { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); }
.assure li { display: flex; gap: 12px; align-items: flex-start; background: var(--pearl); padding: 16px; font-size: .82rem; line-height: 1.45; color: var(--ink-soft); }
.assure svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; margin-top: 1px; }
.assure strong { display: block; font-weight: 500; color: var(--indigo); margin-bottom: 2px; font-size: .88rem; }
@media (max-width: 520px) { .assure { grid-template-columns: 1fr; } }
dialog.modal--wide { width: min(760px, calc(100vw - 32px)); }
.sg-table { overflow-x: auto; margin: 8px 0 16px; }
.sg-table table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.sg-table th, .sg-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sg-table th { font-weight: 500; color: var(--indigo); }
.sg-how { margin: 0 0 16px; font-size: .9rem; }
.sg-how summary { cursor: pointer; color: var(--indigo); font-weight: 500; margin-bottom: 8px; }

/* Checkout: focused layout, steps, photographs (v1.7) ----------------------------------- */
.s-head--min .wrap { min-height: 68px; }
.s-min__back, .s-min__secure { display: inline-flex; align-items: center; gap: 8px; color: var(--pearl); font-size: .84rem; text-decoration: none; }
.s-min__back:hover { color: var(--gold); }
.s-min__secure { justify-self: end; color: rgba(250, 248, 245, .82); }
.s-min__back svg, .s-min__secure svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
@media (max-width: 560px) { .s-min__secure span, .s-min__back span { display: none; } }
.s-foot--min { padding: 28px 0; }
.s-foot--min .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .84rem; }
.s-foot--min nav { display: flex; gap: 18px; flex-wrap: wrap; }
.co-wrap { padding-top: 28px; }
.co-steps { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0 auto 8px; padding: 0; max-width: 520px; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.co-steps li { flex: 1; text-align: center; position: relative; padding-top: 18px; }
.co-steps li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; border: 1px solid var(--gold); background: var(--pearl); z-index: 1; }
.co-steps li + li::after { content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 1px; background: var(--gold-line); }
.co-steps .is-done::before, .co-steps .is-current::before { background: var(--gold); }
.co-steps .is-current { color: var(--indigo); font-weight: 500; }
.co-steps a { color: inherit; text-decoration: none; }
.co-title { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 18px; }
.co-submit { display: inline-flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; }
.co-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.co-summary .co-line { align-items: center; gap: 14px; padding: 12px 0; }
.co-line__img { width: 64px; height: 80px; flex: none; overflow: hidden; border-radius: 32px 32px 0 0; background: var(--pearl-warm); }
.co-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-line__img--mono { display: grid; place-items: center; }
.co-line__img--mono img { width: 30px; height: 30px; object-fit: contain; }
.co-line__txt { flex: 1; display: grid; gap: 3px; font-size: .9rem; }
.co-line__txt strong { font-weight: 500; color: var(--ink); }
.co-line__txt .muted { font-size: .8rem; }
.co-line__price { font-size: .9rem; white-space: nowrap; }
.co-dispatch { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; }
.co-assure { list-style: none; margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-soft); }
.co-assure li { padding-left: 20px; position: relative; }
.co-assure li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 8px; height: 5px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.co-help { margin-top: 16px; padding: 14px 16px; background: var(--pearl-warm); line-height: 1.55; }
.field--row > .field { align-content: start; }
@media (max-width: 900px) {
  .co-summary { order: -1; position: static; padding: 20px; }
  .co-summary h2 { font-size: 1.4rem; margin-bottom: 8px; }
  .co-summary .co-assure, .co-summary .co-help { display: none; }
}

/* Mobile optimisation (v1.8) ------------------------------------------------------------- */
@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 8px; }
  .pdp__media { position: static; }
  .pdp__info h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin: 6px 0 12px; }
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .aside-nav ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .aside-nav ul::-webkit-scrollbar { display: none; }
  .aside-nav li { flex: none; }
  .aside-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .aside-nav a[aria-current="page"] { margin-left: 0; padding-left: 14px; border: 1px solid var(--gold); background: var(--white); }
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
  .pdp__thumbs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .pdp__thumbs::-webkit-scrollbar { display: none; }
  .pdp__thumb { flex: none; scroll-snap-align: start; }
  .pdp__help { grid-template-columns: 1fr 1fr; }
  .pdp__help a, .pdp__help button { font-size: .8rem; padding: 10px 12px; min-height: 48px; }
  .pdp .actions .btn { flex: 1 1 100%; }
  .specs { grid-template-columns: 104px minmax(0, 1fr); }
  .crumbs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs ol { flex-wrap: nowrap; }
  .field input, .field select, .field textarea { font-size: 16px; }   /* stops iOS zooming into fields */
  dialog.modal, dialog.modal--wide { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; }
  .modal__inner { max-height: 92vh; padding: 28px 20px; }
}
/* Sticky price and action bar on phones, shown once the main buttons scroll away */
.pdp-bar { display: none; }
@media (max-width: 860px) {
  .pdp-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 248, 245, .97); border-top: 1px solid var(--gold-line); box-shadow: 0 -8px 24px rgba(16, 14, 43, .08); transform: translateY(110%); transition: transform .25s ease; }
  .pdp-bar.is-on { transform: none; }
  .pdp-bar__txt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .pdp-bar__txt strong { font-weight: 500; font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp-bar__txt span { font-size: .9rem; color: var(--indigo); }
  .pdp-bar .btn { min-height: 46px; padding: 0 18px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .pdp-bar { transition: none; } }

/* Site credit badge (Fabulous Media brand guidelines, fabulousmedia.in/brand) */
.siteCredit{display:inline-flex;align-items:center;gap:14px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.siteCredit .creditLogo{display:inline-flex;align-items:center;line-height:0;opacity:.82;transition:opacity .2s ease}
.siteCredit .creditLogo:hover{opacity:1}
.siteCredit .creditLogo img{display:block;height:24px;width:auto}
.siteCredit .creditDivider{width:1px;height:20px;background:currentColor;opacity:.22}
.siteCredit.on-dark .creditLogo--mono img{filter:brightness(0) invert(1)}
@media (prefers-color-scheme:dark){.siteCredit:not(.on-light) .creditLogo--mono img{filter:brightness(0) invert(1)}}
@media (max-width: 760px) {
  .s-top { font-size: .62rem; letter-spacing: .1em; }
  .s-top .wrap { padding-top: 7px; padding-bottom: 7px; }
  .s-top .wrap > :first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .s-head .wrap { min-height: 64px; }
  .s-logo img { height: 40px; }
}
@media (max-width: 860px) { .has-pdp-bar .s-foot { padding-bottom: 96px; } }
/* Collections on phones: two pieces per row, swipeable categories, compact tools */
@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 12px 0; margin-left: calc(-1 * var(--gutter, 20px)); margin-right: calc(-1 * var(--gutter, 20px)); padding-left: var(--gutter, 20px); padding-right: var(--gutter, 20px); scrollbar-width: none; margin-bottom: 24px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex: none; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; }
  .filters a[aria-current="page"] { border-color: var(--gold); background: var(--white); }
  .c-tools { margin: -8px 0 20px; }
  .c-tools__ctl { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .c-tools label { display: grid; gap: 4px; }
  .c-tools select { min-width: 0; width: 100%; font-size: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card__body { padding-top: 12px; }
  .card__name { font-size: 1.12rem; }
  .card__meta { font-size: .76rem; margin-top: 4px; }
  .card__price { font-size: .8rem; margin-top: 6px; }
  .grid .save-btn { top: 8px; right: 8px; padding: 6px 7px; }
}
.co-giving { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; background: var(--pearl-warm); line-height: 1.5; }
.co-giving svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
