
.oscm-list{list-style:none;margin:0;padding:0}
.oscm-card-link{display:flex;flex-direction:column;gap:inherit;color:inherit;text-decoration:none;height:100%}
.oscm-flat .os-card__info{padding-inline:0}
.oscm-bar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem}

.oscm-line{display:flex;gap:1rem;align-items:flex-start}
.oscm-line--nested{padding-inline-start:1rem}
.oscm-line__body{flex:1 1 auto;min-width:0}
.oscm-line__title{display:block;font-weight:var(--os-heading-weight,600)}
.oscm-line__variant,.oscm-line__meta{display:block;color:var(--scheme-text-subtle,var(--scheme-text-muted));font-size:.875em}
.oscm-line__prices{text-align:end;display:flex;flex-direction:column;gap:.25rem;align-items:flex-end}
.oscm-thumb{position:relative;flex:none;width:4rem;height:4rem;overflow:hidden;background:var(--scheme-surface-sunken,var(--scheme-surface));border-radius:var(--os-radius-sm)}
.oscm-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
.oscm-thumb[data-ratio="portrait"]{height:5rem}
.oscm-thumb[data-ratio="landscape"]{height:3rem}
.oscm-thumb__qty{position:absolute;inset-block-start:-.35rem;inset-inline-end:-.35rem;min-width:1.25rem;height:1.25rem;display:grid;place-items:center;font-size:.7rem;background:var(--scheme-text);color:var(--scheme-background);border-radius:var(--os-radius-full)}

.oscm-summary{display:flex;flex-direction:column;gap:1rem}
.oscm-summary__list{display:flex;flex-direction:column;gap:.5rem;margin:0}
.oscm-summary__row{display:flex;justify-content:space-between;gap:1rem}
.oscm-summary__row dt,.oscm-summary__row dd{margin:0}
.oscm-summary__row--total{border-block-start:var(--os-border-width) var(--os-border-style) var(--scheme-border-strong,var(--scheme-border));padding-block-start:.6rem;font-weight:var(--os-heading-weight,600)}
.oscm-note{color:var(--scheme-text-subtle,var(--scheme-text-muted));font-size:.875em}
.oscm-error{color:var(--scheme-danger,var(--scheme-accent));font-size:.875em}
.oscm-notice{margin:0;padding:10px 12px;border-radius:6px;background:color-mix(in srgb,var(--scheme-accent,currentColor) 8%,transparent);font-size:.875em}

.oscm-stock[data-state="low"]{color:var(--scheme-warning,var(--scheme-accent))}
.oscm-stock[data-state="sold-out"]{color:var(--scheme-text-muted)}
.oscm-stock__dot{flex:none;display:inline-block;width:.5rem;height:.5rem;border-radius:var(--os-radius-full);background:currentColor}
.oscm-stock[data-state="in-stock"] .oscm-stock__dot{background:var(--scheme-success,var(--scheme-accent))}

.oscm-stepper{display:inline-flex;align-items:center;gap:.25rem}
.oscm-stepper__value{min-width:2.5ch;text-align:center}

.oscm-fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}
.oscm-choices{display:flex;flex-direction:column;gap:.5rem}
.oscm-choices--cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.75rem}
.oscm-choice{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;cursor:pointer}
.oscm-choice--card{flex-direction:column;align-items:flex-start;padding:var(--os-space-card-padding,1rem);border:var(--os-border-width) var(--os-border-style) var(--scheme-border);border-radius:var(--os-radius-md)}
.oscm-choice[data-selected="true"]{border-color:var(--os-swatch-selected-color,var(--scheme-accent))}
.oscm-choice__meta{color:var(--scheme-text-subtle,var(--scheme-text-muted));font-size:.8125em;flex-basis:100%}

.oscm-swatches{display:flex;flex-wrap:wrap;gap:.5rem}
.oscm-swatch[data-state="unavailable"]{text-decoration:line-through;opacity:.55}
.oscm-swatch[data-state="dim"]{opacity:.45}
.oscm-swatch[data-state="hidden"]{display:none}

.oscm-gallery{display:flex;flex-direction:column;gap:clamp(.5rem,1.2vw,.9rem)}
.oscm-gallery--side{flex-direction:row-reverse;gap:clamp(.5rem,1.2vw,.9rem)}
.oscm-gallery__thumbs{display:flex;align-items:center;gap:clamp(.4rem,1vw,.6rem);overflow:auto;scrollbar-width:thin;padding-block:2px}
.oscm-gallery--side .oscm-gallery__thumbs{flex-direction:column;align-items:stretch}
/* The box is clamped rather than taken raw from thumbnailWidth: the setting's
   own default is 48px, which on a 1440px product page is a swatch too small to
   read as a photograph — the "empty grey squares" symptom. The authored value is
   still honoured, inside a floor and a ceiling. */
.oscm-gallery__thumb{position:relative;flex:none;display:block;inline-size:clamp(3.75rem,var(--oscm-thumb,4.5rem),7rem);block-size:clamp(3.75rem,var(--oscm-thumb,4.5rem),7rem);overflow:hidden;padding:0;border:var(--os-border-width) var(--os-border-style) transparent;background:none;cursor:pointer;border-radius:var(--os-radius-sm)}
.oscm-gallery__thumb>.osc-media{block-size:100%}
.oscm-gallery__thumb[aria-selected="true"]{border-color:var(--os-swatch-selected-color,var(--scheme-text))}
.oscm-gallery__frame{position:relative}
.oscm-gallery__zoom{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:zoom-in}
.oscm-gallery__frame[data-zoom="hover"]{overflow:hidden;cursor:zoom-in}
.oscm-gallery__frame[data-zoom="hover"] img{transition:transform var(--os-motion-duration-slow,.35s) var(--os-motion-easing-standard,ease)}
.oscm-gallery__frame[data-zoom="hover"]:hover img{transform:scale(1.6)}
.oscm-product-media--capped .oscm-gallery__frame,.oscm-product-media--capped .oscm-list>li{max-height:calc(100svh - 8rem);overflow:hidden}
.oscm-dots{display:flex;justify-content:center;gap:.5rem}
.oscm-dot{width:.5rem;height:.5rem;padding:0;border:0;border-radius:var(--os-radius-full);background:var(--scheme-border);cursor:pointer}
.oscm-dot[data-active="true"]{background:var(--scheme-text)}

.oscm-lightbox{max-width:min(96vw,1200px);max-height:92vh;padding:0;border:0;border-radius:var(--os-modal-radius,0);background:var(--scheme-background);color:var(--scheme-text)}
.oscm-lightbox::backdrop{background:var(--scheme-overlay,rgb(0 0 0 / .72))} /* token-exempt: --scheme-overlay lands with derive.ts; the literal is the pre-1.2 value */
.oscm-lightbox__close{position:absolute;inset-block-start:.5rem;inset-inline-end:.5rem}
.oscm-drawer{width:min(92vw,var(--os-drawer-width,26rem));padding:var(--os-drawer-padding,1.25rem);border:0;border-radius:var(--os-drawer-radius,0);background:var(--scheme-background);color:var(--scheme-text)}
.oscm-drawer::backdrop{background:var(--scheme-scrim,rgb(0 0 0 / .5))} /* token-exempt: --scheme-scrim lands with derive.ts; the literal is the pre-1.2 value */

/* Filters. Server-rendered, JavaScript-free: the drawer is a <details>, so it
   opens without script, and the panel itself is a plain GET form. */
.oscm-filters{display:flex;flex-direction:column;gap:var(--os-space-gap,1rem)}
.oscm-filters--sidebar{min-width:min(100%,16rem)}
.oscm-filters--drawer>summary{cursor:pointer;list-style:none}
.oscm-filters--drawer>summary::-webkit-details-marker{display:none}
.oscm-filters--drawer[open]>summary{margin-block-end:var(--os-space-gap,1rem)}
.oscm-filters fieldset{border:0;margin:0;padding:0;display:flex;gap:.75rem;flex-wrap:wrap}
.oscm-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.oscm-stickybar{position:fixed;inset-inline:0;z-index:var(--os-layout-z-index-sticky,30);display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--scheme-surface-raised,var(--scheme-background));border-block-start:var(--os-border-width) var(--os-border-style) var(--scheme-border)}
.oscm-stickybar[data-pinned="false"]{display:none}
.oscm-stickybar--bottom{inset-block-end:0}
.oscm-stickybar--top{inset-block-start:0;border-block-start:0;border-block-end:var(--os-border-width) var(--os-border-style) var(--scheme-border)}
.oscm-stickybar__title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.oscm-breadcrumbs{margin-block-end:clamp(.5rem,1.4vw,1rem)}
.oscm-breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:var(--osc-step--1,.875em);line-height:1.4;color:var(--scheme-text-subtle,var(--scheme-text-muted))}
.oscm-breadcrumbs li+li::before{content:"/";margin-inline-end:.5rem;opacity:.6}
.oscm-breadcrumbs li:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.oscm-buyform{display:flex;flex-direction:column;gap:var(--osc-gap,var(--os-space-gap,1.25rem))}
/*
 * Product-page type scale. Specificity is deliberate — one class deeper than a
 * pack's [data-pack] .os-price — because the price on a product page is not
 * the price on a card: a pack that sizes .os-price for a 200px tile would
 * otherwise render the buying decision at 15px. Packs that want their own
 * answer override .oscm-buyform .os-price in the same shape.
 */
.oscm-buyform .os-block--product-price .os-price{font-size:var(--osc-step-2,1.375rem);line-height:1.2;color:var(--scheme-text)}
.oscm-buyform .os-block--product-price .os-price__compare{font-size:var(--osc-step-0,1rem)}
.oscm-buyform .os-block--product-title .os-section__title{font-size:var(--osc-step-3,1.75rem);margin-block:0}
.oscm-buyform .os-block--text,.oscm-buyform .osc-prose{font-size:var(--osc-step-0,1rem);line-height:1.6}
.oscm-buyform .os-field__label,.oscm-buyform .oscm-note{font-size:var(--osc-step--1,.8125rem)}
.oscm-buyform .oscm-swatch{font-size:var(--osc-step--1,.8125rem);min-height:2.5rem;padding-inline:.9em}
.oscm-buyform>:empty{display:none}
.oscm-buyform--rules-blocks>*+*{border-block-start:var(--os-border-width) var(--os-border-style) var(--scheme-border);padding-block-start:var(--os-space-gap,1.25rem)}
.oscm-trust{display:flex;gap:var(--osc-gap,var(--os-space-gap,1.5rem))}
.oscm-trust--separated>*+*{border-inline-start:var(--os-border-width) var(--os-border-style) var(--scheme-border);padding-inline-start:var(--os-space-gap,1.5rem)}

.oscm-two-col{display:grid;gap:var(--os-space-gap,1.5rem);--oscm-aside:initial}
/* The row is the page container, not the columns.
 * Each half stays a real section (so it keeps its own background, spacing and
 * editor selection outline), but a section normally centres its own
 * min(container,100%) inner and pads it — done twice inside a flex row that
 * indents both columns and caps each at the full page measure. So the measure
 * moves up to the row and the two inners go transparent. */
.oscm-product-row{display:flex;flex-direction:column;gap:var(--os-space-gap,2rem);width:min(var(--osc-container,1200px),100%);margin-inline:auto;padding-inline:var(--osc-pad,16px)}
.oscm-product-row>.os-section>.os-section__inner{width:100%;max-width:none;padding-inline:0}
.oscm-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--oscm-lines,4);overflow:hidden}

@media (min-width: 990px){
.oscm-two-col{grid-template-columns:minmax(0,1fr) var(--oscm-aside,20rem);gap:clamp(1.5rem,3vw,3rem)}
.oscm-sticky{position:sticky;top:var(--os-layout-sticky-offset,1rem);align-self:start}
.oscm-product-row{flex-direction:row;align-items:flex-start;gap:clamp(1.5rem,3.5vw,4rem)}
.oscm-product-media{flex:0 0 var(--oscm-media-basis,50%);order:var(--oscm-media-order,1)}
.oscm-product-info{flex:1 1 0;min-width:0;order:2}
.oscm-desktop-hidden{display:none}
}
/*
 * Tablet: the product row is still stacked (a 900px window cannot hold a
 * readable buying form beside a photograph), but an un-capped stacked gallery
 * fills the whole band with one image and pushes the price below the fold, so
 * the media column is centred and capped instead.
 */
@media (min-width: 750px) and (max-width: 989px){
.oscm-product-media{max-inline-size:min(100%,34rem);margin-inline:auto}
.oscm-product-row{gap:clamp(1.25rem,3vw,2.5rem)}
.oscm-two-col{grid-template-columns:minmax(0,1fr);gap:clamp(1.25rem,3vw,2rem)}
.oscm-choices--cards{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}
.oscm-trust--grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}
}
@media (max-width: 989px){
.oscm-filters--sidebar{min-width:100%}
}
@media (max-width: 749px){
.oscm-trust{flex-direction:column}
.oscm-trust--scroll{flex-direction:row;overflow-x:auto;scroll-snap-type:x mandatory}
.oscm-trust--scroll>*{flex:none;scroll-snap-align:start}
.oscm-trust--grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.oscm-mobile-hidden{display:none}
.oscm-grid-scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
.oscm-grid-scroll>li{flex:0 0 68%;scroll-snap-align:start}
.oscm-gallery--side{flex-direction:column}
.oscm-gallery--side .oscm-gallery__thumbs{flex-direction:row;align-items:center}
.oscm-line{gap:.75rem}
.oscm-summary__row{gap:.5rem}
}
@media (prefers-reduced-motion:reduce){
.oscm-gallery__thumb,.oscm-marker{transition:none}
}

/* Buying controls.
   Add to cart and Buy now get a height floor. Horizon's buy buttons are 52px,
   and a theme whose large button is 12px type on thin padding drew the page's
   main action at 32px. --oscm-buy-h and --oscm-buy-fs come from the block's
   height setting; "theme" writes auto and 0px, so the theme's own button
   passes through untouched. */
.oscm-buyform .os-block--product-buy-buttons .os-btn--lg{min-block-size:var(--oscm-buy-h,3rem);font-size:max(var(--os-button-lg-font-size,1rem),var(--oscm-buy-fs,.9375rem));align-items:center;justify-content:center}
/* Quantity stepper: 44px square targets, where the small ghost button measured
   about 36px tall. Covers the product-quantity block and the stepper the buy
   buttons draw in "quantity-inline". */
.oscm-buyform .oscm-stepper .os-btn{inline-size:2.75rem;block-size:2.75rem;min-block-size:2.75rem;padding:0;justify-content:center}
.oscm-buyform .oscm-stepper__value{min-inline-size:2.5rem}
/* Variant pills reach 44px. Colour and image chips are sized by the swatch
   tokens instead, in the PDP-WP6 group below. */
.oscm-buyform .oscm-swatch{min-block-size:2.75rem}
/* The price, notes, stock line, rating and field labels are paragraphs, and the
   browser's 1em paragraph margin stacked on top of the form's gap: about 40px
   from title to price where the gap says 16px. The gaps own the rhythm. */
.oscm-buyform :is(.os-price,.oscm-note,.oscm-stock,.oscr__rating,p.os-field__label){margin-block:0}
/* The pinned bar sits outside .oscm-buyform, so these two win on order, not
   depth. The bottom padding adds the home-indicator inset (0 where there is
   none), and the button leaves the theme's small size, a 32px target on some
   themes, for 44px. */
.oscm-stickybar--bottom{padding-block-end:calc(.75rem + env(safe-area-inset-bottom,0px))}
.oscm-stickybar .os-btn{min-block-size:2.75rem;padding-inline:1.25rem;font-size:max(var(--os-button-sm-font-size,.875rem),.875rem)}

/* ===== Media gallery (PDP-WP4 swipe strip, PDP-WP5 zoom and lightbox) ===== */
/* Phones swipe a grid. The section adds --swipe for stacked and columns with
   more than one image. The row bleeds to the screen edge by the page gutter, and
   each slide is 88% wide so the next photo peeks, which is what tells a shopper
   the row moves. grid-column on the first item is inert here: a flex item has no
   grid track to span. */
@media (max-width:749px){
.oscm-product-media--swipe .oscm-list{display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin-inline:calc(var(--osc-pad,16px) * -1);padding-inline:var(--osc-pad,16px);scroll-padding-inline:var(--osc-pad,16px)}
.oscm-product-media--swipe .oscm-list::-webkit-scrollbar{display:none}
.oscm-product-media--swipe .oscm-list>li{flex:0 0 88%;min-inline-size:0;scroll-snap-align:start}
.oscm-product-media--swipe .oscm-list>li:only-child{flex-basis:100%}
/* Position dots (MediaPager): an 8px dot inside a 24px target, where the
   carousel's own dots are 8px targets. */
.oscm-product-media .oscm-pager{display:flex;justify-content:center;align-items:center;margin-block-start:.5rem}
.oscm-product-media .oscm-pager__dot{display:grid;place-items:center;inline-size:1.5rem;block-size:1.5rem;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.oscm-product-media .oscm-pager__dot::before{content:"";inline-size:.5rem;block-size:.5rem;border-radius:var(--os-radius-full);background:var(--scheme-border)}
.oscm-product-media .oscm-pager__dot[aria-current="true"]::before{background:var(--scheme-text)}
.oscm-product-media .oscm-pager__counter{margin:0;font-size:var(--osc-step--1,.875rem);font-variant-numeric:tabular-nums}
}
@media (min-width:750px){.oscm-product-media .oscm-pager{display:none}}
.oscm-product-media .oscm-pager[hidden]{display:none}

/* "Adapt to image" gave the frame no ratio, so before a lazy photo loaded (or
   when it failed) the frame was 0px tall and the zoom button measured 322x2.
   auto 4/5 reserves a portrait box and hands over to the photo's own shape the
   moment it has one. */
.oscm-product-media :is(.oscm-gallery__frame,.oscm-list>li)>.osc-media:not([class*="osc-media--"])>img{aspect-ratio:auto 4/5}
/* A visible zoom affordance: a 40px chip with a magnifier in the corner of the
   existing full-frame button. On a mouse it appears on hover or focus; on touch,
   where nothing hovers, it stays. The glyph is a fixed mask, painted in the
   scheme's text colour. */
.oscm-product-media .oscm-gallery__zoom::after{content:"";position:absolute;inset-block-end:.75rem;inset-inline-end:.75rem;box-sizing:border-box;inline-size:2.5rem;block-size:2.5rem;border:var(--os-border-width,1px) var(--os-border-style,solid) var(--scheme-border);border-radius:var(--os-radius-full);background:var(--scheme-background);opacity:.92;transition:opacity var(--os-motion-duration-base,.18s) var(--os-motion-easing-standard,ease)}
.oscm-product-media .oscm-gallery__zoom::before{content:"";position:absolute;z-index:1;inset-block-end:1.375rem;inset-inline-end:1.375rem;inline-size:1.25rem;block-size:1.25rem;background:var(--scheme-text);transition:opacity var(--os-motion-duration-base,.18s) var(--os-motion-easing-standard,ease);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.9-4.9M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.9-4.9M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/contain no-repeat}
@media (hover:hover){.oscm-product-media .oscm-gallery__frame:not(:hover):not(:focus-within) .oscm-gallery__zoom::before,.oscm-product-media .oscm-gallery__frame:not(:hover):not(:focus-within) .oscm-gallery__zoom::after{opacity:0}}
/* The frame clips (overflow:hidden), so the focus ring is drawn inside it. */
.oscm-product-media .oscm-gallery__zoom:focus-visible{outline-offset:-.25rem}
/* Hover zoom only where a pointer can hover. A tap sets :hover on a touch
   screen, and the photo stayed magnified 1.6x until the next tap elsewhere. */
@media not all and (hover:hover){.oscm-product-media .oscm-gallery__frame[data-zoom="hover"]:hover img{transform:none}}
/* And not for a shopper who asked for reduced motion: the click-through
   lightbox stays, the hover magnify goes — the commerce sheet's own rule
   (commerce-css.ts) cannot carry the exception. */
@media (prefers-reduced-motion:reduce){.oscm-product-media .oscm-gallery__frame[data-zoom="hover"]:hover img{transform:none}}
/* The lightbox photo fits the screen. At natural size a portrait original ran
   past the dialog's 92vh cap, scrolled inside it and took the Close button with
   it. Width follows the capped height through the image's own ratio. */
.oscm-product-media .oscm-lightbox .osc-media{background:none}
.oscm-product-media .oscm-lightbox .osc-media>img{inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:92vh;max-block-size:92dvh;margin-inline:auto}
.oscm-product-media .oscm-lightbox__close{min-block-size:2.75rem;background:var(--scheme-background)}

/* ===== Variant picker states and buying-form polish (PDP-WP6, PDP-WP8) ===== */
/* Colour and image chips take the theme's swatch geometry (components.swatch.*).
   The fill is the only inline style; size, border, shape, ring and strike are all
   here, so a theme's 22px or 26px swatch is what the shopper sees. */
.oscm-buyform .oscm-swatch--chip{position:relative;box-sizing:border-box;flex:none;inline-size:var(--os-swatch-size,1.75rem);block-size:var(--os-swatch-size,1.75rem);min-height:0;min-block-size:0;padding:0;border:var(--os-swatch-border-width,var(--os-border-width,1px)) var(--os-border-style,solid) var(--scheme-border);border-radius:var(--os-radius-full);text-decoration:none}
[data-os-swatch-shape="square"] .oscm-buyform .oscm-swatch--chip{border-radius:var(--os-radius-sm)}
/* A 22-28px dot is under the 44px target. The hit area grows to 44px tall and
   half the column gap each side, so neighbouring targets meet without
   overlapping; the row gap grows with it once the options wrap. */
.oscm-buyform .oscm-swatch--chip::before{content:"";position:absolute;inset:min(0px,calc((var(--os-swatch-size,1.75rem) - 2.75rem) / 2)) -.375rem}
.oscm-buyform .oscm-swatches:has(>.oscm-swatch--chip){gap:max(.75rem,calc(2.75rem - var(--os-swatch-size,1.75rem))) .75rem}
/* Selected: the theme's ring outside a 2px gap in the page colour, so it reads
   around a pale chip and a dark one alike. Focus draws outside the ring. */
.oscm-buyform .oscm-swatch--chip[aria-checked="true"]{box-shadow:0 0 0 2px var(--scheme-background),0 0 0 calc(2px + var(--os-swatch-selected-ring,2px)) var(--os-swatch-selected-color,var(--scheme-text))} /* token-exempt: a selection ring in token colours and width, not an elevation shadow */
.oscm-buyform .oscm-swatch--chip:focus-visible{outline-offset:calc(4px + var(--os-swatch-selected-ring,2px))}
/* Unavailable: a diagonal stroke, Horizon's strikethrough-variant. A chip has no
   visible text, so line-through struck nothing and only a fade was left. The
   stroke is on ::after because the inline fill would paint over a background
   image; a page-colour edge keeps it visible on a dark chip. */
.oscm-buyform .oscm-swatch--chip[data-state="unavailable"]{opacity:.6}
.oscm-buyform .oscm-swatch--chip[data-state="unavailable"]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(to top right,transparent calc(50% - 1.5px),var(--scheme-background) 0 calc(50% - .75px),var(--scheme-text) 0 calc(50% + .75px),var(--scheme-background) 0 calc(50% + 1.5px),transparent 0)}
/* components.swatch.unavailableStyle "dim": a fade, no stroke, on pills and
   chips. theme-style.ts never mirrors "hide", so an option is never removed. */
[data-os-swatch-unavailable="dim"] .oscm-buyform .oscm-swatch[data-state="unavailable"]{text-decoration:none;opacity:.45}
[data-os-swatch-unavailable="dim"] .oscm-buyform .oscm-swatch--chip[data-state="unavailable"]::after{content:none}
/* The picker's Button width "Equal": a grid of equal columns, each at least as
   wide as the group's longest label (--oscm-option-ch, written by the picker)
   plus the pill's padding. Horizon's variant-option--equal-width-buttons. */
.oscm-buyform .oscm-swatches--equal{display:grid;font-size:var(--osc-step--1,.8125rem);grid-template-columns:repeat(auto-fit,minmax(clamp(2.75rem,calc(var(--oscm-option-ch,4ch) + 1.8em),100%),1fr))}
.oscm-buyform .oscm-swatches--equal>.oscm-swatch{justify-content:center;text-align:center;min-inline-size:0}
/* The picker stacks its groups in .osc-stack, which aligns children to the start,
   so a group shrank to its widest pill and auto-fit found room for one column. */
.oscm-buyform .osc-stack>:has(>.oscm-swatches--equal){align-self:stretch}
/* Dividers "Between groups", the product-information default, drew nothing: only
   "Between blocks" had a rule. A hairline where the purpose changes, from the
   product's facts to its choices, to the buy buttons, to the detail under them.
   Slots cover a theme template and block classes a migrated one with no slots.
   Empty blocks are display:none, so :not(:empty) keeps a rule off a hidden one. */
.oscm-buyform[data-dividers="between-groups"]>:is(.os-block--product-variant-picker,.os-block--product-quantity,[data-os-slot="picker"]):not(:first-child,:empty,:is(.os-block--product-variant-picker,.os-block--product-quantity,[data-os-slot="picker"])+*),
.oscm-buyform[data-dividers="between-groups"]>:is(.os-block--product-buy-buttons,[data-os-slot="buy"]):not(:first-child),
.oscm-buyform[data-dividers="between-groups"]>:is(.os-block--product-buy-buttons,[data-os-slot="buy"])+:not(:empty){border-block-start:var(--os-border-width) var(--os-border-style) var(--scheme-border);padding-block-start:var(--osc-gap,var(--os-space-gap,1.25rem))}

.oscm-bar{align-items:center;column-gap:1rem;row-gap:.75rem;margin-block:clamp(.75rem,2vw,1.25rem) clamp(1.25rem,3vw,2rem)}
.oscm-bar>p[role="status"]{margin:0}
.oscm-bar__controls{flex-wrap:nowrap;align-items:center;gap:.75rem;min-inline-size:0;max-inline-size:100%;margin-inline-start:auto}
.oscm-bar__controls:has(>.oscm-filters--drawer[open]){flex-wrap:wrap}
.oscm-bar__controls>.oscm-filters--drawer[open]{flex-basis:100%}
.oscm-filters--drawer{gap:0}
.oscm-bar .oscm-filter-trigger{display:inline-flex;align-items:center;gap:.5em;min-block-size:2.75rem;white-space:nowrap}
.oscm-filter-trigger__count{display:inline-grid;place-items:center;min-inline-size:1.25rem;block-size:1.25rem;padding-inline:.3rem;box-sizing:border-box;border-radius:var(--os-radius-full);background:color-mix(in srgb,currentColor 20%,transparent);font-size:.75rem;line-height:1;font-variant-numeric:tabular-nums}
.oscm-bar .oscm-sort{flex-direction:row;align-items:center;gap:.5rem;min-inline-size:0;margin:0;margin-inline-start:auto}
.oscm-bar .oscm-sort>.os-field__label{flex:none;white-space:nowrap}
.oscm-bar .oscm-sort>.os-input{flex:0 1 auto;inline-size:auto;min-inline-size:0;max-inline-size:14rem;block-size:2.75rem;min-block-size:0;padding-block:0;text-overflow:ellipsis}

html[data-os-filters-open],html[data-os-filters-open] body{overflow:hidden}
.oscm-filter-drawer__scrim{z-index:calc(var(--os-layout-z-index-drawer,40) - 1)}
.oscm-drawer.oscm-filter-drawer--modal{position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;z-index:var(--os-layout-z-index-drawer,40);box-sizing:border-box;display:flex;flex-direction:column;inline-size:min(var(--os-drawer-width,24rem),calc(100vw - 3rem));max-inline-size:none;block-size:100vh;block-size:100dvh;margin:0;padding:0;border:0;border-radius:0;border-start-end-radius:var(--os-drawer-radius,0);border-end-end-radius:var(--os-drawer-radius,0);box-shadow:0 0 40px color-mix(in srgb,var(--scheme-text) 18%,transparent);overflow:hidden}
.oscm-filter-drawer--modal[hidden]{display:none}
.oscm-filter-drawer--modal:focus{outline:none}
.oscm-filter-drawer--modal:not([hidden]){animation:oscm-filters-in var(--os-motion-duration-slow,280ms) var(--os-motion-easing-standard,ease-out)}
.oscm-filter-drawer--modal:not([hidden]):dir(rtl){animation-name:oscm-filters-in-rtl}
@keyframes oscm-filters-in{from{transform:translateX(-100%)}}
@keyframes oscm-filters-in-rtl{from{transform:translateX(100%)}}
.oscm-filter-drawer__head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-block-size:3.5rem;padding-block:max(.375rem,env(safe-area-inset-top)) .375rem;padding-inline:1.25rem .375rem;border-block-end:var(--os-border-width,1px) var(--os-border-style,solid) var(--scheme-border)}
.oscm-filter-drawer__head[hidden]{display:none}
.oscm-filter-drawer__title{margin:0;font-size:var(--osc-step-1);line-height:1.2}
.oscm-filter-drawer .oscm-filter-drawer__close{flex:none;inline-size:2.75rem;block-size:2.75rem;min-inline-size:2.75rem;padding:0;justify-content:center;border-radius:var(--os-radius-full)}
.oscm-filter-drawer--modal>.oscm-filter-drawer__body{flex:1 1 auto;min-block-size:0;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:1.25rem 1.25rem 0}
.oscm-filter-drawer--modal .oscm-filter-form{flex:1 0 auto}
.oscm-filter-form{align-items:stretch}
.oscm-filter-form fieldset{border:0;margin:0;padding:0;min-inline-size:0;display:flex;flex-wrap:wrap;gap:.75rem}
.oscm-filter-form legend{float:inline-start;inline-size:100%;padding:0;margin-block-end:.25rem}
.oscm-filter-form fieldset>.os-field{flex:1 1 7rem;min-inline-size:0}
.oscm-filter-drawer--modal .oscm-filter-form__actions{position:sticky;inset-block-end:0;flex-wrap:nowrap;margin-block-start:auto;margin-inline:calc(1.25rem * -1);padding:1rem 1.25rem max(1rem,env(safe-area-inset-bottom));background:var(--scheme-background);border-block-start:var(--os-border-width,1px) var(--os-border-style,solid) var(--scheme-border)}
.oscm-filter-drawer--modal .oscm-filter-form__actions>button{flex:1 1 auto;min-block-size:2.75rem}

/* Facet checklists (oscm-check): the commerce sheet turns every fieldset
   into a flex row for the price bounds, so a checklist opts into a column
   here. display:block cannot say the same thing: Blink keeps a fieldset's
   anonymous content box as a flex item of it, which shrinks the list to
   zero width. The box is drawn, not the native control — a pack's input
   styles never reach an appearance:none element, so the mark is painted
   explicitly. The focus ring comes free: the storefront's global
   :focus-visible rule already keys on the input. */
.oscm-filter-form .oscm-facet{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0}
.oscm-facet__list{display:flex;flex-direction:column}
.oscm-check{display:flex;align-items:center;gap:.6rem;min-block-size:2.75rem;cursor:pointer}
.oscm-check>input{appearance:none;flex:none;inline-size:1.125rem;block-size:1.125rem;margin:0;border:var(--os-input-border-width,1px) var(--os-border-style,solid) var(--os-input-border,var(--scheme-border));border-radius:var(--os-radius-sm);background:transparent;display:grid;place-content:center;cursor:pointer}
.oscm-check>input:checked{background:var(--scheme-text);border-color:var(--scheme-text)}
.oscm-check>input:checked::after{content:"";inline-size:.55rem;block-size:.3rem;border:2px solid var(--scheme-background);border-block-start:0;border-inline-end:0;transform:rotate(-45deg) translate(1px,-1px)}
.oscm-check__count{margin-inline-start:auto;color:var(--scheme-text-muted);font-size:.875em;font-variant-numeric:tabular-nums}
.oscm-facet--collapsible>summary{display:flex;align-items:center;justify-content:space-between;min-block-size:2.75rem;cursor:pointer;list-style:none}
.oscm-facet--collapsible>summary::-webkit-details-marker{display:none}
.oscm-facet__summary::after{content:"";inline-size:.5rem;block-size:.5rem;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(45deg);transition:transform var(--os-motion-duration-fast,.2s)}
.oscm-facet--collapsible[open]>.oscm-facet__summary::after{transform:rotate(-135deg) translate(-1px,-1px)}

/* The currency symbol sits inside the bound's own box — a bare "500" reads as
   a quantity, a prefixed one as money. */
.oscm-money{position:relative;display:block}
.oscm-money__symbol{position:absolute;inset-inline-start:.625rem;inset-block:0;display:grid;place-items:center;color:var(--scheme-text-muted);font-size:.875em;pointer-events:none}
.oscm-money>.os-input{padding-inline-start:1.75rem}

.oscm-listing__main{min-inline-size:0}

.oscm-active-filters,.oscm-filter-chips{margin-block-start:clamp(.75rem,2vw,1.25rem)}
.oscm-active-filters>ul,.oscm-filter-chips>ul{gap:.5rem}
.oscm-filter-chips>ul{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding-block:.125rem .375rem}
.oscm-filter-chips li{flex:none;scroll-snap-align:start}
.oscm-list .oscm-chip.os-badge{display:inline-flex;align-items:center;gap:.4em;min-block-size:2.25rem;padding-block:0;padding-inline:.875rem;font-size:max(.875rem,var(--osc-step--1,.875rem));font-weight:500;letter-spacing:normal;text-transform:none;line-height:1.2;white-space:nowrap;text-decoration:none}
.oscm-active-filters .oscm-active-filters__clear{min-block-size:2.25rem;white-space:nowrap}

.oscm-pagination{display:flex;justify-content:center;margin-block-start:clamp(1.5rem,5vw,2.5rem);margin-block-end:clamp(.5rem,3vw,1.5rem)}
.oscm-pagination__list{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.25rem}
.oscm-pagination__item{display:flex}
.oscm-pagination__link{min-inline-size:2.75rem;min-block-size:2.75rem;padding-block:0;padding-inline:.625rem;justify-content:center;font-variant-numeric:tabular-nums}
.oscm-pagination__link[aria-current="page"]{cursor:default}
.oscm-pagination--square .oscm-pagination__link{border-radius:var(--os-radius-sm)}
.oscm-pagination--circle .oscm-pagination__link{border-radius:var(--os-radius-full);padding-inline:0}
.oscm-pagination--pill .oscm-pagination__link{border-radius:var(--os-radius-full)}
.oscm-pagination__link--off{opacity:.35;pointer-events:none}
.oscm-pagination__gap{min-inline-size:1.5rem;justify-content:center;color:var(--scheme-text-muted)}
/* Both page windows are in the markup (`pageSlots`); each width shows its own. */
@media (max-width: 749px){.oscm-pagination__item--wide{display:none}}
@media (min-width: 750px){.oscm-pagination__item--narrow{display:none}}

@media (min-width: 990px){
.oscm-listing--sidebar{display:grid;grid-template-columns:minmax(13rem,16rem) minmax(0,1fr);column-gap:clamp(1.5rem,3vw,3rem);align-items:start}
.oscm-listing--sidebar>.oscm-listing__aside{position:sticky;inset-block-start:calc(var(--os-layout-sticky-offset,0px) + 1rem);min-width:0;max-block-size:calc(100vh - var(--os-layout-sticky-offset,0px) - 2rem);overflow-y:auto;overscroll-behavior:contain;margin-block-start:clamp(.75rem,2vw,1.25rem);padding-block-end:1rem;padding-inline-end:.25rem}
}
@media (max-width: 989px){
.oscm-listing--sidebar>.oscm-listing__aside{display:none}
}
@media (max-width: 749px){
.oscm-bar>p[role="status"],.oscm-bar__controls{flex:1 1 100%}
.oscm-bar .oscm-sort>.os-field__label{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.oscm-active-filters>ul{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-block:.125rem}
.oscm-active-filters li{flex:none;scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){
.oscm-filter-drawer--modal:not([hidden]){animation:none}
}
