/* Jaybee Shop storefront styles */
:root {
  --ink: #15213b;
  --ink-2: #3d4860;
  --muted: #687188;
  --line: #e5e1d8;
  --line-2: #d6d1c6;
  --bg: #ffffff;
  --bg-warm: #f7f4ee;
  --bg-cool: #f2f5fa;
  --brand: #0b5ed7;
  --brand-dark: #0b2b66;
  --accent: #ff8c1a;
  --accent-hover: #f57a00;
  --accent-soft: #fff1e2;
  --success: #2c7a4b;
  --success-soft: #e7f4ec;
  --danger: #b3261e;
  --danger-soft: #fbeceb;
  --warning: #8f5400;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(21, 33, 59, .06), 0 4px 14px rgba(21, 33, 59, .06);
  --shadow-lg: 0 10px 40px rgba(21, 33, 59, .16);
  --wrap: 1240px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #1b1408; }
.btn-primary:hover { background: var(--accent-hover); color: #1b1408; }
.btn-dark { background: var(--brand-dark); color: #fff; }
.btn-dark:hover { background: #08214f; color: #fff; }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand); font-weight: 600; text-decoration: underline; cursor: pointer; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled="true"] { background: #e9e7e2; color: #8a8a8a; cursor: not-allowed; border-color: transparent; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--brand-dark); color: #fff; font-size: .875rem; }
.announce .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.announce a { color: #fff; }
.announce span + span { opacity: .85; }
@media (max-width: 720px) { .announce span + span { display: none; } }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 46px; width: auto; }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 46px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 52px 0 20px; background: var(--bg-warm); transition: border-color .15s, background .15s; }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--brand-dark); color: #fff; display: grid; place-items: center; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.header-link:hover { background: var(--bg-warm); color: var(--ink); }
.basket-link { position: relative; }
.basket-count { position: absolute; top: 0; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #1b1408; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.basket-count[data-count="0"] { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; color: var(--ink); }

/* Main nav */
.main-nav { border-top: 1px solid var(--line); }
.main-nav > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.nav-top { display: flex; align-items: center; gap: 4px; padding: 13px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; }
.nav-top:hover, .nav-top[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--accent); }
.nav-top .chev { width: 14px; height: 14px; opacity: .6; }
.dropdown { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 50; }
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { background: var(--bg-warm); }
.dropdown a strong { display: block; font-weight: 700; }
.dropdown a span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.dropdown .all { font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 6px 6px; }

@media (max-width: 960px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 12px; }
  .menu-toggle { display: block; }
  .logo img { height: 38px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .header-link .label { display: none; }
  .main-nav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); background: #fff; z-index: 60; transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility .22s; overflow-y: auto; border: 0; }
  .main-nav.open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
  .main-nav > .wrap { padding: 0; }
  .main-nav > .wrap > ul { flex-direction: column; gap: 0; }
  .nav-top { padding: 16px 20px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-top:hover { border-bottom-color: var(--line); }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .dropdown a span { display: none; }
  .nav-drawer-head { display: flex !important; }
  .nav-scrim.open { display: block; }
}
.nav-drawer-head { display: none; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.nav-drawer-head img { height: 34px; width: auto; }
.nav-drawer-head button { background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(15, 22, 40, .45); z-index: 55; }

/* ---------- Flash / alerts ---------- */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0; border: 1px solid; font-size: .95rem; }
.alert-error { background: var(--danger-soft); border-color: #f1c7c3; color: #7d1a14; }
.alert-success { background: var(--success-soft); border-color: #bfe1cc; color: #1d5a35; }
.alert-info { background: var(--bg-cool); border-color: #d3deef; color: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero { background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; margin-bottom: 18px; max-width: 14ch; }
.hero p { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; background: #ece6da; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; font-size: .88rem; color: var(--muted); align-items: center; }
.hero-sizes a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.hero-sizes a:hover { border-color: var(--ink); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 36px; gap: 28px; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- USP strip ---------- */
.usps { border-bottom: 1px solid var(--line); background: #fff; }
.usps ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usps li { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--ink-2); }
.usps li strong { display: block; color: var(--ink); font-size: .95rem; }
.usps .icon { color: var(--brand); width: 28px; height: 28px; }
@media (max-width: 860px) { .usps ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .usps li { font-size: .84rem; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-warm { background: var(--bg-warm); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; white-space: nowrap; }

.cat-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } }
.cat-tile { display: block; text-decoration: none; color: var(--ink); }
.cat-tile .media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-warm); margin-bottom: 10px; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile strong { display: block; font-weight: 700; }
.cat-tile span { font-size: .85rem; color: var(--muted); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-warm); margin-bottom: 12px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.badge-sale { background: var(--accent); color: #1b1408; }
.badge-out { background: var(--ink); color: #fff; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-title a:hover { text-decoration: underline; }
.card-sub { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.card-price { font-weight: 800; font-size: 1.02rem; }
.card-price .from { font-weight: 500; color: var(--muted); font-size: .86rem; margin-right: 2px; }
.card-price s { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: .9rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.swatches-mini { display: flex; align-items: center; gap: 4px; }
.swatches-mini i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); display: block; }
.swatches-mini em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: 2px; }
.card-sizes { font-size: .8rem; color: var(--muted); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .86rem; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Category page ---------- */
.cat-head { padding: 18px 0 8px; }
.cat-head p { color: var(--ink-2); max-width: 70ch; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.listing { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 18px 0 64px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.toolbar select { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 34px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315213b' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }
.filters fieldset { border: 0; padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.filters legend { font-weight: 800; margin-bottom: 10px; font-size: .95rem; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .94rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-dark); }
.colour-check { display: inline-flex; }
.colour-filter { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px 10px; }
.colour-filter .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.filter-toggle { display: none; }
.filters .actions { display: flex; gap: 10px; }
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; gap: 0; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
  .filters.open { display: block; }
}
.empty { text-align: center; padding: 56px 20px; background: var(--bg-warm); border-radius: var(--radius); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 20px 0 56px; align-items: start; }
.gallery { position: sticky; top: 140px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.gallery:has(.thumbs:empty) { grid-template-columns: minmax(0, 1fr); }
.gallery:has(.thumbs:empty) .gallery-main { grid-column: 1; }
.gallery-main { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-warm); grid-column: 2; grid-row: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--bg-warm); aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); text-decoration: none; }
.pdp-info h1 { margin: 8px 0 6px; }
.pdp-info .subtitle { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price-save { background: var(--accent-soft); color: #8a3c00; font-weight: 700; font-size: .85rem; padding: 3px 9px; border-radius: 999px; }
.price-vat { color: var(--muted); font-size: .85rem; }
.opt { border: 0; padding: 0; margin: 0 0 20px; }
.opt legend { font-weight: 700; margin-bottom: 10px; padding: 0; display: flex; gap: 6px; }
.opt legend .val { font-weight: 500; color: var(--ink-2); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; font-size: .93rem; position: relative; }
.opt-btn:hover { border-color: var(--ink); }
.opt-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-btn.unavailable { color: #a3a3a3; border-style: dashed; }
.opt-btn.unavailable[aria-pressed="true"] { background: #f1f1f1; color: #6d6d6d; border-color: #8a8a8a; border-style: solid; }
.swatch-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; position: relative; }
.swatch-btn:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.swatch-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.swatch-btn.unavailable::after { content: ''; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 2px; background: rgba(120,120,120,.85); transform: rotate(45deg); }
.size-guide-link { font-size: .88rem; font-weight: 600; margin-left: auto; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; margin: 4px 0 18px; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.stock.low { color: var(--warning); }
.stock.low::before { background: #e08a00; }
.stock.out { color: var(--danger); }
.stock.out::before { background: var(--danger); }
.buy-row { display: flex; gap: 12px; margin-bottom: 18px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.25rem; color: var(--ink); border-radius: 999px; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; font-size: 1.05rem; }
.qty-sm input { width: 34px; }
.buy-row .btn { flex: 1; }
.pdp-assure { list-style: none; padding: 16px 18px; margin: 0 0 24px; background: var(--bg-warm); border-radius: var(--radius); display: grid; gap: 10px; font-size: .92rem; }
.pdp-assure li { display: flex; gap: 10px; align-items: center; }
.pdp-assure .icon { color: var(--brand); width: 20px; height: 20px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: '–'; }
.acc .acc-body { padding: 0 0 20px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%232c7a4b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 700; background: var(--bg-warm); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery-main { grid-column: 1; }
  .thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  .thumbs button { width: 64px; flex: none; }
}
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy.show { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .sticky-buy .p { font-weight: 800; font-size: 1.1rem; }
  .sticky-buy .btn { flex: 1; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; right: 20px; top: 20px; z-index: 90; width: min(380px, calc(100vw - 40px)); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 16px; transform: translateY(-16px); opacity: 0; pointer-events: none; transition: all .2s ease; }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast .t-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; }
.toast .t-head .icon { color: var(--success); }
.toast .t-close { margin-left: auto; background: none; border: 0; cursor: pointer; padding: 2px; color: var(--muted); }
.toast .t-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toast .btn { min-height: 42px; padding: 0 12px; font-size: .92rem; }
.toast.error .t-head .icon { color: var(--danger); }

/* ---------- Cart ---------- */
.page { padding: 28px 0 64px; }
.page-narrow { max-width: 820px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; background: var(--bg-warm); }
.cart-line h3 { font-size: 1rem; margin: 0 0 4px; }
.cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line .opts { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.cart-line .unit { font-size: .88rem; color: var(--muted); }
.cart-line .controls { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.cart-line .line-total { font-weight: 800; text-align: right; }
.summary { background: var(--bg-warm); border-radius: 14px; padding: 24px; position: sticky; top: 140px; }
.summary h2 { font-size: 1.2rem; }
.summary dl { margin: 0 0 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font-size: 1.2rem; font-weight: 800; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line-2); }
.ship-progress { background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: .9rem; }
.ship-progress .bar { height: 6px; background: #ece7dc; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.pay-logos { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: .78rem; color: var(--muted); align-items: center; }
.pay-logos span { border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 7px; background: #fff; font-weight: 700; color: var(--ink-2); }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
}

/* ---------- Forms / checkout ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt-label { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; transition: border-color .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 94, 215, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .86rem; margin-top: 5px; }
.field .hint { color: var(--muted); font-size: .84rem; margin-top: 5px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.checkout-section { margin-bottom: 32px; }
.checkout-section h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.checkout-section h2 .step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; margin-bottom: 10px; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-main strong { display: block; }
.radio-card .rc-main span { font-size: .86rem; color: var(--muted); }
.radio-card .rc-price { font-weight: 700; }
.mini-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .92rem; }
.mini-lines .thumb { position: relative; }
.mini-lines img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #fff; }
.mini-lines .q { position: absolute; top: -6px; right: -6px; background: var(--ink-2); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; }
.mini-lines small { display: block; color: var(--muted); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } .checkout-layout .summary { order: -1; } }

/* ---------- Order page ---------- */
.order-hero { text-align: center; padding: 40px 20px 28px; }
.order-hero .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; }
.order-hero .tick .icon { width: 34px; height: 34px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--bg-cool); color: var(--brand-dark); }
.status-pill.pending { background: #fff4e0; color: #7a4a00; }
.status-pill.processing { background: var(--bg-cool); color: var(--brand-dark); }
.status-pill.dispatched, .status-pill.delivered { background: var(--success-soft); color: var(--success); }
.status-pill.cancelled, .status-pill.refunded { background: #eee; color: #555; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.box h3 { font-size: 1rem; }
@media (max-width: 700px) { .order-grid { grid-template-columns: 1fr; } }

/* ---------- Content pages ---------- */
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.info-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-band .box { background: #fff; }
.info-band .icon { color: var(--brand); width: 28px; height: 28px; margin-bottom: 10px; }
@media (max-width: 800px) { .info-band { grid-template-columns: 1fr; } }
.size-teaser { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.size-teaser .table { background: #fff; border-radius: 10px; overflow: hidden; }
@media (max-width: 800px) { .size-teaser { grid-template-columns: 1fr; } }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; background: var(--brand-dark); color: #fff; }
.feature-split .text { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feature-split h2 { color: #fff; }
.feature-split p { color: #d5def0; max-width: 42ch; }
.feature-split .media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 800px) { .feature-split { grid-template-columns: 1fr; } .feature-split .text { padding: 32px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1a33; color: #c7cfdf; font-size: .93rem; margin-top: 0; }
.site-footer a { color: #e7ecf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.footer-top h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #98a3ba; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
