/* Layout: a clothing-rail grid of 4:5 product frames; product page splits gallery | woven-label details; checkout is one calm column with a sticky summary. */
:root {
  --paper: #ffffff;
  --surface: #f6f6f4;
  --ink: #16181d;
  --ink-2: #555a63;
  --line: #e4e5e1;
  --accent: #2346d8;      /* shirt-button cobalt */
  --accent-ink: #ffffff;
  --signal: #e8572a;      /* puffin beak: badges only */
  --ok: #1f7a4c;
  --err: #b42318;
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111317; --surface: #191c21; --ink: #eceee9; --ink-2: #a3a8b0; --line: #2c3037;
    --accent: #7d95ff; --accent-ink: #0d1020; --signal: #ff7a4d; --ok: #4cc38a; --err: #ff6b5e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111317; --surface: #191c21; --ink: #eceee9; --ink-2: #a3a8b0; --line: #2c3037;
  --accent: #7d95ff; --accent-ink: #0d1020; --signal: #ff7a4d; --ok: #4cc38a; --err: #ff6b5e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}

.brand {
  font: 800 20px/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none;
  display: flex; align-items: baseline; gap: 6px; margin-right: auto;
}
.brand small { font: 500 11px/1 var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.langs { display: flex; gap: 2px; }
.langs button {
  border: 0; background: none; padding: 6px 8px; border-radius: var(--r); cursor: pointer;
  font: 500 12px/1 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.langs button[aria-pressed="true"] { color: var(--ink); background: var(--line); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink); font-weight: 600; font-size: 14px;
}
.cart-btn b { font: 600 12px/1 var(--font-label); background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 7px; }

.demo-bar { background: var(--ink); color: var(--paper); font: 500 12px/1.4 var(--font-label); text-align: center; padding: 8px 16px; }

/* Logo: black on light theme, white on dark theme */
.brand .logo { height: 34px; width: auto; display: block; }
.brand:has(.logo) small { display: none; }
.brand .logo-dark-bg { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-dark-bg { display: block; } :root:not([data-theme="light"]) .brand .logo-light-bg { display: none; } }
:root[data-theme="dark"] .brand .logo-dark-bg { display: block; }
:root[data-theme="dark"] .brand .logo-light-bg { display: none; }

/* Home */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 40px); display: grid; gap: 14px; max-width: 760px; }
.hero h1 { font: 800 clamp(34px, 6vw, 64px)/0.98 var(--font-display); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.hero p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 58ch; }
.hero.has-photo {
  max-width: none; margin-block: 20px 24px; border-radius: var(--r); padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 56px);
  min-height: clamp(260px, 42vw, 460px); align-content: end; color: #fff;
  background: linear-gradient(180deg, rgba(10,12,16,0) 30%, rgba(10,12,16,.72)), var(--hero) center / cover no-repeat, #223;
}
.hero.has-photo p, .hero.has-photo .ships { color: rgba(255,255,255,.88); }
.hero.has-photo h1 { max-width: 16ch; }
.chart-body { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; }
.chart-body img { width: 110px; height: auto; flex: none; border-radius: var(--r); background: #fff; }
.chart-body .tbl-wrap { min-width: 0; flex: 1; }
@media (max-width: 480px) { .chart-body img { display: none; } }
.ships { font: 500 12px/1.4 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

.cats { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 20px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px;
  cursor: pointer; font-size: 14px; font-weight: 500;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2.5vw, 28px); padding-bottom: 64px; }
.card { text-decoration: none; display: grid; gap: 10px; min-width: 0; }
.card .frame { transition: transform .25s ease; }
.card:hover .frame { transform: translateY(-3px); }
.card h3 { font: 700 17px/1.2 var(--font-display); margin: 0; letter-spacing: -0.01em; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-variant-numeric: tabular-nums; font-weight: 600; }
.huf { font-weight: 400; font-size: .82em; color: var(--ink-2); white-space: nowrap; }
.card .sizes { font: 500 11px/1 var(--font-label); letter-spacing: 0.06em; color: var(--ink-2); display: flex; gap: 6px; flex-wrap: wrap; }
.card .sizes s { opacity: .45; }

/* Product frame: real photo, or a woven-label placeholder until photos are pulled in */
.frame {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); overflow: hidden;
  background: var(--tile, var(--line));
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .ph {
  position: absolute; inset: 0; display: grid; align-content: end; padding: 16px; gap: 8px;
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 12px),
    var(--tile, #444);
}
.frame .ph strong { font: 800 clamp(22px, 3vw, 30px)/1 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.frame .ph span { font: 500 10px/1 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; opacity: .8; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font: 600 11px/1 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--signal); color: #fff; padding: 6px 8px; border-radius: 4px;
}
.badge.out { background: var(--ink); color: var(--paper); }

/* Product page */
.crumb { display: inline-block; padding-block: 20px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-bottom: 72px; }
.gallery { display: grid; gap: 10px; min-width: 0; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: var(--r); background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs .frame .ph strong { font-size: 12px; }
.thumbs .frame .ph span { display: none; }
.info { display: grid; gap: 18px; align-content: start; min-width: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); }
.info h1 { font: 800 clamp(30px, 4vw, 44px)/1.02 var(--font-display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.info .price { font-size: 22px; }
.info p { margin: 0; max-width: 60ch; }

/* The woven care label: fit, fabric, sizes */
.label-tag {
  display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 14px;
  border: 1px dashed var(--ink-2); border-radius: 3px; width: fit-content; max-width: 100%;
  font: 500 11px/1.4 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}

.opt { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.opt legend { font: 600 12px/1 var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; padding: 0; margin-bottom: 8px; }
.opt .row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  min-width: 52px; text-align: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); cursor: pointer; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums;
}
.opt input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.hint { font-size: 13px; color: var(--ink-2); min-height: 1.3em; }
.hint.warn { color: var(--signal); font-weight: 600; }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  border: 0; border-radius: var(--r); padding: 15px 22px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.block { width: 100%; }

details.chart { border-top: 1px solid var(--line); padding-top: 12px; }
details.chart summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; margin-top: 10px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* Cart + checkout */
.page-h { font: 800 clamp(28px, 4vw, 40px)/1 var(--font-display); letter-spacing: -0.03em; margin: 28px 0 20px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(20px, 4vw, 48px); align-items: start; padding-bottom: 72px; }
.lines { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line .frame { width: 80px; }
.line .frame .ph strong { font-size: 11px; }
.line .frame .ph span { display: none; }
.line h4 { margin: 0; font: 700 16px/1.2 var(--font-display); }
.line .sub { font: 500 12px/1.4 var(--font-label); color: var(--ink-2); letter-spacing: .04em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); margin-top: 6px; }
.qty button { border: 0; background: none; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.linkish { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: 13px; }
.line .right { text-align: right; display: grid; gap: 6px; justify-items: end; }

.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px;
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px);
}
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.summary .row.total { font-weight: 800; font-size: 20px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-display); }
.summary .mini { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.summary .mini div { display: flex; justify-content: space-between; gap: 10px; }

.form { display: grid; gap: 28px; }
.form section { display: grid; gap: 12px; }
.form h2 { font: 700 13px/1 var(--font-label); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 4px; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.f { display: grid; gap: 5px; grid-column: span 6; min-width: 0; }
.f.half { grid-column: span 3; }
.f.third { grid-column: span 2; }
.f.twothird { grid-column: span 4; }
.f label { font-size: 13px; font-weight: 600; }
.f input, .f select, .f textarea {
  width: 100%; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
}
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.f .e { color: var(--err); font-size: 12px; min-height: 0; }
.f.bad input, .f.bad select { border-color: var(--err); }

.choices { display: grid; gap: 8px; }
.choice {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.choice .t { font-weight: 600; }
.choice .s { font-size: 13px; color: var(--ink-2); }
.choice .p { font-variant-numeric: tabular-nums; font-weight: 600; }
.point { display: grid; gap: 8px; padding: 0 0 4px 44px; }
.point input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.point .e { color: var(--err); font-size: 12px; }
.point.bad input { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; }
.form-err { color: var(--err); font-weight: 600; }

.notice { padding-block: 64px; display: grid; gap: 16px; max-width: 560px; }
.notice h1 { font: 800 clamp(34px, 5vw, 52px)/1 var(--font-display); letter-spacing: -0.03em; margin: 0; }
.notice p { margin: 0; font-size: 18px; color: var(--ink-2); }
.notice .ord { font: 600 13px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 20;
}

footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 13px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .pdp, .two { grid-template-columns: minmax(0, 1fr); }
  .info, .summary { position: static; }
  .f.half, .f.third, .f.twothird { grid-column: span 6; }
  .f.zip { grid-column: span 2; }
  .f.city { grid-column: span 4; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .card .meta { flex-direction: column; gap: 2px; }
  .card h3 { font-size: 15px; }
  .frame .ph strong { font-size: 18px; }
}
@media (max-width: 480px) {
  .brand small { display: none; }
  .cart-btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


/* ---- Header with menu ---- */
.top .bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-height: 64px; }
.top .brand { margin-right: 0; }
.main-nav { display: flex; gap: 4px 22px; justify-content: center; flex-wrap: wrap; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--line); }
.main-nav a[aria-current="page"] { border-color: var(--ink); }
.tools { display: flex; align-items: center; gap: 12px; grid-row: 1; grid-column: 3; }
.menu-btn { grid-row: 1; grid-column: 1; }
.top .brand { grid-row: 1; }
.cart-btn svg { display: block; }
.nav-langs { display: none; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 9px 8px; cursor: pointer; border-radius: var(--r); }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span + span { margin-top: 6px; }
.top.open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.top.open .menu-btn span:nth-child(2) { opacity: 0; }
.top.open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .top .bar { grid-template-columns: auto 1fr auto; gap: 8px; min-height: 58px; }
  .menu-btn { display: block; }
  .top .brand { justify-self: center; grid-column: 2; }
  .top .brand .logo { height: 30px; }
  .bar-langs { display: none; }
  .cart-btn { padding: 8px 10px; border: 0; }
  .cart-btn span { display: none; }
  .main-nav {
    display: none; grid-column: 1 / -1; grid-row: 2; flex-direction: column; align-items: stretch; gap: 0;
    padding-block: 6px 16px; border-top: 1px solid var(--line);
  }
  .top.open .main-nav { display: flex; }
  .main-nav a { font: 700 22px/1.2 var(--font-display); letter-spacing: -0.01em; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-color: var(--line); color: var(--accent); }
  .nav-langs { display: flex; gap: 6px; padding-top: 14px; }
  .nav-langs button { font-size: 14px; padding: 8px 12px; border: 1px solid var(--line); }
}

/* ---- Full-bleed hero / page banners ---- */
.hero-full {
  position: relative; overflow: hidden; color: #fff; background: #1d2b30;
  display: grid; align-items: end;
}
.hero-full.tall { min-height: clamp(380px, 68vh, 720px); }
.hero-full.short { min-height: clamp(220px, 36vh, 380px); }
.hero-full.no-photo { background: linear-gradient(135deg, #1f6f8b, #16181d); }
.hero-full .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-full .slide.on { opacity: 1; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,14,0) 35%, rgba(8,10,14,.68)); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding-block: clamp(28px, 6vw, 64px); display: grid; gap: 12px; width: 100%; }
.hero-copy h1 { font: 800 clamp(34px, 6vw, 68px)/0.98 var(--font-display); letter-spacing: -0.035em; margin: 0; max-width: 15ch; text-wrap: balance; }
.hero-full.short .hero-copy h1 { font-size: clamp(32px, 5vw, 56px); }
.hero-copy p { margin: 0; font-size: clamp(16px, 2vw, 19px); max-width: 52ch; color: rgba(255,255,255,.9); }
.hero-copy .ships { color: rgba(255,255,255,.85); }

/* ---- Product shelves on white ---- */
.shop { padding-block: clamp(28px, 5vw, 56px) 24px; }
.shelf + .shelf { margin-top: 12px; }
.shelf-h { font: 800 clamp(24px, 3vw, 32px)/1 var(--font-display); letter-spacing: -0.02em; margin: 0 0 20px; }
.card .frame { background: var(--surface); }

/* ---- Text pages ---- */
.prose { max-width: 760px; padding-block: clamp(28px, 5vw, 56px) 72px; display: grid; gap: 16px; }
.prose p { margin: 0; font-size: 17px; line-height: 1.65; }
.prose h2 { font: 700 22px/1.2 var(--font-display); margin: 16px 0 0; }
.prose em { font-style: normal; font-family: var(--font-label); font-size: .92em; background: var(--surface); padding: 1px 6px; border-radius: 3px; }
.prose .num { text-align: right; font-variant-numeric: tabular-nums; }
.prose td { white-space: normal; }
.ship-country { max-width: 320px; }
.contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 17px; }
.contact dt { color: var(--ink-2); }
.contact dd { margin: 0; }
.sel { user-select: all; font-weight: 600; }
@media (max-width: 520px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 2px; } .contact dd { margin-bottom: 10px; } }
footer nav a { text-decoration: none; }

.card .price { text-align: right; }
.card .huf { display: block; }
.card .meta { align-items: flex-start; }

/* ================= v3: full-screen landing, overlay header, language select, pages, pickers ================= */
.top { transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.top.on-hero { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.top.on-hero .brand .logo-light-bg { display: none; }
.top.on-hero .brand .logo-dark-bg { display: block; }
.top.on-hero .menu-btn span { background: #fff; }
.top.on-hero .cart-btn { border-color: rgba(255,255,255,.7); color: #fff; }
.top.on-hero .cart-btn b { background: #fff; color: #111; }
.top.on-hero .lang-select select { color: #fff; border-color: rgba(255,255,255,.55); }
.top.on-hero.solid { background: color-mix(in srgb, var(--paper) 94%, transparent); color: var(--ink); border-color: var(--line); backdrop-filter: blur(8px); }
.top.on-hero.solid .brand .logo-light-bg { display: block; }
.top.on-hero.solid .brand .logo-dark-bg { display: none; }
.top.on-hero.solid .menu-btn span { background: var(--ink); }
.top.on-hero.solid .cart-btn { border-color: var(--ink); color: var(--ink); }
.top.on-hero.solid .cart-btn b { background: var(--ink); color: var(--paper); }
.top.on-hero.solid .lang-select select { color: var(--ink); border-color: var(--line); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .top.on-hero.solid .brand .logo-light-bg { display: none; }
  :root:not([data-theme="light"]) .top.on-hero.solid .brand .logo-dark-bg { display: block; }
}
.top .main-nav a { color: inherit; }

.lang-select select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: transparent; color: inherit;
  font: 600 12px/1 var(--font-label); letter-spacing: .06em; padding: 9px 22px 9px 10px; border-radius: 999px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 52%, calc(100% - 8px) 52%; background-size: 4px 4px; background-repeat: no-repeat;
}
.lang-select select option { color: #111; }
.nav-langs, .bar-langs { display: none !important; }
.tools { gap: 10px; }

/* Full-screen landing like the old site */
.landing { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; background: #1d2b30; overflow: hidden; }
.landing.no-photo { min-height: auto; background: linear-gradient(135deg, #1f6f8b, #16181d); padding-top: 80px; }
.landing .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.02); }
.landing .slide.on { opacity: 1; }
.landing::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,10,14,.45) 0, rgba(8,10,14,0) 22%, rgba(8,10,14,0) 45%, rgba(8,10,14,.72) 100%); }
.landing-copy { position: relative; z-index: 1; padding-block: 0 clamp(40px, 9vh, 96px); display: grid; gap: 14px; justify-items: start; }
.landing-copy h1 { font: 800 clamp(38px, 7vw, 84px)/0.96 var(--font-display); letter-spacing: -0.04em; margin: 0; max-width: 14ch; text-wrap: balance; }
.landing-copy p { margin: 0; font-size: clamp(16px, 2vw, 20px); max-width: 50ch; color: rgba(255,255,255,.9); }
.landing-copy .kicker { font: 500 12px/1.4 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.btn.light { background: #fff; color: #111; margin-top: 6px; }
.btn.light:hover { filter: none; background: #f0f0f0; }
.hero-full { display: none; }

.page-top { padding-top: 28px; }
.page-h { margin-top: 8px; }
.shop { padding-block: clamp(32px, 6vw, 64px) 24px; }

/* Rich text (pages, product descriptions) */
.rich { display: grid; gap: 14px; }
.rich p, .rich li { margin: 0; line-height: 1.65; }
.rich ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.rich h2, .rich h3, .rich h4 { font: 700 20px/1.25 var(--font-display); margin: 18px 0 0; letter-spacing: -0.01em; }
.rich h4 { font-size: 18px; }
.rich a { color: var(--accent); }
.rich table { font-size: 15px; }
.rich dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; }
.rich dd { margin: 0; }
.rich .box { border: 1px dashed var(--ink-2); border-radius: 4px; padding: 14px 18px; }
.prose { max-width: 780px; }
.prose .rich p { font-size: 17px; }
.note-box { background: var(--surface); border-radius: var(--r); padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin: 0; }
.ship-box { display: grid; gap: 14px; margin-top: 10px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.info .rich p { font-size: 16px; }

/* Footer */
footer { padding-block: 40px; }
.foot { display: grid !important; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot p { margin: 6px 0 0; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div { grid-column: 1 / -1; } }

/* Pickup point */
.point { display: grid; gap: 10px; padding: 4px 0 8px 44px; }
.point .btn { justify-self: start; padding: 10px 16px; font-size: 15px; }
.point-chosen { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r); background: var(--surface); }
.point-chosen span { font-size: 14px; color: var(--ink-2); }
.point.bad .btn { border-color: var(--err); }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(10,12,16,.55); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; width: min(980px, 100%); height: min(720px, calc(100svh - 32px)); background: var(--paper); border-radius: 10px; overflow: hidden; display: grid; }
.modal-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.picker-frame { width: 100%; height: 100%; border: 0; display: block; }
.picker-frame gls-dpm { display: block; height: 100%; }

@media (max-width: 900px) {
  .top .bar { grid-template-columns: 40px 1fr auto; }
  .lang-select select { padding: 8px 20px 8px 9px; }
  .main-nav a { color: var(--ink); }
  .top.on-hero.open { background: var(--paper); color: var(--ink); }
}

/* ================= v4 (test): "stage" landing – the shirt pops out in 3D ================= */
.stage { --bg: #2346d8; --word: color-mix(in srgb, var(--bg) 84%, #fff); position: relative; min-height: 100svh; overflow: hidden;
  background: var(--bg); color: #fff; transition: background-color .7s ease; display: grid; isolation: isolate; }
.st-word { position: absolute; inset: 0 0 auto; top: clamp(70px, 11vh, 120px); display: flex; justify-content: center; pointer-events: none; z-index: 0; }
.st-word span { font: 800 clamp(84px, 19vw, 340px)/.8 var(--font-display); letter-spacing: -0.055em; text-transform: uppercase; white-space: nowrap;
  color: var(--word); transition: color .7s ease; }
.st-obj { position: absolute; left: 50%; top: 47%; translate: -50% -50%; height: min(58svh, 600px); aspect-ratio: 650 / 900; perspective: 1400px; z-index: 2; }
.st-tilt { --rx: 0deg; --ry: 0deg; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; }
.st-float { width: 100%; height: 100%; transform-style: preserve-3d; animation: st-float 6s ease-in-out infinite; }
.st-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.st-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
/* stacked copies behind the photo give the folded shirt a real edge when it turns */
.st-layer { transform: translateZ(calc(var(--z) * -3px)); filter: brightness(.42) saturate(.8); }
.st-front { transform: translateZ(1px); filter: drop-shadow(0 1px 0 rgba(255,255,255,.25)); }
.st-shadow { position: absolute; left: 12%; right: 12%; bottom: -7%; height: 9%; border-radius: 50%; background: rgba(0,0,0,.32); filter: blur(14px); z-index: -1;
  animation: st-shadow 6s ease-in-out infinite; }
.st-body.enter { animation: st-enter .9s cubic-bezier(.2, 1.35, .35, 1) both; }
.st-body.leave { animation: st-leave .32s cubic-bezier(.5, 0, .9, .5) both; }
@keyframes st-enter {
  0% { transform: translate3d(0, 46svh, -200px) scale(.28) rotateX(65deg) rotateZ(-8deg); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes st-leave { to { transform: translate3d(0, 48svh, -200px) scale(.25) rotateX(60deg); opacity: 0; } }
@keyframes st-float { 0%, 100% { transform: translateY(-1.2%) rotateY(-7deg) rotateZ(-1.5deg); } 50% { transform: translateY(1.2%) rotateY(7deg) rotateZ(1.5deg); } }
@keyframes st-shadow { 0%, 100% { transform: scaleX(.92); opacity: .8; } 50% { transform: scaleX(1.04); opacity: 1; } }

.st-side { position: relative; z-index: 3; align-self: center; width: 100%; max-width: 1320px; display: flex; justify-content: space-between; align-items: center; gap: 24px; pointer-events: none; padding-bottom: 120px; }
.st-side > * { pointer-events: auto; }
.st-info { display: grid; gap: 10px; justify-items: start; max-width: min(300px, 26vw); }
.st-info .kicker { font: 500 12px/1.4 var(--font-label); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.st-info h2 { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--font-display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.st-price { margin: 0; font: 600 20px/1 var(--font-body); }
.st-chips { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.st-chips li::before { content: "•"; margin-right: 8px; opacity: .7; }
.st-cta .btn.light { margin-top: 6px; }
.st-ctl { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.st-arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 20px; cursor: pointer; transition: transform .15s ease; }
.st-arrow:hover { transform: scale(1.08); }
.st-arrow:focus-visible, .st-thumb:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.st-count { font: 500 13px/1 var(--font-label); letter-spacing: .06em; min-width: 62px; text-align: center; }

.st-shelf { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(1080px, calc(100% - 2 * var(--gutter))); z-index: 1;
  background: color-mix(in srgb, #000 16%, var(--bg)); border-radius: 22px 22px 0 0; padding: 14px 18px 0; transition: background-color .7s ease; }
.st-row { display: flex; gap: 10px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.st-thumb { flex: 0 0 auto; width: 84px; height: 96px; border: 0; padding: 8px 6px 0; border-radius: 12px 12px 0 0; background: rgba(255,255,255,.1); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.st-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; transition: opacity .3s ease, transform .3s ease; }
.st-thumb:hover img { transform: translateY(-6px); }
.st-thumb.on { background: rgba(255,255,255,.04); outline: 1.5px dashed rgba(255,255,255,.45); outline-offset: -6px; }
.st-thumb.on img { opacity: .18; }

@media (max-width: 760px) {
  .stage { min-height: 100svh; grid-template-rows: 1fr auto auto; }
  .st-word { top: 84px; }
  .st-obj { top: 31%; height: 34svh; }
  .st-side { align-self: end; flex-direction: column; align-items: stretch; padding-bottom: 112px; gap: 14px; }
  .st-info { max-width: none; gap: 6px; }
  .st-info .kicker { display: none; }
  .st-info h2 { font-size: 30px; }
  .st-chips { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
  .st-ctl { align-self: center; }
  .st-shelf { width: 100%; border-radius: 18px 18px 0 0; padding: 10px 10px 0; }
  .st-row { justify-content: flex-start; }
  .st-thumb { width: 64px; height: 76px; }
}
@media (max-width: 760px) and (max-height: 760px) { .st-obj { height: 28svh; top: 29%; } }
@media (prefers-reduced-motion: reduce) {
  .st-float, .st-shadow { animation: none; }
  .st-tilt { transition: none; }
  .stage, .st-word span, .st-shelf { transition: none; }
}


/* ================= v5: two more landing styles + consent bar ================= */
/* "wall": the whole range at once, one colour per shirt */
.wall-head { padding-block: clamp(22px, 4.5vh, 48px) clamp(16px, 3vh, 28px); display: grid; gap: 10px; }
.wall-head .kicker { font: 500 12px/1.4 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.wall-head h1 { font: 800 clamp(30px, 4.8vw, 62px)/1 var(--font-display); letter-spacing: -0.035em; margin: 0; max-width: 20ch; text-wrap: balance; }
.wall-head p { margin: 0; color: var(--ink-2); max-width: 70ch; font-size: clamp(15px, 1.4vw, 18px); }
.wall-head p strong { color: var(--signal); font-weight: 600; white-space: nowrap; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { --fg: #fff; position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bg); color: var(--fg); text-decoration: none; overflow: hidden; isolation: isolate; }
.tile.on-bright { --fg: #16181d; }
.tile img { position: absolute; left: 17%; top: 11%; width: 66%; height: 68%; object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.3)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.tile:hover img, .tile:focus-visible img { transform: translateY(-2.5%) rotate(-2.5deg) scale(1.05); }
.tile:focus-visible { outline: 3px solid var(--fg); outline-offset: -6px; }
.tile-sizes { position: absolute; left: 16px; top: 14px; font: 500 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tile-meta { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font: 700 clamp(15px, 1.35vw, 20px)/1.15 var(--font-display); letter-spacing: -0.01em; }
.tile-meta span { font: 600 14px/1 var(--font-label); white-space: nowrap; }
.tile.out img { opacity: .45; filter: grayscale(.6); }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-sizes { left: 12px; top: 12px; } .tile-meta { left: 12px; right: 12px; bottom: 12px; flex-direction: column; gap: 4px; } }

/* "gift": message left, three shirts right */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: calc(100svh - 65px); background: #f3efe6; color: #16181d; }
.gift-copy { padding: clamp(28px, 6vw, 92px); padding-right: clamp(20px, 3vw, 48px); display: grid; align-content: center; justify-items: start; gap: 18px; }
.gift-copy .kicker { font: 500 12px/1.4 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: #5b5f68; }
.gift-copy h1 { font: 800 clamp(36px, 5vw, 76px)/0.98 var(--font-display); letter-spacing: -0.04em; margin: 0; max-width: 12ch; text-wrap: balance; }
.gift-copy p { margin: 0; font-size: clamp(16px, 1.45vw, 19px); color: #4a4d55; max-width: 44ch; }
.gift-copy .btn { background: #16181d; color: #fff; }
.gift-left { font: 500 12px/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: #b3401c; display: inline-flex; align-items: center; gap: 8px; }
.gift-left::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e8572a; }
.gift-art { position: relative; background: #f0b323; overflow: hidden; min-height: 420px; }
.gift-shirt { position: absolute; top: 47%; left: 50%; width: 40%; text-decoration: none; color: #16181d;
  transform: translate(calc(-50% + var(--x, 0%)), -50%) rotate(var(--rot, 0deg)) scale(var(--sc, 1)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.gift-shirt img { width: 100%; height: auto; filter: drop-shadow(0 26px 28px rgba(0,0,10,.38)); }
.gift-shirt span { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 14px; white-space: nowrap; font: 500 12px/1 var(--font-label); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .25s; }
.gift-shirt.l { --x: -62%; --rot: -9deg; --sc: .9; z-index: 1; }
.gift-shirt.r { --x: 62%; --rot: 9deg; --sc: .9; z-index: 1; }
.gift-shirt.c { z-index: 2; --sc: 1.08; }
.gift-shirt.c span { opacity: .9; }
.gift-shirt:hover, .gift-shirt:focus-visible { --sc: 1.14; --rot: 0deg; z-index: 3; }
.gift-art:hover .gift-shirt span { opacity: 0; }
.gift-art .gift-shirt:hover span, .gift-art .gift-shirt:focus-visible span { opacity: 1; }
@media (max-width: 860px) {
  .gift { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gift-art { order: -1; min-height: 0; aspect-ratio: 5 / 4; }
  .gift-shirt { width: 44%; top: 46%; }
  .gift-copy { padding: 26px var(--gutter) 36px; gap: 14px; }
}

/* Consent bar (only shown when a Meta Pixel ID is set) */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 720px; margin-inline: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.consent p { margin: 0; font-size: 14px; line-height: 1.45; }
.consent-btns { display: flex; gap: 8px; flex-shrink: 0; }
.consent .btn { padding: 10px 16px; margin: 0; }
@media (max-width: 600px) { .consent { flex-direction: column; align-items: stretch; } .consent-btns > * { flex: 1; } }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tile img, .gift-shirt { transition: none; } }
