/* Bajan Out Of City store. Layout refs: store.figma.com (cards, type, radii), mammut.com (menu, hero, product page). */
:root {
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #6e6e6e;
  --line: #e7e7e5;
  --bg: #ffffff;
  --tile: #f2f2f0;
  --tile-2: #e9e9e6;
  --ultra: #111111;    /* brand black (was Barbados blue) */
  --ultra-2: #2a2a2a;
  --gold: #ffffff;     /* accents are black/white only: colour comes from the products */
  --red: #111111;
  --navy: #171c34;     /* the logo's lettering */
  --ok: #157a3c;
  --bad: #b3261e;
  --r-tile: 16px;
  --r-btn: 14px;
  --r-pill: 999px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);
  --gutter: clamp(16px, 3vw, 32px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 124px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.1; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(22px, 2.4vw, 32px); }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); line-height: 1.45; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
a.eyebrow:hover { color: var(--ink); }
.lede { font-size: 19px; color: var(--ink-2); }
.demo-note { display: inline-block; font-size: 13px; background: #fff6d6; color: #6a5000; border-radius: var(--r-pill); padding: 4px 12px; margin: 6px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, transform .15s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tile); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--tile); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill:hover { background: #2b2b2b; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--tile); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 12px;
  background: transparent; text-decoration: none; }
.icon-btn:hover { background: var(--tile); }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.round-btn:hover { background: var(--tile); }
.round-btn svg { width: 20px; height: 20px; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ultra); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- announcement + floating header (mammut) ---------- */
.announce { background: var(--ultra); color: #fff; font-size: 13px; font-weight: 500; height: 34px; overflow: hidden; display: flex; align-items: center; }
.announce-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 56px; }
.announce-track span::before { content: "●"; color: #fff; opacity: .5; margin-right: 14px; font-size: 9px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.topbar { position: sticky; top: 10px; z-index: 40; padding: 0 var(--gutter); margin-top: 10px; pointer-events: none; }
.topbar-in { pointer-events: auto; max-width: 1480px; margin: 0 auto; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8px;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-radius: 18px; box-shadow: var(--shadow); }
.tb-left, .tb-right { display: flex; align-items: center; gap: 2px; }
.tb-right { justify-content: flex-end; }
.tb-label { font-size: 15px; font-weight: 600; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--red); }
.logo-img { height: 40px; width: auto; }
.brand { gap: 10px; }
.logo-mark { width: 80px; height: 80px; flex: none; }
.f-brand .logo-mark { width: 88px; height: 88px; }
.home .topbar { margin-bottom: -102px; }
.show-sm { display: none; }

/* ---------- drawers + modals ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 12, 20, .42); z-index: 60; opacity: 0; transition: opacity .3s; }
.scrim.on { opacity: 1; }
.drawer { position: fixed; top: 10px; bottom: 10px; z-index: 70; width: min(440px, calc(100vw - 20px)); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transition: transform .38s var(--ease); }
.drawer-left { left: 10px; transform: translateX(calc(-100% - 20px)); }
.drawer-right { right: 10px; transform: translateX(calc(100% + 20px)); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 24px; }
.drawer-title { font-weight: 650; font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.menu-big { list-style: none; margin: 0 0 18px; padding: 0; }
.menu-big a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: clamp(28px, 5vw, 34px); font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.menu-big a span { opacity: 0; transform: translateX(-8px); transition: .2s; }
.menu-big a:hover span { opacity: 1; transform: none; }
.menu-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.menu-pills a { display: inline-flex; height: 38px; align-items: center; padding: 0 16px; background: var(--tile); border-radius: var(--r-pill); font-size: 14px; font-weight: 600; text-decoration: none; }
.menu-pills a:hover { background: var(--tile-2); }
.menu-h { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.menu-list { list-style: none; padding: 0; margin: 0 0 24px; }
.menu-list a { display: block; padding: 6px 0; font-size: 16px; text-decoration: none; }
.menu-list a:hover { color: var(--ultra); }
.menu-cols { columns: 2; }
.cur-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.cur-btn svg { width: 18px; height: 18px; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 20, .45); opacity: 0; transition: opacity .25s; }
.modal.on { opacity: 1; }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.modal.on .modal-card { transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; }
.cur-card h2 { font-size: 26px; margin-bottom: 20px; padding-right: 30px; }
.cur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.cur-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; text-align: left; font-size: 15px; }
.cur-opt:hover, .cur-opt.on { border-color: var(--ink); }
.cur-opt.on { box-shadow: inset 0 0 0 1px var(--ink); }
.cur-opt .flag { font-size: 24px; line-height: 1; }
.cur-opt b { display: block; }

/* search */
.modal[data-search] { place-items: start center; padding-top: 10px; }
.search-card { width: min(1000px, 100%); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 10px 10px 18px; transform: translateY(-10px); transition: transform .3s var(--ease); max-height: calc(100vh - 20px); overflow-y: auto; }
.modal.on .search-card { transform: none; }
.search-bar { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; height: 60px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.search-bar input { flex: 1; border: 0; outline: 0; font-size: 20px; background: transparent; min-width: 0; }
.search-pop, .search-res { padding: 0 16px; }
.search-res .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.search-res .card-actions, .search-res .wish-btn, .search-res .quick-plus { display: none; }

/* ---------- hero (mammut) ---------- */
.hero { position: relative; height: clamp(500px, calc(100svh - 290px), 780px); margin: 0 var(--gutter); border-radius: 0 0 28px 28px; overflow: hidden; background: var(--ultra); color: #fff;
  display: flex; align-items: flex-end; border-radius: 28px; margin-top: 10px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img + .hero-copy::before { content: ""; position: absolute; inset: -40% -20% -20% -20%; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 70%); z-index: -1; }
.hero-copy { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px); max-width: min(760px, 50%); }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 750; letter-spacing: -.045em; line-height: .95; margin-bottom: 22px; }
.hero .eyebrow { color: var(--gold); font-size: 14px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 650; letter-spacing: -.02em; margin: 0; }
.hero-links a { text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s; }
.hero-links a:hover { border-color: var(--gold); }
.hero-links a span { color: var(--gold); }
.hero-links .sep { opacity: .45; font-weight: 300; }
.hero-art { position: absolute; inset: 0; }
.hero-stripe { position: absolute; top: 0; bottom: 0; }
.hero-stripe.s1 { display: none; }   /* the dark band showed as an unfinished strip under the main photo */
.hero-stripe.s2 { left: 72%; right: 0; background: #f2f2f0; }
.hero-pic { position: absolute; border-radius: 20px; object-fit: cover; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); background: #fff; }
.hero-pic.p1 { right: 25%; top: 12%; height: 76%; width: auto; aspect-ratio: 7 / 10; transform: rotate(-3deg); }
.hero-pic.p2 { right: 4%; top: 6%; height: 52%; width: auto; aspect-ratio: 7 / 10; transform: rotate(4deg); }
.hero-pic.p3 { right: 7%; bottom: -6%; height: 40%; width: auto; aspect-ratio: 7 / 10; transform: rotate(-2deg); }

/* ---------- rails (bestsellers, combine with, similar) ---------- */
.rail { padding: 26px 0 10px; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rail-head h2 { margin: 0; }
.rail-ctl { display: flex; align-items: center; gap: 8px; }
.rail-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; margin-right: 8px; }
.rail-link svg { width: 18px; height: 18px; }
.rail-link:hover { color: var(--ultra); }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(100vw, 1480px) - 2 * var(--gutter) - 3 * 16px) / 4.15); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 10px; scroll-padding: 0 var(--gutter); scrollbar-width: none; max-width: 1480px; margin: 0 auto; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { scroll-snap-align: start; }

/* ---------- product cards (figma) ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.grid.mosaic { grid-auto-flow: dense; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; border-radius: var(--r-tile); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; isolation: isolate; }
.card-media > a { position: absolute; inset: 0; display: block; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .7s var(--ease); }
.card-media .i2 { opacity: 0; }
.card:hover .card-media .i2 { opacity: 1; }
.card:hover .card-media .i1:not(:only-child) { opacity: 0; }
.card:hover .card-media img:only-child { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: var(--r-pill); padding: 4px 10px; font-size: 12px; font-weight: 600; }
.badge-new { background: var(--ink); color: #fff; }
.wish-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); display: grid; place-items: center;
  opacity: 0; transition: opacity .2s, transform .2s; }
.wish-btn svg { width: 20px; height: 20px; }
.card:hover .wish-btn, .wish-btn[aria-pressed="true"] { opacity: 1; }
[data-wish][aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.wish-btn:active { transform: scale(.9); }
.card-actions { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease); }
.card-actions .pill { flex: 1; }
.card:hover .card-actions, .card:focus-within .card-actions { opacity: 1; transform: none; }
.quick-plus { display: none; position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.quick-plus svg { width: 18px; height: 18px; }
.card-info { display: block; text-decoration: none; padding: 12px 2px 0; }
.card-info h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 4px; }
.card-price { margin: 0; font-size: 16px; color: var(--ink-2); }
.card-sw { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.grid.mosaic .card.big { grid-column: span 2; grid-row: span 2; }
.grid.mosaic .card.big.right { grid-column: 3 / span 2; }
.grid.mosaic .card.big .card-media { aspect-ratio: auto; flex: 1; min-height: 0; }
.grid.mosaic .card.big .card-info h3 { font-size: 24px; }
.grid-more { height: 1px; }
.grid .card { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- home sections ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; margin-bottom: 8px; }
.perks p { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 18px; background: var(--tile); border-radius: var(--r-tile); font-size: 15px; color: var(--ink-2); }
.perks b { color: var(--ink); font-weight: 600; }
.shop-all { padding: 36px 0 20px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.shop-all .demo-note { margin: 8px var(--gutter) 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px auto 22px; }
.toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.toolbar .chips::-webkit-scrollbar { display: none; }
.sort select { height: 38px; border-radius: var(--r-pill); border: 1px solid var(--line); padding: 0 34px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 14px; font-weight: 500; }
.story { margin-top: 40px; }
.story-card { background: var(--ultra); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.story-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: #fff; opacity: .08; }
.story-card > * { position: relative; z-index: 1; max-width: 720px; }
.story-card h2 { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.03em; }
.story-card p { color: rgba(255, 255, 255, .85); font-size: 18px; }
.story-card .eyebrow { color: var(--gold); }

/* ---------- listings ---------- */
.list-head { padding-top: 36px; }
.list-head h1 { margin-bottom: 6px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- product page (mammut) ---------- */
.page .crumbs { margin-top: 24px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-item { border: 0; padding: 0; background: var(--tile); border-radius: var(--r-tile); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery .g-item.lead { grid-column: span 2; }
.gallery .g-item:first-child:last-child img { max-height: 86vh; object-fit: contain; }
.pinfo { position: sticky; top: 124px; }
.pinfo .demo-note { margin: 0 0 12px; }
.pname { font-size: clamp(30px, 3.2vw, 44px); font-weight: 650; letter-spacing: -.03em; margin: 0 0 10px; }
.pprice { font-size: 22px; font-weight: 500; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.opt { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.opt legend { display: flex; width: 100%; justify-content: space-between; font-size: 15px; color: var(--ink-2); padding: 0; margin-bottom: 10px; }
.opt legend b { font-weight: 600; color: var(--ink); margin-left: 4px; }
.opt legend .link { font-size: 14px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; cursor: pointer; }
.sw input, .sz input { position: absolute; opacity: 0; pointer-events: none; }
.sw span { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s; }
.sw input:checked + span { outline-color: var(--ink); }
.sw input:focus-visible + span { outline-color: var(--ultra); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sz span { display: grid; place-items: center; height: 48px; padding: 0 8px; border-radius: var(--r-btn); border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; text-align: center; line-height: 1.1; }
.sz span:hover { border-color: var(--ink); }
.sz input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sz input:focus-visible + span { outline: 2px solid var(--ultra); outline-offset: 2px; }
.sz input:disabled + span { color: #b5b5b5; background: repeating-linear-gradient(135deg, transparent 0 8px, #f3f3f3 8px 9px); cursor: not-allowed; }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.pick-msg { min-height: 0; margin: -6px 0 10px; color: var(--bad); font-size: 14px; font-weight: 500; }
.pick-msg:empty { display: none; }
.buy-row { display: flex; gap: 10px; margin-bottom: 20px; }
.btn-buy { flex: 1; }
.wish-lg { width: 52px; height: 52px; border-radius: var(--r-btn); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-btn); height: 52px; }
.qty button { width: 38px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty input { width: 32px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust { list-style: none; padding: 16px 18px; margin: 0 0 18px; background: var(--tile); border-radius: var(--r-tile); display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 20px; height: 20px; }
.trust.small { background: none; padding: 14px 0 0; border-top: 1px solid var(--line); border-radius: 0; margin: 14px 0 0; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 300; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.acc ul { padding-left: 18px; margin: 0 0 10px; }
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-radius: 18px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .35s var(--ease); }
.sticky-buy.on { transform: none; }
.sticky-buy div { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.sticky-buy b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp + .sticky-buy + .rail, .pdp ~ .rail:first-of-type { margin-top: 50px; }
.zoom { background: #fff; padding: 0; place-items: center; }
.zoom img { max-width: 100%; max-height: 100vh; object-fit: contain; }

/* quick add */
.quick-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; width: min(720px, 100%); }
.quick-card .q-img { background: var(--tile); border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 4 / 5; }
.quick-card .q-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.quick-card h2 { font-size: 24px; padding-right: 36px; }
.quick-card .pprice { font-size: 18px; margin-bottom: 16px; }
.quick-card .link { font-size: 14px; color: var(--muted); }

/* ---------- cart drawer ---------- */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line .ci-img { background: var(--tile); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; }
.cart-line .ci-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ci-name { font-weight: 600; text-decoration: none; display: block; line-height: 1.25; }
.ci-opt { font-size: 14px; color: var(--muted); display: block; margin: 2px 0 10px; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); height: 34px; }
.ci-qty button { width: 32px; height: 100%; border: 0; background: none; }
.ci-qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-x { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.ci-price { font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 6px; }
.cart-foot .btn { margin-top: 8px; }
.cart-empty { text-align: center; padding: 40px 0 20px; }
.cart-empty svg { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--muted); }
.cart-upsell { margin-top: 24px; }
.cart-upsell .mini { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; }
.cart-upsell .mini .ci-img { background: var(--tile); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; }
.cart-upsell .mini img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cart-upsell .mini span { font-size: 14px; }
.cart-upsell .pill { height: 34px; font-size: 13px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr); gap: clamp(24px, 4vw, 64px); padding-top: 30px; align-items: start; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.back svg { width: 16px; height: 16px; }
.co-form h2, .card-form h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 28px 0 14px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 6px; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #d8d8d6; background: #fff; font-size: 16px; color: var(--ink); }
textarea { height: auto; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .1); }
label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
label.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.co-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.co-rates { display: grid; gap: 8px; margin-bottom: 8px; }
.rate { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; margin: 0; }
.rate:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rate input { grid-row: span 2; accent-color: var(--ink); width: 18px; height: 18px; }
.rate .rn { font-weight: 600; color: var(--ink); }
.rate .rd { grid-column: 2; font-size: 13px; color: var(--muted); }
.rate .rp { grid-row: 1 / span 2; grid-column: 3; color: var(--ink); }
.btn-pay { margin-top: 4px; }
.status { font-size: 15px; margin: 12px 0 0; }
.status:empty { display: none; }
.status.bad { color: var(--bad); }
.status.good { color: var(--ok); }
.co-side { position: sticky; top: 124px; }
.co-sum-card { background: var(--tile); border-radius: 22px; padding: 24px; }
.co-sum-card h2 { font-size: 20px; }
.co-items { list-style: none; padding: 0; margin: 0 0 14px; }
.co-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.co-items .ci-img { position: relative; background: #fff; border-radius: 10px; overflow: visible; aspect-ratio: 4 / 5; }
.co-items .ci-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; mix-blend-mode: multiply; }
.co-items .ci-img i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--muted); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.co-sum { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid #dcdcd9; font-size: 15px; }
.co-sum dd { margin: 0; text-align: right; }
.co-sum .tot { font-size: 19px; font-weight: 650; padding-top: 6px; }
.co-sum .conv { grid-column: span 2; text-align: right; }

/* ---------- account, forms, prose ---------- */
.acct, .thanks { padding-top: 40px; }
.thanks { padding-top: 80px; padding-bottom: 40px; }
.card-form { background: var(--tile); border-radius: 22px; padding: clamp(20px, 3vw, 32px); margin: 20px 0; }
.card-form h2 { margin-top: 0; }
.track-res { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dcdcd9; }
.track-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 10px 0 16px; flex-wrap: wrap; }
.track-steps li { padding: 6px 12px; border-radius: var(--r-pill); background: #fff; font-size: 13px; color: var(--muted); }
.track-steps li.on { background: var(--ink); color: #fff; }
.acct-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile-link { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-tile); text-decoration: none; }
.tile-link:hover { border-color: var(--ink); }
.tile-link span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.tile-link b { color: var(--ink); font-size: 16px; }
.prose { padding-top: 40px; }
.prose h2 { font-size: 22px; margin-top: 30px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.faq { margin: 20px 0 30px; }
.search-page input { max-width: 560px; }

/* ---------- newsletter float (figma) ---------- */
.news-float { position: fixed; left: 16px; bottom: 16px; z-index: 35; }
.news-pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg);
  transition: transform .2s; }
.news-pill:hover { transform: translateY(-2px); }
.news-pill svg { width: 20px; height: 20px; color: var(--gold); }
.news-card { position: absolute; left: 0; bottom: 58px; width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; }
.news-t { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin: 0 0 4px; }
.news-s { color: var(--muted); font-size: 15px; padding-right: 20px; }
.news-card form { display: grid; gap: 8px; }
.news-card input { margin: 0; }
.f-msg { font-size: 14px; margin: 4px 0 0; }
.f-msg:empty { display: none; }

/* ---------- footer ---------- */
.footer { margin-top: 80px; background: var(--tile); border-radius: 28px 28px 0 0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.f-brand p { color: var(--muted); max-width: 380px; margin-top: 12px; }
.f-news { display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; }
.f-news input { flex: 1; min-width: 180px; margin: 0; }
.f-news .btn { min-height: 50px; }
.f-news .f-msg { flex-basis: 100%; }
.f-h { font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li a { display: inline-block; padding: 4px 0; text-decoration: none; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #dcdcd9; font-size: 14px; color: var(--muted); }
.pay-note { display: flex; align-items: center; gap: 6px; margin: 0; }
.pay-note svg { width: 16px; height: 16px; }
.legal { display: flex; gap: 18px; }
.legal li a { padding: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.mosaic .card.big.right { grid-column: 2 / span 2; }
  .rail-track { grid-auto-columns: calc((100vw - 2 * var(--gutter) - 2 * 16px) / 3.2); }
  .hero-stripe.s1 { left: 60%; }
  .hero-pic.p1 { right: 18%; }
}
@media (max-width: 860px) {
  .pdp, .checkout { grid-template-columns: 1fr; }
  .pinfo, .co-side { position: static; }
  .co-side { order: -1; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .g-item { flex: 0 0 86%; scroll-snap-align: center; }
  .gallery .g-item:first-child:last-child { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
  .perks { grid-template-columns: 1fr; gap: 8px; }
  .perks p { padding: 12px 16px; }
  .hero-stripe.s1 { left: 40%; width: 30%; }
  .hero-stripe.s2 { left: 70%; }
  .hero-pic.p1 { right: 6%; top: 8%; height: 56%; }
  .hero-pic.p2, .hero-pic.p3 { display: none; }
  .hero-copy { max-width: none; }
  .hero-copy::before { content: ""; position: absolute; inset: -30% -10% -10% -10%; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); z-index: -1; }
}
@media (max-width: 700px) {
  .tb-label, .hide-sm { display: none; }
  .show-sm { display: inline-flex; }
  .wordmark { font-size: 16px; }
  .topbar-in { height: 74px; padding: 0 4px; }
  .logo-mark { width: 64px; height: 64px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .grid.mosaic .card.big, .grid.mosaic .card.big.right { grid-column: span 2; grid-row: auto; }
  .grid.mosaic .card.big .card-media { aspect-ratio: 4 / 5; flex: none; }
  .card-info h3 { font-size: 15px; }
  .grid.mosaic .card.big .card-info h3 { font-size: 19px; }
  .card-price { font-size: 15px; }
  .card-actions { display: none; }
  .wish-btn { opacity: 1; width: 34px; height: 34px; }
  .quick-plus { display: grid; }
  .rail-track { grid-auto-columns: 62%; gap: 10px; }
  .rail-ctl .round-btn { display: none; }
  .hero { margin: 8px 8px 0; height: clamp(460px, calc(100svh - 300px), 640px); border-radius: 22px; }
  .home .topbar { margin-bottom: -84px; }
  .search-res .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cur-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 24px 20px; }
  .quick-card { grid-template-columns: 1fr; }
  .quick-card .q-img { display: none; }
  .acct-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-brand { grid-column: auto; }
  .footer { padding-bottom: 90px; }
  .news-pill span { display: none; }
  .news-pill { width: 48px; padding: 0; justify-content: center; }
  .buy-row { flex-wrap: wrap; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .sort { align-self: flex-start; }
}
@media (hover: none) {
  .card-actions { display: none; }
  .wish-btn { opacity: 1; }
  .quick-plus { display: grid; }
  .card:hover .card-media .i1:not(:only-child) { opacity: 1; }
  .card:hover .card-media .i2 { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* fixes after first review */
.qty input:not([type=radio]) { width: 34px; height: auto; margin: 0; padding: 0; border: 0; box-shadow: none; border-radius: 0; }
.opt legend b { margin-right: auto; }
.pinfo .demo-note { display: table; }
.cart-upsell .pill-light { border: 1px solid var(--line); }

/* Printful mockups are square photos */
.card-media, .g-item, .quick-card .q-img, .cart-line .ci-img, .cart-upsell .mini .ci-img, .co-items .ci-img { aspect-ratio: 1 / 1; }


.hero-pic { overflow: hidden; display: block; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic.p1, .hero-pic.p2, .hero-pic.p3 { aspect-ratio: 1 / 1; }

/* search-content blocks */
.psub { margin: -4px 0 14px; color: var(--muted); font-size: 15px; }
.list-story { max-width: 760px; margin-top: 14px; }
.list-story p { color: var(--ink-2); font-size: 16px; margin-bottom: 10px; }
.seo-faq { margin-top: 50px; }
.seo-faq h2 { font-size: 24px; }
.announce-track a { color: inherit; text-decoration: none; font-weight: 600; }

/* card logos (in colour on purpose: shoppers recognise the marks) */
.cards { display: inline-flex; gap: 5px; align-items: center; vertical-align: middle; margin-left: 4px; }
svg.card-logo { width: 34px; height: 22px; stroke: none; stroke-width: 0; }
.perks .cards { margin-left: 6px; }
.pay-cards { display: flex; justify-content: center; margin: 12px 0 4px; }
.pay-cards .cards { margin: 0; }
.pay-note .cards { margin-left: 8px; }
.trust li.deadline { color: var(--ink); font-weight: 600; }
.announce [hidden] { display: none; }

/* size chart */
.size-chart { scroll-margin-top: 150px; }
.size-chart .unit-tog { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; margin-bottom: 12px; }
.size-chart .unit-tog button { border: 0; background: none; border-radius: var(--r-pill); padding: 8px 16px; min-height: 36px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.size-chart .unit-tog button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 10px; }
.size-table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-weight: 600; background: var(--tile); }
.size-table tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: #fff; }
.size-table[hidden] { display: none; }
