/* Adey Market: hand-written, mobile-first. Tokens first; every colour and radius comes from here. */

:root {
  color-scheme: light;
  --paper: #fbf6ee;
  --paper-2: #f4ebdd;
  --surface: #ffffff;
  --ink: #261a14;
  --ink-2: #4a3a31;
  --muted: #74635a;
  --line: #ebdfcf;
  --line-2: #dccbb4;
  --brand: #b5452a;
  --brand-ink: #8f321b;
  --brand-soft: #f8e4da;
  --gold: #f2b632;
  --gold-soft: #fcefc8;
  --gold-ink: #7a5200;
  --night: #221711;
  --night-2: #2f221b;
  --night-line: rgba(255, 244, 228, 0.12);
  --on-night: #f6ece0;
  --on-night-muted: #c8b8a8;
  --arbor: #12624c;
  --arbor-ink: #0f4034;
  --arbor-soft: #eaf7f1;
  --arbor-line: #bfe3d3;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warning: #9a5b00;
  --warning-soft: #fff4dc;
  --info: #2f4a8a;
  --info-soft: #e9eef9;
  --success: #116043;
  --success-soft: #e5f5ec;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(38, 26, 20, 0.06), 0 1px 1px rgba(38, 26, 20, 0.04);
  --shadow: 0 12px 32px -14px rgba(38, 26, 20, 0.22), 0 2px 6px rgba(38, 26, 20, 0.05);
  --shadow-lg: 0 32px 64px -24px rgba(38, 26, 20, 0.34), 0 6px 14px rgba(38, 26, 20, 0.06);
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 16px;
  --wrap: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 720px) {
  :root { --gutter: 28px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
/* Photos carry width/height attributes (no layout shift); CSS decides their drawn size. */
.photo { width: 100%; height: auto; }
.ic { display: inline-block; flex: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-variation-settings: 'SOFT' 50; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.86em; background: var(--paper-2); padding: 0.1em 0.4em; border-radius: 6px; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .protect :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top 0.15s; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }

main { display: block; outline: none; min-height: 50vh; }

/* ── type ── */

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.lede { font-size: 17px; color: var(--ink-2); max-width: 36rem; }
@media (min-width: 720px) { .lede { font-size: 19px; } }

.money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.money .cur { font-size: 0.72em; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); margin-right: 1px; }

/* ── buttons ── */

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 750; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; box-shadow: 0 10px 22px -12px rgba(181, 69, 42, 0.8); }
.btn-primary:hover { --btn-bg: var(--brand-ink); }
.btn-ghost { --btn-bg: transparent; border-color: var(--line-2); }
.btn-ghost:hover { --btn-bg: var(--surface); border-color: var(--ink-2); }
.btn-outline { --btn-bg: var(--surface); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { --btn-bg: var(--on-night); --btn-fg: var(--night); }
.btn-light:hover { --btn-bg: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-xl { min-height: 60px; font-size: 17.5px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-busy='true'] { opacity: 0.8; pointer-events: none; }
.btn[aria-busy='true'] .ic { animation: spin 0.9s linear infinite; }

.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; background: none; border: 0; color: var(--muted); font-weight: 650; font-size: 14px; cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--brand-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: 15px; color: var(--brand-ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow.center { display: flex; margin-top: 14px; }

/* ── badges ── */

.arbor-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--arbor-soft); border: 1px solid var(--arbor-line); color: var(--arbor-ink); font-size: 13px; font-weight: 650; line-height: 1.2; }
.arbor-badge .arbor-mark { border-radius: 6px; }
.arbor-badge.on-dark { background: rgba(34, 140, 105, 0.16); border-color: rgba(120, 207, 174, 0.35); color: #c9f0de; }

.tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; box-shadow: var(--shadow-sm); }
.tag-lg { top: 18px; left: 18px; font-size: 13px; padding: 6px 12px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 750; line-height: 1.25; border: 1px solid transparent; }
.tone-pending { --tone: #8a5a00; --tone-soft: var(--warning-soft); --tone-line: #f5d690; }
.tone-protected { --tone: var(--arbor); --tone-soft: var(--arbor-soft); --tone-line: var(--arbor-line); }
.tone-success { --tone: var(--success); --tone-soft: var(--success-soft); --tone-line: #b9e3cb; }
.tone-danger { --tone: var(--danger); --tone-soft: var(--danger-soft); --tone-line: #f6c4be; }
.tone-warning { --tone: var(--warning); --tone-soft: var(--warning-soft); --tone-line: #f5d690; }
.tone-info { --tone: var(--info); --tone-soft: var(--info-soft); --tone-line: #c9d5f0; }
.tone-neutral { --tone: #5d5049; --tone-soft: #efe9e2; --tone-line: #ddd2c6; }
.pill[class*='tone-'] { color: var(--tone); background: var(--tone-soft); border-color: var(--tone-line); }

/* ── top bar & header ── */

.topbar { background: var(--night); color: var(--on-night); font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 10px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topbar .arbor-mark { border-radius: 4px; }
.topbar p { flex: 1; min-width: 0; line-height: 1.35; }
.topbar b { color: #9fe0c4; }
.topbar a { color: var(--gold); font-weight: 750; white-space: nowrap; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .long { display: none; }
@media (min-width: 900px) { .topbar .long { display: inline; } .topbar .short { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 238, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(220, 203, 180, 0.6); }
.header-in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border-radius: 12px; }
.brand .logo-mark { border-radius: 12px; box-shadow: 0 6px 14px -8px rgba(181, 69, 42, 0.9); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 650; font-size: 23px; letter-spacing: -0.02em; }
.brand-sub { font-size: 10.5px; font-weight: 800; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brand); margin-top: 3px; }
.brand.on-dark { color: var(--on-night); }
.brand.on-dark .brand-sub { color: var(--gold); }

.main-nav { display: none; }
@media (min-width: 1080px) {
  .main-nav { display: flex; gap: 4px; margin-left: 20px; }
  .main-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: background-color 0.15s; }
  .main-nav a:hover { background: var(--paper-2); color: var(--ink); }
  .main-nav a[aria-current='page'] { background: var(--ink); color: #fff; }
}

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 11px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; transition: background-color 0.15s; }
.icon-btn:hover, .icon-btn[aria-current='page'] { background: var(--paper-2); }
@media (max-width: 719px) { .ib-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 720px) { .icon-btn { padding: 0 14px; } }
.cart-btn { background: var(--ink); color: #fff; }
.cart-btn:hover, .cart-btn[aria-current='page'] { background: var(--night-2); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 12.5px; font-weight: 800; }
.cart-count.bump { animation: bump 0.45s var(--ease); }
@media (max-width: 719px) { .cart-count { position: absolute; top: -2px; right: -4px; box-shadow: 0 0 0 2px var(--paper); } }

.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: var(--paper-2); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 2 * var(--gutter))); padding: 8px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: pop 0.18s var(--ease); }
.menu-panel a { padding: 11px 14px; border-radius: 10px; text-decoration: none; font-weight: 650; }
.menu-panel a:hover { background: var(--paper); }
.menu-panel a[aria-current='page'] { background: var(--paper-2); color: var(--brand-ink); }
@media (min-width: 1080px) { .menu { display: none; } }

/* ── flash, toast ── */

.flash { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; font-size: 15px; }
.flash .ic { margin-top: 2px; }
.flash a { font-weight: 750; }
.flash-success { background: var(--success-soft); border-color: #b9e3cb; color: var(--success); }
.flash-info { background: var(--paper-2); border-color: var(--line-2); color: var(--ink-2); }
.flash-warning { background: var(--warning-soft); border-color: #f5d690; color: var(--warning); margin-bottom: 16px; }

.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--night); color: var(--on-night); box-shadow: var(--shadow-lg); font-size: 15px; animation: toast-in 0.28s var(--ease); }
.toast .ic { color: #8fdcbb; }
.toast a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 800; text-decoration: none; font-size: 14px; }
.toast-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── hero ── */

.hero { padding: 24px 0 48px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(2.6rem, 1.7rem + 4.6vw, 5.1rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 600; max-width: 12ch; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--brand); }
.hero .lede { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; font-weight: 650; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--arbor); }
.hero-visual { position: relative; margin: 0 4px 22px; }
.hero-art { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; background: #f1dfcc; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.float-card { position: absolute; left: -4px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); max-width: calc(100% - 24px); animation: float 6s ease-in-out infinite; }
.fc-mark svg { border-radius: 9px; }
.fc-text { display: flex; flex-direction: column; min-width: 0; }
.fc-title { font-weight: 800; font-size: 14.5px; color: var(--arbor-ink); }
.fc-sub { font-size: 13px; color: var(--muted); }
.float-chip { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 750; box-shadow: var(--shadow); }

@media (min-width: 960px) {
  .hero { padding: 56px 0 56px; }
  .hero-in { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 64px; }
  .hero-visual { margin: 0; }
  .float-card { left: -36px; bottom: 36px; padding: 16px 20px 16px 14px; }
  .float-chip { right: 22px; top: 22px; }
}

/* ── sections ── */

.section { padding: 40px 0; }
@media (min-width: 720px) { .section { padding: 64px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.section-head .link-arrow { flex: none; margin-bottom: 6px; }
@media (max-width: 519px) { .section-head { flex-direction: column; align-items: flex-start; gap: 8px; } .section-head .link-arrow { margin: 0; } }

/* ── categories ── */

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
/* A category is a full-bleed photo with its name on a soft dark gradient. */
.cat-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--tint); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card .photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover .photo { transform: scale(1.05); }
.cat-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 14, 9, 0) 38%, rgba(24, 14, 9, 0.55) 70%, rgba(24, 14, 9, 0.86) 100%); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.cat-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.15; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.cat-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 900px) { .cat-body { padding: 20px; } .cat-name { font-size: 22px; } }

/* ── product cards ── */

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; } }

.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pc-media { position: relative; border-radius: var(--radius-lg); background: var(--tint); aspect-ratio: 1 / 1; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
/* A hairline ring keeps white-background photos from melting into the page. */
.pc-media::after, .pdp-media::after, .line-media::after, .or-media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(38, 26, 20, 0.07); pointer-events: none; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 12px 2px 0; }
.pc-cat { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pc-title { font-family: var(--font-body); font-size: 16px; font-weight: 750; letter-spacing: -0.005em; line-height: 1.3; margin-top: 4px; }
.pc-title a { text-decoration: none; }
.pc-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.pc-title a:focus-visible { outline: none; }
.pc-title a:focus-visible::after { outline: 3px solid var(--brand-ink); outline-offset: 4px; }
.pc-sub { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pc-price { font-size: 17px; font-weight: 800; }
.pc-foot form { position: relative; z-index: 2; }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 750; font-size: 14.5px; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.add-btn span { display: none; }
.add-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.add-btn:active { transform: scale(0.95); }
.add-btn.added { background: var(--arbor); border-color: var(--arbor); color: #fff; }
@media (min-width: 720px) {
  .pc-body { padding: 14px 4px 0; }
  .pc-title { font-size: 17px; }
  .add-btn { width: auto; padding: 0 16px 0 12px; }
  .add-btn span { display: inline; }
}

/* ── protection band ── */

.protect { position: relative; background: var(--night); color: var(--on-night); padding: 56px 0; overflow: hidden; isolation: isolate; }
.protect::before { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(33, 152, 114, 0.28), transparent); }
.protect::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; left: -240px; bottom: -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 182, 50, 0.14), transparent); }
.protect-in { display: grid; gap: 40px; }
.protect h2, .protect h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin: 18px 0 16px; max-width: 15ch; }
.protect-copy > p { color: var(--on-night-muted); font-size: 17px; max-width: 34rem; }
.protect-copy .btn { margin-top: 28px; }
@media (min-width: 960px) {
  .protect { padding: 96px 0; }
  .protect-in { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

.steps { display: grid; gap: 12px; counter-reset: step; }
.steps li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius-lg); background: rgba(255, 244, 228, 0.05); border: 1px solid var(--night-line); }
.step-icon { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(33, 152, 114, 0.18); color: #9fe0c4; }
.step-n { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--night); font-size: 12px; font-weight: 800; }
.steps h3 { font-size: 17.5px; font-weight: 750; letter-spacing: -0.01em; color: #fff; }
.steps p { margin-top: 4px; color: var(--on-night-muted); font-size: 15px; line-height: 1.55; }
@media (min-width: 960px) { .steps li { padding: 22px; } }

.mock { margin-top: 28px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); max-width: 440px; transform: rotate(-1.2deg); }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-weight: 800; }
.mock-id { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }
.mock-amt { font-family: var(--font-display); font-size: 20px; }
.mock .tracker { margin: 18px 0 8px; }
.mock-foot { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* ── values ── */

.values-grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.value { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.value .value-icon { grid-row: span 2; margin: 0; }
@media (min-width: 820px) { .value { display: block; padding: 24px; } .value .value-icon { margin-bottom: 14px; } }
.value-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-ink); margin-bottom: 14px; }
.value h3 { font-size: 18px; font-weight: 750; }
.value p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ── page heads, breadcrumbs, chips ── */

.page-head { padding: 22px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); margin-top: 10px; }
.page-head .lede { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 650; }
.chips { display: flex; gap: 8px; margin: 22px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: all 0.15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 720px) { .chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; } }
.shop-body { padding-top: 12px; padding-bottom: 72px; }
.result-count { font-size: 14px; color: var(--muted); font-weight: 650; margin: 6px 0 16px; }

/* ── product detail ── */

.pdp { padding-top: 18px; padding-bottom: 24px; }
.pdp-grid { display: grid; gap: 26px; margin-top: 16px; }
.pdp-media { position: relative; border-radius: var(--radius-xl); background: var(--tint); aspect-ratio: 1 / 1; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); }
.pdp-sub { margin-top: 8px; color: var(--muted); font-size: 16.5px; }
.pdp-price { margin-top: 16px; font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.pdp-desc { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; max-width: 36rem; }
.buy-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 24px; }
.qty-field { display: flex; flex-direction: column; gap: 6px; }
.qty-field label { font-size: 13px; font-weight: 750; color: var(--ink-2); }
.btn-grow { flex: 1 1 160px; }
@media (min-width: 960px) {
  .pdp-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
  .pdp-media { position: sticky; top: calc(var(--header-h) + 20px); }
  .pdp-info { padding-top: 8px; }
}

.stepper { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.stepper button { display: grid; place-items: center; width: 46px; height: 100%; border: 0; background: none; border-radius: 999px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--paper); }
.stepper button:disabled { color: var(--line-2); cursor: default; background: none; }
.stepper input { width: 40px; height: 100%; border: 0; background: none; text-align: center; font-weight: 800; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -2px; }
.stepper-sm { height: 40px; }
.stepper-sm button { width: 38px; }
.stepper-sm input { width: 32px; font-size: 15px; }

.pdp-protect { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: var(--radius); background: var(--arbor-soft); border: 1px solid var(--arbor-line); color: var(--arbor-ink); font-size: 15px; }
.pdp-protect svg { border-radius: 10px; flex: none; }
.pp-title { font-weight: 800; }

.express { display: grid; gap: 14px; margin-top: 14px; padding: 16px; border-radius: var(--radius); border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, 0.55); font-size: 14.5px; color: var(--ink-2); }
.express-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.express-title .ic { color: var(--gold-ink); }
.express-button { display: flex; justify-content: flex-start; }
@media (min-width: 560px) { .express { grid-template-columns: 1fr auto; align-items: center; } }
/* Arbor's Checkout Button styles itself inline; on a phone, let it take the full width. */
@media (max-width: 559px) { .express-button [data-arbor-button], .express-button form { display: block !important; width: 100%; } .express-button button { width: 100%; min-height: 50px; } }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs div { background: var(--surface); padding: 12px 14px; }
.specs dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 3px 0 0; font-weight: 650; font-size: 15px; }
.related { padding-top: 24px; }

/* ── cart & checkout ── */

.page-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 20px; }
.page-title h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem); }
.cart-page, .checkout-page, .orders-page, .order-page { padding-top: 12px; padding-bottom: 72px; }
.cart-grid, .checkout-grid { display: grid; gap: 22px; align-items: start; }
@media (max-width: 959px) { .checkout-grid .summary { order: -1; } .checkout-grid .summary .link-arrow { display: none; } }
@media (min-width: 960px) {
  .cart-grid { grid-template-columns: 1fr 380px; gap: 40px; }
  .checkout-grid { grid-template-columns: 1fr 400px; gap: 40px; }
  .summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

.lines { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; }
.line + .line { border-top: 1px solid var(--line); }
.line-media { display: block; border-radius: 14px; background: var(--tint); aspect-ratio: 1 / 1; overflow: hidden; }
.line-media { position: relative; }
.line-media img, .or-media img { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { width: 64%; height: 64%; margin: 18%; }
.line-name { font-weight: 750; text-decoration: none; line-height: 1.3; }
.line-name:hover { text-decoration: underline; }
.line-meta { font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.line-qty { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.line-total { font-weight: 800; font-size: 16px; }
.remove span { display: none; }
@media (max-width: 559px) { .line-sub { display: none; } }
@media (min-width: 560px) { .line { grid-template-columns: 96px minmax(0, 1fr) auto; padding: 18px; gap: 18px; } .remove span { display: inline; } }
.lines.compact { border: 0; background: none; border-radius: 0; }
.lines.compact .line { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px 0; gap: 12px; align-items: center; }
.lines.compact .line-media { border-radius: 12px; }
.lines.compact .line-name { font-size: 15px; }

.summary { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.summary h2 { font-family: var(--font-body); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.sum-rows { margin: 8px 0 18px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.sum-rows dt { color: var(--ink-2); }
.sum-rows dd { margin: 0; font-weight: 700; }
.sum-rows .free { color: var(--success); }
.sum-total { align-items: baseline; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px !important; }
.sum-total dt { font-weight: 800; color: var(--ink); }
.sum-total dd { font-size: 22px; font-weight: 800; }
.sum-protect { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--arbor-ink); line-height: 1.5; }
.sum-protect svg { border-radius: 6px; flex: none; margin-top: 1px; }

.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin: 0; min-width: 0; }
fieldset.panel { display: grid; gap: 16px; }
.panel legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 2px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.panel legend + * { clear: both; }
.legend-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.panel-title { font-family: var(--font-body); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
@media (min-width: 720px) { .panel { padding: 24px; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 750; color: var(--ink-2); }
.optional { font-weight: 600; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.field input, .select select { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); font-size: 16px; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.field input::placeholder { color: #a8978b; }
.field input:hover, .select select:hover { border-color: #c7b399; }
.field input:focus, .select select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(181, 69, 42, 0.14); }
.field input[aria-invalid='true'] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 650; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1.4fr; } }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.hint { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

.pay-method { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 2px solid var(--arbor); border-radius: var(--radius); background: var(--arbor-soft); }
.mpesa-chip { display: grid; place-items: center; width: 64px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--arbor-line); color: var(--arbor); font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em; }
.pm-title { font-weight: 800; color: var(--arbor-ink); line-height: 1.3; }
.pay-method .muted { font-size: 14px; margin-top: 2px; line-height: 1.45; }
.pm-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--arbor); color: #fff; }
.next-steps { display: grid; gap: 10px; counter-reset: n; font-size: 14.5px; color: var(--ink-2); }
.next-steps li { position: relative; padding-left: 34px; counter-increment: n; line-height: 1.5; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.next-steps b { color: var(--ink); }
.fineprint { font-size: 13.5px; color: var(--muted); text-align: center; text-wrap: balance; }
.fineprint svg { display: inline-block; vertical-align: -3px; margin-right: 6px; border-radius: 4px; }

.error-box { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--danger-soft); border: 1px solid #f6c4be; color: #7a1d14; font-size: 15px; }
.eb-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--danger); }
.eb-title { font-weight: 800; font-size: 16.5px; color: var(--danger); margin-bottom: 2px; }
.eb-owner { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.7); font-size: 13.5px; color: var(--ink-2); }
.empty .eb-owner { display: inline-block; margin: 0 0 22px; border: 1px solid var(--line); }

/* ── empty states ── */

.empty { text-align: center; padding: 40px 0 80px; }
.empty-art { width: min(260px, 70vw); margin: 0 auto 8px; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); }
.empty h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem); }
.empty > p { margin: 12px auto 26px; max-width: 30rem; color: var(--ink-2); font-size: 16.5px; }

/* ── orders ── */

.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.order-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 14px 0 22px; }
.order-head .eyebrow { margin-bottom: 4px; }
.order-head h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem); letter-spacing: -0.02em; }
.order-head .muted { margin-top: 6px; font-size: 15px; }
.order-grid { display: grid; gap: 18px; align-items: start; }
.order-main, .order-side { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 960px) { .order-grid { grid-template-columns: 1fr 380px; gap: 32px; } .order-side { position: sticky; top: calc(var(--header-h) + 20px); } }

.status-card { position: relative; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--tone-line); box-shadow: var(--shadow); overflow: hidden; }
.status-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--tone); }
.status-card.updated { animation: flash-card 1.2s var(--ease); }
.sc-head { display: flex; align-items: center; gap: 14px; }
.sc-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--tone-soft); color: var(--tone); }
.tone-pending .sc-icon .ic, .tone-info .sc-icon .ic { animation: none; }
.sc-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sc-title { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); color: var(--tone); margin-top: 2px; }
.sc-msg { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.sc-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); }
.sc-note .ic { margin-top: 3px; color: var(--tone); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sc-actions .btn, .sc-actions form { flex: 1 1 auto; }
.sc-actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.sc-actions form .btn { width: 100%; }
@media (min-width: 720px) { .sc-actions .btn, .sc-actions form { flex: 0 0 auto; } .status-card { padding: 28px; } }
.sc-warn { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: var(--warning-soft); color: var(--warning); font-size: 14px; font-weight: 600; }
.sc-warn .ic { margin-top: 2px; }
.sc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22a06b; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22a06b; opacity: 0; animation: ping 1.8s var(--ease) infinite; }
.live-dot.still { background: var(--line-2); }
.live-dot.still::after { display: none; }
.status-card.tone-pending .sc-icon { animation: breathe 2.2s ease-in-out infinite; }

.tracker { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 22px 0 4px; }
.tracker li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.25; padding: 0 2px; }
.tracker li::before { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker li.done::before, .tracker li.current::before { background: var(--arbor); }
.t-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); color: #fff; }
.tracker li.done .t-dot { background: var(--arbor); border-color: var(--arbor); }
.tracker li.done { color: var(--ink-2); }
.tracker li.current { color: var(--ink); }
.tracker li.current .t-dot { border-color: var(--arbor); box-shadow: 0 0 0 5px rgba(18, 98, 76, 0.14); }
.tracker li.current .t-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--arbor); animation: breathe 1.8s ease-in-out infinite; }
.tracker li.current.error .t-dot { border-color: var(--danger); background: var(--danger); box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.12); }
.tracker li.current.error .t-dot::after { display: none; }
.tracker li.current.error::before { background: var(--arbor); }
@media (min-width: 720px) { .tracker li { font-size: 13.5px; } }

.addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 15px; }
.addr .ic { margin-top: 3px; color: var(--muted); }
.protect-mini { background: var(--arbor-soft); border-color: var(--arbor-line); }
.protect-mini .arbor-badge { background: #fff; }
.protect-mini p { margin: 12px 0 10px; font-size: 14.5px; color: var(--arbor-ink); }
.protect-mini .link-arrow { color: var(--arbor); }

.tech { padding: 0; }
.tech summary { display: flex; align-items: center; gap: 8px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 750; font-size: 15px; border-radius: var(--radius-lg); }
.tech summary::-webkit-details-marker { display: none; }
.tech summary .muted { font-weight: 600; }
.tech .chev { margin-left: auto; transition: transform 0.2s var(--ease); color: var(--muted); }
.tech[open] .chev { transform: rotate(180deg); }
.tech-list { margin: 0; padding: 0 20px 18px; display: grid; gap: 12px; font-size: 14px; }
.tech-list dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tech-list dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ink-2); }
.events { display: grid; gap: 4px; }

.order-list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease); }
.order-row:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.or-media { display: block; border-radius: 14px; aspect-ratio: 1; background: var(--tint); overflow: hidden; }
.or-media { position: relative; }
.or-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.or-id { font-weight: 800; letter-spacing: 0.01em; }
.or-id .muted { font-weight: 600; font-size: 14px; }
.or-items { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.or-pill { margin-top: 6px; }
.or-end { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.or-total { font-weight: 800; color: var(--ink); }
@media (max-width: 559px) {
  .order-row { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
  .or-end { grid-column: 2; justify-content: space-between; }
  .or-end .ic { display: none; }
}
@media (min-width: 720px) { .order-row { grid-template-columns: 80px minmax(0, 1fr) auto; padding: 16px 20px 16px 16px; } }

/* ── photo credits ── */

.credits-body { padding-top: 8px; padding-bottom: 72px; }
.credits { display: grid; gap: 12px; margin-top: 12px; }
.credit { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.credit-media { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.credit-media img { width: 100%; height: 100%; object-fit: cover; }
.credit p { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.credit-title { font-weight: 750; font-size: 15.5px !important; }
.credit a { color: var(--brand-ink); }
.credits-note { margin-top: 22px; font-size: 13.5px; }
@media (min-width: 720px) { .credit { grid-template-columns: 96px minmax(0, 1fr); padding: 14px 18px 14px 14px; } .credit-media { width: 96px; height: 96px; } }
.site-footer .footer-note a { text-decoration: underline; }

/* ── FAQ ── */

.faq { display: grid; gap: 10px; margin-bottom: 36px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 750; font-size: 16.5px; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--brand); transition: transform 0.2s var(--ease); }
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }
.protect-page { padding-top: 48px; }

/* ── footer ── */

.site-footer { background: var(--night); color: var(--on-night-muted); padding: 48px 0 28px; margin-top: 24px; }
.footer-in { display: grid; gap: 32px; }
.footer-brand p { margin: 16px 0 18px; max-width: 26rem; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-footer h2 { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night); margin-bottom: 12px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 36px; font-size: 13px; }
.footer-note p { padding-top: 20px; border-top: 1px solid var(--night-line); }
@media (min-width: 820px) { .footer-in { grid-template-columns: 1.4fr 1fr; gap: 64px; } .site-footer { padding-top: 72px; } }
.page-checkout .site-footer, .page-order .site-footer { margin-top: 0; }

/* ── motion ── */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(0.92); } }
@keyframes ping { 0% { opacity: 0.7; transform: scale(0.6); } 80%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes breathe { 50% { transform: scale(0.88); opacity: 0.75; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes flash-card { 0% { box-shadow: 0 0 0 0 var(--tone-line), var(--shadow); } 30% { box-shadow: 0 0 0 10px var(--tone-soft), var(--shadow); } 100% { box-shadow: 0 0 0 0 transparent, var(--shadow); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
