/* OBJECT: corners sharpened by rebrand.py */
/* =====================================================================
   OBJECT — product detail page (product.html)
   Layout: sticky gallery (thumb rail + stage) beside the buying panel,
   then detail tiles, reviews and related products.
   ===================================================================== */

.pdp { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 18px); }
.pdp__loading { min-height: 70vh; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--text); direction: ltr; unicode-bidi: isolate; }

.pdp__top > *, .gal > *, .rev__grid > * { min-width: 0; }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 16px; }

/* ---------- gallery ---------- */
.gal { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
.gal__thumbs { display: grid; gap: 10px; align-content: start; margin: 0; padding: 0; list-style: none; max-height: min(640px, 80vh); overflow-y: auto; scrollbar-width: none; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb { display: block; width: 100%; aspect-ratio: 1; border-radius: 3px; overflow: hidden; border: 2px solid transparent; background: #0c0c0c; opacity: .62; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb:hover { opacity: 1; }
.gal__thumb[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.gal__stage { position: relative; aspect-ratio: 1; max-width: 100%; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: radial-gradient(90% 80% at 50% 30%, #1a1816 0%, #0b0b0b 70%); }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; cursor: zoom-in; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.gal__slide.is-contain img { object-fit: contain; padding: 4%; }
.gal__slide.is-contain { background: #0C0C0C; } /* the photos' own background: no box around them */
.gal__slide.is-zoom img { transform: scale(2.1); }
/* the main photo of a studio product: the shirt in 3D, floating and turning */
.gal__slide.is-3d video { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s var(--ease); }
.gal__slide.is-3d.is-zoom video { transform: scale(2.1); }
.gal__btn { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 9, 8, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #E6DACC; border: 1px solid rgba(255, 255, 255, .14); transform: translateY(-50%); transition: background .2s, border-color .2s, opacity .2s; }
.gal__btn:hover { border-color: var(--orange); color: var(--orange); }
.gal__btn[disabled] { opacity: 0; pointer-events: none; }
.gal__prev { inset-inline-start: 14px; }
.gal__next { inset-inline-end: 14px; }
.gal__tools { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; display: flex; gap: 8px; }
.gal__tool { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 9, 8, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); color: #E6DACC; }
.gal__tool:hover { border-color: var(--orange); color: var(--orange); }
.gal__tool .i { width: 19px; height: 19px; }
.gal__badge { position: absolute; z-index: 2; top: 18px; inset-inline-start: 18px; }
.gal__count { position: absolute; z-index: 2; bottom: 14px; left: 14px; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(10, 9, 8, .6); color: #E6DACC; font-family: var(--f-logo); font-size: 12px; font-weight: 700; letter-spacing: .06em; direction: ltr; }
[dir="ltr"] .gal__count { left: auto; right: 14px; }
.gal__hint { position: absolute; z-index: 2; bottom: 14px; inset-inline-start: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(10, 9, 8, .6); color: #D8D0C7; font-size: 12px; pointer-events: none; }
.gal__hint .i { width: 15px; height: 15px; }

/* ---------- buying panel ---------- */
.info { display: grid; gap: 18px; min-width: 0; }
.info__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info__brand { display: inline-flex; align-items: center; gap: 10px; }
.info__brand .eyebrow { letter-spacing: .26em; }
.info__share { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: color .2s, border-color .2s; }
.info__share:hover { color: var(--orange); border-color: var(--orange); }
.info__share .i { width: 18px; height: 18px; }
.info__name { font-size: clamp(26px, 2.7vw, 38px); font-weight: 700; line-height: 1.15; direction: ltr; text-align: right; }
[dir="ltr"] .info__name { text-align: left; }
.info__sub { margin-top: -10px; font-size: 14.5px; color: var(--text-2); }
.rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.rate .stars .i { width: 17px; height: 17px; }
.rate b { color: var(--text); font-family: var(--f-logo); font-size: 15px; }
.rate a { text-decoration: underline; text-underline-offset: 4px; }
.rate a:hover { color: var(--ink); }
.rate__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.rate__new { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; }
.rate__new .i { width: 16px; height: 16px; }
.info__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.info__price .now { color: var(--ink); font-size: 32px; font-weight: 700; line-height: 1; }
.info__price .now small { font-size: .5em; font-weight: 600; }
.info__price .was { color: var(--muted); font-size: 17px; text-decoration: line-through; }
.info__vat { width: 100%; font-size: 12.5px; color: var(--muted); }
.info hr { width: 100%; height: 1px; margin: 2px 0; border: 0; background: var(--line); }
.opt { display: grid; gap: 12px; }
.opt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.opt__head b { font-weight: 600; }
.opt__head span { color: var(--text-2); }
.opt__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; }
.opt__link:hover { color: var(--ink); }
.opt__link .i { width: 18px; height: 18px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.swatch { position: relative; display: block; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; border: 2px solid var(--line); background: #0c0c0c; transition: border-color .2s, transform .2s var(--ease); }
.swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.swatch::after { content: ""; position: absolute; bottom: 5px; inset-inline-end: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.swatch:hover { transform: translateY(-2px); border-color: var(--line-2); }
.swatch[aria-checked="true"] { border-color: var(--orange); }
.pdp-sizes { justify-content: flex-end; flex-wrap: wrap; }
[dir="ltr"] .pdp-sizes { justify-content: flex-start; }
.pdp-sizes .size { min-width: 66px; height: 48px; font-size: 15px; border-radius: var(--r-sm); }
.fit { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.fit .i { width: 18px; height: 18px; color: var(--orange); flex: none; }
.stock { display: flex; align-items: center; gap: 8px; min-height: 22px; font-size: 14px; font-weight: 500; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(53, 194, 122, .15); }
.stock.is-low { color: var(--ink); }
.stock.is-low::before { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.stock.is-out { color: var(--muted); }
.stock.is-out::before { background: var(--muted); box-shadow: none; }
.stock button { margin-inline-start: auto; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.buy { display: flex; gap: 10px; }
.buy .qty { height: 56px; margin: 0; }
.buy .qty button { width: 42px; }
.buy__add { flex: 1; --h: 56px; font-size: 16px; }
.buy__wish { --h: 56px; }
.buy__wish[aria-pressed="true"] { color: var(--orange); border-color: var(--orange-line); }
.buy__wish[aria-pressed="true"] .i { fill: currentColor; }
.buy-now { --h: 52px; }
.ship-box { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ship-box > div { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; }
.ship-box > div + div { border-top: 1px solid var(--line); }
.ship-box > div > p, .ship-box__txt { flex: 1; min-width: 0; }
.ship-box__txt > b { display: block; font-size: 14.5px; font-weight: 600; } /* a div, not a <p>: a <p> can't hold the logo row */
.ship-box .i { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
.ship-box p > b { display: block; font-size: 14.5px; font-weight: 600; }
.ship-box p > span { display: block; font-size: 13.5px; color: var(--text-2); }
.ship-box .money, .acc__body .money { color: var(--ink); font-weight: 600; }
.ship-box .pays { margin-top: 8px; gap: 6px; max-width: 254px; }
.ship-box .pay { box-shadow: 0 0 0 1px var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; gap: 12px; min-height: 56px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 20px; height: 20px; color: var(--orange); }
.acc summary::after { content: ""; width: 9px; height: 9px; margin-inline-start: auto; border: solid var(--text-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.acc details[open] summary::after { transform: rotate(225deg) translateY(-3px); border-color: var(--orange); }
.acc__body { padding: 0 0 18px; font-size: 14.5px; line-height: 1.85; color: var(--text-2); }
.acc__body ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.acc__body li { display: flex; gap: 10px; }
.acc__body li .i { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--orange); }
/* care: the real laundry symbols, each in a small tile */
.acc__body .care-list { gap: 10px; }
.acc__body .care { align-items: center; gap: 12px; }
.care__sym { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); color: var(--text); }
.care__sym svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.care__sym text { fill: currentColor; stroke: none; font: 700 12.5px var(--f-logo); text-anchor: middle; }
.care__sym .care__dot { fill: currentColor; stroke: none; }
.acc .guide { margin-top: 4px; }

/* ---------- detail tiles ---------- */
.sect { margin-top: clamp(48px, 6vw, 80px); }
.sect__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.sect__head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.sect__head p { color: var(--text-2); font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; max-width: 100%; padding: 22px; border-radius: 4px; overflow: hidden; isolation: isolate; }
.tile img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(6, 5, 4, .9) 8%, rgba(6, 5, 4, .15) 55%, rgba(6, 5, 4, 0) 75%); }
.tile:hover img { transform: scale(1.05); }
.tile .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 3px; background: rgba(226, 98, 31, .18); color: var(--orange); }
.tile .ic .i { width: 22px; height: 22px; }
.tile h3 { font-size: 18px; color: #E6DACC; }
.tile p { margin-top: 4px; font-size: 14px; color: #CFC7BE; line-height: 1.7; }

/* ---------- reviews ---------- */
.rev { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.rev__grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.rev__sum { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rev__score { display: flex; align-items: center; gap: 16px; }
.rev__score b { font-family: var(--f-logo); font-size: 56px; line-height: 1; color: var(--text); }
.rev__score .stars .i { width: 19px; height: 19px; }
.rev__score > div > span:not(.stars) { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.dist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dist button { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 10px; width: 100%; font-size: 13px; color: var(--text-2); border-radius: 2px; }
.dist button:hover { color: var(--text); }
.dist button[aria-pressed="true"] { color: var(--ink); }
.dist__star { display: flex; align-items: center; gap: 4px; font-family: var(--f-logo); font-weight: 700; direction: ltr; }
.dist__star .i { width: 13px; height: 13px; color: var(--orange); }
.dist__bar { height: 8px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.dist__bar span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.dist__pc { font-family: var(--f-logo); font-weight: 600; text-align: end; }
.fitm h3 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.fitm__bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fitm__bar span { height: 8px; border-radius: 2px; background: var(--surface-3); }
.fitm__dot { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid var(--surface); transform: translate(50%, -50%); box-shadow: 0 0 0 1px var(--orange); }
[dir="ltr"] .fitm__dot { transform: translate(-50%, -50%); }
.fitm__labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.fitm p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.rev__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rev__tools[hidden] { display: none; }
.rev__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rev__chips .chip { font-family: var(--f-ar); font-size: 13px; letter-spacing: 0; }
.rev__sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.rev__sort select { height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: 13.5px; }
.rlist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rcard { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); animation: copy-in .4s var(--ease); }
.rcard__top { display: flex; align-items: center; gap: 12px; }
.rcard__av { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 17px; color: #fff; }
.rcard__who b { display: block; font-size: 15px; }
.rcard__who span { font-size: 12.5px; color: var(--muted); }
.rcard__ok { display: inline-flex; align-items: center; gap: 5px; margin-inline-start: auto; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(53, 194, 122, .12); color: var(--success); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rcard__ok .i { width: 14px; height: 14px; }
.rcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.rcard__meta .stars .i { width: 15px; height: 15px; }
.rcard__meta .tag { padding: 2px 10px; border-radius: var(--r-pill); background: var(--surface-3); font-size: 12px; }
.rcard__text { font-size: 15px; line-height: 1.85; color: var(--text); }
.rev__more { justify-self: center; margin-top: 16px; }
.rev__empty { padding: 30px; text-align: center; color: var(--text-2); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* write a review */
.rform { display: grid; gap: 14px; padding: 26px; }
.rform h2 { font-size: 22px; }
.rform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.rform input, .rform select, .rform textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); font-size: 15px; font-weight: 400; }
.rform textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.rform input:focus, .rform select:focus, .rform textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.starpick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; margin: 0; padding: 0; }
[dir="ltr"] .starpick { flex-direction: row-reverse; justify-content: flex-end; }
.starpick legend { float: right; width: 100%; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
[dir="ltr"] .starpick legend { float: left; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starpick label { cursor: pointer; color: var(--line-2); }
.starpick label .i { width: 34px; height: 34px; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: var(--orange); }
.starpick input:focus-visible + label { outline: 2px solid var(--orange); border-radius: 2px; }
.rform__err { min-height: 20px; color: var(--danger); font-size: 13px; }
.rmodal .modal__box { grid-template-columns: 1fr; width: min(560px, 100%); }

/* ---------- related ---------- */
.rel .slider { margin-top: 0; }

/* ---------- lightbox ---------- */
.lb { position: fixed; z-index: 95; inset: 0; display: grid; place-items: center; background: rgba(5, 4, 3, .94); opacity: 0; transition: opacity .25s var(--ease); }
.lb.is-open { opacity: 1; }
.lb img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; border-radius: 2px; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #E6DACC; }
.lb__btn:hover { border-color: var(--orange); color: var(--orange); }
.lb__x { top: max(18px, env(safe-area-inset-top, 0px)); inset-inline-end: 18px; }
.lb__prev { top: 50%; inset-inline-start: 18px; transform: translateY(-50%); }
.lb__next { top: 50%; inset-inline-end: 18px; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: max(22px, env(safe-area-inset-bottom, 0px)); padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #E6DACC; font-family: var(--f-logo); font-weight: 700; font-size: 13px; direction: ltr; }

/* ---------- sticky buy bar (phones) ---------- */
.buybar { display: none; }

@media (max-width: 1000px) {
  .pdp__top { grid-template-columns: minmax(0, 1fr); }
  .gal { position: static; }
  .rev__grid { grid-template-columns: minmax(0, 1fr); }
  .rev__sum { position: static; }
}
@media (max-width: 760px) {
  .gal { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gal__stage { order: -1; border-radius: 4px; }
  .gal__thumbs { display: flex; gap: 8px; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .gal__thumbs li { flex: 0 0 64px; }
  .gal__btn { display: none; }
  .gal__hint { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .tile { padding: 16px; }
  .tile h3 { font-size: 16px; }
  .tile p { font-size: 13px; }
  .swatch { width: 56px; height: 56px; }
  .pdp-sizes .size { min-width: 0; flex: 1; }
  .buy .qty button { width: 36px; }
}
@media (max-width: 400px) {
  /* narrow phones: add-to-cart gets its own full row, quantity + wishlist sit under it */
  .info > * { min-width: 0; }
  .buy { flex-wrap: wrap; }
  .buy__add { flex: 1 1 100%; order: -1; }
  .buy .qty { flex: 1; justify-content: space-between; }
  .rform { padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }

  .buybar {
    position: fixed;
    z-index: 45;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--hdr-solid);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .3s var(--ease);
  }
  .buybar.is-on { transform: none; }
  .buybar img { width: 46px; height: 46px; border-radius: 2px; object-fit: cover; background: #0c0c0c; }
  .buybar__txt { min-width: 0; flex: 1; }
  .buybar__txt b { display: block; font-size: 14px; direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [dir="ltr"] .buybar__txt b { text-align: left; }
  .buybar__txt span { color: var(--ink); font-weight: 600; font-size: 14px; }
  .buybar .btn { --h: 46px; padding: 0 16px; font-size: 14.5px; }
  body.has-buybar .totop { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}

/* PHONE LAYOUT (≤760px) — smaller photo, compact detail list. Phone only: desktop is unchanged. */
@media (max-width: 760px) {
  .gal__stage { aspect-ratio: 5 / 4; }
  .gal__slide.is-contain img { padding: 2%; }
  .gal__thumbs li { flex: 0 0 54px; }
  .info { gap: 14px; }
  .info__name { font-size: 22px; }
  .info__price .now { font-size: 26px; }
  .swatch { width: 48px; height: 48px; border-radius: 3px; }
  .sect { margin-top: 36px; }
  .sect__head { margin-bottom: 14px; }
  .sect__head h2 { font-size: 20px; }
  .sect__head p { font-size: 13.5px; }
  /* "details that matter": compact rows, small photo beside the text */
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile, .tiles .tile:last-child { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; grid-column: auto; aspect-ratio: auto; padding: 10px; border: 1px solid var(--line); background: var(--surface); }
  .tile img { position: static; z-index: 0; grid-row: 1 / span 2; grid-column: 1; width: 72px; height: 72px; border-radius: 2px; }
  .tile::after, .tile .ic { display: none; }
  .tile h3 { grid-column: 2; align-self: end; font-size: 15px; color: var(--text); }
  .tile p { grid-column: 2; align-self: start; margin-top: 2px; font-size: 13px; color: var(--text-2); line-height: 1.55; }
  .rev__sum { gap: 14px; padding: 16px; }
  .rev__score b { font-size: 44px; }
  .rcard { padding: 14px; }
}

/* review form: how it fits, and notes */
.fitpicks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.fitpicks legend { width: 100%; margin-bottom: 6px; font-size: 14px; color: var(--text-2); }
.fitpick { cursor: pointer; }
.fitpick input { position: absolute; opacity: 0; pointer-events: none; }
.fitpick span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: border-color .2s, background .2s; }
.fitpick input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--text); font-weight: 600; }
.fitpick input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.rform__note { margin: -4px 0 12px; padding: 8px 12px; border-radius: 2px; background: var(--orange-soft); font-size: 13px; }
.rev__note { display: flex; gap: 8px; margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.rev__note .i { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--success); }
