/* Tonka — site styles. One sheet for English (LTR) and Arabic (RTL). */

:root {
  color-scheme: light;
  --ivory: #F7F3EC;
  --paper: #FFFFFF;
  --sand: #FBF8F3;
  --ink: #2B1605;
  --ink-2: #4A3A2B;
  --muted: #6E5B48;
  --line: #E4DBCD;
  --line-soft: #EFE8DC;
  --field: #CDBFAC;
  --accent: #BD5400;
  --accent-bright: #FFA33B;
  --night: #0A0A0A;
  --earth: #1C1109;
  --on-dark: #F7F3EC;
  --on-dark-2: #D9CDBD;
  --on-dark-3: #A8998A;
  --error: #A3260F;

  --display: 'Marcellus', 'Times New Roman', serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --arabic: 'Noto Naskh Arabic', 'Geeza Pro', 'Traditional Arabic', serif;

  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1440px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
html[lang="ar"] body { font-family: var(--arabic); font-size: 17px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; color: var(--ivory); }

/* Type */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; line-height: 1.08; text-wrap: balance; margin: 0; }
html[lang="ar"] .display { font-family: var(--arabic); font-weight: 400; letter-spacing: 0; line-height: 1.4; }
h1.display { font-size: clamp(44px, 6.2vw, 84px); }
h2.display { font-size: clamp(32px, 3.8vw, 54px); }
.display.small { font-size: clamp(28px, 2.8vw, 40px); }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.eyebrow-bright { color: var(--accent-bright); }
.lede { margin: 0; font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--ink-2); max-width: 34em; }
html[lang="ar"] .lede { font-weight: 400; }
.letter { font-family: var(--arabic); line-height: 1; }
.label { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .label { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* Price with Omani rial sign */
.price { display: inline-flex; align-items: center; gap: 0.28em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rial {
  display: inline-block; width: 1.07em; height: 0.72em; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url(../img/rial.svg) center / contain no-repeat;
          mask: url(../img/rial.svg) center / contain no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0;
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center;
  background: transparent; color: var(--ink); transition: background-color .15s, color .15s;
}
html[lang="ar"] .btn { letter-spacing: 0; text-transform: none; font-size: 16px; }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: #3F2A14; color: var(--ivory); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-outline:disabled:hover { background: transparent; color: var(--ink); }
.btn-block { width: 100%; }
.btn-grow { flex: 1 1 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); position: relative; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 38px; width: auto; }
.site-nav { display: flex; gap: 40px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="ar"] .site-nav { letter-spacing: 0; text-transform: none; font-size: 17px; }
.site-nav a { padding: 10px 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-link { font-size: 17px; padding: 10px 4px; font-family: var(--arabic); }
html[lang="ar"] .lang-link { font-family: var(--body); font-size: 14px; letter-spacing: 0.12em; }
.bag-count {
  position: absolute; top: 3px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ink); color: var(--ivory);
  font-family: var(--body); font-size: 11px; line-height: 18px; text-align: center;
}
.menu-btn { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(780px, 82vh); }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-block: 72px; padding-inline: var(--gutter) clamp(24px, 4vw, 64px); }
.hero-media { background: var(--night); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); background: var(--night); color: var(--on-dark); }
.story-media { overflow: hidden; min-height: 520px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.story-text { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-block: 80px; padding-inline: clamp(24px, 6vw, 96px) var(--gutter); }
.story-mark { width: 40px; height: auto; }
.story-text p:last-child { margin: 0; max-width: 32em; font-size: 18px; line-height: 1.75; font-weight: 300; color: var(--on-dark-2); }
html[lang="ar"] .story-text p:last-child { font-weight: 400; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 60px); }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head.center { align-items: center; text-align: center; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--paper); display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 4 / 4.4; max-width: 100%; border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding-top: 20px; transition: transform .4s ease; }
.card-media:hover img { transform: scale(1.02); }
.card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-title { display: inline-flex; align-items: baseline; gap: 14px; }
.card-title .letter { font-size: 52px; }
.card-name { font-family: var(--display); font-size: 25px; }
.card-price { font-size: 20px; }
.card-notes { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--ink-2); }
html[lang="ar"] .card-notes { font-weight: 400; }
.card-wear { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.card .btn { margin-top: auto; }

/* Scent guide */
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.moment { background: var(--ivory); padding: 36px 30px; display: flex; flex-direction: column; gap: 28px; min-height: 190px; }
.moment h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.25; }
html[lang="ar"] .moment h3 { font-family: var(--arabic); font-size: 21px; }
.moment-letters { margin: auto 0 0; display: flex; gap: 22px; font-family: var(--arabic); font-size: 38px; line-height: 1; }
.moment-letters a { padding: 4px 2px; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
.promise-item { border-top: 1px solid var(--ink); padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.promise-item h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 23px; }
html[lang="ar"] .promise-item h3 { font-family: var(--arabic); font-size: 21px; }
.promise-item p { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 300; color: var(--muted); }
html[lang="ar"] .promise-item p { font-weight: 400; }

/* Footer */
.site-footer { background: var(--earth); color: var(--on-dark); padding-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; }
.footer-brand img { height: 48px; width: auto; }
.footer-slogan { margin: 0; font-family: var(--display); font-size: 22px; color: var(--on-dark-2); }
html[lang="ar"] .footer-slogan { font-family: var(--arabic); }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-col h2 { margin: 0 0 10px; font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); }
html[lang="ar"] .footer-col h2 { letter-spacing: 0; font-size: 14px; }
.footer-col a { color: var(--on-dark-2); padding: 6px 0; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid #3A2A1C; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--on-dark-3); }
.site-footer :focus-visible { outline-color: var(--on-dark); }

/* Toast */
.toast {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto; max-width: 420px; background: var(--earth); color: var(--on-dark);
  padding: 14px 16px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 10px 30px rgba(28, 17, 9, 0.25); font-size: 15px;
}
.toast a { color: var(--accent-bright); text-decoration: underline; white-space: nowrap; padding: 8px 4px; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: 28px 100px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { aspect-ratio: 700 / 820; max-width: 100%; background: var(--paper); overflow: hidden; }
.gallery-main.is-dark { background: var(--night); }
.gallery-img { width: 100%; height: 100%; }
.gallery-img.is-photo { object-fit: cover; object-position: 45% 55%; }
.gallery-img.is-notes { object-fit: contain; background: var(--paper); padding: 6%; }
.thumbs { display: flex; gap: 14px; }
.thumb { width: 110px; height: 128px; padding: 0; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.thumb.is-dark { background: var(--night); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[data-show="notes"] img { object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.product-info { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.product-title { margin: 0; display: flex; align-items: baseline; gap: 22px; font-weight: 400; }
.product-title { padding-top: 0.2em; }
.product-title .letter { font-size: clamp(88px, 9vw, 120px); line-height: 1.25; }
.product-name { font-family: var(--display); font-size: clamp(40px, 4vw, 56px); }
.product-price { font-size: 28px; align-self: flex-start; }
.info-block { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.info-block p { margin: 0; font-size: 17px; }
.info-pair { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.info-pair > div { display: flex; flex-direction: column; gap: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; }
.buy-row { border-top: 1px solid var(--line); padding-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.stepper { height: 54px; display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 50px; height: 52px; border: 0; background: transparent; font-size: 20px; }
.stepper [data-qty] { min-width: 34px; text-align: center; font-family: var(--body); font-variant-numeric: tabular-nums; }
.soldout-note { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); color: var(--error); }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows dt { margin: 0; }
.rows dd { margin: 0; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rows dd a { text-decoration: underline; }
.more { padding-top: 0; border-top: 1px solid var(--line); padding-block: 80px 100px; }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.more-card { display: flex; gap: 28px; align-items: center; background: var(--paper); padding: 22px; }
.more-card img { width: 150px; height: 186px; object-fit: contain; flex-shrink: 0; }
.more-text { display: flex; flex-direction: column; gap: 10px; }
.more-card .letter { font-size: 42px; }
.more-card .card-name { font-size: 22px; }

/* Checkout */
.checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  grid-template-areas: "main summary" "main returns" "main .";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(32px, 5vw, 80px); row-gap: 20px; padding-block: 48px 100px; align-items: start;
}
.checkout > .checkout-main { grid-area: main; }
.checkout > .summary { grid-area: summary; }
.checkout > .returns { grid-area: returns; }
.checkout-main > div { display: flex; flex-direction: column; gap: 36px; }
.form { display: flex; flex-direction: column; gap: 36px; }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.legend { width: 100%; padding: 0 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--display); font-size: 25px; }
html[lang="ar"] .legend { font-family: var(--arabic); font-size: 22px; }
.legend-note { font-family: var(--body); font-size: 14px; color: var(--muted); }
html[lang="ar"] .legend-note { font-family: var(--arabic); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; }
.field input, .phone { height: 54px; border: 1px solid var(--field); background: var(--paper); font-size: 16px; }
.field input { padding: 0 16px; width: 100%; }
.field input:focus, .phone:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.phone { display: flex; }
.phone:focus-within input { outline: none; }
.phone-code { width: 80px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); background: var(--sand); color: var(--muted); font-family: var(--body); }
.phone input { border: 0; height: 100%; min-width: 0; flex: 1; letter-spacing: 0.06em; font-family: var(--body); text-align: left; }
.field-err, .field-hint { margin: 0; font-size: 14px; color: var(--muted); }
.field-err, .field-hint.is-error { color: var(--error); }
.field.is-invalid input, .field.is-invalid .phone { border-color: var(--error); }
.choice { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 12px 20px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.choice-text { display: flex; flex-direction: column; flex: 1; font-size: 16px; line-height: 1.4; }
.choice-sub { font-size: 14px; color: var(--muted); }
.pay-note { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--ink); background: var(--paper); }
.pay-note svg { flex-shrink: 0; margin-top: 2px; }
.pay-note p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.pay-note .pay-title { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.questions { margin: 0; text-align: center; font-size: 15px; color: var(--muted); }
.questions a { color: var(--ink); text-decoration: underline; }

.summary { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.summary-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
html[lang="ar"] .summary-title { font-family: var(--arabic); font-size: 22px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.line img { width: 64px; height: 80px; object-fit: contain; }
.line img.is-photo { object-fit: cover; object-position: 42% 58%; background: var(--night); }
.line-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.line-title { display: flex; align-items: baseline; gap: 10px; }
.line-title .letter { font-size: 28px; }
.line-title .card-name { font-size: 18px; }
.line-sub { font-size: 13px; color: var(--muted); }
.line-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.line .stepper { height: 38px; border-color: var(--field); }
.line .stepper button { width: 40px; height: 36px; font-size: 17px; }
.line-remove { border: 0; background: transparent; padding: 8px 2px; font-size: 13px; color: var(--muted); text-decoration: underline; min-height: 36px; }
.line-total { font-size: 17px; }
.empty { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.empty p { margin: 0; color: var(--muted); }
.totals { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.totals > div { display: flex; justify-content: space-between; }
.totals dt, .totals dd { margin: 0; }
.totals .muted { color: var(--muted); }
.totals .grand { border-top: 1px solid var(--ink); padding-top: 12px; font-size: 20px; }
.returns { border: 1px solid var(--line); padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.returns h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); }
html[lang="ar"] .returns h2 { font-family: var(--arabic); font-size: 19px; }
.returns ul { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }
.returns p { margin: 0; color: var(--muted); line-height: 1.7; }
.returns a { text-decoration: underline; }

/* Confirmation */
.confirm { display: flex; flex-direction: column; gap: 26px; outline: none; }
.confirm .mark { width: 44px; }
.confirm-ref { margin: 0; color: var(--muted); font-size: 15px; letter-spacing: 0.06em; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.step { background: var(--paper); padding: 26px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 18px; }
.step::before { counter-increment: step; content: counter(step); grid-row: span 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--body); font-size: 15px; }
.step > * { grid-column: 2; }
.step h2 { margin: 0; font-size: 19px; font-weight: 500; }
.step p { margin: 0 0 12px; font-size: 15px; color: var(--muted); line-height: 1.65; }
.step .btn { justify-self: start; }
.bank { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bank > div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; }
.bank .amount { font-size: 19px; }
.sent-note { margin: 0; padding: 14px 18px; background: #E2F1E6; color: #1E6B3A; font-size: 15px; }

/* Checkout extras */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 14px 16px; background: #F7E1DD; color: var(--error); font-size: 15px; }
.line-warn { font-size: 13px; color: var(--error); }

/* Customer order page */
.order { padding-block: 48px 100px; }
.order-loading { color: var(--muted); padding-block: 80px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.order-main { display: flex; flex-direction: column; gap: 28px; }
.order-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.order-head .mark { width: 40px; }
.muted-text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.status-pill { margin: 0; display: inline-flex; padding: 5px 14px; border-radius: 999px; font-size: 14px; }
.status-awaiting { background: #FCEBD0; color: #7A4A00; }
.status-paid { background: #E1ECF7; color: #1F4E82; }
.status-shipped { background: #ECE7DF; color: #4A3A2B; }
.status-delivered { background: #E2F1E6; color: #1E6B3A; }
.status-cancelled { background: #F7E1DD; color: #8F2A1B; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.track li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.track li span { height: 4px; border-radius: 2px; background: var(--line); }
.track li.is-done { color: var(--ink); }
.track li.is-done span { background: var(--ink); }
.track li.is-current { font-weight: 500; }
.track.is-cancelled li { opacity: 0.5; }
.pay-card { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pay-card h2 { margin: 0; font-size: 21px; font-weight: 500; }
.acct { display: inline-flex; align-items: center; gap: 12px; }
.copy-btn { border: 1px solid var(--field); background: var(--paper); font-size: 13px; padding: 6px 12px; min-height: 36px; }
.receipt { border-top: 1px solid var(--line-soft); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.receipt h3 { margin: 0; font-size: 17px; font-weight: 500; }
.receipt-ok { margin: 0; padding: 14px 16px; background: #E2F1E6; color: #1E6B3A; font-size: 15px; }
.replace summary { cursor: pointer; font-size: 14px; color: var(--muted); text-decoration: underline; padding: 8px 0; }
.upload { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.file-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-pick:focus-within .btn { outline: 2px solid var(--ink); outline-offset: 3px; }
.file-name { font-size: 14px; color: var(--ink-2); word-break: break-all; }
.status-msg { margin: 0; padding: 20px 22px; background: var(--paper); font-size: 17px; }
.status-msg.is-cancelled { color: var(--error); }
.save-note { margin: 0; font-size: 14px; color: var(--muted); }
.deliver { margin: 0; border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 15px; line-height: 1.7; }
.deliver dt { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.deliver dd { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav { gap: 26px; }
  .cards { gap: 18px; }
  .card-body { padding: 24px; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; margin-inline-start: -10px; }
  .logo { margin-inline-end: auto; }
  .logo img { height: 30px; }
  .header-actions { gap: 4px; }
  .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--ivory);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .hero, .story { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media { order: -1; height: min(560px, 70vh); }
  .hero-text { padding-block: 40px 56px; padding-inline: var(--gutter); }
  .story-media { min-height: 0; height: min(460px, 60vh); }
  .story-text { padding: 44px var(--gutter) 60px; }
  .cards { grid-template-columns: 1fr; gap: 20px; max-width: 560px; }
  .promise { grid-template-columns: 1fr; gap: 24px; }
  .product { grid-template-columns: 1fr; padding-bottom: 72px; }
  .product-info { padding-top: 0; }
  .more-grid { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "main" "returns"; grid-template-rows: auto; row-gap: 36px; padding-top: 32px; }
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .order { padding-top: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .moments { grid-template-columns: 1fr; }
  .moment { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 20px; }
  .moment-letters { margin: 0; font-size: 30px; gap: 14px; }
  .card-body { padding: 22px 20px 24px; }
  .more-card img { width: 96px; height: 120px; }
  .more-card { gap: 16px; padding: 16px; }
  .footer-inner { flex-direction: column; }
  .buy-row .btn-grow { flex-basis: 100%; }
  .summary { padding: 22px 18px; }
  .step { padding: 20px 18px; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; }
  .step::before { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
