
:root {
  --black: #050505;
  --panel: #0e0e10;
  --panel-2: #18181b;
  --line: #2a2a2e;
  --line-hi: #4a4a50;
  --fg: #f6f6f7;
  --muted: #92929a;
  --white: #ffffff;
  --signal: #d4162f;

  --f-wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-title: "Michroma", "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--f-wide);
  font-size: 15px;
  line-height: 1.4;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow-x: clip;
}
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.gutter { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- delivery notice: the heading at the top of every page ---------- */
.notice {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: 16px;
}
/* a soft red glow rising from the bottom edge, and a fine red line that fades out toward the sides */
.notice::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 150% at 50% 135%, rgba(212,22,47,.26), transparent 70%); }
.notice::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--signal) 50%, transparent); }
.notice-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; }
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; animation: beat 1.8s ease-out infinite; }
.notice-dot:last-child { animation-delay: .9s; }
.notice-title { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: clamp(10.5px, 2.9vw, 13px); line-height: 1.6; letter-spacing: .08em; text-wrap: balance; }
@media (min-width: 900px) { .notice-title { font-size: 14px; letter-spacing: .1em; } .notice { padding-block: 19px; padding-top: calc(19px + env(safe-area-inset-top, 0px)); } }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--black); color: var(--fg);
}
.hdr-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  min-height: var(--header-h);
}
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 6px; }
.hdr-right { justify-content: flex-end; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; position: relative; }
.icon-btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.wordmark {
  font-family: var(--f-wide); font-stretch: 125%; font-weight: 800;
  letter-spacing: -.01em; line-height: 1; white-space: nowrap;
  font-size: clamp(24px, 6.6vw, 34px);
}
body:not([data-view="home"]) .hdr-row { min-height: 88px; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--signal); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.badge[hidden] { display: none; }

.searchbar { background: var(--black); border-bottom: 1px solid var(--line); }
.searchbar-inner { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.searchbar input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--line-hi); padding: 10px 2px; border-radius: 0;
}
.searchbar input::placeholder { color: var(--muted); }
.searchbar input:focus-visible { outline: none; border-bottom-color: var(--white); }
.searchbar .close { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; padding: 10px 4px; }

/* ---------- views ---------- */
main { flex: 1; display: flex; flex-direction: column; }
.view[hidden] { display: none; }

/* home */
.hero {
  position: relative; overflow: hidden; background: var(--black);
  height: 90svh; min-height: 560px; max-height: 1100px;
  display: grid; place-items: center;
}
/* Portrait slideshow: the photos sit in a row and the row slides left, one photo at a time.
   Each photo is held 5s, then the row glides across in 1.2s with a soft ease-in-out (4 photos x 6.2s = 24.8s loop).
   The 5th image is a copy of the 1st, so the last slide runs straight into the first with no jump.
   Adding a photo: add an <img> before the copy in templates/index.liquid, then widen the track and update the keyframes. */
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.hero-track {
  display: flex; width: 500%; height: 100%;
  animation: slide-row 24.8s infinite; will-change: transform;
}
.hero-slide {
  flex: 0 0 20%; width: 20%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 30%;
}
@keyframes slide-row {
  0%      { transform: translate3d(0, 0, 0);    animation-timing-function: linear; }
  20.16%  { transform: translate3d(0, 0, 0);    animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
  25%     { transform: translate3d(-20%, 0, 0); animation-timing-function: linear; }
  45.16%  { transform: translate3d(-20%, 0, 0); animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
  50%     { transform: translate3d(-40%, 0, 0); animation-timing-function: linear; }
  70.16%  { transform: translate3d(-40%, 0, 0); animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
  75%     { transform: translate3d(-60%, 0, 0); animation-timing-function: linear; }
  95.16%  { transform: translate3d(-60%, 0, 0); animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
  100%    { transform: translate3d(-80%, 0, 0); }
}

/* The video has its own full-screen section under the hero. */
.reveal { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--black); }
.reveal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 28%, rgba(0,0,0,.32) 60%, rgba(0,0,0,.85) 100%);
}
.hero-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 6vh, 60px); }
.hero-stage, .hero-logo-wrap { display: none; }
.hero-cta {
  position: relative; z-index: 2;
  background-color: var(--black);
  background-image: linear-gradient(var(--white), var(--white));
  background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  color: var(--white);
  font-family: var(--f-wide); font-stretch: 112%; font-weight: 400;
  text-transform: uppercase; letter-spacing: .16em; font-size: 13px;
  padding: 18px 34px;
  border: 1px solid rgba(255,255,255,.18);
  transition: background-size .45s var(--ease), color .3s ease, letter-spacing .45s var(--ease);
  /* Portrait phones/tablets (video hero): nudged up 40px. Landscape tablets and desktop: no offset (see media query below). */
  --cta-y: -40px;
  transform: translateY(var(--cta-y));
  animation: rise-cta .9s var(--ease) .5s both;
}
.hero-cta:hover { background-size: 100% 100%; color: var(--black); letter-spacing: .2em; }
.hero-cta:active { transform: translateY(var(--cta-y)) scale(.98); }
.hero-foot {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding-bottom: 22px; font-size: 13px; letter-spacing: .02em;
  animation: fade 1.4s ease 1s both;
}
.hero-foot img { height: 46px; width: auto; }
.hero-foot .site { font-stretch: 112%; text-shadow: 0 1px 10px rgba(0,0,0,.7); }

/* Video hero: phones and tablets held in portrait. Landscape (tablet landscape, laptops, desktop)
   and any screen wider than 1024px get the logo hero with slow light and film grain instead. */
@media (orientation: landscape), (min-width: 1025px) {
  .hero-slides, .reveal, .reveal video { display: none; }
  .hero::after { background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%); }
  .hero-stage {
    display: block; position: absolute; inset: 0; overflow: hidden;
    background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 42%), rgba(255,255,255,.075), transparent 62%);
  }
  .hero-stage::before, .hero-stage::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
  .hero-stage::before {
    width: 80vmax; height: 80vmax; left: -22vmax; top: -38vmax;
    background: radial-gradient(circle, rgba(255,255,255,.10), transparent 62%);
    animation: drift 22s ease-in-out infinite alternate;
  }
  .hero-stage::after {
    width: 70vmax; height: 70vmax; right: -24vmax; bottom: -40vmax;
    background: radial-gradient(circle, rgba(212,22,47,.17), transparent 62%);
    animation: drift2 26s ease-in-out infinite alternate;
  }
  .grain {
    position: absolute; inset: -50%; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain 1.1s steps(1) infinite;
  }
  .hero-logo-wrap { display: block; animation: letter 1.4s var(--ease) .15s both; }
  .hero-logo {
    display: block; height: clamp(230px, 46vh, 470px); width: auto;
    filter: drop-shadow(0 0 46px rgba(255,255,255,.14));
    animation: float 8s ease-in-out 1.6s infinite;
  }
  .hero-cta { --cta-y: 0px; animation-delay: 1.1s; }
}

footer.site-foot { background: var(--black); color: var(--fg); border-top: 1px solid #1c1c1f; margin-top: auto; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 30px; }
.cur-wrap { position: relative; display: inline-block; }
.cur-wrap select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 16px; letter-spacing: .02em;
  background: var(--white); color: var(--black); border: 0; border-radius: 6px;
  padding: 14px 46px 14px 20px; cursor: pointer; min-width: 104px;
}
.cur-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; margin-top: -3px; pointer-events: none; border: 6px solid transparent; border-top-color: var(--black); border-bottom: 0; }
.foot-note { font-size: 12px; letter-spacing: .1em; color: #8a8a90; }

/* shop grid */
.shop-head { padding-block: 8px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.shop-head h1 { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: 13px; letter-spacing: .08em; }
.shop-head .count { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
/* shop grid: always 2 across on phones; on desktop each tile is --card-scale times the old 4-across size. 1.3 = 30% bigger. */
:root { --card-scale: 1.3; } /* product photos are sized automatically by fitPics() in theme.js (see FIT there) */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; column-gap: 14px; row-gap: 28px; padding-bottom: 56px; align-items: start; }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(auto-fill, calc((100% - 72px) / 4 * var(--card-scale))); column-gap: 24px; } }
/* phones: let the 2-across grid run nearly edge to edge so the photos are as large as possible */
@media (max-width: 819px) { .grid { margin-left: -10px; margin-right: -10px; column-gap: 6px; row-gap: 22px; } .card .pic { border-radius: 14px; } }
.card { display: block; text-align: left; position: relative; width: 100%; min-width: 0; }
.card .pic { position: relative; background: transparent; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 20px; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--z, 1)); transition: transform .5s ease, opacity .5s ease, filter .5s ease; }
.card:hover .pic img { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(calc(var(--z, 1) * 1.03)); }
.card h2 { margin: 14px 0 6px; font-family: var(--f-title); font-weight: 400; font-size: clamp(12px, 3.4vw, 15px); letter-spacing: .01em; line-height: 1.25; }
.price { font-family: var(--f-title); font-size: clamp(12px, 3.3vw, 15px); font-variant-numeric: tabular-nums; }
.empty { padding: 60px 0; color: var(--muted); }
.soon { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 60px; }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 8px 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } .pdp-info { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); } }
.crumb { padding-block: 4px 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumb button { text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; }
.pdp-media { position: relative; background: transparent; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.zoom { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; background: rgba(0,0,0,.6); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); }
.zoom svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.pdp-info h1 { margin: 0 0 14px; font-family: var(--f-title); font-weight: 400; font-size: clamp(24px, 6.4vw, 38px); line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pdp-info .price { font-size: 17px; padding-bottom: 20px; border-bottom: 1px solid var(--line); display: block; }
.opt-label { display: block; margin: 22px 0 12px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size {
  min-width: 62px; padding: 16px 18px; border: 1px solid var(--line-hi); border-radius: 12px; font-size: 15px;
  background: transparent; color: var(--fg); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.size:hover { border-color: var(--white); transform: translateY(-1px); }
.size:active { transform: scale(.95); }
.size[aria-checked="true"] { background: var(--white); border-color: var(--white); color: var(--black); }
.size[aria-disabled="true"] { color: #5d5d63; text-decoration: line-through; cursor: not-allowed; border-color: var(--line); }
.buy-row { display: flex; gap: 12px; margin-top: 24px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-hi); border-radius: 12px; flex: none; }
.qty button { width: 44px; height: 56px; font-size: 20px; }
.qty output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 18px 20px; border-radius: 12px; background: var(--white); color: var(--black); font-size: 16px; font-weight: 600;
  transition: background .15s, transform .2s var(--ease);
}
.btn:hover { background: #d6d6d9; transform: translateY(-1px); }
.btn:active { transform: scale(.985); }
.btn.is-added { animation: pulse .5s var(--ease); }
.btn.ghost { background: transparent; color: var(--white); border: 1px solid var(--line-hi); }
.btn.ghost:hover { background: var(--panel-2); }
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.buy-row + .btn { margin-top: 12px; }
.buy-row .btn { flex: 1; min-width: 0; }
.guide { margin-top: 34px; }
.guide h3 { margin: 0 0 14px; font-size: 14px; letter-spacing: .1em; font-weight: 500; text-transform: uppercase; color: var(--muted); }
.guide .tbl { overflow-x: auto; }
.guide table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.guide th, .guide td { text-align: left; padding: 13px 8px 13px 0; border-top: 1px solid var(--line); font-weight: 400; }
.guide th { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-top: 0; }
.guide tr.on td { font-weight: 700; }
.guide .unit { color: var(--muted); font-size: 12px; margin-top: 10px; }

/* product page dropdowns */
.acc { margin-top: 28px; border-bottom: 1px solid var(--line); }
.acc-item { border-top: 1px solid var(--line); }
.acc-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 16px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--white); -webkit-tap-highlight-color: transparent; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-chev { width: 9px; height: 9px; flex: none; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.acc-item[open] .acc-chev { transform: rotate(-135deg) translateY(-3px); }
.acc-body { padding: 0 0 26px; color: var(--fg); font-size: 15px; line-height: 1.6; }
.acc-body p { margin: 0 0 14px; }
.acc-body p:last-child, .acc-body ul:last-child { margin-bottom: 0; }
.acc-body h4 { margin: 24px 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.acc-body h5 { margin: 20px 0 8px; font-size: 15px; font-weight: 600; }
.acc-body ul { margin: 0 0 14px; padding-left: 20px; }
.acc-body li { margin-bottom: 6px; }
.acc-desc { font-style: italic; font-weight: 600; }
.acc-rich > *:first-child { margin-top: 0; }

/* drawers */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 50; width: min(420px, 92vw);
  background: #0b0b0c; color: var(--fg); border-left: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex; flex-direction: column; transition: transform .28s ease; visibility: hidden;
}
.drawer.left { left: 0; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-102%); padding-left: env(safe-area-inset-left, 0px); }
.drawer.right { right: 0; transform: translateX(102%); padding-right: env(safe-area-inset-right, 0px); }
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: 13px; letter-spacing: .06em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list button { width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: transparent; }
.line h4 { margin: 0 0 4px; font-family: var(--f-title); font-weight: 400; font-size: 13px; }
.line .meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.line .ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-hi); border-radius: 8px; }
.mini-qty button { width: 34px; height: 34px; }
.mini-qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.link { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: 13px; }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.sub { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 15px; }
.sub .price { font-size: 15px; }
.cart-empty { padding: 48px 0; color: var(--muted); text-align: center; }

.toast {
  position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -20px);
  z-index: 70; background: var(--white); color: var(--black); padding: 14px 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
  max-width: min(440px, calc(100vw - 32px)); text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5,5,5,.95); display: none; place-items: center; padding: 20px; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 92svh; max-width: 100%; width: auto; object-fit: contain; }
.lightbox button { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 12px; }

/* ---------- music button + now-playing pill ---------- */
.music-dock {
  position: fixed; z-index: 35; display: flex; align-items: center; gap: 8px; pointer-events: none;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
}
.music {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; pointer-events: auto;
  display: grid; place-items: center; color: var(--white);
  background: rgba(20,20,22,.72); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.np {
  display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px;
  background: #000; border: 1px solid rgba(255,255,255,.2); color: var(--white);
  font-family: var(--f-wide); font-size: 11px; line-height: 1; white-space: nowrap;
  max-width: calc(100vw - 96px); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.np-l { color: rgba(255,255,255,.6); }
.np-t { font-weight: 700; letter-spacing: .04em; }
.music-dock.is-playing .np { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.music:hover { transform: scale(1.08); border-color: rgba(255,255,255,.6); }
.music:active { transform: scale(.94); }
.music svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.music .slash { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease); }
.music:not(.is-on) { color: rgba(255,255,255,.55); }
.music:not(.is-on) .slash { stroke-dashoffset: 0; }
.music.is-on { animation: ripple 2.4s ease-out infinite; background: rgba(255,255,255,.14); }
.foot-note { margin-right: 60px; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-cta { from { opacity: 0; transform: translateY(calc(var(--cta-y) + 18px)); } to { opacity: 1; transform: translateY(var(--cta-y)); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(calc(var(--z, 1) * 1.08)); } to { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--z, 1)); } }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes letter { from { opacity: 0; transform: translateY(42px); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(9vmax, 7vmax); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-8vmax, -6vmax); } }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, -4%); } 40% { transform: translate(4%, 2%); } 60% { transform: translate(-2%, 5%); } 80% { transform: translate(3%, -3%); } 100% { transform: translate(0, 0); } }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes tick { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
@keyframes pulse { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }

.view:not([hidden]) { animation: fade .5s ease both; }
.hdr-row { animation: fade .9s ease both; }
.notice { animation: fade .9s ease both; }
.shop-head, .crumb { animation: rise .7s var(--ease) both; }

.card { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.card h2 { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size .4s var(--ease); display: block; width: fit-content; padding-bottom: 3px; }
.card:hover h2 { background-size: 100% 1px; }
.card h2 + .price { display: inline-block; white-space: nowrap; }
.card .price + .was { display: inline-block; white-space: nowrap; margin-left: 8px; }

.pdp-media { animation: lin-up 1s var(--ease) .05s backwards; }
.pdp-info > * { animation: rise .8s var(--ease) both; }
.pdp-info > :nth-child(1) { animation-delay: .15s; }
.pdp-info > :nth-child(2) { animation-delay: .22s; }
.pdp-info > :nth-child(3) { animation-delay: .29s; }
.pdp-info > :nth-child(4) { animation-delay: .36s; }
.pdp-info > :nth-child(5) { animation-delay: .43s; }
.pdp-info > :nth-child(6) { animation-delay: .5s; }
.pdp-info > :nth-child(7) { animation-delay: .57s; }
.price.tick { animation: tick .45s var(--ease); }
.badge.pop { animation: pop .5s var(--ease); }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line); }

.drawer.on.stagger .line { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 160ms); }
.drawer.on.stagger .cart-foot { animation: rise .55s var(--ease) .25s both; }
.drawer.on.stagger .nav-list li { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }

.noanim, .noanim * { animation: none !important; }

/* People who ask their device for less motion get a calmer version, not a dead page:
   no sliding, zooming, blur or grain flicker. Fades and the slow glow stay. */
@media (prefers-reduced-motion: reduce) {
  .hero-track, .grain, .card .pic img, .pdp-media img, .hero-logo, .music.is-on { animation: none; }
  .hero-logo-wrap, .hero-cta, .shop-head, .crumb, .card, .pdp-info > *,
  .drawer.on.stagger .line, .drawer.on.stagger .cart-foot, .drawer.on.stagger .nav-list li { animation-name: fade; }
  .card .pic, .pdp-media { animation-name: fade; }
  .hero-stage::before, .hero-stage::after { animation-duration: 60s; }
}

/* theme additions */
a.brand,a.card,a.hero-cta,a.icon-btn,a.btn{text-decoration:none;color:inherit}
a.hero-cta{display:inline-block}a.btn{display:flex;align-items:center;justify-content:center;gap:10px}
a.btn{color:var(--black)}a.btn.ghost{color:var(--white)}
.crumb a{text-transform:uppercase;letter-spacing:.1em;text-decoration:underline;text-underline-offset:3px}
.card{display:block}
.cart-page{padding-block:16px 40px}
body[data-view="cart"] .cart-page{width:100%;max-width:560px;margin-inline:auto}.cart-page h1{font-size:22px;text-transform:uppercase;letter-spacing:.06em}
.cart-page .line input[type=number]{width:56px;background:transparent;color:inherit;border:1px solid var(--line-hi);border-radius:8px;padding:6px;font:inherit}
.cart-page .rm{color:var(--muted);font-size:12px;text-decoration:underline}
.cart-page .tot{display:flex;justify-content:space-between;padding:18px 0;font-size:17px}
.cart-page .btn{width:100%;margin-top:10px}.tx{padding:60px 0;text-align:center}
/* /cart is only a fallback page (no JavaScript). With JavaScript it is hidden at once while theme.js sends the visitor back to the page they
   were on and opens the cart drawer; the animation is a failsafe that shows the page after 2.5s if that ever doesn't happen. */
@keyframes cart-reveal{to{visibility:visible}}
html.js body[data-view="cart"] main{visibility:hidden;animation:cart-reveal 0s 2.5s forwards}
.foot-row select{max-width:180px}
.nav-list a{display:block;text-decoration:none;color:inherit}

.nav-list a { width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.nav-list a{display:block;text-decoration:none;color:inherit}

.pdp-media{position:relative;aspect-ratio:var(--ar,1)}
/* swipeable gallery: native scroll-snap, so a thumb flick feels like any other app */
.gal{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;outline:0}
.gal::-webkit-scrollbar{display:none}
.gal-s{flex:0 0 100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;min-width:0}
.gal-s img{display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
.dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;pointer-events:none}
.dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45);box-shadow:0 0 0 1px rgba(0,0,0,.25);transition:background .2s,transform .2s}.dots i.on{background:#fff;transform:scale(1.25)}
.gal-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.55);color:#fff;font-size:22px;line-height:1;cursor:pointer;display:none}
@media (hover:hover) and (pointer:fine){.gal-nav{display:block}}
.gal-nav.prev{left:10px}.gal-nav.next{right:10px}
.cur-note{display:block;font-size:11px;color:var(--muted);margin-top:6px;max-width:220px}

/* fallback cart page heading */
.cart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.cart-head h1{margin:0}

/* desktop product page: shorter image. Height is capped to 68% of the window and the width follows the photo's shape, so nothing gets cropped. */
@media (min-width: 900px) {
  .pdp-media { width: min(100%, calc(min(88vh, 100vh - 120px) * var(--ar, 1))); justify-self: center; }
  /* Stays on screen while the text column scrolls past. 96px = 72px sticky header + 24px breathing room. The height cap above (100vh - 120px) keeps the whole photo visible under the header. */
  .pdp-media { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); align-self: start; }
}

/* product image viewer (click a product photo) */
.gal-s img{cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:rgba(0,0,0,.94);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s;touch-action:none}
.lb.on{opacity:1;visibility:visible;transition:opacity .3s ease}
.lb-img{max-width:min(94vw,1500px);max-height:88vh;max-height:88svh;width:auto;height:auto;object-fit:contain;border-radius:6px;transform:scale(.95);opacity:0;transition:transform .5s var(--ease),opacity .35s ease;-webkit-user-drag:none;user-select:none}
.lb.on .lb-img{transform:translate(var(--px,0px),var(--py,0px)) scale(var(--zs,1));opacity:1;cursor:zoom-in;will-change:transform}
.lb.zoomed .lb-img{cursor:grab}.lb.dragging .lb-img{cursor:grabbing}
.lb.zoomed .lb-nav,.lb.zoomed .lb-count{opacity:0;pointer-events:none}
.lb.on .lb-img.swap{opacity:0;transform:scale(.985);transition:none}
.lb-x,.lb-nav{position:absolute;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(20,20,22,.7);color:#fff;cursor:pointer;transition:background .2s,transform .2s var(--ease)}
.lb-x:hover,.lb-nav:hover{background:rgba(60,60,64,.9)}
.lb-x{top:max(16px,env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right,0px))}
.lb-x svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round}
.lb-nav{top:50%;margin-top:-23px;font-size:28px;line-height:1;padding-bottom:3px}
.lb-nav.prev{left:max(16px,env(safe-area-inset-left,0px))}.lb-nav.next{right:max(16px,env(safe-area-inset-right,0px))}
.lb-nav:active{transform:scale(.92)}
.lb-count{position:absolute;left:0;right:0;bottom:max(16px,env(safe-area-inset-bottom,0px));text-align:center;color:rgba(255,255,255,.7);font-size:12px;letter-spacing:.14em;font-variant-numeric:tabular-nums;pointer-events:none}
.lb.single .lb-nav,.lb.single .lb-count{display:none}
@media (max-width:600px){.lb-nav{display:none}}
@media (prefers-reduced-motion: reduce){.lb-img{transition:opacity .2s}}

/* ================= cursor logo ================= */
.cur-logo{display:none}
@media (hover:hover) and (pointer:fine){
  .cur-logo{
    display:grid;place-items:center;position:fixed;left:0;top:0;z-index:200;width:34px;height:34px;border-radius:50%;pointer-events:none;
    background:rgba(10,10,12,.78);border:1px solid rgba(255,255,255,.24);
    -webkit-backdrop-filter:blur(8px) saturate(1.4);backdrop-filter:blur(8px) saturate(1.4);
    box-shadow:0 4px 14px rgba(0,0,0,.45),inset 0 0 0 1px rgba(0,0,0,.35);
    opacity:0;will-change:transform;
  }
  .cur-logo img{width:17px;height:auto;display:block;transition:transform .35s var(--ease);filter:drop-shadow(0 0 4px rgba(255,255,255,.35))}
  .cur-logo::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(255,255,255,.22);opacity:0;transform:scale(.7);transition:opacity .3s,transform .45s var(--ease)}
  .cur-logo.on{opacity:1;transition:opacity .25s}
  .cur-logo.link::after{opacity:1;transform:scale(1)}
  .cur-logo.link img{transform:rotate(-10deg) scale(1.12)}
  .cur-logo.down{border-color:rgba(255,255,255,.55)}
  .cur-logo.down img{transform:scale(.8)}
}

/* ================= low stock ================= */
@keyframes beat{0%{box-shadow:0 0 0 0 rgba(212,22,47,.65)}70%,100%{box-shadow:0 0 0 8px rgba(212,22,47,0)}}
.low,.scarce{--r:#ff3b4f}
.dot{width:7px;height:7px;border-radius:50%;background:var(--r);flex:none;animation:beat 1.8s ease-out infinite}
.low{
  position:absolute;left:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px 7px 10px;border-radius:999px;background:rgba(8,8,10,.62);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#fff;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;
}
.scarce{
  display:inline-flex;align-items:center;gap:10px;margin-top:16px;padding:10px 16px 10px 14px;border-radius:999px;
  background:linear-gradient(90deg,rgba(212,22,47,.16),rgba(212,22,47,.05));border:1px solid rgba(255,59,79,.4);
  font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#fff;
}
.scarce[hidden]{display:none}
.scarce.tick{animation:tick .45s var(--ease)}
.scarce .pips{display:inline-flex;gap:4px;margin-left:4px}
.scarce .pips i{width:12px;height:4px;border-radius:2px;background:rgba(255,255,255,.16);transition:background .3s}
.scarce .pips i.on{background:var(--r);box-shadow:0 0 8px rgba(255,59,79,.6)}
@media (prefers-reduced-motion: reduce){.dot{animation:none}}

/* ================= sold out ================= */
.card.is-sold .pic img{filter:grayscale(1) brightness(.42) contrast(1.08);transition:transform .5s ease,filter .5s ease,opacity .5s ease}
.card.is-sold:hover .pic img{filter:grayscale(1) brightness(.55) contrast(1.05)}
.card.is-sold .pic::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(120% 90% at 50% 50%,transparent 40%,rgba(0,0,0,.55) 100%)}
.card.is-sold h2{color:var(--muted)}
.card.is-sold .price{color:#5d5d63;text-decoration:line-through;text-decoration-thickness:1px}
.sold{position:absolute;inset:0;z-index:2;display:grid;place-items:center;overflow:hidden;pointer-events:none}
.tape{
  position:absolute;left:-30%;width:160%;overflow:hidden;white-space:nowrap;transform:rotate(-8deg);transition:transform .6s var(--ease);
  background:#f1f1f3;color:#0b0b0c;padding:10px 0;box-shadow:0 10px 30px rgba(0,0,0,.55);
  border-block:1px solid #0b0b0c;outline:1px solid rgba(255,255,255,.35);outline-offset:3px;
}
.card.is-sold:hover .tape{transform:rotate(-5deg) scale(1.03)}
.tape-run{display:inline-flex;align-items:center;animation:tape 26s linear infinite;will-change:transform}
.tape-run b{font-family:var(--f-wide);font-stretch:125%;font-weight:800;font-size:13px;letter-spacing:.34em;text-transform:uppercase;padding-left:.34em}
.tape-run i{width:7px;height:7px;background:var(--signal);margin:0 22px;transform:rotate(45deg);flex:none}
@keyframes tape{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.tape-run{animation:none}}
.sold-tag{display:inline-block;margin-top:16px;padding:4px 10px;border:1px solid var(--line-hi);border-radius:999px;color:var(--muted);font-size:11px;letter-spacing:.16em;text-transform:uppercase;vertical-align:middle}
.btn:disabled,.btn[disabled]{background:transparent;color:var(--muted);border:1px dashed var(--line-hi);cursor:not-allowed;transform:none;letter-spacing:.2em;text-transform:uppercase;font-size:13px}
.btn:disabled:hover{background:transparent;transform:none}

/* shop grid: hover (mouse devices) fades to the second photo, the back of the piece */
.card .pic img.alt{position:absolute;inset:0;opacity:0;animation:none}
@media (hover:hover) and (pointer:fine){
  .card.has-alt:hover .pic img.main,.card.has-alt:focus-visible .pic img.main{opacity:0}
  .card.has-alt:hover .pic img.alt,.card.has-alt:focus-visible .pic img.alt{opacity:1}
}

/* shop grid on touch screens: swipe the photo sideways to see the back (only the 2nd photo, nothing further) */
.pic-track,.slide{display:contents}
.pic-dots{display:none}
.low{pointer-events:none}
@media (hover:none), (pointer:coarse){
  .card.has-alt .pic .pic-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y}
  .card.has-alt .pic .pic-track::-webkit-scrollbar{display:none}
  /* each photo sits in its own clipped slide, so a zoomed photo can never spill into the next one or stretch the scroll area */
  .card.has-alt .pic .slide{display:block;position:relative;flex:0 0 100%;width:100%;height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
  .card.has-alt .pic .slide img,.card.has-alt .pic .slide img.alt{position:static;inset:auto;width:100%;height:100%;opacity:1;-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
  .card.has-alt .pic-dots{display:flex;position:absolute;top:11px;left:0;right:0;z-index:2;justify-content:center;gap:5px;pointer-events:none}
  .pic-dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.4);box-shadow:0 0 0 1px rgba(0,0,0,.3);transition:background .25s,transform .25s var(--ease)}
  .pic-dots i.on{background:#fff;transform:scale(1.25)}
}

/* show every product photo whole (nothing cropped); the page's black shows around it */
.pdp-media img,.gal-s img,.line img{object-fit:contain;object-position:50% 50%}


/* brand name: the 8 in h(8)te is red */
.r8 { color: var(--signal); }

/* ============ lookbook ============
   Photos keep their own proportions and pack into columns (2 on phones, 3 on tablets, 4 on big screens).
   theme.js measures each photo and sets how many tiny rows it spans, which is what makes the columns even. */
.look { padding-bottom: 72px; }
.look-sub { margin: -6px 0 26px; color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.look-empty { padding: 60px 0; color: var(--muted); }
.look-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; grid-auto-flow: row dense; align-items: start; margin: 0 -10px; opacity: 0; transition: opacity .3s ease; }
.look-grid.is-masonry { grid-auto-rows: 2px; row-gap: 0; opacity: 1; }
.look-i { margin: 0; position: relative; overflow: hidden; border-radius: 12px; background: #0c0c0d; aspect-ratio: var(--ar, .8); cursor: zoom-in;
  animation: look-in .9s var(--ease) both; animation-delay: calc(min(var(--i, 0), 10) * 60ms + 80ms); }
.look-i.wide { grid-column: span 2; }
.look-i img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; transition: transform .8s var(--ease), filter .5s ease; }
@media (hover: hover) and (pointer: fine) { .look-i:hover img { transform: scale(1.035); } }
@keyframes look-in { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
/* always 2 photos per row, phone to desktop (a "Wide" photo takes a whole row) */
@media (min-width: 820px) { .look-grid { gap: 14px; margin: 0; } .look-i { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .look-i { animation: none; } .look-i img { transition: none; } }

/* shop tiles wait (invisible) until their photo is sized, so nothing jumps from small to big */
/* (the old version hid .pic-track, but that element is display:contents on desktop and on tiles with one photo, where opacity does nothing,
   so the photo showed unsized and then jumped. Now the whole tile waits, then fades up already at its final size, never zooming.) */
.card .pic { transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); }
html.js:not(.rv-fail) .card .pic:not(.fit-ready) { opacity: 0; translate: 0 14px; }

/* ---------- desktop: menu links sit across the top, no slide-out menu ---------- */
.hdr-nav { display: none; }
@media (min-width: 900px) {
  .hdr-left .menu-btn, .drawer.left, #scrim { display: none; }
  .hdr-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
  .hdr-nav a {
    font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; white-space: nowrap;
    padding: 10px 0 6px; text-decoration: none; color: var(--fg);
    background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%;
    background-size: 0% 1px; transition: background-size .4s var(--ease), color .3s ease;
  }
  .hdr-nav a:hover, .hdr-nav a:focus-visible, .hdr-nav a[aria-current="page"] { background-size: 100% 1px; }
  .hdr-nav a:not([aria-current="page"]) { color: var(--muted); }
  .hdr-nav a:hover, .hdr-nav a:focus-visible { color: var(--fg); }
}


/* ================= product options (Size / Distress value / ...) ================= */
.sizes + .opt-label { margin-top: 26px; }
.size[data-out]:not([aria-checked="true"]) { color: #6b6b72; text-decoration: line-through; border-color: var(--line); }
/* shop grid: "From" in front of the price when the options are priced differently */
.price[data-pre]::before { content: attr(data-pre); color: var(--muted); font-size: .78em; letter-spacing: .08em; text-transform: uppercase; margin-right: .4em; }
/* cart: each chosen option on its own chip ("Size M", "Distress value Distressed") */
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.opt-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 5px 12px; border: 1px solid var(--line-hi); border-radius: 999px; font-size: 12px; color: var(--fg); }
.opt-chip i { font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ================= currency picker ================= */
.cur-wrap.is-enh::after { display: none; }
.cur-pick { position: relative; display: inline-block; }
.cur-note[hidden] { display: none; }
.cur-wrap.is-enh select { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-width: 0; padding: 0; opacity: 0; pointer-events: none; }
.cur-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px; border: 1px solid var(--line-hi); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--fg); font: inherit; font-size: 13px; letter-spacing: .08em; cursor: pointer; transition: border-color .2s, background .2s; }
.cur-btn:hover, .cur-wrap.open .cur-btn { border-color: var(--white); background: rgba(255,255,255,.07); }
.cur-btn svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cur-btn .chev { width: 12px; height: 12px; opacity: .7; transition: transform .25s var(--ease); }
.cur-wrap.open .cur-btn .chev { transform: rotate(180deg); }
.cur-val b, .cur-menu li b { font-weight: 600; }
.cur-val span { margin-left: 8px; color: var(--muted); }
.cur-menu { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 60; min-width: 100%; width: max-content; max-width: min(300px, calc(100vw - 32px)); max-height: min(60vh, 360px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: rgba(14,14,16,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-hi); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.65); transform-origin: 0 100%; }
.cur-menu[hidden] { display: none; }
.cur-menu.on { animation: cur-pop .22s var(--ease) both; }
.cur-menu li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 13px; letter-spacing: .06em; color: var(--fg); cursor: pointer; outline: 0; }
.cur-menu li b { min-width: 36px; }
.cur-menu li span { color: var(--muted); }
.cur-menu li .tick { width: 14px; height: 14px; margin-left: auto; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.cur-menu li:hover, .cur-menu li:focus { background: rgba(255,255,255,.09); }
.cur-menu li[aria-selected="true"] { background: var(--white); color: var(--black); }
.cur-menu li[aria-selected="true"] span { color: #55555b; }
.cur-menu li[aria-selected="true"] .tick { opacity: 1; }
@keyframes cur-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cur-menu.on { animation: none; } .cur-btn .chev { transition: none; } }

/* ================= cart drawer =================
   Slides in from the right over whatever page you are on. The page behind is locked and dimmed; Escape, the dark area, the X or a swipe
   to the right puts it away. Markup: sections/cart-drawer.liquid. Behaviour: the "cart" block in theme.js. */
html.cart-open { overflow: hidden; padding-right: var(--sbw, 0px); }   /* padding stands in for the scrollbar that just vanished, so nothing shifts */

.cart-scrim {
  position: fixed; inset: 0; z-index: 51; background: rgba(0, 0, 0, .62);
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.cart-scrim.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
@media (hover: hover) and (pointer: fine) { .cart-scrim { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); } }

.cart-drawer {
  z-index: 52; width: min(460px, 92vw); background: #0b0b0c; border-left: 1px solid var(--line-hi);
  box-shadow: -40px 0 90px rgba(0, 0, 0, .6); touch-action: pan-y; overscroll-behavior: contain;
  /* leaving: quicker, with a firmer curve so it feels put away rather than dropped */
  transition: transform .46s cubic-bezier(.5, 0, .75, 0), visibility 0s linear .46s;
}
.cart-drawer.on {
  /* arriving: fast start, long soft landing */
  transition: transform .66s cubic-bezier(.22, 1, .36, 1), visibility 0s;
}
.cart-drawer .shopify-section { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cd { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.cd-head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--line); flex: none; }
.cd-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--f-title); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.cd-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; display: grid; place-items: center; background: var(--signal); color: #fff; font-family: var(--f-wide); font-size: 11px; font-weight: 700; letter-spacing: 0; animation: pop .5s var(--ease); }
.cd-x svg { transition: transform .4s var(--ease); }
.cd-x:hover svg { transform: rotate(90deg); }

.cd-msg { margin: 0; padding: 0 22px; max-height: 0; overflow: hidden; flex: none; font-size: 13px; line-height: 1.45; color: #ffb4bc; background: rgba(212, 22, 47, .14); transition: max-height .35s var(--ease), padding .35s var(--ease); }
.cd-msg.on { max-height: 120px; padding: 12px 22px; }

.cd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 22px; scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent; }
.cd-lines { list-style: none; margin: 0; padding: 0; }
.cd-line {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: height .38s var(--ease), opacity .28s ease, transform .38s var(--ease), padding .38s var(--ease), border-color .38s ease;
}
.cd-line.is-out { height: 0 !important; padding-block: 0; opacity: 0; transform: translateX(36px); border-bottom-color: transparent; overflow: hidden; pointer-events: none; }
.cd-pic { display: block; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid #1d1d20; }
.cd-pic img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.cd-info { display: flex; flex-direction: column; min-width: 0; min-height: 96px; }
.cd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.cd-title { font-family: var(--f-title); font-size: 12px; line-height: 1.4; text-decoration: none; color: var(--fg); overflow-wrap: anywhere; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size .4s var(--ease); }
.cd-title:hover { background-size: 100% 1px; }
.cd-price { flex: none; text-align: right; font-family: var(--f-title); font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cd-was { display: block; color: var(--muted); font-size: 10.5px; text-decoration-thickness: 1px; }
.cd-info .opt-chips { margin: 9px 0 0; }
.cd-info .opt-chip { padding: 4px 10px; font-size: 11.5px; }
.cd-tag { align-self: flex-start; margin-top: 8px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 59, 79, .4); color: #ff8a97; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.cd-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.cd-qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--line-hi); border-radius: 999px; }
.cd-qty button { width: 38px; height: 36px; border-radius: 50%; font-size: 18px; line-height: 1; display: grid; place-items: center; transition: background .2s, opacity .2s, transform .2s var(--ease); }
.cd-qty button:hover { background: rgba(255, 255, 255, .09); }
.cd-qty button:active { transform: scale(.86); }
.cd-qty button[aria-disabled="true"] { opacity: .3; cursor: not-allowed; background: none; transform: none; }
.cd-qty output { min-width: 26px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cd-rm { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; padding: 8px 2px; transition: color .2s; }
.cd-rm:hover { color: var(--fg); }

.cd-foot { flex: none; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, #0d0d0f, #0b0b0c); }
.cd-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cd-row .l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cd-disc { margin-bottom: 8px; font-size: 13px; color: #ff8a97; }
.cd-sub b { font-family: var(--f-title); font-weight: 400; font-size: 18px; font-variant-numeric: tabular-nums; transition: opacity .25s; }
.cd.is-busy .cd-sub b, .cart-drawer.is-busy .cd-sub b { opacity: .45; }
.cd-note { margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.cd-checkout { height: 58px; padding-block: 0; letter-spacing: .04em; }
.cd-checkout svg { transition: transform .35s var(--ease); }
.cd-checkout:hover svg { transform: translateX(5px); }
a.cd-cont { display: block; margin-top: 8px; padding: 12px; text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
a.cd-cont:hover { color: var(--fg); }

.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 28px 80px; text-align: center; color: var(--muted); }
.cd-empty svg { width: 64px; height: 64px; stroke: var(--line-hi); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.cd-empty p { margin: 0; font-size: 15px; }
.cd-empty .btn { width: auto; padding: 16px 38px; align-items: center; }

/* things rise in one after another each time the cart opens */
.cart-drawer.stagger .cd-head, .cart-drawer.stagger .cd-line, .cart-drawer.stagger .cd-foot, .cart-drawer.stagger .cd-empty > * { animation: rise .6s var(--ease) backwards; }
.cart-drawer.stagger .cd-head { animation-delay: .12s; }
.cart-drawer.stagger .cd-line { animation-delay: calc(var(--i, 0) * 70ms + .2s); }
.cart-drawer.stagger .cd-foot { animation-delay: .3s; }
.cart-drawer.stagger .cd-empty > :nth-child(2) { animation-delay: .24s; }
.cart-drawer.stagger .cd-empty > :nth-child(3) { animation-delay: .32s; }

@media (max-width: 420px) {
  .cd-head, .cd-body, .cd-foot { padding-inline: 18px; }
  .cd-head { padding-right: 8px; }
  .cd-line { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .cd-pic { width: 84px; height: 84px; }
  .cd-info { min-height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-drawer.on { transition: transform .01s, visibility 0s; }
  .cart-scrim, .cart-scrim.on { transition: opacity .2s; }
  .cart-drawer.stagger .cd-head, .cart-drawer.stagger .cd-line, .cart-drawer.stagger .cd-foot, .cart-drawer.stagger .cd-empty > *, .cd-count { animation: none; }
  .cd-line { transition: opacity .2s; }
  .cd-line.is-out { transform: none; }
}


/* =====================================================================================================
   SEARCH, SIGN-IN, CONTACT, SIGN-UP STRIP
   ===================================================================================================== */

/* header icons */
.hdr-right .icon-btn svg { transition: transform .35s var(--ease); }
.hdr-right .icon-btn:hover svg { transform: scale(1.1); }
.acct-btn { display: none; }
.acct-dot { position: absolute; top: 10px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--black); }
@media (min-width: 900px) { .acct-btn { display: grid; } }
@media (max-width: 480px) { .hdr-right { gap: 0; } .hdr-right .icon-btn { width: 42px; } }

/* search panel */
html.srch-open { overflow: hidden; padding-right: var(--sbw, 0px); }
.srch-scrim { position: fixed; inset: 0; z-index: 44; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.srch-scrim.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
@media (hover: hover) and (pointer: fine) { .srch-scrim { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); } }
.srch {
  position: fixed; left: 0; right: 0; top: 0; z-index: 46; background: #0b0b0c; border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); max-height: 100svh; display: flex; flex-direction: column;
  transform: translateY(-102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s linear .55s;
}
.srch.on { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.srch-in { width: 100%; max-width: 760px; margin-inline: auto; }
.srch-form { position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px; }
.srch-form::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.srch-form::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); z-index: 1; }
.srch-form:focus-within::before { transform: scaleX(1); }
.srch-ico { width: 24px; height: 24px; flex: none; stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.srch-form input[type="search"] { flex: 1; min-width: 0; background: transparent; border: 0; border-radius: 0; color: var(--fg); font: inherit; font-stretch: 112%; font-size: clamp(18px, 4.6vw, 24px); padding: 16px 0; outline: 0; -webkit-appearance: none; appearance: none; }
.srch-form input::placeholder { color: #5d5d63; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.srch-x { margin-right: -10px; }
.srch-x svg { transition: transform .4s var(--ease); }
.srch-x:hover svg { transform: rotate(90deg); }
.srch-body { overflow-y: auto; overscroll-behavior: contain; max-height: calc(100svh - 110px); }
.srch-results { padding-block: 6px 22px; transition: opacity .25s; }
.srch-results:empty { padding: 0; }
.srch-body.is-loading .srch-results { opacity: .5; }
.ps-list { list-style: none; margin: 0; padding: 0; }
.ps-list li { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.ps-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px; margin-inline: -10px; border-radius: 16px; text-decoration: none; transition: background .25s; }
.ps-item:hover, .ps-item:focus-visible { background: rgba(255,255,255,.06); }
.ps-pic { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--panel); }
.ps-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.ps-item:hover .ps-pic img { transform: scale(1.08); }
.ps-t { font-family: var(--f-title); font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.ps-p { font-family: var(--f-title); font-size: 12px; font-variant-numeric: tabular-nums; }
.ps-all { display: inline-block; margin-top: 10px; padding: 8px 0; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.ps-all:hover { color: var(--fg); }
.ps-none { margin: 4px 0 0; color: var(--muted); }

/* search results page */
.search-big { max-width: 560px; margin: 4px 0 30px; }
.search-big .fld { margin: 0; }
.search-page .empty { padding-top: 10px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 6px 0 52px; }
.pg { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line-hi); border-radius: 999px; text-decoration: none; font-size: 14px; font-variant-numeric: tabular-nums; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
a.pg:hover { background: var(--white); border-color: var(--white); color: var(--black); transform: translateY(-2px); }
.pg.on { background: var(--white); border-color: var(--white); color: var(--black); }
.pg.gap { border-color: transparent; color: var(--muted); }
.pg-nav { font-size: 20px; }

/* inputs and messages */
.muted { color: var(--muted); }
.fld { position: relative; margin-bottom: 14px; }
.fld input, .fld textarea {
  display: block; width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-hi); border-radius: 12px; padding: 25px 16px 9px; outline: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, background .25s, box-shadow .3s;
}
.fld textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.fld label { position: absolute; left: 17px; top: 19px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: 0 0; transition: transform .28s var(--ease), color .25s; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-12px) scale(.76); }
.fld input:focus, .fld textarea:focus { border-color: var(--white); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.fld input:focus + label, .fld textarea:focus + label { color: var(--fg); }
.fld input:-webkit-autofill { -webkit-text-fill-color: var(--fg); box-shadow: 0 0 0 100px #151517 inset; caret-color: var(--fg); }
.fld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.errors, ul.errors { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: rgba(212,22,47,.14); color: #ffb4bc; font-size: 13px; line-height: 1.55; }
.errors ul { list-style: none; margin: 0; padding: 0; }
.form-msg { margin: 10px 2px 0; min-height: 1.5em; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-msg.show { animation: rise .5s var(--ease); }
.form-msg.ok { color: var(--fg); }
.form-msg.ok::before { content: ""; display: inline-block; width: 5px; height: 10px; margin-right: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.form-msg.err { color: #ffb4bc; }
.form-msg.big { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 14px; margin: 0 0 18px; }
button:disabled { cursor: default; }

/* "stay in the loop" strip above the footer */
.foot-news { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 44px 6px; }
.foot-news h2 { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: 13px; letter-spacing: .06em; }
.foot-news form { width: 100%; max-width: 440px; }
.news-field { display: flex; gap: 8px; padding: 3px; margin: -3px; max-height: 80px; transition: max-height .55s var(--ease), opacity .4s, margin .5s var(--ease); }
.news-field input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; font: inherit; font-size: 16px; color: var(--fg); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-hi); border-radius: 999px; outline: 0; -webkit-appearance: none; appearance: none; transition: border-color .25s, background .25s, box-shadow .3s;
}
.news-field input::placeholder { color: #6b6b72; }
.news-field input:focus { border-color: var(--white); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.news-go { flex: none; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 600; font-size: 15px; transition: background .2s, transform .25s var(--ease), opacity .2s; }
.news-go:hover:not(:disabled) { background: #d6d6d9; transform: translateY(-1px); }
.news-go:active:not(:disabled) { transform: scale(.97); }
.news-go:disabled { opacity: .7; }
.is-done .news-field { max-height: 0; opacity: 0; margin: 0; overflow: hidden; }
.foot-contact { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a90; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; padding-bottom: 3px; transition: background-size .4s var(--ease), color .25s; }
.foot-contact:hover, .foot-contact:focus-visible { background-size: 100% 1px; color: var(--fg); }

/* contact page */
.page-wrap { width: 100%; max-width: 1100px; margin-inline: auto; padding-block: 8px 70px; }
.rte { max-width: 70ch; line-height: 1.7; }
.rte > :first-child { margin-top: 0; }
.rte p { margin: 0 0 1.1em; }
.rte a { text-underline-offset: 3px; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; } }
.contact-form-wrap { max-width: 560px; width: 100%; }
.contact-form-wrap .btn { height: 58px; padding-block: 0; }

/* account */
.auth { display: flex; justify-content: center; padding-block: 36px 84px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card > h1, .auth-pane > h1 { margin: 0 0 12px; font-family: var(--f-title); font-weight: 400; font-size: clamp(20px, 5vw, 28px); text-transform: lowercase; line-height: 1.2; }
.auth-card .muted { margin: 0 0 24px; line-height: 1.6; font-size: 14px; }
.auth-pane { animation: rise .6s var(--ease) both; }
.auth-pane[hidden] { display: none; }
.auth-card .btn { height: 58px; padding-block: 0; margin-top: 6px; }
.auth-link { display: block; margin: 0 0 16px; padding: 6px 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-align: left; transition: color .2s; }
.auth-link:hover { color: var(--fg); }
.auth-link.danger:hover { color: #ff8a97; }
.auth-alt { margin: 26px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.auth-alt a { color: var(--fg); text-underline-offset: 3px; }
.acct { padding-bottom: 76px; }
.acct-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.acct-h { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.acct-side .acct-h:not(:first-child) { margin-top: 30px; }
.acct-line { margin: 0 0 18px; line-height: 1.65; }
.tbl { overflow-x: auto; }
.otable { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.otable th, .otable td { padding: 17px 12px 17px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.otable th { border-top: 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.otable .r { text-align: right; padding-right: 0; }
.otable tbody tr { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + .1s); }
.otable a { color: var(--fg); text-underline-offset: 3px; }
.otable tfoot td { border-top: 1px solid var(--line); }
.otable tfoot .grand td { font-weight: 700; font-size: 16px; }
.st { display: inline-block; padding: 3px 10px; border: 1px solid var(--line-hi); border-radius: 999px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) {
  .otable thead { display: none; }
  .otable tbody tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .otable tbody td { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; border: 0; text-align: right; }
  .otable tbody td::before { content: attr(data-l); color: var(--muted); text-align: left; }
  .otable tfoot td:first-child { text-align: right; }
}
.addr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
@media (min-width: 760px) { .addr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addr { padding: 22px; border: 1px solid var(--line); border-radius: 18px; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.addr .st { margin-bottom: 14px; }
.addr-edit summary { list-style: none; cursor: pointer; padding: 6px 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.addr-edit summary::-webkit-details-marker { display: none; }
.addr-edit[open] summary { margin-bottom: 16px; }
.addr-new { max-width: 520px; }
.addr-new .btn, .addr-edit .btn { height: 56px; padding-block: 0; margin-top: 8px; }
.f-opt { display: flex; align-items: center; gap: 14px; padding: 10px 0; cursor: pointer; position: relative; font-size: 15px; }
.f-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-box { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-hi); border-radius: 6px; transition: background .2s, border-color .2s; }
.f-box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .28s var(--ease); }
.f-opt input:checked + .f-box { background: var(--white); border-color: var(--white); }
.f-opt input:checked + .f-box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.f-opt input:focus-visible + .f-box { outline: 2px solid var(--white); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .srch, .srch-scrim, .srch-form::before { transition-duration: .01s; }
  .ps-list li, .otable tbody tr, .addr, .auth-pane, .form-msg.show { animation: none !important; }
  .news-field, .fld label { transition-duration: .01s; }
  .notice, .notice-dot { animation: none !important; }
}

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- checkout page (static site) ---------- */
.co{width:100%;max-width:640px;margin-inline:auto}
.co-line{display:grid;grid-template-columns:76px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.co-line img{width:76px;height:76px;object-fit:contain;background:var(--panel);border-radius:10px}
.co-line b{display:block;font-weight:600;margin-bottom:4px}
.co-q{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.co-p{font-variant-numeric:tabular-nums}
.co-h{font-size:13px;text-transform:uppercase;letter-spacing:.1em;margin:26px 0 14px;font-weight:600}
.co-note{color:var(--muted);font-size:12px;line-height:1.5;margin:4px 0 14px}
.co-note.co-spam{border:1px solid var(--line-hi);padding:12px 14px;margin:14px 0 18px;color:var(--fg);font-size:13px;line-height:1.6;text-align:left}
.co-note.co-spam b{display:block;margin-bottom:2px;letter-spacing:.04em;text-transform:uppercase;font-size:11px}
.co form .btn{width:100%;height:58px;padding-block:0}

/* ---------- checkout: state select, shipping options, totals, payment result ---------- */
.fld select{display:block;width:100%;font:inherit;font-size:16px;color:var(--fg);background:rgba(255,255,255,.03);border:1px solid var(--line-hi);border-radius:12px;padding:25px 40px 9px 16px;outline:0;-webkit-appearance:none;appearance:none;cursor:pointer;transition:border-color .25s,background .25s,box-shadow .3s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f6f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
.fld select option{color:#111;background:#fff}
.fld select:focus{border-color:var(--white);background-color:rgba(255,255,255,.06);box-shadow:0 0 0 4px rgba(255,255,255,.07)}
.fld select:focus + label,.fld select:valid + label{transform:translateY(-12px) scale(.76)}
.fld select:focus + label{color:var(--fg)}
.co-ship{display:grid;gap:10px;margin-bottom:6px}
.ship-hint{margin:0;padding:16px;border:1px dashed var(--line-hi);border-radius:12px;color:var(--muted);font-size:14px}
.ship-hint.err{color:#ffb4bc;border-color:rgba(212,22,47,.5)}
.ship-opt{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:17px 16px;border:1px solid var(--line-hi);border-radius:12px;background:rgba(255,255,255,.03);cursor:pointer;transition:border-color .25s,background .25s,box-shadow .3s;font-size:15px}
.ship-opt input{position:absolute;opacity:0;pointer-events:none}
.ship-opt .dot{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line-hi);display:grid;place-items:center;transition:border-color .2s}
.ship-opt .dot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--white);transform:scale(0);transition:transform .25s var(--ease)}
.ship-opt.on{border-color:var(--white);background:rgba(255,255,255,.07);box-shadow:0 0 0 4px rgba(255,255,255,.05)}
.ship-opt.on .dot{border-color:var(--white)}
.ship-opt.on .dot::after{transform:scale(1)}
.ship-opt.solo{grid-template-columns:1fr auto}
.ship-opt.solo .dot{display:none}
.ship-opt b{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.ship-opt input:focus-visible ~ .dot{outline:2px solid var(--white);outline-offset:3px}
.co-disc{margin:0 0 6px}
.co-disc-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start}
.co-disc-row .fld{margin-bottom:0}
.co-disc-row .fld input{text-transform:uppercase}
.co-disc-row .fld input:placeholder-shown{text-transform:none}
.co form .co-disc-go.btn{width:auto;min-width:112px;height:58px;padding:0 22px;margin-top:0}
.co-disc-on{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 16px;border:1px solid var(--white);border-radius:12px;background:rgba(255,255,255,.07)}
.co-disc-row[hidden],.co-disc-on[hidden]{display:none}
.co-disc-tag{font-weight:700;letter-spacing:.08em;font-size:14px;padding:4px 10px;border:1px dashed var(--line-hi);border-radius:6px}
.co-disc-what{color:var(--muted);font-size:14px;flex:1;min-width:120px}
.co-disc-x{background:none;border:0;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;padding:6px 0}
.co-disc-x:hover{color:var(--fg)}
.co-disc-msg{min-height:18px;margin:8px 2px 0;font-size:13px;line-height:1.5;color:var(--muted)}
.co-disc-msg.err{color:#ff8f8f}
.co-disc-msg.ok{color:#8fe3a8}
.co-sum-d[hidden]{display:none}
.co-sum-d span{color:#8fe3a8}
.co-sum-d b{color:#8fe3a8}
.co-sum{padding:14px 0 4px}
.co-sum-r{display:flex;justify-content:space-between;gap:16px;padding:7px 0;font-size:15px;color:var(--muted)}
.co-sum-r b{color:var(--fg);font-weight:500;font-variant-numeric:tabular-nums}
.co-sum-t{margin-top:6px;padding-top:14px;border-top:1px solid var(--line);font-size:18px;color:var(--fg)}
.co-sum-t b{font-weight:700}
.co-line.slim{grid-template-columns:1fr auto}
.co-wait{padding:60px 0;text-align:center;color:var(--muted)}
.co-done{text-align:center;padding:24px 0 8px}
.co-done svg{width:56px;height:56px;margin:0 auto 14px;fill:none;stroke:var(--white);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.co-done h2{font-size:20px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px}
.co-done p{color:var(--muted);line-height:1.6;margin:0 auto 14px;max-width:46ch}
.co-done p b{color:var(--fg)}
.co-ref{display:inline-flex;flex-direction:column;gap:4px;padding:12px 20px;border:1px solid var(--line-hi);border-radius:12px;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.co-ref b{font-size:16px;letter-spacing:.04em;user-select:all}
.co-done-lines,.co-done .co-sum{text-align:left;margin-top:18px}
.co-done .btn{display:flex;align-items:center;justify-content:center;margin-top:10px}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}


/* ===== LOAD-IN MOTION LAYER ===== */
/* Every element eases in as the page loads. Things that are on screen at load fade/rise in one after another
   (pure CSS, no flash); things further down the page ease in when you scroll to them (see "load-in motion" at the
   top of theme.js). All of it uses the individual `translate` / `scale` properties and `backwards` fill, so it never
   fights the hover/active transforms already on buttons and links. */
@keyframes lin-up   { from { opacity: 0; translate: 0 18px; }  to { opacity: 1; translate: 0 0; } }
@keyframes lin-down { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes lin-pop  { from { opacity: 0; scale: .8; }          to { opacity: 1; scale: 1; } }
@keyframes lin-blur { from { opacity: 0; translate: 0 22px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes lin-img  { from { opacity: 0; } to { opacity: 1; } }

/* top notice bar */
.notice-title { animation: lin-up .9s var(--ease) .3s backwards; }
.notice-dot { animation: lin-pop .8s var(--ease) backwards, beat 1.8s ease-out infinite; animation-delay: .2s, 0s; }
.notice-dot:last-child { animation-delay: .35s, .9s; }

/* header: logo drops in, then the links and icons one by one */
.brand { animation: lin-down .9s var(--ease) .1s backwards; }
.menu-btn, .hdr-nav a, .hdr-right > * { animation: lin-down .8s var(--ease) backwards; }
.menu-btn { animation-delay: .22s; }
.hdr-nav a:nth-child(1){animation-delay:0.22s}
.hdr-nav a:nth-child(2){animation-delay:0.30s}
.hdr-nav a:nth-child(3){animation-delay:0.38s}
.hdr-nav a:nth-child(4){animation-delay:0.46s}
.hdr-right > *:nth-child(1){animation-delay:0.30s}
.hdr-right > *:nth-child(2){animation-delay:0.38s}
.hdr-right > *:nth-child(3){animation-delay:0.46s}

/* home: the slideshow settles in, the footer line of the hero follows the logo */
.hero-slides { animation: lin-img 2s var(--ease) backwards; }

/* page headings, counts, breadcrumbs */
.shop-head .count { animation: lin-up .8s var(--ease) .32s backwards; }
.crumb a { animation: lin-up .8s var(--ease) .12s backwards; }

/* product page: gallery controls, size buttons, accordions */
.pdp-media .gal-nav, .pdp-media .dots { animation: fade 1s ease .9s backwards; }
.sizes .size { animation: lin-pop .6s var(--ease) backwards; }
.sizes .size:nth-child(1){animation-delay:0.55s}
.sizes .size:nth-child(2){animation-delay:0.60s}
.sizes .size:nth-child(3){animation-delay:0.65s}
.sizes .size:nth-child(4){animation-delay:0.70s}
.sizes .size:nth-child(5){animation-delay:0.75s}
.sizes .size:nth-child(6){animation-delay:0.80s}
.sizes .size:nth-child(7){animation-delay:0.85s}
.sizes .size:nth-child(8){animation-delay:0.90s}
.acc-item { animation: lin-up .8s var(--ease) backwards; }
.acc-item:nth-child(1){animation-delay:0.62s}
.acc-item:nth-child(2){animation-delay:0.72s}
.acc-item:nth-child(3){animation-delay:0.82s}
.acc-item:nth-child(4){animation-delay:0.92s}
.acc-item:nth-child(5){animation-delay:1.02s}

/* contact */
.contact .rte > * { animation: lin-up .9s var(--ease) backwards; }
.contact .rte > *:nth-child(1){animation-delay:0.22s}
.contact .rte > *:nth-child(2){animation-delay:0.31s}
.contact .rte > *:nth-child(3){animation-delay:0.40s}
.contact .rte > *:nth-child(4){animation-delay:0.49s}
.contact .rte > *:nth-child(5){animation-delay:0.58s}
.contact-form-wrap form > :is(.fld, .btn) { animation: lin-up .9s var(--ease) backwards; }
.contact-form-wrap form > :is(.fld, .btn):nth-child(2){animation-delay:0.30s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(3){animation-delay:0.38s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(4){animation-delay:0.46s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(5){animation-delay:0.54s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(6){animation-delay:0.62s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(7){animation-delay:0.70s}
.contact-form-wrap form > :is(.fld, .btn):nth-child(8){animation-delay:0.78s}

/* checkout (these start when the JS un-hides each block) */
.co-sum, .co-result { animation: lin-up .8s var(--ease) .1s backwards; }
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn) { animation: lin-up .8s var(--ease) backwards; }
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(1){animation-delay:0.12s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(2){animation-delay:0.17s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(3){animation-delay:0.23s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(4){animation-delay:0.29s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(5){animation-delay:0.34s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(6){animation-delay:0.40s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(7){animation-delay:0.45s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(8){animation-delay:0.51s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(9){animation-delay:0.56s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(10){animation-delay:0.61s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(11){animation-delay:0.67s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(12){animation-delay:0.72s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(13){animation-delay:0.78s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(14){animation-delay:0.83s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(15){animation-delay:0.89s}
#coForm > :is(.co-h, .fld, .fld-2, .fld-3, .co-ship, .co-note, .btn):nth-child(16){animation-delay:0.94s}

/* search + 404 */
.search-big { animation: lin-up .9s var(--ease) .2s backwards; }
.tx > h1 { animation: lin-blur 1s var(--ease) .1s backwards; }
.tx > .btn { animation: lin-up .9s var(--ease) .35s backwards; }

/* music button */
.music-dock { animation: lin-up 1s var(--ease) 1.6s backwards; }

/* lookbook photos fade + settle once they have actually loaded (class added by theme.js) */
.look-i img.img-in { animation: lin-img 1.1s var(--ease) backwards; }

/* ---- scroll reveal: shown by theme.js when the element reaches the screen ---- */
html.js:not(.rv-fail) :is(.site-foot .foot-news h2, .site-foot .news-field, .site-foot .foot-row > *):not(.rv-in) { opacity: 0; translate: 0 var(--rv-y, 28px); }
html.js:not(.rv-fail) :is(.site-foot .foot-news h2, .site-foot .news-field, .site-foot .foot-row > *).rv-in:not(.rv-done) { transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: var(--rv-d, 0ms); }
html.js:not(.rv-fail) .reveal:not(.rv-in) video { opacity: 0; scale: 1.08; }
html.js:not(.rv-fail) .reveal.rv-in:not(.rv-done) video { transition: opacity 1.6s var(--ease), scale 2.6s var(--ease); }
/* tiles whose own entrance animation is waiting for the screen (theme.js adds/removes .rv-wait) */
.rv-wait, .rv-wait * { animation-play-state: paused !important; }

/* People who ask for less motion: everything just fades, nothing slides, scales or blurs. */
@media (prefers-reduced-motion: reduce) {
  :root { --rv-y: 0px; }
  @keyframes lin-up   { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lin-down { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lin-pop  { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lin-blur { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lin-img  { from { opacity: 0; } to { opacity: 1; } }
  html.js:not(.rv-fail) .reveal:not(.rv-in) video { scale: 1; }
}

.co-charge{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}

/* product page photos fade in once downloaded (class added by theme.js), at their final size */
.gal-s img { transition: opacity 1s var(--ease); }
html.js:not(.rv-fail) .gal-s img:not(.img-ld) { opacity: 0; }


/* ---------- checkout: delivery layout (country first, three-up city / state / postal) ---------- */
.fld-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:10px;row-gap:0}
.fld-3 .fld label{max-width:calc(100% - 30px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fld select{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.fld.fld-country select{
  font-size:17px;font-weight:600;letter-spacing:.01em;padding-top:27px;padding-bottom:11px;
  background-color:rgba(255,255,255,.075);border-color:rgba(255,255,255,.5);
  box-shadow:0 0 0 4px rgba(255,255,255,.05), 0 10px 28px -14px rgba(255,255,255,.25)}
.fld.fld-country select:hover{border-color:rgba(255,255,255,.75)}
.fld.fld-country select:focus{border-color:var(--white);background-color:rgba(255,255,255,.1);box-shadow:0 0 0 4px rgba(255,255,255,.12)}
.fld.fld-country label{color:#d2d2d6}
.fld.fld-country{margin-bottom:18px}
@media (max-width:520px){
  .fld-3{grid-template-columns:1fr 1fr}
  .fld-3 > :first-child{grid-column:1/-1}
}

/* ---------- footer credit ---------- */
.foot-credit-in{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding-block:18px 28px;border-top:1px solid #1c1c1f}
.credit-txt{font-size:13px;letter-spacing:.04em;color:#8a8a90}
.credit-txt{display:block;line-height:1.1}
.credit-txt .choja{display:block;margin-top:4px;font-family:"Bricolage Grotesque",var(--f-wide);font-weight:700;font-size:30px;line-height:1.05;letter-spacing:-.01em;color:var(--fg)}
.credit-btn{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px 0 12px;border:1px solid var(--line-hi);border-radius:999px;color:var(--fg);text-decoration:none;font-size:12px;letter-spacing:.1em;text-transform:uppercase;transition:background .25s,border-color .25s,transform .25s var(--ease)}
.credit-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.credit-btn:hover,.credit-btn:focus-visible{background:rgba(255,255,255,.09);border-color:var(--white);transform:translateY(-1px)}
.credit-btn:active{transform:scale(.97)}

/* product descriptions typed in the admin keep their line breaks */
.acc-rich { white-space: pre-line; }
/* a product page whose product was removed */
.pdp-gone { grid-column: 1 / -1; padding: 12vh 0; text-align: center; }
.pdp-gone h1 { font-family: var(--f-title); font-weight: 400; font-size: clamp(15px, 4vw, 20px); letter-spacing: .06em; margin: 0 0 12px; }
.pdp-gone p { color: var(--muted); margin: 0 0 24px; }
.shop-empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 10vh 0; letter-spacing: .06em; }

/* ---- order tracking page ---- */
.trk-result { margin-top: 36px; }
.trk-box { max-width: 720px; margin: 0 auto; outline: none; animation: rise .5s var(--ease) both; }
.trk-ref { margin: 0 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.trk-ref b { color: var(--fg); letter-spacing: .04em; word-break: break-all; }
.trk-box h2 { margin: 0 0 6px; font-family: var(--f-title); font-weight: 400; font-size: clamp(16px, 4.2vw, 22px); letter-spacing: .04em; }
.trk-sub { margin: 0 0 26px; color: var(--muted); }
.trk-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 0; }
.trk-steps li { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; padding: 0 0 22px; color: var(--muted); }
.trk-steps li:last-child { padding-bottom: 0; }
.trk-steps li::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.trk-steps li:last-child::before { display: none; }
.trk-steps .dot { grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-hi); background: var(--black); z-index: 1; }
.trk-steps li.done { color: var(--fg); }
.trk-steps li.done .dot { background: var(--fg); border-color: var(--fg); box-shadow: inset 0 0 0 4px var(--black); }
.trk-steps li.done::before { background: var(--fg); }
.trk-steps li.now .dot { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(212,22,47,.22); }
.trk-steps li b { font-weight: 600; font-size: 15px; align-self: center; }
.trk-steps li small { grid-column: 2; color: var(--muted); font-size: 12px; min-height: 1em; }
.trk-card { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 18px 18px 16px; margin-bottom: 14px; }
.trk-card h3 { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trk-card p { margin: 0 0 8px; display: flex; justify-content: space-between; gap: 16px; }
.trk-card p span { color: var(--muted); }
.trk-card .trk-note { display: block; padding: 10px 12px; background: var(--panel-2); border-radius: 8px; color: var(--fg); }
.trk-num { letter-spacing: .06em; word-break: break-all; text-align: right; }
.trk-card .btn { margin-top: 10px; }
.trk-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trk-line > div { display: grid; gap: 2px; }
.trk-line small { color: var(--muted); font-size: 12px; }
.trk-line.sum { border-bottom: 0; padding: 4px 0; color: var(--muted); }
.trk-line.tot { color: var(--fg); font-weight: 700; padding-top: 10px; }
.trk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 18px 0 0; }
.trk-actions a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-msg.bad { color: #ff9a9a; }

/* "Notify me" on a sold-out size, and contact links switched on in Admin → Store settings */
.wait { margin: 16px 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.wait p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.wait-row { display: flex; gap: 10px; }
.wait-row input { flex: 1 1 0; width: auto; min-width: 0; height: 52px; padding: 0 20px; font: inherit; font-size: 16px; color: var(--fg); background: rgba(255,255,255,.03); border: 1px solid var(--line-hi); border-radius: 12px; outline: 0; -webkit-appearance: none; appearance: none; }
.wait-row input:focus { border-color: var(--white); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.wait-row input::placeholder { color: #6b6b72; }
.wait-row .btn { flex: 0 0 auto; width: auto; min-width: 0; height: 52px; padding: 0 26px; white-space: nowrap; }
.wait-msg { min-height: 1.4em; margin: 10px 0 0 !important; font-size: 14px !important; color: var(--muted); }
.wait-msg:empty { min-height: 0; margin: 0 !important; }
.wait-msg.bad { color: #ff8a8a; }
@media (max-width: 480px) { .wait-row { flex-direction: column; } .wait-row input, .wait-row .btn { flex: none; width: 100%; } }
[data-h8-contact][hidden] { display: none !important; }

/* ---- sale prices, bundle deals, "Complete the set", size chart, top bar and pop-ups (Admin → Products / Discounts / Store settings) ---- */
.was { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-left: 6px; font-size: .9em; }
.card .sale-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.sale-tag { display: inline-block; background: var(--signal); color: #fff; font: 600 11px/1 var(--f-wide); letter-spacing: .06em; padding: 5px 7px; border-radius: 3px; }
.pdp-sale { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-title); font-size: 14px; }
.pdp-sale[hidden] { display: none; }
.pdp-sale .was { margin: 0; }
.cd-price .was { display: block; font-size: 11px; margin: 0; }
.cd-disc .l, .cd-disc b, .cd-gift b { color: #8fe3a8; }
.cd-gift b { font-size: 13px; font-weight: 600; text-align: right; }
.cd-deal { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; line-height: 1.45; }
.cd-deal p { margin: 0 0 9px; }
.cd-deal i { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.cd-deal b { display: block; height: 100%; background: var(--signal); transition: width .35s var(--ease, ease); }
.cd-deal.won b { background: #8fe3a8; }
.co-sum-g[hidden] { display: none; }
.co-sum-g span, .co-sum-g b { color: #8fe3a8; }
.co-opts { display: grid; gap: 10px; margin: 4px 0 18px; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--signal); flex: none; }

.pset { margin: 26px 0 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.pset[hidden] { display: none; }
.pset-t { margin: 0 0 4px; font-family: var(--f-title); font-size: 14px; letter-spacing: .04em; }
.pset-s { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.pset-pics { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.pset-pics img { width: calc(50% - 20px); max-width: 140px; aspect-ratio: 1; object-fit: contain; background: var(--panel); border-radius: 10px; }
.pset-pics span { color: var(--muted); font-size: 20px; }
.pset-l { display: block; margin: 10px 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pset select { width: 100%; background: var(--panel); color: var(--fg); border: 1px solid var(--line-hi); border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 14px; }
.pset-tot { margin: 16px 0 2px; font-family: var(--f-title); font-size: 15px; }
.pset-save { margin: 0 0 14px; color: #8fe3a8; font-size: 13px; }
.pset .btn { width: 100%; }

.guide.chart-body { margin-top: 0; }
.chart-body .chart-img { display: block; max-width: 100%; margin: 0 0 14px; border-radius: 8px; }
.chart-body p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.chart-body .tbl { margin-bottom: 14px; }

.topbar { position: relative; z-index: 60; background: var(--signal); color: #fff; text-align: center; }
.topbar[hidden] { display: none; }
.topbar button { display: block; width: 100%; padding: 9px 14px; background: none; border: 0; color: inherit; font: 600 12px/1.3 var(--f-wide); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.topbar button:disabled { cursor: default; }
.h8-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); }
.h8-modal[hidden] { display: none; }
.h8-modal-card { position: relative; width: min(460px, 100%); max-height: min(80vh, 640px); overflow: auto; background: var(--panel); border: 1px solid var(--line-hi); border-radius: 16px; padding: 28px 24px 24px; }
.h8-modal-card h2 { margin: 0 0 14px; font-family: var(--f-title); font-weight: 400; font-size: 18px; letter-spacing: .02em; }
.h8-modal-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.h8-modal-card h3 { margin: 20px 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h8-modal-card .fees { list-style: none; margin: 0; padding: 0; }
.h8-modal-card .fees li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.h8-modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; background: none; border: 0; color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; }
.h8-pop-form { display: grid; gap: 10px; margin-top: 4px; }
.h8-pop-form input[type="email"], .h8-pop-form input[type="tel"], .news-phone { width: 100%; background: var(--black); color: var(--fg); border: 1px solid var(--line-hi); border-radius: 8px; padding: 12px; font: inherit; font-size: 14px; }
.h8-pop-form .hp { position: absolute; left: -9999px; }
.h8-pop-msg { min-height: 1.2em; margin: 0; font-size: 13px; color: var(--muted); }
.h8-pop-msg.ok { color: #8fe3a8; } .h8-pop-msg.err { color: #ff8a8a; }
.news-phone { margin-top: 10px; }
.news-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* made-to-order and coming-soon notes */
.made-note{display:block;margin:8px 0 0;font-size:12.5px;letter-spacing:.02em;opacity:.75}
#madeNote{margin:12px 0 0}

/* live courier option details */
.ship-opt .nm small.eta { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .7; }

/* returns & exchanges on the track page */
.ret-form { margin-top: 16px; display: grid; gap: 14px; }
.ret-set { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; margin: 0; min-width: 0; }
.ret-set legend { padding: 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ret-opt { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-size: 14px; line-height: 1.4; }
.ret-opt input { margin-top: 3px; accent-color: var(--signal); }
.ret-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.ret-q { background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.ret-addr { white-space: pre-line; color: var(--fg); }
.ret-form textarea { width: 100%; resize: vertical; min-height: 84px; }
#retOpen { margin-top: 6px; }
