/* side.css: the playful skin for the side pages (collections, products, journal, size tools, policies, bag,
   checkout, order, saved, search). build_ship.py links it after playful.css and after each page's own rules, so it
   has the last word. Layouts and copy are the Nov 10 build's; this file only dresses them.
   Rule of thumb: on the sky, text is ink. Anything muted or long sits on a white panel. */

/* ---------- old token names onto the playful ones ---------- */
:root{--gut:var(--g);--serif:var(--sans);--gold:#E9CF7E;--soft:#E6E4F2;--ease:cubic-bezier(.215,.61,.355,1);--max:1312px;--tile:#000}

/* ---------- frame: a band of sky behind the top of the page ---------- */
main.side{position:relative}
main.side>:not(.sky,.buybar){position:relative;z-index:1}
.side-sky{inset:-70px 0 auto;height:540px}
.side-sky .cl-1{width:230px;top:92px;left:auto;right:-84px}
.side-sky .cl-3{width:150px;top:318px;left:-58px;right:auto}
.side-sky .cl-4{display:none}
:where(main.side) p{margin:0 0 .9em}
main.side h1{font-size:clamp(40px,11.6vw,56px);text-wrap:balance}
main.side .note{font-size:14px;line-height:1.5;color:var(--mute)}
main.side .empty{color:var(--ink);font-weight:600}
.btn.ghost{background:#fff}

/* ---------- white panel ---------- */
.paper,.coll-copy,.g-body,.tl-sec,.tl-ctrl,.buy,#saved-list:has(>.empty){background:#fff;border:2px solid var(--ink);border-radius:28px}
.paper,.coll-copy,.g-body,.tl-sec,#saved-list:has(>.empty){padding:20px 16px 22px}
.paper>:first-child,.coll-copy>:first-child,.g-body>:first-child,.tl-sec>:first-child{margin-top:0}
.paper>:last-child,.coll-copy>:last-child,.g-body>:last-child,.tl-sec>:last-child{margin-bottom:0}
.paper h2,.coll-copy h2,.g-body h2{font-size:clamp(26px,7vw,34px);line-height:1;margin:1.3em 0 .45em}
.paper p,.paper li{font-size:16px;line-height:1.6}
.paper p:has(>.btn){margin-top:18px}
#checkout-bag:empty~p,#checkout-bag:has(>.center)~.bag-go,.bag-empty{display:none}
#checkout-bag:has(>.center)~.bag-empty{display:block}
/* 2026-11-18 serious pass, finding 11 (Andrew: "Calm bag and checkout now"): bag and checkout only */
.calmpay .ftr-peek,.calmpay .signup,.calmpay .star-face{display:none}
.trust4{display:grid;gap:9px;margin:20px 0 0;padding:16px 0 0;border-top:1.5px solid var(--hair);list-style:none}
.paper .trust4 li{font:500 14.5px/1.4 var(--sans);color:var(--ink)}

/* ---------- questions that open ---------- */
main.side details{border-bottom:1.5px solid var(--hair)}
main.side details:last-of-type{border-bottom:0}
main.side summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:10px 0;font-weight:700;font-size:15.5px;line-height:1.3;cursor:pointer;list-style:none;border-radius:8px}
main.side summary::-webkit-details-marker{display:none}
/* a question, a table cell or a caption never leaves one word alone on its last line */
main.side summary,main.side th,main.side td,main.side caption,.hub-txt>span,.buy .size span,.tl-opt span{text-wrap:balance}
/* 2026-11-18 serious pass, finding 8 (Andrew: "Thin navy plus, no disc"): a fine plus, a minus when open */
main.side summary:after{content:"+";flex:none;display:grid;place-items:center;width:28px;height:28px;font:300 30px/1 var(--sans);color:var(--ink)}
main.side details[open]>summary:after{content:"\2212"}
main.side details>div{padding:0 0 16px}
main.side details>div>:last-child{margin-bottom:0}
main.side details>div p{font-size:15.5px;line-height:1.55}

/* ---------- collection ---------- */
.coll-h{padding:22px 0 14px}
.coll-h p{max-width:56ch;margin:12px 0 0;font-size:16px;font-weight:500;line-height:1.45;text-wrap:balance}
.chiprow{margin:10px 0}
.lbl{display:block;margin-bottom:7px;font:700 11px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase}
.chips.scroll{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--g) * -1);padding:2px var(--g) 7px}
.chips.scroll::-webkit-scrollbar{display:none}
.chips.scroll .chip{flex:none}
main.side .chip svg{flex:none;width:15px;height:15px}
.chiprow .chip,.chips.scroll .chip{min-height:44px;padding:0 15px;font-size:14.5px}
/* 2026-11-18 serious pass, finding 7: the row of links under a collection is plain underlined text, not pills */
.chiprow.keep .chips{display:flex;flex-wrap:wrap;gap:0 20px;overflow:visible}
.chiprow.keep .chip{min-height:44px;padding:0;background:none;border:0;border-radius:0;font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;white-space:normal;box-shadow:none}
@media(hover:hover){.chiprow.keep .chip:hover{box-shadow:none;text-decoration-color:var(--pink)}}
.chip[aria-current=page]{background:var(--ink);color:#fff}
.chip[aria-current=page] .swatch{border-color:#fff}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:15px;font-weight:700}
.bar label{display:flex;align-items:center;gap:8px;font-weight:600}
.bar select{-webkit-appearance:none;appearance:none;min-height:44px;margin:0;padding:0 38px 0 16px;background:#fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%2317153A%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") right 15px center/12px auto no-repeat;border:2px solid var(--ink);border-radius:999px;font:600 14.5px/1 var(--sans);color:var(--ink);cursor:pointer}
.grid>.card:has(>.opt-line){grid-row:span 4}
.card .opt-line{margin:4px 5px 0;font-size:12.5px;line-height:1.35;color:var(--mute)}
.coll-copy{max-width:860px;margin-top:30px}
.coll-copy .answer{font-size:17px;font-weight:500;line-height:1.5}
.coll-copy h2{margin:22px 0 2px}
.guide-link{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:18px 0 6px;font-size:15px}
.guide-link span{padding:5px 9px 4px;background:var(--butter);border:2px solid var(--ink);border-radius:999px;font:700 10px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase}
.coll-links{display:flex;flex-direction:column;align-items:flex-start;margin:20px 0 0}
.coll-links .link{display:inline-flex;align-items:center;min-height:44px}
main.side-coll .sec{padding-top:38px}

/* ---------- product ---------- */
.crumb{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 12px}
.crumb a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 15px 0 12px;background:#fff;border:2px solid var(--ink);border-radius:999px;font-weight:700;font-size:13.5px;line-height:1;text-decoration:none;transition:transform .16s,box-shadow .16s}
.crumb a:before{content:"\2039";margin-top:-3px;font-size:19px;line-height:.7}
.pdp-grid{display:grid;gap:14px}
.gallery{min-width:0}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;background:#000;border:2px solid var(--ink);border-radius:26px}
.slides::-webkit-scrollbar{display:none}
.slides>img{flex:0 0 100%;width:100%;aspect-ratio:1;object-fit:contain;scroll-snap-align:start}
.film-slide{flex:0 0 100%;position:relative;display:flex;align-items:center;justify-content:center;margin:0;background:#000;scroll-snap-align:start}
.film-slide .film{width:100%;aspect-ratio:1;object-fit:contain}
.film-slide figcaption{position:absolute;left:12px;bottom:12px;padding:5px 8px;background:rgba(0,0,0,.55);border-radius:999px;font:700 10px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:#fff}
.thumbs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0;padding:0 5px}
.thumbs button{position:relative;flex:none;width:56px;height:56px;padding:0;background:#000;border:2px solid var(--ink);border-radius:14px;overflow:hidden;cursor:pointer}
.thumbs img{width:100%;height:100%;object-fit:cover}
.thumbs button[aria-current=true]{box-shadow:0 0 0 3px var(--pink),0 0 0 5px var(--ink)}
.th-film{position:relative}
.thumbs .play{position:absolute;left:4px;bottom:4px;display:grid;place-items:center;width:18px;height:18px;background:rgba(0,0,0,.7);border-radius:50%}
.thumbs .play svg{width:10px;height:10px}
.cap{margin:10px 5px 0;font-size:12.5px;font-weight:600;line-height:1.4}
.buy{padding:18px 16px 12px}
main.side .buy h1{font-size:clamp(34px,9.6vw,44px)}
.buy .heart{position:static;flex:0 0 44px!important;border:2px solid var(--ink)!important;margin:0}
.buy .heart:focus-visible{outline-color:var(--ink)}
.pdp-price{margin:10px 0 0;font:800 30px/1 var(--display);font-stretch:72%}
.buy .opt{margin:20px 0}
.buy .chips:has(>[data-opt=rs]){display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.buy [data-opt=rs]{min-width:0!important;padding:0!important;justify-content:center}
.buy .btn.wide{min-height:56px;font-size:16px}
.assure{margin:12px 0 0;font-size:13px;line-height:1.45;color:var(--mute);text-align:center}
.assure a{white-space:nowrap}
/* 2026-11-18 serious pass, finding 14: the ship line (in-stock silver only, app.js shows and hides it) and the packaging row */
.buy .shipline{margin:12px 0 0;font:600 14px/1.4 var(--sans);color:var(--ink);text-align:center}
.buy .shipline:not([hidden])+.assure{margin-top:4px}
.assure .pack{display:block}
.buy .twin{margin:20px 0 0;padding:14px 16px 6px;background:var(--tint);border:2px solid var(--ink);border-radius:18px}
.buy .twin p{margin:0}
.buy .twin p:first-child{font:800 23px/1.05 var(--display);font-stretch:72%;text-transform:lowercase}
.buy .twin .fn{margin:6px 0 0;font-size:12.5px;line-height:1.4;color:var(--mute)}
.buy .twin .link{display:inline-flex;align-items:center;min-height:44px}
.buy h2{margin:26px 0 6px!important;font:800 24px/1 var(--display)!important;font-stretch:68%!important;text-transform:lowercase}
.spec-line{margin:8px 0 0;font-size:15px;line-height:1.5}
.specs{width:100%;border-collapse:collapse;margin:8px 0;font-size:14.5px}
.specs th,.specs td{padding:10px 0;border-bottom:1.5px solid var(--hair);text-align:left;vertical-align:top}
.specs th{width:42%;padding-right:12px;font-weight:500;color:var(--mute)}
.specs td{font-weight:600}
.specs tbody tr:last-child>*{border-bottom:0}
.specs.wt th,.specs.wt td{width:auto;padding-right:10px}
.specs.wt th:last-child,.specs.wt td:last-child{padding-right:0}
/* phones: the first three columns keep to their words so the stone size column gets the rest */
@media(max-width:429.98px){
  .specs.wt{font-size:14px}
  .specs.wt th,.specs.wt td{padding-right:8px}
  .specs.wt th:not(:last-child),.specs.wt td:not(:last-child){width:1%}
  /* three columns: the middle one holds a sentence, so it shares the room instead of standing six lines tall */
  .specs.wt tr>:nth-child(2):nth-last-child(2){width:auto}
  .specs.wt th:last-child,.specs.wt td:last-child{padding-right:0}
}
@media(max-width:379.98px){
  .specs.wt{font-size:13px}
  .specs.wt th,.specs.wt td{padding-right:6px}
  .specs.wt th:last-child,.specs.wt td:last-child{padding-right:0}
}
.specs.wt thead th{font:700 11px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mute);border-bottom-color:var(--ink)}
.pdp .sec{margin-top:0!important}
.buybar{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:35;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 7px 7px 20px;background:#fff;border:2px solid var(--ink);border-radius:999px;box-shadow:0 3px 0 var(--ink);transform:translateY(calc(100% + 28px));visibility:hidden;transition:transform .28s cubic-bezier(.3,.7,.2,1),visibility 0s .28s}
.buybar.on{transform:none;visibility:visible;transition-delay:0s}
.buybar .price{font:800 24px/1 var(--display);font-stretch:72%}
.buybar .btn{min-height:46px}
.page:has(.buybar)+.ftr{padding-bottom:calc(104px + env(safe-area-inset-bottom))}

/* ---------- text pages: policies, bag, checkout, search, contact ---------- */
.prose{max-width:860px;padding-top:24px}
.prose>h1{margin-bottom:16px}
.paper table{width:100%;border-collapse:collapse;margin:10px 0 18px;font-size:14.5px}
.paper th,.paper td{padding:10px 8px 10px 0;border-bottom:1.5px solid var(--hair);text-align:left;vertical-align:top}
.paper .line:last-of-type{border-bottom:0}
main.side-order .paper{padding-top:26px;text-align:center}
main.side-order h1{margin:8px 0 12px}
main.side-order #order{margin:18px 0;text-align:left}
main.side-order #order:empty{display:none}
.saved-wrap{padding-top:24px}
.saved-wrap>h1{margin-bottom:16px}

/* ---------- journal ---------- */
.guide{padding-bottom:0}
.g-head{max-width:860px}
main.side .g-head h1{font-size:clamp(36px,10vw,50px);line-height:.98;margin:0 0 12px}
.g-date{margin:0 0 14px;font-size:13px;font-weight:600;color:var(--ink)}
.g-answer{max-width:none;margin:0 4px 20px 0;padding:15px 16px 14px;background:var(--butter);border:2px solid var(--ink);border-radius:20px;box-shadow:var(--pop);font:600 17px/1.45 var(--sans);letter-spacing:0}
.g-body{max-width:860px}
.g-body p,.g-body li{font-size:16.5px;line-height:1.6}
.g-body ul{display:grid;gap:9px;margin:0 0 1em;padding:0;list-style:none}
.g-body ul li{margin:0;padding-left:27px;background:url(/playful/star5-gold-a-200.webp) 0 .2em/19px auto no-repeat}
.g-tbl{border-top:0;margin:16px 0 22px}
.g-tbl th,.g-tbl td{border-bottom:1.5px solid var(--hair)}
.g-tbl thead th{font-weight:700;color:var(--ink);border-bottom:2px solid var(--ink)}
.g-tbl tbody tr:last-child>*{border-bottom:0}
.g-rail{margin:38px 0 0;padding-top:0;border-top:0}
.g-rail h2{margin:0 0 16px;font-size:clamp(34px,9.2vw,56px)}
.g-next{margin:22px 0 0}
.g-sources{margin-top:26px;padding:18px 16px 18px;border-top:2px solid var(--ink)}
.g-sources h2{margin:0 0 12px;font:700 11px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--mute)}
.g-sources ul{gap:8px;margin:0}
.g-sources ul li{padding-left:0;background:none;font-size:13px;line-height:1.5}
.j-list{gap:12px;margin:4px 0 0;border-top:0}
.j-item{padding:18px 18px 16px;background:#fff;border:2px solid var(--ink);border-radius:24px;transition:transform .16s,box-shadow .16s}
.j-item h2{margin:0 0 8px;font-size:clamp(26px,7vw,34px);line-height:1}
.j-item p{margin:0 0 10px;font-size:15.5px;line-height:1.5}
.j-item small{font-size:12.5px;font-weight:600;color:var(--mute)}
.j-item:hover h2{text-decoration:none}

/* ---------- size tools ---------- */
.tl{padding-bottom:0}
.tl-head{margin:0 0 16px}
.tl-answer{font-size:16.5px;font-weight:500;line-height:1.5}
.tl-app{margin:0 0 18px}
.tl-app>.tl-head{margin-bottom:14px}
.tl-app>.tl-answer{margin:16px 0 4px}
.tl-stage-col{background:#000;border:2px solid var(--ink);border-radius:24px;overflow:hidden}
.tl-stage,.tl-read{margin:0}
.tl-read{padding-inline:16px}
.tl-read .tl-big{font:800 clamp(30px,8vw,40px)/1 var(--display);font-stretch:72%;letter-spacing:0}
.tl-pct{font:800 clamp(40px,10.5vw,56px)/.9 var(--display);font-stretch:72%;letter-spacing:0}
.tl-pct small{font-family:var(--sans);font-stretch:100%}
.tl-meter{height:6px;border-radius:99px;overflow:hidden}
.tl-ctrl{margin-top:12px;padding:18px 16px 16px}
.tl-ctrl legend,.tl-lab{font-size:14px;font-weight:700}
.tl-lab span,.tl-ctrl legend span{font-weight:500}
.tl-ctrl fieldset:last-of-type{margin-bottom:18px}
.tl-shape,.tl-opt{background:#fff;border:2px solid var(--ink);border-radius:16px}
.tl-shape{font-weight:600}
.tl-opt b{font-weight:700}
.tl-seg,.tl-units{border:2px solid var(--ink);border-radius:999px;overflow:hidden}
.tl-seg button,.tl-units button{font-weight:600}
.tl-how{color:var(--ink)}
ol.tl-how{list-style:decimal}
.tl-val{font:800 30px/1 var(--display);font-stretch:72%}
/* four chips share a row: left to their own padding the last one runs off a 320px screen */
main.side .tl-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
main.side .tl-grid4 .chip{justify-content:center;padding-inline:4px}
/* the tool scripts rewrite these readouts with plain spaces, so the number keeps its unit here */
[data-o=fmm],[data-o=dims],[data-o=sizemm]{white-space:nowrap}
.tl-range input::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(90deg,var(--ink) var(--p),var(--hair) var(--p))}
.tl-range input::-moz-range-track{height:6px;border-radius:99px;background:var(--hair)}
.tl-range input::-moz-range-progress{height:6px;border-radius:99px;background:var(--ink)}
.tl-range input::-webkit-slider-thumb{width:30px;height:30px;margin-top:-12px;background:var(--pink);border:2px solid var(--ink);box-shadow:none}
.tl-range input::-moz-range-thumb{width:26px;height:26px;background:var(--pink);border:2px solid var(--ink);box-shadow:none}
.tl-range input:focus-visible{outline:3px solid var(--ink);border-radius:99px}
.tl-copy{min-height:44px;margin-top:6px;padding:0;border-bottom:0;font-size:14px;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}
.tl-sec{max-width:none;margin:0 0 18px}
.tl-sec h2{margin:0 0 12px;font-size:clamp(28px,7.6vw,38px);line-height:1}
.tl-tbl th,.tl-tbl td{border-bottom:1.5px solid var(--hair)}
.tl-tbl thead th{font-weight:700;color:var(--ink);border-bottom:2px solid var(--ink)}
.tl-tbl tbody tr:last-child>*{border-bottom:0}
.tl-links a{padding:15px 16px;background:var(--tint);border:2px solid var(--ink);border-radius:18px;font-weight:700;transition:transform .16s,box-shadow .16s}
.tl-links a span{font-weight:500}
.hub-jump{margin-bottom:16px}
.hub-cards{margin-bottom:18px}
.hub-card{border:2px solid var(--ink);border-radius:24px;transition:transform .16s,box-shadow .16s}
.hub-txt b{font:800 27px/1 var(--display);font-stretch:72%;letter-spacing:0;text-transform:lowercase}
.hub-go{font-weight:700}
.c3 .pv{font:800 24px/1 var(--display);font-stretch:72%;letter-spacing:0}
.pb-board{margin:0 0 18px;padding:20px 16px 22px;border:2px solid var(--ink);border-radius:28px}
.pb-top h2{font-size:clamp(28px,7.6vw,38px)}
.pb-tiles{border-radius:16px;overflow:hidden}
.pb-tile b{font:800 clamp(38px,10.5vw,64px)/1 var(--display);font-stretch:72%;letter-spacing:0}
.pb-cbar,.pb-bar{border-radius:99px;overflow:hidden}
.pb-ex{background:var(--tint);border:2px solid var(--ink);border-radius:20px}
.pb-ex h3{font:800 26px/1 var(--display);font-stretch:72%;letter-spacing:0;text-transform:lowercase}
.pb-bar{background:#fff}
.calm .dv-glint{animation-play-state:paused!important}

/* ---------- pointer ---------- */
@media(hover:hover){
  .crumb a:hover,.j-item:hover,.tl-links a:hover,.hub-card:hover{transform:translate(-2px,-2px);box-shadow:var(--pop)}
  .tl-shape:hover,.tl-opt:hover,.thumbs button:hover{box-shadow:3px 3px 0 var(--ink)}
  .thumbs button[aria-current=true]:hover{box-shadow:0 0 0 3px var(--pink),0 0 0 5px var(--ink)}
  main.side summary:hover{text-decoration:underline;text-decoration-color:var(--pink);text-decoration-thickness:2px;text-underline-offset:4px}
}

/* ---------- phones only ---------- */
@media(max-width:899px){
  .tl-stage-col{top:8px}
  .tl-shapes{scroll-padding-inline:var(--gut)}
  .tl-tbl caption{max-width:calc(100vw - var(--g) * 4 - 4px)}
}

/* ---------- 900 and up ---------- */
@media(min-width:900px){
  .side-sky{inset:-130px 0 auto;height:720px}
  .side-sky .cl-1{width:430px;top:150px;left:-150px;right:auto}
  .side-sky .cl-2{display:none}
  .side-sky .cl-3{width:270px;top:196px;left:auto;right:9%}
  .side-sky .cl-4{display:block;width:430px;top:392px;bottom:auto;right:-170px}
  main.side{--star-l:calc(max(32px,50% - 624px) + 1264px);--star-r:calc(max(32px,50% - 624px) + 1278px)}
  main.side-prose,main.side-order{--star-l:calc(50% + 440px);--star-r:calc(50% + 470px)}
  main.side-guide{--star-l:calc(max(32px,50% - 624px) + 900px);--star-r:calc(max(32px,50% - 624px) + 936px)}
  .side-sky .fl-gold{width:62px;top:178px;right:auto;left:var(--star-l)}
  .side-sky .fl-rose{width:46px;top:342px;right:auto;left:var(--star-r)}
  main.side h1{font-size:clamp(60px,5.8vw,92px)}
  .paper,.coll-copy,.g-body,.tl-sec,.tl-ctrl,.buy,#saved-list:has(>.empty){border-width:3px;border-radius:36px}
  .paper,.coll-copy,.g-body,.tl-sec,#saved-list:has(>.empty){padding:36px}
  .paper h2,.coll-copy h2,.g-body h2{font-size:clamp(32px,2.8vw,42px)}
  .paper p,.paper li{font-size:17.5px}
  main.side summary{min-height:62px;font-size:17px}
  main.side details>div p{font-size:16.5px}
  .coll-h{padding:44px 0 26px}
  .coll-h p{margin-top:16px;font-size:18px}
  .chips.scroll{flex-wrap:wrap;overflow:visible;margin-inline:0;padding:0}
  .chiprow{margin:16px 0}
  .bar{margin:26px 0 20px}
  .grid[data-cols="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .card .opt-line{margin:5px 6px 0;font-size:13.5px}
  .coll-copy{margin-top:56px}
  .coll-copy .answer{font-size:19px}
  .coll-links{flex-direction:row;flex-wrap:wrap;gap:0 30px;margin-top:26px}
  main.side-coll .sec{padding-top:60px}
  .crumb{margin:22px 0 18px}
  .pdp-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px;align-items:start}
  .gallery{position:sticky;top:var(--clear-top);justify-self:center;width:100%;max-width:max(440px,calc(100vh - var(--clear-top) - 124px))}
  .slides{border-width:3px;border-radius:34px}
  .thumbs button{width:68px;height:68px;border-radius:16px}
  .cap{font-size:13.5px}
  .buy{padding:30px 30px 20px}
  main.side .buy h1{font-size:clamp(40px,3.5vw,56px)}
  .pdp-price{font-size:38px}
  .buy h2{font-size:28px!important}
  .specs{font-size:15.5px}
  .spec-line{font-size:16px}
  .buybar{display:none}
  .page:has(.buybar)+.ftr{padding-bottom:44px}
  .prose{max-width:calc(820px + var(--g) * 2);padding-top:44px}
  .prose>h1{margin-bottom:26px}
  main.side-order .paper{padding-top:44px}
  .saved-wrap{padding-top:44px}
  .saved-wrap>h1{margin-bottom:26px}
  main.side .g-head h1{font-size:clamp(52px,4.8vw,76px);margin-bottom:16px}
  .g-answer{margin:0 0 30px;padding:20px 24px 18px;border-width:3px;border-radius:24px;font-size:20px}
  .g-body p,.g-body li{font-size:18px}
  .g-rail{margin-top:64px}
  .g-rail h2{margin-bottom:24px}
  .g-sources{margin-top:36px;padding:26px 36px;border-top-width:3px}
  .j-list{gap:22px}
  .j-item{padding:26px 28px 24px;border-width:3px;border-radius:30px}
  .tl-head{margin-bottom:26px}
  .tl-answer{font-size:18px}
  .tl-app{margin-bottom:28px;column-gap:40px}
  .tl-app>.tl-answer{margin:0 0 22px}
  .tl-stage-col{top:var(--clear-top);border-width:3px;border-radius:34px}
  .tl-read{padding-inline:24px}
  .tl-ctrl{margin-top:0;padding:28px 28px 24px}
  .tl-sec{margin-bottom:28px}
  .tl-sec h2{font-size:clamp(34px,3vw,46px);margin-bottom:16px}
  .hub-cards{margin-bottom:28px}
  .hub-card{border-width:3px;border-radius:30px}
  .hub-txt b{font-size:32px}
  .c3 .pv{font-size:36px}
  .pb-board{margin-bottom:28px;padding:34px 36px 32px;border-width:3px;border-radius:36px}
  .pb-ex{border-width:3px;border-radius:26px}
}

/* ==================== 2026-11-18 pass 2, shop side (review-2026-11-18/PASS2_BUILD_BRIEF.md, Phase B) ==================== */

/* B2, the compact Size block (ideas/pdp-image/scripts/mock.cjs JS_C and CSS_C): studs, one row per size with its weights as
   chips; tennis, the size cards without their description line; one description line for the picked size under either */
.c-rows{display:grid;gap:8px}
.c-row{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:8px}
.c-name{font:600 14.5px/1.2 var(--sans);color:var(--mute)}
.c-row.on .c-name{font-weight:700;color:var(--ink)}
.c-chips{display:flex;gap:8px}
.opt .c-chips .chip{flex:1 1 0;justify-content:center;min-width:0;min-height:44px;padding:0 8px;font-size:14px;white-space:nowrap}
.buy .opt-size .sizes .size{min-height:0;padding:9px 14px 10px}
.buy .opt-size .size b{margin-bottom:1px;font-size:16px}
.c-desc{margin:10px 0 0;font-size:14px;line-height:1.4;color:var(--mute)}
@media(max-width:359.98px){
  .c-row{grid-template-columns:86px minmax(0,1fr);gap:6px}
  .c-name{font-size:13.5px}
  .c-chips{gap:6px}
  .opt .c-chips .chip{padding:0 4px;font-size:13px}
}

/* B3, the pinned photo (ideas/pdp-image/PDP_IMAGE.md, "Pinned photo that shrinks", design "Split"). Phones only: from 900 up every
   wrapper folds away and the gallery is sticky as before. The pin is sticky once app.js runs (.p-on), so with no script the page
   reads as it always did. Motion is paint only: the photo scales (transform), the frame is clipped (clip-path), the bottom edge
   and the panel slide (transform). The spacer keeps the full square in the flow, so nothing below ever moves. */
.p-div,.p-info,.p-edge,.p-space{display:none}
@media(max-width:899px){
  .pdp-grid{display:block}
  .pdp-grid .gallery{display:contents}
  /* 2026-11-18 hero build, Job 2: the pinned photo is a third of the screen, capped by the room the panel beside it needs. On a
     tall, narrow phone the third left the panel too narrow and its text ran past the card's edge. The panel is W - photo - 22 px
     wide (W, the pin's width, is the screen less two gutters) and its text wraps 4 px short of its right edge; the widest piece of
     panel text that cannot wrap is 92 px ("10k gold, Yellow" in the picks, WebKit; _src/gates/pinneed.cjs, all 23 pages), so the
     photo is never taller than W - 124 px: 102 px of panel, 98 for the text, 6 to spare. Every height that read 33.333svh reads --p-h. */
  :root{--p-h:min(33.333vh,calc(100vw - 2 * var(--g) - 124px))}
  @supports(height:1svh){:root{--p-h:min(33.333svh,calc(100vw - 2 * var(--g) - 124px))}}
  .p-pin{position:relative;z-index:20;height:var(--p-h)}
  /* app.js sets the top from the header's live bottom edge (flush under it, or the screen's top edge with it away; fix batch 5) */
  .pdp.p-on .p-pin{position:sticky;top:69px}
  .p-space{display:block;aspect-ratio:1;margin-top:calc(-1 * var(--p-h));pointer-events:none}
  .p-frame{position:absolute;left:0;top:0;width:100%;aspect-ratio:1;transform:translateY(var(--p-sy,0px));background:#fff;border:2px solid var(--ink);border-radius:var(--p-rt,26px) var(--p-rt,26px) 26px 26px;overflow:hidden;clip-path:inset(0 0 var(--p-cut,0px) 0 round var(--p-rt,26px) var(--p-rt,26px) 26px 26px)}
  .p-frame>.slides{border:0;border-radius:0;transform:scale(var(--p-k,1));transform-origin:0 0}
  .p-edge{display:block;position:absolute;left:0;right:0;top:0;height:28px;border:2px solid var(--ink);border-top:0;border-radius:0 0 26px 26px;transform:translateY(var(--p-ey,0px));box-shadow:0 calc(3px * var(--p-sh,0)) 0 var(--ink);opacity:var(--p-eo,0);pointer-events:none}
  .p-div{display:block;position:absolute;top:0;bottom:0;left:0;width:2px;background:var(--ink);transform:translateX(var(--p-dx,0px));opacity:var(--p-io,0);pointer-events:none}
  /* the panel stands at its final place and width and shows only once the photo has cleared it (fix batch 1: no text cut by the
     card's edge, no half-faded text at rest); the fade lasts .18 s */
  .p-info{display:flex;position:absolute;top:0;left:0;width:calc(100% - var(--p-h) - 22px);height:calc(var(--p-h) - 4px);padding-right:4px;flex-direction:column;justify-content:center;gap:7px;transform:translateX(var(--p-tx,100vw));opacity:var(--p-io,0);transition:opacity .18s ease;pointer-events:none}
  .p-name{font:800 21px/1 var(--display);font-stretch:72%;text-transform:lowercase;color:var(--ink)}
  .p-price{font:800 30px/1 var(--display);font-stretch:72%;color:var(--ink)}
  .p-price.p-ask{font-size:20px;line-height:1.05}
  .p-picks{font:600 12.5px/1.35 var(--sans);color:var(--mute);text-wrap:balance}
  /* hero build, Job 2: under 340 px the capped photo is 164 px tall and the longest panel (a three-line name, a three-line picks
     line) had under 1 px above and below it; the gaps and the picks' leading close up a little there */
  @media(max-width:339px){.p-info{gap:4px}.p-picks{line-height:1.25}}
  /* the buy card ends with the last choice; Add to bag and the rest follow in a second card drawn as the same card */
  .buy.p-head{display:flow-root;margin-top:14px;padding-bottom:0;border-bottom:0;border-radius:28px 28px 0 0}
  .buy.p-rest{padding-top:0;border-top:0;border-radius:0 0 28px 28px}
  .buy.p-rest>:first-child{margin-top:0}
  /* keyboard focus, anchors and scrollIntoView land under the photo, never behind it (header down: 79 px plus the photo) */
  html.pin-on{scroll-padding-top:calc(71px + var(--p-h) + 16px)}
  /* the text links in the group headings keep their look and get a 44 px tap height */
  .buy .opt-h a.link{padding-block:10.5px;margin-block:-10.5px}
}
@media(min-width:900px){
  .p-hold,.p-pin,.p-frame{display:contents}
  .pdp-grid{row-gap:0}
  .pdp-grid .gallery{grid-column:1;grid-row:1/span 2}
  .buy.p-head,.buy.p-rest{grid-column:2}
  .buy.p-head{padding-bottom:0;border-bottom:0;border-radius:36px 36px 0 0}
  .buy.p-rest{padding-top:0;border-top:0;border-radius:0 0 36px 36px}
  .buy.p-rest>:first-child{margin-top:0}
}

/* B4, the bottom buy bar carries a live thumbnail and the picks line (ideas/pdp-image/scripts/mock.cjs, option A). The bar is
   phones only (it does not exist from 900 up), so there is no desktop version of it. */
.buybar .a-th{flex:0 0 54px;width:54px;height:54px;padding:2px;background:#fff;border:1px solid var(--hair);border-radius:999px;cursor:pointer}
.buybar .a-th img{display:block;width:100%;height:100%;border-radius:999px;object-fit:cover;background:#000}
.buybar .a-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.buybar .a-info .price{font:800 21px/1 var(--display);font-stretch:72%}
.buybar .a-sum{font:600 11.5px/1.25 var(--sans);color:var(--mute);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}
.buybar:has(.a-th){justify-content:flex-start;gap:10px;padding:5px 6px 5px 5px}
.buybar:has(.a-th) .btn{flex:none;padding:0 18px;margin-left:auto}

/* B5 (review-pass/PICTURE_REVIEW.md). FIX 2: the empty bag reads down one left edge: the line, Shop all, the four trust lines */
main.side-prose #checkout-bag>.center,main.side-prose .bag-empty.center{text-align:left}
main.side-prose #checkout-bag>.center p{margin:0}
main.side-prose .bag-empty{margin:16px 0 0}
/* FIX 9: the bag page's Remove sits under the line's options, 44 px tall like the drawer's */
main.side-prose #checkout-bag .line button{display:block;margin-top:2px}
/* FIX 5: the metal comparison table shares its four metal columns evenly on desktop, so no column is squeezed */
@media(min-width:900px){
  .g-tbl.g-even table{table-layout:fixed}
  .g-tbl.g-even thead th{white-space:normal}
  .g-tbl.g-even thead th:first-child{width:19%}
  /* FIX 7: the Sources label stays a small label on desktop too (a heading size rule for .g-body h2 was winning) */
  .g-body.g-sources h2{font-size:12px;line-height:1}
}
/* B3: every choice keeps a 44 px tap target on small phones: the ring size grid closes its gaps under 375 and drops to five
   columns under 340 (six columns of 42 px at 360 before) */
@media(max-width:374.98px){.buy .chips:has(>[data-opt=rs]){column-gap:6px}}
@media(max-width:339.98px){.buy .chips:has(>[data-opt=rs]){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ==================== 2026-11-18 pass 2, Phase B fix batch (review-pass2/INDEPENDENT_REVIEW_B.md) ==================== */
/* 8: a Remove tapped with a finger or mouse hands focus on without the ring; a key press brings the ring back */
main.side .no-ring:focus,main.side .no-ring:focus-visible{outline:none}
/* 7: a scrolling chip row ends with the same 16 px gutter it starts with (WebKit does not scroll into a flex row's end padding) */
@media(max-width:899px){
  .chips.scroll{padding-right:0}
  .chips.scroll::after{content:"";flex:0 0 calc(var(--g) - 8px)}
}
/* 9 (#11): a card title does not leave one word alone on its last line */
.card h3{text-wrap:balance}
/* 9 (#13): under 375 the three colour chips close up a little so Rose does not drop to a row of its own (one row from 340 up) */
@media(max-width:374.98px){
  .buy .chips:has(>[data-opt=color]){gap:6px}
  .buy .chips:has(>[data-opt=color])>.chip{gap:6px;padding:0 12px}
}
