:root {
  --bg: #f1f0ec;
  --tile: #e4e2dc;
  --ink: #111;
  --mute: #77756f;
  --line: #d3d0c8;
  --alert: #c8321e;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
main { flex: 1; }
[hidden] { display: none !important; }

/* announcement marquee */
.bar { background: var(--ink); color: var(--bg); overflow: hidden; white-space: nowrap; padding: 7px 0; }
.bar-track { display: inline-block; animation: slide 30s linear infinite; }
.bar-track span { padding: 0 2.5rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 20px; background: var(--bg);
}
.nav { position: relative; z-index: 3; display: flex; gap: 20px; }
.nav a { color: var(--mute); padding: 4px 0; }
.nav a:hover, .nav a.on, .nav a.hot { color: var(--ink); }
.logo { display: block; line-height: 0; }
.logo img { height: 34px; width: auto; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.cur-switch { display: inline-flex; border: 1px solid var(--line); }
.cur-switch button { padding: 4px 7px; color: var(--mute); font-size: 11px; }
.cur-switch button.on { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; justify-self: start; }

/* menu drawer — sits under the nav links, blurs the page */
.menu-scrim {
  position: fixed; inset: 0; z-index: 1;
  background: rgba(241, 240, 236, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.menu-panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 2; width: min(400px, 100vw);
  background: var(--bg); display: flex; flex-direction: column;
  padding: 70px 20px 24px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s ease;
}
body.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
body.menu-open .menu-panel { transform: none; }
.menu-close { display: none; align-self: flex-end; }
.menu-list { margin: auto 0; display: flex; flex-direction: column; gap: 18px; }
.menu-list a { display: block; padding: 4px 0; color: var(--mute); }
.menu-list a:hover { color: var(--ink); }
.menu-list .m-head { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.m-group { display: flex; flex-direction: column; }
.m-label { color: var(--mute); margin-bottom: 8px; }
.menu-list .cur-switch button { padding: 8px 12px; font-size: 12px; }
body.menu-desk .menu-list a { color: var(--ink); }
body.menu-desk .menu-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* home slideshow */
.show { position: relative; height: min(78vh, 760px); min-height: 420px; overflow: hidden; background: #111; touch-action: pan-y; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.slide.on { opacity: 1; visibility: visible; }
.slide.ink-light { color: #f4f3ef; }
.slide.ink-dark { color: var(--ink); }
.show-photo { position: absolute; inset: 0; }
.show-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-photo picture { display: contents; }
.show-logo { width: min(640px, 72vw); height: auto; }
.show-art { position: absolute; top: 0; bottom: 0; right: 4%; width: min(56%, 640px); display: flex; align-items: center; }
.show-art svg { width: 100%; height: auto; max-height: 100%; }
.slide.on .show-art svg { animation: drift 6s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: none; } }
.show-copy { position: absolute; max-width: min(900px, calc(100% - 40px)); --tx: 0; --ty: 0; transform: translate(var(--tx), var(--ty)); }
/* text position, chosen per slide: dv = top/middle/bottom, dh = left/centre/right (mv/mh are the phone versions) */
.slide.dh-l .show-copy { left: 20px; text-align: left; }
.slide.dh-c .show-copy { left: 20px; right: 20px; margin: 0 auto; width: fit-content; text-align: center; }
.slide.dh-r .show-copy { right: 20px; text-align: right; }
.slide.dv-t .show-copy { top: 40px; }
.slide.dv-m .show-copy { top: 50%; --ty: -50%; }
.slide.dv-b .show-copy { bottom: 58px; }
/* optional soft shade behind the words, for busy photos */
.slide.shaded::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.slide.shaded.ink-light::after { background: radial-gradient(ellipse at var(--sx, 20%) var(--sy, 80%), rgba(0,0,0,.55), rgba(0,0,0,0) 65%); }
.slide.shaded.ink-dark::after { background: radial-gradient(ellipse at var(--sx, 20%) var(--sy, 80%), rgba(255,255,255,.6), rgba(255,255,255,0) 65%); }
.slide.dh-l { --sx: 15%; } .slide.dh-c { --sx: 50%; } .slide.dh-r { --sx: 85%; }
.slide.dv-t { --sy: 18%; } .slide.dv-m { --sy: 50%; } .slide.dv-b { --sy: 82%; }
.slide .show-copy { z-index: 1; }
.show-copy h2 { font-family: var(--display); font-weight: 900; font-size: calc(clamp(44px, 7vw, 104px) * var(--ts, 1)); line-height: .88; letter-spacing: -0.04em; overflow-wrap: break-word; }
/* title size, chosen per slide */
.slide.ts-m { --ts: .75; } .slide.ts-s { --ts: .55; }
.show-copy p { margin-top: 12px; max-width: 520px; }
.slide.dh-c .show-copy p { margin-inline: auto; }
.slide.dh-r .show-copy p { margin-left: auto; }
.show-cta { display: inline-block; margin-top: 16px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.show-ctrl {
  position: absolute; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 14px;
  color: var(--ink); transition: color .4s;
}
.show.ink-light .show-ctrl { color: #f4f3ef; }
.show-ctrl button { width: 32px; height: 32px; border: 1px solid currentColor; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide.on .show-art svg { animation: none; }
}

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 28px 20px 12px; border-top: 1px solid var(--line); }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.section-head a, .section-head span { color: var(--mute); }
.section-head a:hover { color: var(--ink); }
.section-head.flush { border-top: 0; }

/* sub-category pills */
.pills { display: flex; gap: 6px; padding: 0 20px 16px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { flex: none; border: 1px solid var(--line); padding: 8px 12px; color: var(--mute); }
.pills a:hover { color: var(--ink); border-color: var(--ink); }
.pills a.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 0 20px 40px; }
.card { display: block; }
.card .art { position: relative; background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; }
.card .art svg, .card .art img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.card:hover .art svg, .card:hover .art img { transform: scale(1.04); }
.card .tag { position: absolute; top: 10px; left: 10px; background: var(--bg); padding: 3px 6px; font-size: 10px; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; padding: 10px 8px 22px; }
.card .meta small { display: block; color: var(--mute); font-size: 11px; margin-top: 3px; }
.card.sold .art svg, .card.sold .art img { opacity: .45; }
.card.sold .tag { background: var(--ink); color: var(--bg); }
.empty { padding: 60px 20px; color: var(--mute); }

/* product */
.pdp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 10px 20px 60px; }
/* product photos: the whole photo always fits on screen (no cropping into a giant close-up) */
.pdp-media { position: sticky; top: 60px; align-self: start; }
.pdp .art { background: var(--tile); aspect-ratio: 4 / 5; width: min(100%, calc((100vh - 170px) * 0.8)); margin: 0 auto; position: relative; overflow: hidden; }
.pdp .art svg, .pdp .art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pdp .gallery img, .pdp .art > img { object-fit: contain; }
.g-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 24px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); transition: opacity .2s; }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
.g-nav:disabled { opacity: 0; pointer-events: none; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(17, 17, 17, .75); color: #fff; font-size: 11px; padding: 3px 8px; letter-spacing: .04em; }
.g-thumbs { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.g-thumb { width: 58px; aspect-ratio: 4 / 5; padding: 0; background: var(--tile); border: 1px solid transparent; opacity: .6; overflow: hidden; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.on { opacity: 1; border-color: var(--ink); }
.info { padding-top: 10px; max-width: 440px; }
.crumb { color: var(--mute); margin-bottom: 18px; }
.crumb a:hover { color: var(--ink); }
.info h1 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.price { margin-top: 10px; font-size: 14px; }
.desc { margin-top: 22px; text-transform: none; font-size: 13px; line-height: 1.6; color: #3a3935; }
.opt { margin-top: 26px; }
.opt-label { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--mute); }
.opt-label b { color: var(--ink); font-weight: 400; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); outline: 1px solid transparent; outline-offset: 3px; }
.swatch.on { outline-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.size { border: 1px solid var(--line); padding: 12px 0; }
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size.gone { color: var(--mute); text-decoration: line-through; cursor: not-allowed; opacity: .55; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--mute) 50%, transparent calc(50% + .5px)); }
.size.gone:hover { border-color: var(--line); }
.sold-label { margin-left: 10px; padding: 3px 6px; background: var(--ink); color: var(--bg); font-size: 11px; }
.btn { display: block; width: 100%; margin-top: 26px; background: var(--ink); color: var(--bg); padding: 16px; font-size: 12px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.added { background: #2f6b4f; }
.guide { margin-top: 26px; border-top: 1px solid var(--line); }
.guide summary { padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.guide summary::after { content: "+"; }
.guide[open] summary::after { content: "–"; }
.guide table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.guide td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.guide td:last-child { text-align: right; color: var(--mute); }

/* bag drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 20; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 21;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
body.bag-open .scrim { opacity: 1; pointer-events: auto; }
body.bag-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .thumb { background: var(--tile); aspect-ratio: 4 / 5; }
.line .thumb svg, .line .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.line small { display: block; color: var(--mute); margin-top: 4px; }
.qty { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.qty button { width: 22px; height: 22px; border: 1px solid var(--line); }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; }
.drawer-foot .btn { margin-top: 16px; }
.note { margin-top: 10px; color: var(--mute); text-align: center; }

/* checkout + order pages */
.u { text-decoration: underline; text-underline-offset: 3px; }
.u.small { font-size: 11px; color: var(--mute); margin-top: 12px; }
.narrow { max-width: 620px; margin: 0 auto; padding: 32px 20px 60px; }
.page-title { word-spacing: .12em; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 44px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 18px; }
.kicker { color: var(--mute); margin-bottom: 10px; }
.notice { background: var(--tile); padding: 12px; text-transform: none; font-size: 13px; margin-bottom: 18px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; padding: 28px 20px 60px; max-width: 1100px; margin: 0 auto; align-items: start; }
.co-form fieldset { border: 0; margin-bottom: 26px; }
.co-form legend { color: var(--mute); margin-bottom: 10px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-form label { display: block; color: var(--mute); font-size: 11px; }
.co-grid .wide, .co-form > label.wide { grid-column: 1 / -1; }
.co-form input:not([type=radio]), .co-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: 14px/1.4 var(--mono); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; text-transform: none;
}
.co-form input:focus, .co-form textarea:focus { outline: none; border-color: var(--ink); }
.co-form textarea { resize: vertical; }
.zones { display: grid; gap: 6px; }
.zone { display: grid !important; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink) !important; font-size: 12px !important; }
.zone:has(input:checked) { border-color: var(--ink); outline: 1px solid var(--ink); }
.zone input { accent-color: var(--ink); width: 16px; height: 16px; }
.zone small { display: block; color: var(--mute); text-transform: none; margin-top: 3px; }
.zone em { font-style: normal; }
.err { color: #b3261e; text-transform: none; font-size: 13px; min-height: 1em; margin-top: 14px; }
.co-form .btn { margin-top: 12px; }
.wa-btn { background: #1f6b4a; }
.co-summary { background: #fff; border: 1px solid var(--line); padding: 18px; position: sticky; top: 80px; }
.co-summary.flat { position: static; margin: 22px 0 6px; }
.co-summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.co-summary .row small { color: var(--mute); }
.co-summary .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 14px; }
.co-lines { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; }
.co-line .thumb { position: relative; background: var(--tile); aspect-ratio: 4 / 5; display: block; }
.co-line .thumb svg, .co-line .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-line .thumb i { position: absolute; top: -6px; right: -6px; background: var(--ink); color: var(--bg); font-style: normal; font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; }
.co-line small { display: block; color: var(--mute); margin-top: 3px; }

/* deals */
.deal { margin-top: 12px; padding: 8px 10px; border: 1px dashed var(--ink); font-size: 11px; line-height: 1.5; }
.drawer-foot .deal { text-align: left; margin: 10px 0 0; }
.deal-row { color: #2f6b4f; }
.money s { color: var(--mute); margin-right: 4px; }

.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 22px; width: auto; }

/* floating message button */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 15; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn {
  width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.chat-btn:hover { transform: translateY(-2px); }
body.chat-open .chat-btn { transform: rotate(-8deg); }
.chat-card {
  width: min(330px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--ink);
  box-shadow: 0 12px 40px rgba(0,0,0,.18); animation: pop .2s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); padding: 12px 14px; }
.chat-head img { height: 26px; width: auto; }
.chat-head button { color: var(--bg); font-size: 22px; line-height: 1; width: 28px; height: 28px; }
.chat-body { padding: 16px 14px 14px; }
.chat-bubble { background: var(--tile); padding: 12px; text-transform: none; font-size: 12px; line-height: 1.5; border-radius: 0 12px 12px 12px; }
.chat-body textarea {
  display: block; width: 100%; margin-top: 12px; padding: 10px; resize: none;
  font: 13px/1.5 var(--mono); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0;
}
.chat-body textarea:focus { outline: none; border-color: var(--ink); }
.chat-body .btn { margin-top: 10px; }
body.bag-open .chat, body.menu-open .chat { display: none; }

/* the right side keeps clear of the floating WhatsApp button (54px, 20px from the edge) */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 94px 22px 20px; border-top: 1px solid var(--line); color: var(--mute); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: inherit; }
.foot-links a:hover { color: var(--ink); }
.foot-links:empty { display: none; }

/* Shipping, Returns, Contact */
.policy h2 { font: 800 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 28px 0 10px; }
.policy p, .policy li { text-transform: none; font-size: 13px; line-height: 1.65; color: #3a3935; }
.policy p + p { margin-top: 12px; }
.policy ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.policy-help { margin-top: 28px; color: var(--mute); text-transform: none; font-size: 12px; }
.contact-list { margin: 24px 0 0; border-top: 1px solid var(--line); }
.contact-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--mute); text-transform: uppercase; font-size: 11px; }
.contact-list dd { margin: 0; text-transform: none; font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.agree { display: flex !important; align-items: flex-start; gap: 10px; margin-top: 18px; text-transform: none !important; font-size: 12px !important; line-height: 1.5; color: var(--ink) !important; cursor: pointer; }
.agree input[type="checkbox"] { width: 16px !important; height: 16px; padding: 0; margin: 1px 0 0 !important; flex: none; accent-color: var(--ink); }
.agree span { flex: 1; min-width: 0; }

@media (max-width: 1100px) {
  .card .meta { flex-direction: column; gap: 4px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp-media { position: static; }
  .pdp .art { width: 100%; }
  .info { max-width: none; }
}
@media (max-width: 800px) {
  .nav { display: none; }
  .cur-slot { display: none; }
  .checkout { grid-template-columns: 1fr; gap: 24px; }
  .co-summary { position: static; order: -1; }
  .menu-btn { display: block; }
  .menu-close { display: block; }
  .menu-panel { padding-top: 18px; }
  .menu-list { margin: 28px 0 0; gap: 26px; }
}
@media (max-width: 600px) {
  .top { padding: 12px 16px; }
  .menu-panel { width: 100vw; padding-left: 16px; padding-right: 16px; }
  .logo img { height: 28px; }
  .show { height: 72vh; min-height: 460px; }
  .show-art { left: 8%; right: 8%; width: auto; top: 6%; bottom: 34%; }
  /* phones: the text spans the width; left/centre/right only aligns it */
  .show .slide .show-copy { left: 16px; right: 16px; top: auto; bottom: auto; max-width: none; --tx: 0; --ty: 0; }
  .show .slide .show-copy { width: auto; margin: 0; }
  .show-copy h2 { font-size: calc(clamp(36px, 11vw, 64px) * var(--ts, 1)); }
  .slide.mh-l .show-copy { text-align: left; }
  .slide.mh-c .show-copy { text-align: center; }
  .slide.mh-r .show-copy { text-align: right; }
  .slide.mh-l .show-copy p { margin-inline: 0 auto; }
  .slide.mh-c .show-copy p { margin-inline: auto; }
  .slide.mh-r .show-copy p { margin-inline: auto 0; }
  .slide.mv-t .show-copy { top: 28px; }
  .slide.mv-m .show-copy { top: 50%; --ty: -50%; }
  .slide.mv-b .show-copy { bottom: 70px; }
  .slide.mh-l { --sx: 20%; } .slide.mh-c { --sx: 50%; } .slide.mh-r { --sx: 80%; }
  .slide.mv-t { --sy: 15%; } .slide.mv-m { --sy: 50%; } .slide.mv-b { --sy: 80%; }
  .show-ctrl { left: 16px; right: 16px; bottom: 18px; justify-content: space-between; }
  .chat { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-head h2 { font-size: 24px; }
  .grid { gap: 2px; }
  .card .meta { flex-direction: column; gap: 4px; padding-bottom: 18px; font-size: 11px; }
  .info h1 { font-size: 30px; }
  .section-head, .pills, .grid, .pdp, .foot { padding-left: 16px; padding-right: 16px; }
  .foot { flex-direction: column; align-items: flex-start; padding-bottom: 90px; } /* room under the last line for the WhatsApp button */
  .checkout, .narrow { padding-left: 16px; padding-right: 16px; }
  .co-grid { grid-template-columns: 1fr; }
  .drawer-foot { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* sound on/off, top right */
.sound-btn { display: grid; place-items: center; width: 36px; height: 36px; margin: -3px 0; color: var(--ink); }
.sound-btn .mute { display: none; }
.sound-btn.off { color: var(--mute); }
.sound-btn.off .wave { display: none; }
.sound-btn.off .mute { display: inline; }

/* loading line along the bottom of the header */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.progress.page { position: fixed; top: 0; bottom: auto; z-index: 100; }
.progress.on { opacity: 1; }
.progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.progress i::after { content: ""; position: absolute; right: 0; top: -1px; width: 90px; height: 4px; background: linear-gradient(90deg, transparent, var(--ink)); opacity: .5; }

/* photos fade in as they load, over a soft shimmer */
.art img { opacity: 0; transition: opacity .45s ease, transform .5s ease; }
.art img.in { opacity: 1; }
.card.sold .art img.in { opacity: .45; }
.art:has(img:not(.in))::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%) var(--tile);
  background-size: 250% 100%; animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* a button that's working on something */
.btn.busy { background-image: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(255, 255, 255, .13) 10px 20px); background-size: 28px 28px; animation: busy .6s linear infinite; opacity: 1 !important; cursor: progress !important; }
@keyframes busy { to { background-position: 28px 0; } }

/* stock */
/* few left: red so it stands out */
.left { margin-top: 10px; color: var(--alert); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.left::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); animation: pulse 1.6s ease-in-out infinite; }
.line .left { margin-top: 4px; font-size: 10px; }
.card .tag.hot { background: var(--alert); color: #fff; }
.low-label { margin-left: 10px; padding: 3px 6px; background: var(--alert); color: #fff; font-size: 11px; }
@keyframes pulse { 50% { opacity: .25; } }
.swatch.gone { opacity: .35; background-image: linear-gradient(to top right, transparent calc(50% - .75px), var(--ink) 50%, transparent calc(50% + .75px)) !important; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .art:has(img:not(.in))::before, .btn.busy, .left::before { animation: none; }
}

/* sets: what's inside */
.set-in { margin-top: 26px; }
.set-in .save { color: var(--alert); font-weight: 500; }
.set-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.set-row:last-of-type { border-bottom: 1px solid var(--line); }
.set-row .thumb { display: block; background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; }
.set-row .thumb svg, .set-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.set-row small { display: block; color: var(--mute); margin-top: 3px; }
.set-row em { font-style: normal; color: var(--mute); }
a.set-row:hover em { color: var(--ink); }
.set-in .note { margin-top: 8px; color: var(--mute); }
.set-grid { display: grid; width: 100%; height: 100%; gap: 2px; background: var(--bg); }
.set-grid.n2 { grid-template-columns: 1fr 1fr; }
.set-grid.n3, .set-grid.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.set-grid.n3 > :first-child { grid-row: span 2; }
.set-grid > * { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; background: var(--tile); }

/* pre-orders */
.card .tag.pre { background: var(--ink); color: var(--bg); }
.pre-info { margin-top: 12px; padding: 10px 12px; background: var(--tile); text-transform: none; font-size: 12px; line-height: 1.5; }
.pre-info b { text-transform: uppercase; letter-spacing: .04em; }
.line small.pre-note { color: var(--ink); }
.pre-notice b { font-weight: 600; }

/* ship-from places and parcels */
.ships-from { margin-top: 10px; text-transform: none; font-size: 12px; color: var(--mute); }
.ships-from b { color: var(--ink); font-weight: 500; }
.zone em small { display: block; font-style: normal; font-size: 10px; color: var(--mute); text-align: right; }
.row.sub { color: var(--mute); font-size: 11px; padding-left: 10px; }

/* product descriptions keep the line breaks typed in the admin */
.pdp .desc { white-space: pre-line; }
.pdp .desc.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; line-clamp: 10; overflow: hidden; }
.more-btn { margin-top: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

/* "Coming soon": an empty section or category */
.soon { position: relative; overflow: hidden; margin: 8px 20px 28px; padding: 64px 28px; min-height: 340px; display: flex; align-items: flex-end;
  background: var(--tile) repeating-linear-gradient(135deg, transparent 0 22px, rgba(17, 17, 17, .035) 22px 23px); border: 1px solid var(--line); }
.soon.compact { min-height: 0; padding: 40px 24px; }
.soon-word { position: absolute; right: -0.04em; top: 50%; transform: translateY(-50%); font: 900 clamp(120px, 24vw, 320px)/.8 var(--display); letter-spacing: -0.06em;
  text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(17, 17, 17, .14); pointer-events: none; white-space: nowrap; }
.soon.compact .soon-word { font-size: clamp(90px, 15vw, 200px); }
.soon-body { position: relative; max-width: 460px; }
.soon h3 { margin-top: 0; font: 800 clamp(26px, 4vw, 40px)/1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; }
.soon-text { margin-top: 12px; text-transform: none; font-size: 13px; line-height: 1.6; color: #3a3935; }
.soon-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.soon-btn { width: auto; margin-top: 0; padding: 13px 20px; }
@media (max-width: 600px) {
  .soon { margin: 4px 16px 24px; padding: 40px 20px; min-height: 300px; }
  .soon-word { top: 18%; transform: none; right: -0.06em; }
}

/* suggestions: "M in stock" on a card, and a deal nudge beside the heading */
.card .meta small.fit { color: #2f6b4f; }
.section-head .deal-note { color: #2f6b4f; font-size: 12px; text-transform: none; }

/* promo tiles among products */
.card.promo .art { display: flex; align-items: flex-end; }
.card.promo .art img { position: absolute; inset: 0; }
.card.promo.ink-light { --promo-ink: #f4f3ef; } .card.promo.ink-dark { --promo-ink: var(--ink); }
.promo-copy { position: relative; padding: 16px; color: var(--promo-ink); display: flex; flex-direction: column; gap: 6px; }
.card.promo .art:has(img) .promo-copy { background: linear-gradient(transparent, rgba(0, 0, 0, .45)); color: #fff; width: 100%; }
.promo-kicker { font-size: 10px; letter-spacing: .14em; opacity: .75; }
.promo-copy b { font: 900 clamp(20px, 2.4vw, 30px)/.95 var(--display); letter-spacing: -0.03em; text-transform: uppercase; }
.card.promo .promo-meta { text-transform: none; }
.card.promo .promo-meta > div { color: var(--mute); }
.card.promo .meta .promo-cta { white-space: nowrap; border-bottom: 1px solid currentColor; align-self: flex-start; }
.card.promo:hover .art { filter: brightness(1.04); }

/* "Load more" under a listing */
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 16px 40px; margin-top: -12px; }
.more-wrap .more-list { min-width: 220px; }
.more-count { color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.more-wrap .btn { width: auto; margin-top: 0; padding: 14px 28px; }
.more-wrap .btn:disabled { opacity: .5; }
