/* One Six Product Hero */
.os.os-pd { --os-pd-gap: 4px; background-color: var(--os-paper); padding: clamp(16px, 2vw, 32px) 0 clamp(64px, 8vw, 120px); }
.os .os-pd__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: clamp(28px, 4.4vw, 80px); align-items: start; }

/* ───────── gallery ───────── */
.os .os-pd__gallery { min-width: 0; }
.os .os-pd__shots { outline: 0; }
.os .os-pd__shot { position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background-color: var(--os-stone); cursor: zoom-in; }
.os .os-pd__shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s var(--os-ease); }
.os.os-pd[data-zoom="0"] .os-pd__shot { cursor: default; }

/* grid: every photo at its own size, two across */
.os.os-pd.is-grid .os-pd__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--os-pd-gap); }
.os.os-pd.is-grid .os-pd__shot:hover img { transform: scale(1.02); }

/* stage: one photo with thumbnails */
.os.os-pd.is-stage .os-pd__gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); }
.os.os-pd.is-stage .os-pd__gallery.is-thumbs-side { grid-template-columns: 72px minmax(0, 1fr); }
.os.os-pd.is-stage .os-pd__gallery.is-thumbs-side .os-pd__thumbs { order: -1; flex-direction: column; }
.os.os-pd.is-stage .os-pd__shots { position: relative; aspect-ratio: 2 / 3; }
.os.os-pd.is-stage .os-pd__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.os.os-pd.is-stage .os-pd__shot.is-on { opacity: 1; z-index: 1; }
.os .os-pd__thumbs { display: flex; gap: 8px; }
.os .os-pd__thumb { position: relative; width: 72px; aspect-ratio: 2 / 3; flex: none; overflow: hidden; background-color: var(--os-stone); border: 1px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.os .os-pd__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.os .os-pd__thumb:hover, .os .os-pd__thumb[aria-selected="true"] { opacity: 1; border-color: var(--os-ink); background-color: var(--os-stone); }
.os .os-pd__dots { display: none; }

/* ───────── summary ───────── */
.os .os-pd__summary { min-width: 0; align-self: stretch; }
.os .os-pd__sticky { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 78px); display: grid; gap: 22px; padding-top: 4px; }
.os .os-pd__range { justify-self: start; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--os-mute); text-decoration: none; }
.os .os-pd__range:hover { color: var(--os-ink); }
.os.os-pd .os-pd__h { margin: -6px 0 0; font-family: var(--os-font-serif); font-size: clamp(32px, 2.8vw, 44px); font-weight: 300; line-height: 1.06; letter-spacing: -.01em; }
.os .os-pd__print { display: block; margin-top: 10px; font-family: var(--os-font-sans); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--os-mute); }
.os .os-pd__pricing { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: -8px; }
.os .os-pd__price { margin: 0; font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; }
.os .os-pd__price del { color: var(--os-mute); font-size: .88em; margin-right: 8px; }
.os .os-pd__price ins { text-decoration: none; }
.os .os-pd__save { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--os-accent); color: var(--os-accent); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.os .os-pd__short { font-size: 15px; color: var(--os-mute); }
.os .os-pd__short p + p { margin-top: .3em; }

/* option heading row: label · chosen value · guide */
.os .os-pd__ohead { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.os .os-pd__ohead b, .os .os-pd__chosen { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--os-ink); }
.os .os-pd__guide { margin-left: auto; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--os-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.os .os-pd__guide:hover { color: var(--os-mute); background: none; }

/* other prints */
.os .os-pd__swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.os .os-pd__swatch { position: relative; display: block; width: 52px; aspect-ratio: 3 / 4; padding: 2px; border: 1px solid transparent; transition: border-color .2s; }
.os .os-pd__swatch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; background: var(--os-stone); }
.os .os-pd__swatch:hover { border-color: var(--os-mute); }
.os .os-pd__swatch.is-current { border-color: var(--os-ink); }
.os .os-pd__swatch.is-out img { opacity: .4; }
.os .os-pd__swatch.is-out::after { content: ""; position: absolute; inset: 2px; background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(27, 26, 25, .55) 50%, transparent calc(50% + .5px)); }

/* options */
.os .os-pd__buy { display: grid; gap: 22px; }
.os .os-pd__opts.is-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.os .os-pd__opts.is-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.os .os-pd__opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 66px; padding: 10px 6px; border: 1px solid var(--os-line); background: #fff; color: var(--os-ink); text-align: center; white-space: normal; cursor: pointer; transition: border-color .18s, background-color .18s, color .18s, transform .18s; }
.os .os-pd__opts.is-chips .os-pd__opt { flex-direction: row; min-height: 46px; padding: 0 18px; }
.os .os-pd__main { font-size: 17px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.os .os-pd__opts.is-chips .os-pd__main { font-size: 14px; }
.os .os-pd__sub { font-size: 11px; line-height: 1.2; letter-spacing: .04em; color: var(--os-mute); transition: color .18s; }
.os .os-pd__low { font-size: 10px; line-height: 1.2; font-weight: 500; letter-spacing: .02em; color: var(--os-accent); }
.os .os-pd__tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 7px; background: var(--os-accent); color: #fff; font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.os .os-pd__opt:hover { border-color: var(--os-ink); background: #fff; color: var(--os-ink); }
.os .os-pd__opt:focus-visible { outline: 2px solid var(--os-ink); outline-offset: 2px; }
.os .os-pd__opt:active { transform: scale(.97); }
.os .os-pd__opt[aria-checked="true"] { border-color: var(--os-ink); background: var(--os-ink); color: #fff; }
.os .os-pd__opt[aria-checked="true"] .os-pd__sub { color: rgba(255, 255, 255, .72); }
.os .os-pd__opt[aria-checked="true"] .os-pd__low { color: #f1c7b3; }
.os .os-pd__opt.is-out { color: #b8b3ad; background: #fff linear-gradient(to top right, transparent calc(50% - .5px), var(--os-line) 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.os .os-pd__opt.is-out .os-pd__sub { color: #c9c4be; }
.os .os-pd__opt.is-out:hover { border-color: var(--os-line); }
.os .os-pd__attr.is-nudge .os-pd__opt:not(.is-out) { animation: os-pd-nudge .5s var(--os-ease); border-color: var(--os-accent); }
@keyframes os-pd-nudge { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.os .os-pd__msg { margin: -10px 0 0; font-size: 13px; color: var(--os-accent); }

/* add to bag */
.os .os-pd__add { position: relative; width: 100%; min-height: 58px; gap: 10px; }
.os .os-pd__addp { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.os .os-pd__addp::before { content: "·"; margin-right: 10px; }
.os .os-pd__addp del { display: none; }
.os .os-pd__addp ins { text-decoration: none; }
.os .os-pd__add.is-busy { opacity: 1; color: transparent; }
.os .os-pd__add.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: os-pd-spin .7s linear infinite; }
@keyframes os-pd-spin { to { transform: rotate(360deg); } }
.os .os-pd__add.is-done::before { content: ""; width: 12px; height: 7px; margin-top: -4px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.os .os-pd__row { display: flex; gap: 10px; }
.os .os-pd__row .os-pd__add { flex: 1; }
.os .os-pd__qty { display: inline-flex; align-items: center; height: 58px; border: 1px solid var(--os-line); padding: 0 6px; }
.os .os-pd__qty button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--os-ink); }
.os .os-pd__qty button:hover, .os .os-pd__qty button:focus { background-color: var(--os-mist); color: var(--os-ink); }
.os .os-pd__qty input { width: 40px; height: 40px; border: 0; padding: 0; text-align: center; font-family: var(--os-font-sans); font-size: 16px; font-weight: 500; color: var(--os-ink); background: transparent; -moz-appearance: textfield; box-shadow: none; }
.os .os-pd__qty input::-webkit-outer-spin-button, .os .os-pd__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.os .os-pd__wcform { width: 100%; }

.os .os-pd__reassure { display: grid; gap: 8px; margin: -6px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--os-mute); }
.os .os-pd__reassure li { position: relative; padding-left: 22px; }
.os .os-pd__reassure li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 1px solid var(--os-ink); border-bottom: 1px solid var(--os-ink); transform: rotate(-45deg); }
.os .os-pd__sku { font-size: 13px; color: var(--os-mute); }

/* panels */
.os .os-pd__panels { border-top: 1px solid var(--os-line); }
.os .os-pd__panel { border-bottom: 1px solid var(--os-line); }
.os .os-pd__panel summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; list-style: none; }
.os .os-pd__panel summary::-webkit-details-marker { display: none; }
.os .os-pd__panel summary i { position: relative; width: 12px; height: 12px; flex: none; }
.os .os-pd__panel summary i::before, .os .os-pd__panel summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--os-ease); }
.os .os-pd__panel summary i::after { transform: rotate(90deg); }
.os .os-pd__panel[open] summary i::after { transform: rotate(0); }
.os .os-pd__panel-body { overflow: hidden; transition: height .32s var(--os-ease); }
.os .os-pd__panel-body > div { padding: 0 0 22px; font-size: 15px; line-height: 1.7; color: #3a3836; }
.os .os-pd__panel-body > div > * + * { margin-top: .8em; }
.os .os-pd__panel-body ul { list-style: disc; padding-left: 1.2em; }
.os .os-pd__panel-body h2, .os .os-pd__panel-body h3, .os .os-pd__panel-body h4 { font-family: var(--os-font-sans); font-size: 16px; font-weight: 600; margin-top: 1.2em; }
.os .os-pd__panel-body img { height: auto; }

/* size table (panel + drawer) */
.os-pd__table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.os-pd__table th { padding: 0 0 10px; border-bottom: 1px solid var(--os-ink); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: left; }
.os-pd__table td { padding: 12px 0; border-bottom: 1px solid var(--os-line); }

/* ───────── sticky bar (moved to <body>) ───────── */
.os-pd__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: var(--os-paper, #fff); border-top: 1px solid var(--os-line, #e4e1dc); transform: translateY(105%); transition: transform .35s var(--os-ease, ease); font-family: var(--os-font-sans); }
.os-pd__bar.is-on { transform: none; }
.os-pd__barin { display: flex; align-items: center; gap: 16px; min-height: 76px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.os-pd__barimg { width: 40px; height: 56px; object-fit: cover; background: var(--os-stone); }
.os-pd__bartx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.os-pd__bartx b { overflow: hidden; font-size: 15px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; color: var(--os-ink); }
.os-pd__barp { font-size: 14px; color: var(--os-ink); }
.os-pd__barp del { color: var(--os-mute); margin-right: 6px; }
.os-pd__barp ins { text-decoration: none; }
.os-pd__bar .os-btn, .os-pd__baradd {
	display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 52px; padding: 0 28px;
	border: 1px solid var(--os-ink); background: var(--os-ink); color: var(--os-paper);
	font-family: var(--os-font-sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.os-pd__baradd:hover { background: var(--os-deep); color: var(--os-paper); }
html.os-pd-bar-on .sky-whatsapp-widget { bottom: 96px !important; }

/* ───────── size guide drawer (moved to <body>) ───────── */
.os-pd__drawer { position: fixed; inset: 0; z-index: 100000; font-family: var(--os-font-sans); color: var(--os-ink); }
.os-pd__drawer[hidden] { display: none; }
.os-pd__dback { position: absolute; inset: 0; background: rgba(20, 18, 16, .4); opacity: 0; transition: opacity .3s ease; }
.os-pd__dpanel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); overflow-y: auto; padding: 28px 32px calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--os-paper); transform: translateX(100%); transition: transform .35s var(--os-ease, ease); }
.os-pd__drawer.is-open .os-pd__dback { opacity: 1; }
.os-pd__drawer.is-open .os-pd__dpanel { transform: none; }
.os-pd__dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.os-pd__dhead h2 { margin: 0; font-family: var(--os-font-serif); font-size: 32px; font-weight: 300; }
.os-pd__drawer .os-pd__x, .os-pd__drawer .os-pd__x:hover, .os-pd__drawer .os-pd__x:focus { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -10px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--os-ink); cursor: pointer; }
.os-pd__drawer .os-pd__x:hover { background: var(--os-mist); }
/* Hello's striped tables */
.os-pd__table tr > td, .os-pd__table tr > th, .os-pd__table tbody > tr:nth-child(odd) > td, .os-pd__table tbody > tr:hover > td { background: transparent; border-left: 0; border-right: 0; border-top: 0; }
.os-pd__x svg { width: 20px; height: 20px; }
.os-pd__dintro { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--os-mute); }
html.os-pd-locked, html.os-pd-locked body { overflow: hidden; }

/* ───────── live signals ───────── */
/* A card under the price: one signal at a time (bold tag + the number), sliding every few seconds. */
.os .os-pd__pulse { position: relative; margin: -4px 0 0; border: 1px solid var(--os-line); background: #fff; overflow: hidden; animation: os-pls-in .5s var(--os-ease) both; }
.os .os-pd__pulse[hidden] { display: none; }
.os .os-pd__ptrack { display: grid; margin: 0; padding: 0; list-style: none; }
.os .os-pd__pls { grid-area: 1 / 1; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 70px 12px 12px; opacity: 0; transform: translateY(100%); transition: opacity .45s ease, transform .55s var(--os-ease); }
.os .os-pd__pls.is-on { opacity: 1; transform: none; }
.os .os-pd__pls.is-on ~ .os-pd__pls:not(.is-on) { transform: translateY(100%); }
.os .os-pd__pls:not(.is-on):has(~ .is-on) { transform: translateY(-100%); }
.os .os-pd__ptag { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: var(--os-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.os .os-pd__ptag svg { width: 14px; height: 14px; }
.os .os-pd__ptxt { min-width: 0; font-size: 14px; line-height: 1.35; color: var(--os-ink); }
.os .os-pd__pls.is-fast .os-pd__ptag { background: #b5432a; }
.os .os-pd__pls.is-bags .os-pd__ptag { background: #7d3b1d; }
.os .os-pd__pls.is-month .os-pd__ptag { background: var(--os-ink); }
.os .os-pd__pls.is-best .os-pd__ptag { background: #111; color: #fff; }
.os .os-pd__pls.is-best .os-pd__ptag svg { color: #e2bd57; fill: #e2bd57; }
.os .os-pd__pls.is-view .os-pd__ptag { background: #e8f4ed; color: #1d6b42; }
.os .os-pd__pls.is-fast .os-pd__ptag svg { animation: os-pls-flick 1.6s ease-in-out infinite; }
.os .os-pd__pdots { position: absolute; right: 6px; top: 50%; display: flex; transform: translateY(-50%); }
/* 24px tap area, 7px dot */
.os .os-pd__pdot, .os .os-pd__pdot:hover, .os .os-pd__pdot:focus { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.os .os-pd__pdot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--os-line); transition: background-color .2s, transform .2s; }
.os .os-pd__pdot[aria-current="true"]::before { background: var(--os-ink); transform: scale(1.15); }
.os .os-pd__live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2f8f5b; }
.os .os-pd__live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2f8f5b; animation: os-pls-ring 1.8s ease-out infinite; }

/* The strongest "hot" signal also tags the main photo. */
.os .os-pd__flag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: var(--os-ink); color: #fff; font: 600 11px/1 var(--os-font-sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); animation: os-pls-in .5s var(--os-ease) both; pointer-events: none; }
.os .os-pd__flag svg { width: 14px; height: 14px; }
.os .os-pd__flag.is-fast { background: #b5432a; }
.os .os-pd__flag.is-bags { background: #7d3b1d; }
.os .os-pd__flag.is-best svg { color: #e2bd57; fill: #e2bd57; }

@keyframes os-pls-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes os-pls-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes os-pls-flick { 50% { transform: scale(1.18) rotate(-6deg); } }
@media (max-width: 600px) {
	.os .os-pd__pls { gap: 10px; padding: 10px 56px 10px 10px; }
	.os .os-pd__ptag { height: 28px; padding: 0 10px; font-size: 10px; letter-spacing: .12em; }
	.os .os-pd__ptxt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .os .os-pd__pulse, .os .os-pd__pls, .os .os-pd__flag, .os .os-pd__live::after, .os .os-pd__ptag svg { animation: none; transition: none; } }

/* "Designed in London & Made in the UK" with the Union flag */
.os .os-pd__origin { display: flex; align-items: center; gap: 10px; margin: -6px 0 0; font-size: 14px; font-weight: 500; color: var(--os-ink); }
.os .os-pd__uk { flex: none; width: 26px; height: 13px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

/* ───────── description parts ───────── */
.os .os-pd__short p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.os .os-pd__more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--os-ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.os .os-pd__more:hover { background: none; color: var(--os-mute); }
.os .os-pd__detail h4 { margin: 1.2em 0 .4em; font-family: var(--os-font-sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--os-ink); }
.os .os-pd__detail ul { list-style: none; padding: 0; }
.os .os-pd__detail li { position: relative; padding-left: 16px; }
.os .os-pd__detail li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 1px; background: var(--os-ink); }

.os .os-pd__service, .os .os-pd__model { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--os-line); background: var(--os-mist); }
.os .os-pd__service b, .os .os-pd__model b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.os .os-pd__service p, .os .os-pd__model p { margin: 0; font-size: 14px; line-height: 1.55; color: #3a3836; }
.os .os-pd__service a { color: var(--os-ink); text-decoration: underline; text-underline-offset: 3px; }
.os .os-pd__svci, .os .os-pd__mi { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--os-line); color: var(--os-accent); }
.os .os-pd__svci svg, .os .os-pd__mi svg { width: 18px; height: 18px; }
.os .os-pd__panel-body .os-pd__model { margin-bottom: 18px; }

/* garment measurements */
.os .os-pd__mwrap { overflow-x: auto; margin: 0 -2px; scrollbar-width: thin; }
.os .os-pd__mtable { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.os .os-pd__mtable th, .os .os-pd__mtable td { padding: 11px 6px; border: 0; border-bottom: 1px solid var(--os-line); background: transparent; text-align: center; transition: background-color .2s, color .2s; }
.os .os-pd__mtable thead th { padding-top: 0; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom-color: var(--os-ink); }
.os .os-pd__mtable tbody th { text-align: left; font-weight: 400; color: var(--os-mute); white-space: nowrap; padding-right: 14px; }
.os .os-pd__mtable thead th:first-child { text-align: left; }
.os .os-pd__mtable td.is-all { text-align: left; }
.os .os-pd__mtable .is-sel { background: var(--os-ink); color: #fff; }
.os .os-pd__mtable tbody tr:hover > td, .os .os-pd__mtable tbody tr:nth-child(odd) > td { background-color: transparent; }
.os .os-pd__mtable tbody tr > td.is-sel { background: var(--os-ink); }
.os .os-pd__unitnote { margin: 8px 0 0; font-size: 12px; color: var(--os-mute); }
.os .os-pd__calcbtn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border: 1px solid var(--os-ink); background: #fff; color: var(--os-ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.os .os-pd__calcbtn svg { width: 20px; height: 20px; }
.os .os-pd__calcbtn:hover { background: var(--os-ink); color: #fff; }

/* ───────── size calculator pop-up (moved to <body>) ───────── */
.os.os-sz { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; font-family: var(--os-font-sans); color: var(--os-ink); }
.os.os-sz[hidden] { display: none; }
.os-sz__back { position: absolute; inset: 0; background: rgba(20, 18, 16, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.os-sz__card { position: relative; display: flex; flex-direction: column; width: min(560px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 48px)); background: var(--os-paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .4s var(--os-ease, ease); }
.os-sz.is-open .os-sz__back { opacity: 1; }
.os-sz.is-open .os-sz__card { opacity: 1; transform: none; }
.os-sz__grab { display: none; }
.os-sz__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 6px; }
.os-sz__head h2 { margin: 0; font-family: var(--os-font-serif); font-size: 32px; font-weight: 300; line-height: 1.1; }
.os-sz .os-sz__x, .os-sz .os-sz__x:hover, .os-sz .os-sz__x:focus { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--os-ink); cursor: pointer; }
.os-sz .os-sz__x:hover { background: var(--os-mist); }
.os-sz__x svg { width: 20px; height: 20px; }
.os-sz__tabs { position: relative; display: flex; gap: 24px; margin: 8px 28px 0; border-bottom: 1px solid var(--os-line); }
.os-sz .os-sz__tabs button, .os-sz .os-sz__tabs button:hover, .os-sz .os-sz__tabs button:focus { padding: 12px 0 14px; border: 0; background: none; color: var(--os-mute); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.os-sz .os-sz__tabs button[aria-selected="true"] { color: var(--os-ink); }
.os-sz__ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--os-ink); transition: transform .35s var(--os-ease, ease), width .35s var(--os-ease, ease); }
.os-sz__body { overflow-y: auto; padding: 24px 28px 28px; overscroll-behavior: contain; }
.os-sz__pane.is-on { animation: os-sz-in .35s var(--os-ease, ease); }
@keyframes os-sz-in { from { opacity: 0; transform: translateY(6px); } }
.os-sz__intro { margin: 0 0 16px; font-size: 14px; color: var(--os-mute); }

/* unit switch */
.os-sz__unit { display: inline-flex; padding: 3px; margin-bottom: 18px; background: var(--os-mist); border-radius: 999px; }
.os-sz .os-sz__unit button, .os-sz .os-sz__unit button:hover, .os-sz .os-sz__unit button:focus { min-width: 52px; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--os-mute); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.os-sz .os-sz__unit button[aria-checked="true"] { background: #fff; color: var(--os-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* sliders */
.os-sz__field { padding: 16px 0; border-top: 1px solid var(--os-line); }
.os-sz__field:first-of-type { border-top: 0; padding-top: 0; }
.os-sz__flab { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.os-sz__flab label { display: grid; gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.os-sz__flab small { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--os-mute); }
.os-sz__flab output { font-family: var(--os-font-serif); font-size: 34px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.os-sz__flab output span { margin-left: 4px; font-family: var(--os-font-sans); font-size: 13px; color: var(--os-mute); }
.os-sz__field:not(.is-set) output b { color: #c9c4be; }
.os-sz__range { display: flex; align-items: center; gap: 12px; }
.os-sz .os-sz__step, .os-sz .os-sz__step:hover, .os-sz .os-sz__step:focus { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--os-line); border-radius: 50%; background: #fff; color: var(--os-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.os-sz .os-sz__step:hover { border-color: var(--os-ink); }
.os-sz__range input[type="range"] { --p: 50%; flex: 1; height: 28px; margin: 0; padding: 0; border: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.os-sz__range input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--os-ink) var(--p), var(--os-line) var(--p)); }
.os-sz__range input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(to right, var(--os-ink) var(--p), var(--os-line) var(--p)); }
.os-sz__range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border: 1px solid var(--os-ink); border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); transition: transform .15s; }
.os-sz__range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 1px solid var(--os-ink); border-radius: 50%; background: #fff; }
.os-sz__range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.os-sz__field:not(.is-set) input[type="range"]::-webkit-slider-runnable-track { background: var(--os-line); }

.os-sz__or { position: relative; margin: 10px 0 14px; text-align: center; font-size: 12px; color: var(--os-mute); }
.os-sz__or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--os-line); }
.os-sz__or span { position: relative; padding: 0 12px; background: var(--os-paper); }
.os-sz__uk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.os-sz .os-sz__uk button, .os-sz .os-sz__uk button:hover, .os-sz .os-sz__uk button:focus { height: 40px; padding: 0; border: 1px solid var(--os-line); background: #fff; color: var(--os-ink); font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.os-sz .os-sz__uk button:hover { border-color: var(--os-ink); }
.os-sz .os-sz__uk button[aria-pressed="true"] { border-color: var(--os-ink); background: var(--os-ink); color: #fff; }

/* result */
/* Result stays pinned to the bottom of the card while the inputs scroll. */
.os-sz__result { position: sticky; bottom: -28px; z-index: 2; display: grid; gap: 10px; margin: 20px -28px -28px; padding: 14px 28px 24px; background: var(--os-paper); border-top: 1px solid var(--os-line); box-shadow: 0 -12px 24px -18px rgba(0, 0, 0, .25); }
.os-sz__box { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 18px; padding: 10px 18px; border: 1.5px solid var(--os-ink); background: var(--os-mist); text-align: left; }
.os-sz__box .os-sz__num { grid-row: 1 / span 2; grid-column: 1; }
.os-sz__box .os-sz__rl, .os-sz__box .os-sz__fits { grid-column: 2; }
.os-sz__box .os-sz__rl { align-self: end; }
.os-sz__box .os-sz__fits { align-self: start; }
.os-sz__box::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--os-line); pointer-events: none; }
.os-sz__rl { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--os-mute); }
.os-sz__num { min-width: 1ch; font-family: var(--os-font-serif); font-size: 60px; font-weight: 300; line-height: 1; text-align: center; }
.os-sz__num.is-pop { animation: os-sz-pop .45s var(--os-ease, ease); }
@keyframes os-sz-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.os-sz__box.is-empty .os-sz__num { color: #c9c4be; }
.os-sz__fits { font-size: 14px; letter-spacing: .04em; }
.os-sz__box.is-empty .os-sz__fits { color: var(--os-mute); }
.os-sz__why { margin: 0; font-size: 13px; line-height: 1.5; color: var(--os-mute); }
.os-sz__why:empty { display: none; }
.os-sz .os-sz__use { width: 100%; min-height: 54px; }
.os-sz .os-sz__use:disabled { opacity: .45; cursor: not-allowed; }

/* chart */
.os-sz__table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.os-sz__table th, .os-sz__table td { padding: 12px 6px; border: 0; border-bottom: 1px solid var(--os-line); background: transparent; text-align: center; }
.os-sz__table thead th { padding-top: 0; border-bottom-color: var(--os-ink); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.os-sz__table tbody th { font-family: var(--os-font-serif); font-size: 20px; font-weight: 400; }
.os-sz__table tbody tr:nth-child(odd) > td, .os-sz__table tbody tr:hover > td { background: transparent; }
.os-sz__table tbody tr.is-on > * { background: var(--os-ink); color: #fff; }

/* how to measure */
.os-sz__how { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.os-sz__how li { display: flex; gap: 16px; align-items: flex-start; }
.os-sz__fig { flex: none; display: grid; place-items: center; width: 72px; height: 72px; background: var(--os-mist); color: var(--os-ink); }
.os-sz__fig svg { width: 56px; height: 56px; }
.os-sz__fig.is-tip svg { width: 26px; height: 26px; color: var(--os-accent); }
.os-sz__how b { display: block; margin: 4px 0; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.os-sz__how p { margin: 0; font-size: 14px; line-height: 1.55; color: #3a3836; }

@media (max-width: 600px) {
	/* Bottom sheet on phones */
	.os.os-sz { place-items: end stretch; }
	.os-sz__card { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
	.os-sz.is-open .os-sz__card { transform: none; }
	.os-sz__grab { display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: var(--os-line); }
	.os-sz__head { padding: 12px 20px 4px; }
	.os-sz__head h2 { font-size: 28px; }
	.os-sz__tabs { margin: 6px 20px 0; gap: 18px; }
	.os-sz .os-sz__tabs button { font-size: 11px; letter-spacing: .1em; }
	.os-sz__body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
	.os-sz__result { bottom: calc(-24px - env(safe-area-inset-bottom, 0px)); margin: 18px -20px calc(-24px - env(safe-area-inset-bottom, 0px)); padding: 12px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
	.os-sz__num { font-size: 52px; }
	.os-sz__field { padding: 12px 0; }
	.os-sz__flab output { font-size: 28px; }
	.os-sz__table { font-size: 13px; }
}

/* ───────── full-screen viewer ───────── */
.os-pdv { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; background: #f2f1ee; cursor: zoom-out; }
.os-pdv img { max-width: 100%; max-height: 100vh; width: auto; height: 100vh; object-fit: contain; cursor: e-resize; }
.os-pdv__n { position: absolute; left: 24px; top: 22px; font: 500 12px/1 var(--os-font-sans); letter-spacing: .14em; color: var(--os-ink); }
.os-pdv button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--os-line); border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--os-ink); cursor: pointer; }
.os-pdv button:hover { background: #fff; border-color: var(--os-ink); }
.os-pdv button svg { width: 18px; height: 18px; }
.os-pdv__x { top: 14px; right: 16px; }
.os-pdv__a { top: 50%; margin-top: -24px; }
.os-pdv__a.is-prev { left: 20px; }
.os-pdv__a.is-next { right: 20px; }

/* ───────── tablet / phone ───────── */
@media (max-width: 960px) {
	.os .os-pd__grid { grid-template-columns: 1fr; gap: 24px; }
	.os .os-pd__sticky { position: static; }
	/* every layout becomes a swipe strip, edge to edge */
	.os.os-pd .os-pd__gallery { position: static; display: block; margin: 0 calc(var(--os-pad) * -1); }
	.os.os-pd .os-pd__shots { position: static; display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
	.os.os-pd .os-pd__shots::-webkit-scrollbar { display: none; }
	.os.os-pd .os-pd__shot { position: relative; inset: auto; opacity: 1; scroll-snap-align: start; scroll-snap-stop: always; }
	.os.os-pd .os-pd__thumbs { display: none; }
	.os .os-pd__dots { display: flex; align-items: center; gap: 14px; padding: 12px var(--os-pad) 0; }
	.os .os-pd__count { flex: none; font-size: 12px; letter-spacing: .1em; color: var(--os-mute); font-variant-numeric: tabular-nums; }
	.os .os-pd__count b { color: var(--os-ink); font-weight: 500; }
	.os .os-pd__prog { position: relative; flex: 1; height: 1px; background: var(--os-line); }
	.os .os-pd__prog i { position: absolute; inset: 0; background: var(--os-ink); transform-origin: left; transform: scaleX(0); transition: transform .3s var(--os-ease); }
	.os.os-pd .os-pd__h { font-size: 32px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
	.os .os-pd__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); }
	.os.os-pd.is-grid .os-pd__shots { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.os .os-pd__opts.is-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.os-pd__barin { gap: 12px; min-height: 68px; }
	.os-pd__barimg { display: none; }
	.os-pd__bar .os-btn, .os-pd__baradd { min-width: 0; flex: none; padding: 0 20px; min-height: 48px; font-size: 12px; }
	.os-pd__dpanel { padding: 22px 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
	.os-pdv img { height: auto; max-height: 100vh; }
	.os-pdv__a { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.os .os-pd__shot img, .os .os-pd__opt, .os-pd__bar, .os-pd__dpanel, .os-pd__dback, .os .os-pd__panel-body { transition: none; }
	.os .os-pd__attr.is-nudge .os-pd__opt { animation: none; }
}
