/* OMS Collection Africa — store styles. Light and dark themes share one set of tokens. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f4f4;
  --ink: #161213;
  --ink-2: #3a3334;
  --muted: #6e6566;
  --line: rgba(22, 18, 19, .12);
  --accent: #bc202c;          /* OMS red, sampled from the logo */
  --accent-ink: #ffffff;
  --accent-deep: #8f1520;
  --accent-soft: rgba(188, 32, 44, .07);
  --overlay: rgba(22, 10, 12, .55);
  --shadow: 0 24px 60px -24px rgba(60, 10, 16, .35);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gut: clamp(20px, 5vw, 80px);
  --nav-h: 72px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f0b0c;
  --surface: #181213;
  --surface-2: #211819;
  --ink: #ffffff;
  --ink-2: #e2dadb;
  --muted: #a99c9d;
  --line: rgba(255, 255, 255, .12);
  --accent: #bc202c;
  --accent-ink: #ffffff;
  --accent-deep: #8f1520;
  --accent-soft: rgba(188, 32, 44, .16);
  --overlay: rgba(0, 0, 0, .6);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 96px); }
h2 { font-size: clamp(34px, 4vw, 60px); }
h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.price { font-variant-numeric: tabular-nums; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--light { border-color: #f3eee7; color: #f3eee7; }
.btn--light:hover { background: #f3eee7; color: #1c1915; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1px; }
.link--arrow::after { content: " →"; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; position: relative; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

/* Announcement + header */
.announce { background: var(--ink); color: var(--bg); font-size: 13px; text-align: center; padding: 9px 16px; letter-spacing: .02em; }
.announce a { color: inherit; }
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header__row { height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; text-decoration: none; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; }
.brand__logo { width: 56px; height: 56px; display: block; border-radius: 2px; flex: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.brand:hover .brand__logo { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 24px -10px rgba(188, 32, 44, .7); }
.footer .brand__logo { width: 96px; height: 96px; }
@media (max-width: 400px) { .brand__logo { width: 46px; height: 46px; } }
.brand__name { font: 400 24px/1 var(--serif); letter-spacing: .01em; }
.brand__name small { display: block; font: 500 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count[data-empty="true"] { display: none; }
.menu-btn { display: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__row { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .brand__name small { display: none; }
  .mobile-nav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 39; background: var(--bg); padding: 24px var(--gut); flex-direction: column; gap: 4px; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { font: 400 36px/1.3 var(--serif); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--alt { background: var(--surface-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section__head p { max-width: 46ch; color: var(--ink-2); }

/* Hero */
.hero { position: relative; min-height: min(92svh, 920px); display: flex; align-items: flex-end; color: #f3eee7; overflow: hidden; background: #0f0d0b; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroIn 1.8s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.82) 0%, rgba(10,9,8,.45) 50%, rgba(10,9,8,.1) 100%), linear-gradient(0deg, rgba(10,9,8,.6), transparent 45%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(96px, 14vw, 160px) clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 13ch; }
.hero h1 em { color: #f0a4a7; }
.hero .lead { color: rgba(243, 238, 231, .85); margin-top: 24px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .btn--solid { background: #f3eee7; color: #1c1915; border-color: #f3eee7; }
.hero .btn--solid:hover { background: #b3262d; border-color: #b3262d; color: #fff; }
.hero__facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(243, 238, 231, .2); margin-top: clamp(48px, 6vw, 80px); }
.hero__facts div { padding: 20px 16px 0 0; font-size: 14px; color: rgba(243, 238, 231, .75); }
.hero__facts strong { display: block; font: 400 22px/1.2 var(--serif); color: #f3eee7; margin-bottom: 4px; }
[data-enter] { opacity: 0; transform: translateY(18px); animation: enter .9s var(--ease) forwards; }
[data-enter="2"] { animation-delay: .12s; } [data-enter="3"] { animation-delay: .24s; } [data-enter="4"] { animation-delay: .4s; }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes heroIn { to { transform: scale(1); } }
@media (max-width: 760px) { .hero__facts { grid-template-columns: 1fr 1fr; } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); color: #f3eee7; text-decoration: none; background: var(--surface-2); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.72) 0%, rgba(10,9,8,0) 55%); }
.cat__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.cat__body h3 { margin-bottom: 6px; }
.cat__body p { font-size: 14px; color: rgba(243,238,231,.8); line-height: 1.5; }
.cat:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } .cat { aspect-ratio: 4 / 3; } }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px) clamp(12px, 1.6vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .grid, .grid--3 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; }
.card__actions { position: absolute; left: 12px; right: 12px; top: 0; aspect-ratio: 4 / 5; z-index: 2; display: flex; gap: 8px; align-items: flex-end; padding-bottom: 12px; pointer-events: none; width: auto; }
.card__actions .btn { pointer-events: auto; flex: 1; min-height: 44px; padding: 0 14px; font-size: 14px; background: var(--surface); color: var(--ink); border-color: var(--surface); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .2s, color .2s; }
.card__actions .card__view { flex: 0 0 auto; background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); }
.card__actions .btn:nth-child(2) { transition-delay: .05s; }
.card__actions .btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.card:hover .card__actions .btn, .card__actions .btn:focus-visible { opacity: 1; transform: none; }
.card__heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: transform .2s var(--ease); }
.card__heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: fill .2s, stroke .2s; }
.card__heart:hover { transform: scale(1.08); }
.card__heart[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); animation: heartPop .45s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.35); } }
@media (hover: none) {
  .card__actions { position: static; aspect-ratio: auto; padding: 0; margin-top: -4px; }
  .card__actions .btn { opacity: 1; transform: none; border-color: var(--line); }
}
.card__body { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__title { font: 400 21px/1.2 var(--serif); text-decoration: none; }
.card__title::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card__price { white-space: nowrap; font-size: 15px; }
.card .card__quick, .card .card__badge { z-index: 2; }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatch-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); }
.swatch-dot[data-c="Grey"] { background: #8b8780; } .swatch-dot[data-c="Black"] { background: #1d1b19; }

/* Split / story */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body > * + * { margin-top: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3; } }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }

/* Big statement */
.statement { font: 400 clamp(32px, 4.4vw, 68px)/1.12 var(--serif); letter-spacing: -.015em; max-width: 22ch; }
.statement em { color: var(--accent); }

/* Feature strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.features > div { padding: 28px 24px 0 0; }
.features h3 { font-size: 24px; margin-bottom: 8px; }
.features p { font-size: 15px; color: var(--ink-2); }
.features .num { font: italic 400 15px var(--serif); color: var(--accent); display: block; margin-bottom: 18px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; gap: 0 24px; } .features > div { padding-bottom: 28px; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* Assistant band */
.ai-band { background: #15120f; color: #f3eee7; border-radius: calc(var(--r) * 2); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ai-band .lead { color: rgba(243,238,231,.78); margin-top: 18px; }
.ai-band h2 em { color: #f0a4a7; }
.ai-prompts { display: grid; gap: 10px; }
.ai-prompts button { text-align: left; background: rgba(243,238,231,.06); border: 1px solid rgba(243,238,231,.14); color: #f3eee7; padding: 16px 18px; border-radius: var(--r); cursor: pointer; font-size: 15px; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.ai-prompts button:hover { background: rgba(243,238,231,.12); border-color: rgba(243,238,231,.3); transform: translateX(4px); }
:root[data-theme="dark"] .ai-band { background: var(--surface-2); border: 1px solid var(--line); }
@media (max-width: 860px) { .ai-band { grid-template-columns: 1fr; } }

/* Visit band */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.visit__media { min-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.visit__media img { width: 100%; height: 100%; object-fit: cover; }
.visit dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.visit dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit dt { color: var(--muted); font-size: 14px; }
.visit dd { margin: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit__media { min-height: 280px; } }

/* Shop toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-bottom: 1px solid var(--line); margin-bottom: 36px; position: sticky; top: var(--nav-h); background: var(--bg); z-index: 5; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; color: var(--ink-2); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toolbar__right { display: flex; gap: 12px; align-items: center; }
.select { min-height: 40px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; appearance: none; cursor: pointer; font-size: 14px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: var(--surface); color: var(--ink); }
.search { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; width: 200px; }
.empty { padding: 64px 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .toolbar { position: static; }
  .toolbar__right { width: 100%; }
  .search { flex: 1; width: auto; min-width: 0; }
  .brand__name { font-size: 20px; white-space: nowrap; }
}
@media (max-width: 400px) {
  .header__row { gap: 6px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__seal { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; overflow: hidden; text-overflow: clip; }
  .header__tools { gap: 0; }
  .icon-btn { width: 40px; }
}
@media (max-width: 340px) { .brand__name { display: none; } }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: start; padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.pdp__media { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s var(--ease); }
.pdp__media[data-colour="Black"] img { filter: saturate(.85) brightness(.82) contrast(1.05); }
.pdp__info > * + * { margin-top: 24px; }
.pdp__price { font: 400 30px/1 var(--serif); }
.opt-label { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px; display: block; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1; }
.note { font-size: 14px; color: var(--muted); }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-weight: 500; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.details details[open] summary::after { transform: rotate(45deg); }
.details details > div { padding-bottom: 20px; color: var(--ink-2); }
.details ul { margin: 0; padding-left: 18px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__media { position: static; aspect-ratio: 4 / 3; } }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:first-child { border-top: 1px solid var(--line); }
.line img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--r); background: var(--surface-2); }
.line h3 { font-size: 21px; }
.line .qty { height: 40px; margin-top: 12px; }
.line .qty button { height: 38px; width: 38px; }
.line__remove { background: none; border: 0; padding: 0; margin-left: 16px; cursor: pointer; color: var(--muted); font-size: 13px; text-decoration: underline; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 2); padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--nav-h) + 24px); }
.summary > * + * { margin-top: 18px; }
.sum-row { display: flex; justify-content: space-between; }
.sum-row--total { font: 400 26px/1 var(--serif); padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: 16px; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field__err { color: var(--accent); font-size: 13px; margin-top: 4px; min-height: 0; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 14px; }
.radio-row input { accent-color: var(--accent); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer__word { font: 400 clamp(64px, 14vw, 220px)/.85 var(--serif); letter-spacing: -.03em; margin-top: clamp(48px, 6vw, 88px); color: var(--ink); }
.footer__word em { color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.news { display: flex; gap: 8px; margin-top: 18px; max-width: 360px; }
.news input { flex: 1; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: transparent; font-size: 15px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .news { flex-wrap: wrap; max-width: none; }
  .news input { min-width: 0; flex: 1 1 100%; }
  .news .btn { flex: 1 1 100%; }
  .footer__top > div { min-width: 0; }
  .line { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .line img { width: 72px; height: 90px; }
  .line > .price { grid-column: 2; }
  .line h3 { font-size: 19px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .section__head { align-items: start; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); transition: all .35s var(--ease); display: flex; gap: 14px; align-items: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: inherit; font-weight: 500; }

/* Reveal on scroll (subtle) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-enter], .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}
