/* ============================================================================
   FGM04 · THE SHOP
   One card component, two views. RUNWAY is a shallow 3D arc with one garment
   in focus; GRID is the same card without perspective. Only transform and
   opacity move while the arc travels — every filter here is set on settle.
   ========================================================================== */

.shopstage{position:relative;--sh-cw:clamp(280px,26vw,420px);--sh-ch:calc(var(--sh-cw) * 1.25);
  --sh-accent:#6FE3DF;--sh-dim:.22;--sh-angle:26;
  --sh-ink:#fff;--sh-quiet:rgb(255 255 255 / .55);
  margin:0 0 clamp(40px,6vw,80px)}
:root[data-theme="light"] .shopstage{--sh-ink:#0b0d11;--sh-quiet:rgb(11 13 17 / .58)}

/* ---------------------------------------------------------------- the head */
.sh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;
  margin:0 0 clamp(20px,3vw,34px)}
.sh-titles{min-width:0}
.sh-title{font-family:var(--display);font-weight:300;font-size:clamp(28px,4vw,52px);line-height:1.04;
  letter-spacing:-.02em;margin:0}
.sh-sub{margin:10px 0 0;max-width:56ch;color:var(--text-secondary);font-size:14px;line-height:1.5}
.sh-count{margin:9px 0 0}
.sh-count em{font-style:normal;font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;
  color:color-mix(in srgb,var(--text-secondary) 80%,transparent);text-transform:uppercase}
.sh-tools{display:flex;align-items:center;gap:14px;flex:none}

/* the one control that changes everything */
.sh-switch{display:inline-flex;padding:3px;gap:2px;border-radius:999px;
  background:var(--g-bg,linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04))) ,
             var(--g-base,rgba(7,10,15,.3));
  -webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
  border:1px solid var(--g-line,rgba(255,255,255,.14))}
.sh-v{width:36px;height:30px;display:grid;place-items:center;border:0;border-radius:999px;cursor:pointer;
  background:transparent;color:color-mix(in srgb,var(--text-primary) 58%,transparent);
  transition:background .3s var(--ease-out),color .3s var(--ease-out)}
.sh-v svg{width:17px;height:17px}
.sh-v:hover{color:var(--text-primary)}
.sh-v[aria-pressed="true"]{background:color-mix(in srgb,var(--sh-accent) 22%,transparent);
  color:var(--text-primary)}
.sh-v:focus-visible{outline:2px solid var(--sh-accent);outline-offset:2px}
.sh-sort select{min-height:38px!important;padding:6px 12px!important;font-size:13px!important}
.sh-empty{color:var(--text-secondary);padding:40px 0}
.sp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ============================================ THE CARD (shared by both views) */
.sp-list{list-style:none;margin:0;padding:0}
.sp-cell{min-width:0}
.sp{position:relative;display:block;height:100%;
  border-radius:clamp(12px,1.1vw,18px);overflow:hidden;
  background:linear-gradient(150deg,#101319,#080a0e);
  box-shadow:0 22px 54px -22px rgba(0,0,0,.7)}
.sp-a{position:absolute;inset:0;display:block;text-decoration:none;color:inherit;z-index:2}
.sp-frame{position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.sp-img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;display:block;
  filter:saturate(1.04) contrast(1.02);
  transition:transform .6s cubic-bezier(.16,1,.3,1)}
.sp-noimg{position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(150deg,#141922,#0a0d12)}
.sp-noimg em{font-style:normal;font-family:var(--display);font-weight:300;font-size:64px;
  color:rgba(255,255,255,.12)}
/* type sits on the photograph, so the photograph is darkened only where type is */
.sp-veil{position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgb(2 4 7 / .52) 0%,rgb(2 4 7 / 0) 22%),
    linear-gradient(0deg,rgb(2 4 7 / .82) 0%,rgb(2 4 7 / .32) 26%,rgb(2 4 7 / 0) 52%)}

/* the four corner brackets — not a border */
.sp-bk{position:absolute;width:14px;height:14px;pointer-events:none;z-index:3;
  border-color:rgb(255 255 255 / .14);border-style:solid;border-width:0;
  transition:border-color .42s var(--ease-out),box-shadow .42s var(--ease-out)}
.sp-bk1{top:8px;left:8px;border-top-width:1.25px;border-left-width:1.25px;border-top-left-radius:4px}
.sp-bk2{top:8px;right:8px;border-top-width:1.25px;border-right-width:1.25px;border-top-right-radius:4px}
/* Only the top pair is drawn. The bottom corners belong to the caption — the
   colour discs and the price sit exactly where these marks would cross them. */
.sp-bk3,.sp-bk4{display:none}

/* top row: the code, and whether it can be bought */
.sp-top{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:center;
  justify-content:space-between;gap:10px;padding:13px 28px;pointer-events:none}
.sp-sku,.sp-stock{font-style:normal;font-family:var(--mono);font-size:10px;letter-spacing:.12em;
  color:var(--sh-quiet);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-stock{display:inline-flex;align-items:center;gap:5px;flex:none}
.sp-stock i{width:5px;height:5px;border-radius:50%;flex:none;background:currentColor}
.sp-in{color:#4BD08B}.sp-soon{color:#E0A33C}.sp-out{color:rgb(255 255 255 / .45)}
:root[data-theme="light"] .sp-sku,:root[data-theme="light"] .sp-stock{color:rgb(255 255 255 / .72)}

/* the caption block */
.sp-meta{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:16px 16px 15px;
  display:flex;flex-direction:column;gap:6px;pointer-events:none;color:#fff}
.sp-line{align-self:flex-start;font-style:normal;font-family:var(--mono);font-size:9px;
  letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.72);
  padding:3px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.sp-name{font-family:var(--display);font-weight:300;font-size:clamp(16px,1.45vw,22px);line-height:1.12;
  letter-spacing:-.005em;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.sp-blurb{font-size:11.5px;line-height:1.45;color:rgba(255,255,255,.7);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sp-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:3px}
/* the price stops where the quick-add button starts */
.sp.has-add .sp-foot,.sp.has-add .sp-range{padding-right:46px}
.sp-discs{display:inline-flex;gap:5px;flex:none}
.sp-disc{width:11px;height:11px;border-radius:50%;background:var(--c,#888);
  box-shadow:0 0 0 1px rgba(255,255,255,.34) inset,0 1px 3px rgba(0,0,0,.4)}
.sp-price{font-family:var(--mono);font-size:12.5px;letter-spacing:.02em;text-align:right;
  white-space:nowrap}
.sp-price del{opacity:.5;margin-right:6px;font-size:11px}
.sp-price ins{text-decoration:none}
.sp-range{font-style:normal;font-family:var(--mono);font-size:9px;letter-spacing:.14em;
  color:rgba(255,255,255,.5)}
.sp-see{position:absolute;left:16px;bottom:15px;z-index:4;
  font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:#fff;
  opacity:0;transform:translateY(6px);transition:opacity .34s ease-out,transform .34s var(--ease-out)}

/* the one the visitor is looking at */
.sp-cell.is-focus .sp-bk{border-color:color-mix(in srgb,var(--sh-accent) 88%,transparent);
  box-shadow:0 0 12px -2px color-mix(in srgb,var(--sh-accent) 55%,transparent)}
.sp-cell.is-focus .sp{box-shadow:0 34px 80px -26px rgba(0,0,0,.86)}
.sp-cell.is-focus .sp-a:focus-visible .sp-img{transform:scale(1.03)}
.sp-cell.is-focus .sp-a:focus-visible .sp-see{opacity:1;transform:none}
.sp-cell.is-focus .sp-a:focus-visible .sp-meta{padding-bottom:34px;transition:padding-bottom .34s var(--ease-out)}
/* 4.98.2: hover effects only where a real pointer hovers. On a phone a tap
   "hovers" first; when that reveals something (the label, the bag button),
   iOS keeps the tap as a hover and the product opens only on the second one. */
@media (hover:hover) and (pointer:fine){
  .sp-cell.is-focus .sp-a:hover .sp-img{transform:scale(1.03)}
  .sp-cell.is-focus .sp-a:hover .sp-see{opacity:1;transform:none}
  .sp-cell.is-focus .sp-a:hover .sp-meta{padding-bottom:34px;transition:padding-bottom .34s var(--ease-out)}
}
.sp-a:focus-visible{outline:none}
.sp-cell:focus-within .sp{box-shadow:0 0 0 2px var(--canvas,#05070a),
  0 0 0 4px color-mix(in srgb,var(--sh-accent) 80%,transparent),0 30px 70px -22px rgba(0,0,0,.8)}
.sp.is-out .sp-img{filter:saturate(.24) brightness(.72)}
.sp.is-sale .sp-price ins{color:#FF6B8A}

/* already in the cart: the tricolour rim, the same ring as the menu labels */
.sp.in-cart::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:5;
  pointer-events:none;padding:1.6px;
  background:linear-gradient(120deg,rgb(0 168 89 / .95) 0%,rgb(255 255 255 / .9) 48%,rgb(206 18 46 / .95) 100%);
  -webkit-mask:linear-gradient(#000,#000) content-box,linear-gradient(#000,#000);
  -webkit-mask-composite:xor;mask-composite:exclude}

/* ------------------------------------------------------------- quick add */
.sp-add{position:absolute;right:13px;bottom:13px;z-index:6;width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.06)),rgba(7,10,15,.44);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  color:#fff;opacity:0;transform:translateY(6px) scale(.94);
  transition:opacity .34s ease-out,transform .34s var(--ease-out),background .3s}
.sp-cell.is-focus .sp-add,.sp-cell:focus-within .sp-add{opacity:1;transform:none}
.sp-add:hover{background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.12)),rgba(7,10,15,.5)}
.sp-add:focus-visible{outline:2px solid var(--sh-accent);outline-offset:2px;opacity:1;transform:none}
.sp-add svg{width:18px;height:18px}
.sp-add .sp-tick{opacity:0;stroke-dasharray:22;stroke-dashoffset:22}
.sp-add.is-open .sp-plus{transform:rotate(45deg);transform-origin:12px 12px;transition:transform .3s var(--ease-out)}
.sp-add.is-done .sp-plus{opacity:0}
.sp-add.is-done .sp-tick{opacity:1;stroke-dashoffset:0;transition:stroke-dashoffset .4s ease-out .05s,opacity .1s}
.sp-add.is-done{background:linear-gradient(180deg,rgba(75,208,139,.42),rgba(75,208,139,.2)),rgba(7,10,15,.44);
  border-color:rgba(75,208,139,.5)}
.sp-add.is-busy{opacity:.6;pointer-events:none}

/* the size row grows out of the card's own foot, never a modal */
.sp-sizes{position:absolute;left:12px;right:60px;bottom:13px;z-index:6;display:flex;gap:5px;flex-wrap:wrap;
  opacity:0;transform:translateY(8px);pointer-events:none;
  transition:opacity .3s ease-out,transform .34s var(--ease-out)}
.sp-sizes.is-open{opacity:1;transform:none;pointer-events:auto}
.sp-size{min-width:34px;height:34px;padding:0 9px;border-radius:9px;cursor:pointer;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;
  border:1px solid rgba(255,255,255,.22);color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.05)),rgba(7,10,15,.5);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  transition:background .26s,transform .26s var(--ease-out)}
.sp-size:hover{transform:translateY(-2px);
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.12)),rgba(7,10,15,.5)}
.sp-size:focus-visible{outline:2px solid var(--sh-accent);outline-offset:2px}
.sp-msg{position:absolute;left:14px;right:14px;bottom:58px;z-index:6;
  font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:#FFB4B4;
  opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s;pointer-events:none}
.sp-msg.is-on{opacity:1;transform:none}

/* ==================================================================== GRID */
.shopstage.is-grid .sp-list{display:grid;gap:clamp(12px,1.6vw,22px);
  grid-template-columns:repeat(auto-fill,minmax(min(100%,268px),1fr))}
.shopstage.is-grid .sp-cell{aspect-ratio:4/5}
.shopstage.is-grid .sh-scene,.shopstage.is-grid .sh-rail,.shopstage.is-grid .sh-now{display:none}
/* a card far down a long grid costs nothing until it is near */
.shopstage.is-grid .sp-cell:nth-child(n+13){content-visibility:auto;contain-intrinsic-size:auto 420px}
/* in the grid every card is its own focus: the brackets light on hover */
.shopstage.is-grid .sp-cell:focus-within .sp-bk{border-color:color-mix(in srgb,var(--sh-accent) 80%,transparent)}
.shopstage.is-grid .sp-cell:focus-within .sp-add{opacity:1;transform:none}
@media (hover:hover) and (pointer:fine){
  .shopstage.is-grid .sp-cell:hover .sp-bk{border-color:color-mix(in srgb,var(--sh-accent) 80%,transparent)}
  .shopstage.is-grid .sp-cell:hover .sp-img{transform:scale(1.03)}
  .shopstage.is-grid .sp-cell:hover .sp-add{opacity:1;transform:none}
  .shopstage.is-grid .sp-cell:hover .sp-see{opacity:1;transform:none}
}
/* on a touch screen the bag button is simply there: nothing waits for a hover */
@media not all and (hover:hover) and (pointer:fine){
  .shopstage.is-grid .sp-add{opacity:1;transform:none}
}

/* ================================================================== RUNWAY */
.shopstage.is-runway{
  /* the stage leaves room for the bar, the heading and the index rail, so the
     whole instrument is on screen at once on an ordinary laptop */
  --sh-stage:clamp(360px,calc(100svh - 300px),760px)}
.shopstage.is-runway .sp-list{position:relative;height:var(--sh-stage);
  perspective:1400px;perspective-origin:50% 46%;transform-style:preserve-3d;
  overflow:visible;touch-action:pan-y;touch-action:pan-y pinch-zoom;cursor:grab;   /* 4.92: two fingers zoom */
  -webkit-user-select:none;user-select:none}
.shopstage.is-runway .sp-list.is-drag{cursor:grabbing}
/* the keyboard ring belongs on the garment being steered, not around the room */
.shopstage.is-runway .sp-list:focus-visible{outline:none}
.shopstage.is-runway .sp-list:focus-visible .sp-cell.is-focus .sp{
  box-shadow:0 0 0 2px var(--sh-accent),0 34px 80px -26px rgba(0,0,0,.86)}
.shopstage.is-runway .sp-cell{position:absolute;top:50%;left:50%;width:var(--sh-cw);height:var(--sh-ch);
  margin:calc(var(--sh-ch) / -2) 0 0 calc(var(--sh-cw) / -2);
  transform-style:preserve-3d;backface-visibility:hidden;
  /* the transform is written by JavaScript, one write per live card per frame */
  transform:translate3d(0,0,-600px);opacity:0;
  transition:none}
/* only the nine live cards exist as layers; the rest are not rendered at all */
.shopstage.is-runway .sp-cell:not(.is-live){display:none}
.shopstage.is-runway .sp-cell.is-live{display:block}
/* the softening of the neighbours is set on settle and never during transit */
.shopstage.is-runway .sp-cell.is-live{filter:blur(calc(var(--sh-b,0) * 1px)) saturate(calc(1 - var(--sh-b,0) * .04))}
.shopstage.is-runway .sp-cell.is-focus{z-index:10}
.shopstage.is-runway .sp-cell:not(.is-focus) .sp-a{pointer-events:none}
.shopstage.is-runway .sp-cell:not(.is-focus) .sp-add{display:none}
/* Pressing a neighbour brings it to centre instead of opening it. The pick is
   made in JavaScript from the cards' rects, never by browser hit-testing:
   Chromium will not hit-test a rotated element inside a preserve-3d stage. */

/* the scenery */
.sh-scene{position:absolute;left:50%;transform:translateX(-50%);width:100vw;
  height:var(--sh-stage);margin-top:0;pointer-events:none;overflow:hidden;z-index:0}
.shopstage.is-grid .sh-scene{display:none}
.sh-beam{position:absolute;left:50%;top:-6%;width:min(46vw,620px);height:74%;
  transform:translateX(-50%);
  background:linear-gradient(180deg,rgb(255 255 255 / .1) 0%,rgb(255 255 255 / .03) 42%,rgb(255 255 255 / 0) 100%);
  -webkit-mask:radial-gradient(60% 100% at 50% 0%,#000 30%,transparent 100%);
          mask:radial-gradient(60% 100% at 50% 0%,#000 30%,transparent 100%);
  opacity:0;transition:opacity .5s var(--ease-out)}
.shopstage.is-settled .sh-beam{opacity:1}
.sh-floor{position:absolute;left:0;right:0;bottom:0;height:34%;
  background:linear-gradient(180deg,rgb(255 255 255 / 0),rgb(255 255 255 / .022));
  -webkit-mask:linear-gradient(180deg,#000,transparent);mask:linear-gradient(180deg,#000,transparent)}
.sh-dust{position:absolute;inset:-20%;opacity:.5;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 32%,rgb(255 255 255 / .5),transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 18%,rgb(255 255 255 / .38),transparent 60%),
    radial-gradient(1.6px 1.6px at 81% 61%,rgb(255 255 255 / .42),transparent 60%),
    radial-gradient(1.1px 1.1px at 37% 77%,rgb(255 255 255 / .3),transparent 60%),
    radial-gradient(1.3px 1.3px at 8% 66%,rgb(255 255 255 / .34),transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 28%,rgb(255 255 255 / .3),transparent 60%);
  background-size:52% 52%,48% 48%,56% 56%,44% 44%,50% 50%,46% 46%;
  animation:shDust 54s linear infinite;will-change:transform}
@keyframes shDust{from{transform:translate3d(0,0,0)}to{transform:translate3d(-6%,-4%,0)}}
:root[data-theme="light"] .sh-dust{display:none}
/* a spotlight makes no sense on a white page, and reads as a grey box */
:root[data-theme="light"] .sh-beam{display:none}

/* the reflection: one mirrored copy of the focused garment, blurred once */
.sh-mirror{position:absolute;left:50%;width:var(--sh-cw);height:calc(var(--sh-ch) * .4);
  z-index:1;pointer-events:none;overflow:hidden;opacity:0;
  transform:translateX(-50%);
  -webkit-mask:linear-gradient(180deg,rgb(0 0 0 / .5),transparent 78%);
          mask:linear-gradient(180deg,rgb(0 0 0 / .5),transparent 78%);
  transition:opacity .5s var(--ease-out)}
.shopstage.is-settled .sh-mirror{opacity:.14}
.sh-mirror img{position:absolute;left:0;top:0;width:100%;height:calc(var(--sh-ch));
  object-fit:cover;object-position:50% 42%;transform:scaleY(-1);transform-origin:center;
  filter:blur(8px) saturate(.8)}
/* nothing animates while the stage is off screen */
.shopstage.is-away .sh-dust{animation-play-state:paused}

/* ------------------------------------------------------------ the index rail */
.sh-rail{margin:clamp(14px,2vw,26px) auto 0;width:min(560px,86%);z-index:4;position:relative}
.sh-rail-in{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;
  height:28px;cursor:pointer;touch-action:none}
.sh-tick{width:13px;height:1.5px;border-radius:2px;background:rgb(255 255 255 / .28);flex:none;
  transition:background .3s,width .34s var(--ease-out),height .3s}
:root[data-theme="light"] .sh-tick{background:rgb(11 13 17 / .2)}
.sh-tick.on{width:22px;height:2px;background:var(--sh-accent)}
:root[data-theme="light"] .sh-tick.on{background:color-mix(in srgb,var(--sh-accent) 46%,#0b0d11)}
:root[data-theme="light"] .sh-thumb{background:color-mix(in srgb,var(--sh-accent) 46%,#0b0d11);box-shadow:none}
.sh-rail.is-scrub .sh-tick{transition:none}
/* above twenty products discrete ticks stop meaning anything: it becomes a scrubber */
.sh-rail.is-bar .sh-rail-in{display:block;height:22px}
.sh-rail.is-bar .sh-tick{display:none}
.sh-rail.is-bar .sh-thumb{display:block}
.sh-thumb{display:none;position:absolute;top:50%;left:0;height:2px;border-radius:2px;
  background:var(--sh-accent);transform:translateY(-50%);width:36px;
  box-shadow:0 0 10px -2px color-mix(in srgb,var(--sh-accent) 60%,transparent)}
.sh-rail.is-bar .sh-rail-in::before{content:"";position:absolute;left:0;right:0;top:50%;height:1.5px;
  transform:translateY(-50%);border-radius:2px;background:rgb(255 255 255 / .16)}
:root[data-theme="light"] .sh-rail.is-bar .sh-rail-in::before{background:rgb(11 13 17 / .14)}
.sh-now{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sh-pager{margin-top:clamp(24px,4vw,48px)}

/* the bar wears the garment in focus, exactly as it wears a menu photograph */
body.shop-tinted .nav{background:linear-gradient(180deg,
  rgb(var(--bar-tint,4 6 9) / var(--bar-a,.55)),rgb(var(--bar-tint,4 6 9) / 0))}
body.shop-tinted .nav::before{opacity:0}

/* ------------------------------------------------------------------ mobile */
@media (max-width:820px){
  .shopstage{--sh-cw:min(84vw,360px)}
  .shopstage.is-runway{--sh-stage:clamp(300px,calc(var(--fvh,1svh) * 100 - 302px),620px)}
  .shopstage.is-runway .sp-list{perspective:900px}
  .sh-dust,.sh-mirror,.sh-beam{display:none}   /* atmosphere reads as a grey box at this size */
  .sh-head{align-items:flex-start;gap:16px}
  .sh-tools{width:100%;justify-content:space-between}
  .sp-meta{padding:14px 13px 13px}
  .sp-top{padding:12px 26px}
  .sp-name{font-size:17px}
  .sp-blurb{-webkit-line-clamp:1}
  .sh-rail{width:92%}
  .shopstage.is-grid .sp-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));
    gap:10px}
  .shopstage.is-grid .sp-name{font-size:14px}
  .shopstage.is-grid .sp-blurb{display:none}
}
@media (max-width:359px){
  .shopstage.is-runway .sp-list{perspective:none}
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion:reduce){
  .sp-img,.sp-see,.sp-add,.sp-sizes,.sp-bk,.sh-beam,.sh-mirror,.sh-tick{transition-duration:.01s!important}
  .sh-dust{animation:none}
  .shopstage.is-runway .sp-cell{filter:none!important}
}

/* ==================================================== THE CLOTHING LINES
   The shop root shows lines on the runway and garments in the grid, so there
   are two lists. Each view shows its own and hides the other. */
/* Keyed on the classes the front door adds, never on which data attributes a
   list happens to carry: a page with ONE list (every archive but the front
   door) must never have it hidden by either rule. */
.shopstage.is-runway .sp-items{display:none}
.shopstage.is-grid .sp-lines{display:none}
.shopstage.is-runway .sh-lines,
.shopstage.is-runway .sh-empty-items,
.shopstage.is-runway .sh-none{display:none}
.shopstage.is-grid .sh-rail,.shopstage.is-grid .sh-now{display:none}

/* a line reads as a door, not as a garment: the caption sits lower and calmer */
.sp-door .sp-name{font-size:clamp(19px,1.9vw,28px);letter-spacing:-.015em}
.sp-door .sp-frame::after{content:"";position:absolute;inset:0;
  background:radial-gradient(120% 80% at 50% 110%,rgb(2 4 7 / .5),rgb(2 4 7 / 0) 70%)}
.sp-doorgo{font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;
  color:rgb(255 255 255 / .82);display:inline-flex;align-items:center;gap:7px}
.sp-doorgo::after{content:"";width:16px;height:1px;background:currentColor;opacity:.7;
  transition:width .38s var(--ease-out)}
.sp-cell.is-focus .sp-door .sp-doorgo::after{width:30px}
@media (hover:hover) and (pointer:fine){.shopstage.is-grid .sp-cell:hover .sp-door .sp-doorgo::after{width:30px}}
.sp-door .sp-a{border:0;background:transparent;padding:0;width:100%;height:100%;
  display:block;text-align:left;font:inherit;color:inherit;cursor:pointer}

/* locked: a mark, a rim and a dimmed photograph — never colour alone */
.sp-lock{width:11px;height:11px;flex:none;margin-right:1px}
.sp-door.is-locked .sp-img{filter:saturate(.3) brightness(.62)}
.sp-door.is-locked .sp-a{cursor:pointer}
.sp-door.is-locked::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:5;
  pointer-events:none;padding:1.4px;
  background:linear-gradient(120deg,rgb(255 255 255 / .34) 0%,rgb(255 255 255 / .1) 52%,rgb(255 255 255 / .3) 100%);
  -webkit-mask:linear-gradient(#000,#000) content-box,linear-gradient(#000,#000);
  -webkit-mask-composite:xor;mask-composite:exclude}
.sp-door.is-locked .sp-doorgo{color:rgb(255 255 255 / .62)}
@media (forced-colors: active){
  .sp-door.is-locked .sp-doorgo::before{content:"\f512  ";font-family:inherit}
  .sp-door.is-locked{border:2px dashed CanvasText}
}

/* --------------------------------------------------------- the filter row */
.sh-lines{margin:0 0 clamp(16px,2.4vw,26px);position:relative}
.sh-lines-in{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 6px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.sh-lines-in::-webkit-scrollbar{display:none}
.sh-chip{flex:none;display:inline-flex;align-items:center;gap:8px;text-decoration:none;
  padding:8px 15px;border-radius:999px;font-size:13.5px;line-height:1.2;white-space:nowrap;
  color:color-mix(in srgb,var(--text-primary) 72%,transparent);
  background:var(--g-bg,linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.03))),
             var(--g-base,rgba(7,10,15,.28));
  border:1px solid var(--g-line,rgba(255,255,255,.13));
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);
  transition:color .28s var(--ease-out),border-color .28s var(--ease-out),background .28s var(--ease-out)}
.sh-chip b{font-family:var(--mono);font-size:10px;font-weight:400;letter-spacing:.06em;
  padding:2px 6px;border-radius:99px;background:rgb(255 255 255 / .1);
  color:color-mix(in srgb,var(--text-primary) 58%,transparent)}
.sh-chip:hover{color:var(--text-primary);border-color:rgb(255 255 255 / .26)}
.sh-chip:focus-visible{outline:2px solid var(--sh-accent);outline-offset:2px}
.sh-chip.on{color:var(--text-primary);
  border-color:color-mix(in srgb,var(--sh-accent) 62%,transparent);
  background:color-mix(in srgb,var(--sh-accent) 16%,transparent)}
.sh-chip.on b{background:color-mix(in srgb,var(--sh-accent) 26%,transparent);
  color:var(--text-primary)}
.sh-chip.is-locked{cursor:not-allowed;opacity:.5}
.sh-chip.is-locked:hover{color:color-mix(in srgb,var(--text-primary) 72%,transparent);
  border-color:var(--g-line,rgba(255,255,255,.13))}
:root[data-theme="light"] .sh-chip b{background:rgb(11 13 17 / .07)}

/* a garment the filter has set aside is not rendered at all */
.sp-cell.is-off{display:none!important}
.sh-none{margin:10px 0 0;color:var(--text-secondary);font-size:15px}

/* ------------------------------------------------ back out to the lines */
.sh-back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;
  color:color-mix(in srgb,var(--text-secondary) 92%,transparent);margin:0 0 10px;
  transition:color .28s var(--ease-out)}
.sh-back svg{width:15px;height:15px;transition:transform .32s var(--ease-out)}
.sh-back:hover{color:var(--text-primary)}
.sh-back:hover svg{transform:translateX(-3px)}
.sh-back:focus-visible{outline:2px solid var(--sh-accent);outline-offset:3px;border-radius:4px}

/* ---------------------------------------- a locked line, reached by URL */
.shopstage.is-locked-line .sh-locked{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(22px,4vw,54px);align-items:center;margin-top:clamp(10px,2vw,22px)}
@media (max-width:820px){.shopstage.is-locked-line .sh-locked{grid-template-columns:1fr}}
.sh-locked-shot{position:relative;aspect-ratio:4/5;max-width:100%;overflow:hidden;border-radius:10px;
  max-height:min(62svh,560px);background:rgb(255 255 255 / .04);margin-inline:auto}
.sh-locked-shot .sp-img{width:100%;height:100%;object-fit:cover;filter:saturate(.34) brightness(.66)}
.sh-locked-say{max-width:46ch}
.sh-locked-lab{font-family:var(--mono);font-size:10.5px;letter-spacing:.17em;text-transform:uppercase;
  color:var(--sh-accent);margin:0 0 12px}
.sh-locked-body{color:var(--text-secondary);font-size:17px;line-height:1.55;margin:0 0 24px}

/* a word to the shop owner: nobody else is served this markup */
.sh-note{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 clamp(14px,2vw,22px);
  padding:11px 15px;border-radius:8px;font-size:14px;line-height:1.5;
  color:color-mix(in srgb,var(--text-primary) 86%,transparent);
  background:color-mix(in srgb,var(--sh-accent) 9%,transparent);
  border:1px solid color-mix(in srgb,var(--sh-accent) 34%,transparent)}
.sh-note-tag{flex:none;font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  padding:3px 8px;border-radius:99px;color:var(--sh-accent);
  background:color-mix(in srgb,var(--sh-accent) 16%,transparent)}
.sh-note a{color:var(--sh-accent);text-decoration:underline;text-underline-offset:3px}

/* 4.12.1: a 24px-tall hit area for the small text links, drawn exactly as before */
.sh-back,.sh-all{display:inline-flex;align-items:center;min-height:var(--tap,44px);padding-block:0;margin-block:-10px}

/* 4.100 · Preorder on the runway card, in the bronze of the brand */
.sp-pre{color:#E8C48F}
