/* Woche storefront */
:root {
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #6b6a66;
  --line: #e7e4de;
  --bg: #ffffff;
  --surface: #f6f4f0;
  --surface-2: #efece6;
  --accent: #127a4b;        /* M-Pesa-friendly green */
  --accent-ink: #ffffff;
  --accent-soft: #e6f3ec;
  --danger: #b42318;
  --warn-bg: #fff6e5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Outfit', 'Inter', system-ui, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: max(16px, 3vw); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Announcement + header */
.announce { background: var(--ink); color: #f1efe9; font-size: 13px; text-align: center; padding: 8px 16px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); letter-spacing: .01em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 24px; }
.main-nav > a, .nav-drop-btn { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; background: none; border: 0; display: inline-flex; align-items: center; gap: 4px; }
.main-nav > a:hover, .nav-drop-btn:hover, .main-nav > a.active { background: var(--surface); }
.nav-drop { position: relative; }
.nav-drop-btn svg { width: 16px; height: 16px; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; }
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.nav-drop-menu a:hover { background: var(--surface); }
.header-actions { margin-left: auto; display: flex; gap: 4px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px; border: 0; background: none; position: relative; }
.icon-btn:hover { background: var(--surface); }
.menu-btn { display: none; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .08s ease, background .15s, color .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(.95); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--muted); font-size: 14px; }

label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
label.field small { color: var(--muted); font-weight: 400; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #d7d3cc; border-radius: var(--radius-sm); background: #fff; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { background: #fdecea; color: var(--danger); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.notice { background: var(--warn-bg); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }

/* Home */
.hero { background: var(--surface); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: clamp(32px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.hero p.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.6rem; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; max-width: 100%; }
.hero-collage a { border-radius: var(--radius); overflow: hidden; background: #fff; display: block; }
.hero-collage a:first-child { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-collage a:hover img { transform: scale(1.04); }

.section { padding-block: clamp(36px, 6vw, 72px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; text-decoration: none; display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile span { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 10px 14px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.cat-tile span em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 13px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.perk svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; }
.perk h3 { font-size: 1.02rem; margin-bottom: 4px; }
.perk p { margin: 0; color: var(--muted); font-size: 14px; }

.split-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: end; padding: 24px; text-decoration: none; color: #fff; background: #222; }
.split-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s ease; }
.split-tile:hover img { transform: scale(1.04); }
.split-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65)); }
.split-tile div { position: relative; z-index: 1; }
.split-tile h3 { font-size: 1.8rem; margin: 0 0 6px; }

/* Product grid and cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; }
.card { text-decoration: none; display: block; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
.card-media img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media img.alt { opacity: 1; }
  .card:hover .card-media img:only-of-type { transform: scale(1.04); }
}
.badge { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; z-index: 1; }
.card-body { padding: 10px 2px 0; }
.card-title { font-weight: 600; font-size: 15px; margin: 0 0 2px; line-height: 1.3; }
.card-meta { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.card-price { font-weight: 700; }
.card-price small { font-weight: 500; color: var(--muted); }
.swatches { display: flex; gap: 4px; margin-top: 6px; align-items: center; }
.swatches img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; border: 1px solid var(--line); }
.swatches span { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* Shop page */
.page-head { background: var(--surface); padding-block: 28px; }
.page-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding-block: 28px 64px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar select { min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.filter-btn { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 0; font-size: 13px; font-weight: 500; }
.chip svg { width: 14px; height: 14px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; }
.filter-group { border-bottom: 1px solid var(--line); padding-block: 16px; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-family: var(--font); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.size-filter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.size-filter button { min-height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 13px; }
.size-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input { min-height: 40px; }
.load-more { display: flex; justify-content: center; margin-top: 32px; }
.empty { text-align: center; padding: 64px 16px; }
.empty svg { width: 48px; height: 48px; color: var(--muted); margin: 0 auto 12px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 24px 56px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow: auto; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); aspect-ratio: 1; flex: none; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.slides { display: none; }
.pdp-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.pdp-price { font-size: 1.5rem; font-weight: 700; font-family: var(--display); margin-bottom: 4px; }
.pdp-price small { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: var(--font); }
.pdp-tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.opt { margin-top: 22px; }
.opt-label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.opt-label strong { font-weight: 700; }
.colour-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.colour-opts button { width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--surface); }
.colour-opts button.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.colour-opts img { width: 100%; height: 100%; object-fit: cover; }
.size-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.size-opts button { min-height: 48px; border-radius: 10px; border: 1px solid #d7d3cc; background: #fff; font-weight: 600; }
.size-opts button:hover { border-color: var(--ink); }
.size-opts button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt.shake .size-opts { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid #d7d3cc; border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty input { width: 52px; text-align: center; border: 0; height: 100%; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 10px; margin-top: 22px; }
.buy-row .btn { flex: 1; }
.bulk { margin-top: 18px; border: 1px dashed #cfcac2; border-radius: var(--radius); padding: 14px 16px; }
.bulk summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bulk summary::-webkit-details-marker { display: none; }
.bulk summary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin: 14px 0; }
.bulk-grid label { display: grid; gap: 4px; text-align: center; font-size: 13px; font-weight: 600; }
.bulk-grid input { min-height: 42px; text-align: center; border: 1px solid #d7d3cc; border-radius: 8px; }
.trust { display: grid; gap: 10px; margin-top: 22px; padding: 16px; background: var(--surface); border-radius: var(--radius); font-size: 14px; }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust svg { color: var(--accent); flex: none; }
.accordion { margin-top: 18px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 20px; line-height: 1; }
.accordion details[open] summary::after { content: '–'; }
.accordion .acc-body { padding-bottom: 16px; color: var(--ink-2); font-size: 14px; }
.sticky-buy { display: none; }

/* Cart */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.drawer.open { visibility: visible; }
.drawer.open::before { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .28s ease; padding-top: env(safe-area-inset-top, 0px); }
.drawer-right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer-left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.drawer-nav a { display: flex; justify-content: space-between; padding: 14px 20px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer-nav .sub { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 18px 20px 6px; font-weight: 600; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.line h4 { font-family: var(--font); font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.line .muted { font-size: 13px; }
.line .qty { height: 36px; margin-top: 8px; }
.line .qty button { width: 34px; font-size: 17px; }
.line .qty input { width: 40px; font-size: 14px; }
.line-end { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.1rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding-block: 28px 64px; }
.checkout h2 { font-size: 1.2rem; margin: 26px 0 14px; }
.checkout h2:first-child { margin-top: 0; }
.summary { background: var(--surface); border-radius: var(--radius); padding: 20px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.summary .line { grid-template-columns: 60px 1fr auto; }
.summary .line img { width: 60px; height: 60px; }
.mpesa-box { border: 2px solid var(--accent); border-radius: var(--radius); padding: 16px; background: var(--accent-soft); }
.mpesa-box h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 6px; }
.mpesa-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.steps { font-size: 14px; color: var(--ink-2); padding-left: 18px; margin: 8px 0 0; }

/* Order status */
.status-card { max-width: 640px; margin: 32px auto 64px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.status-icon svg { width: 32px; height: 32px; }
.status-icon.ok { background: var(--accent-soft); color: var(--accent); }
.status-icon.wait { background: var(--surface); }
.status-icon.bad { background: #fdecea; color: var(--danger); }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 16px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.timeline { display: flex; gap: 6px; margin: 18px 0; }
.timeline div { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.timeline div.on { background: var(--accent); }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .4); display: none; }
.search-overlay.open { display: block; }
.search-panel { background: #fff; padding-block: 16px 24px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); max-height: 85vh; overflow: auto; }
.search-form { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.search-form input { flex: 1; border: 0; font-size: 1.15rem; padding: 10px 0; outline: none; min-width: 0; }
.search-results { padding-top: 18px; }
.search-results .grid { grid-template-columns: repeat(6, 1fr); }

/* Help page */
.prose { max-width: 760px; padding-block: 32px 64px; }
.prose h2 { margin-top: 32px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; }
.size-table th { background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* Footer */
.site-footer { background: #111; color: #d9d6cf; padding-top: 48px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; color: #d9d6cf; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #a19e96; font-size: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.footer-logo .logo-mark { background: #fff; color: #111; }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: #1d1d1d; padding: 8px 12px; border-radius: 999px; }
.footer-bottom { border-top: 1px solid #262626; padding-block: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: #8f8c85; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 90; font-size: 14px; transition: transform .25s ease, visibility .25s; max-width: calc(100vw - 32px); box-shadow: var(--shadow); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #9fe3bf; font-weight: 600; margin-left: 10px; }

.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-inner { gap: 6px; }
  .logo { margin-right: auto; }
  .header-actions { margin-left: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr 360px; gap: 24px; }
  .search-results .grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: 15px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-collage { order: -1; aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile span { font-size: 12px; padding: 7px 10px; left: 8px; right: 8px; bottom: 8px; gap: 6px; }
  .cat-tile span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .swatches img { width: 22px; height: 22px; }
  .swatches img:nth-of-type(n+4) { display: none; }
  .swatches span { white-space: nowrap; margin-left: 2px; }
  .split-tiles { grid-template-columns: 1fr; }
  .split-tile { min-height: 220px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .perk { padding: 16px; }
  .pdp { grid-template-columns: 1fr; gap: 18px; padding-top: 0; }
  .gallery { position: static; display: block; margin-inline: calc(-1 * max(16px, 3vw)); }
  .thumbs, .main-img { display: none; }
  .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slides::-webkit-scrollbar { display: none; }
  .slides img { flex: 0 0 100%; aspect-ratio: 1 / 1; object-fit: cover; scroll-snap-align: center; background: var(--surface); }
  .dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
  .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
  .dots span.on { background: var(--ink); }
  .colour-opts button { width: 56px; height: 56px; }
  .buy-row { flex-direction: column; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; align-items: center; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); transition: transform .25s; }
  .sticky-buy.show { transform: none; }
  .sticky-buy .btn { flex: 1; min-height: 46px; }
  .sticky-buy strong { font-family: var(--display); }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .search-results .grid { grid-template-columns: repeat(2, 1fr); }
  .announce { font-size: 12px; }
}
@media (max-width: 380px) {
  .logo-text { font-size: 1.05rem; }
  .card-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
