/* QBedding prototypes: shared base (reset, accessibility utilities, grid, component structure).
   Colours, fonts, radii and shadows come ONLY from tokens; each prototype's theme.css sets them.
   Audit: A11Y-05 (focus, 44px targets, skip link, reduced motion), DS-06 (4px base, 8pt scale, 12/4 cols). */

/* ---------- default tokens (overridden per prototype) ---------- */
:root {
  --qb-color-bg: #FFFFFF; --qb-color-surface: #F7F3EE; --qb-color-surface-2: #EFE8DF;
  --qb-color-ink: #1F1F1F; --qb-color-ink-2: #5E5145; --qb-color-line: #E4DCD2; --qb-color-control-border: #8C7B6B;
  --qb-color-brand: #8C7B6B; --qb-color-brand-deep: #5E5145; --qb-color-on-brand: #FFFFFF;
  --qb-color-cta: #9C5B3F; --qb-color-cta-hover: #84492F; --qb-color-on-cta: #FFFFFF;
  --qb-color-accent: #9C5B3F; --qb-color-success: #1D6B45; --qb-color-alert: #8A5A00; --qb-color-error: #A3261A;
  --qb-color-focus: #1F1F1F; --qb-color-star: #8A5A00; --qb-color-sample: #5E5145;
  --qb-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --qb-font-display: var(--qb-font-body);
  --qb-text-base: 1rem; --qb-leading: 1.5;
  --qb-space-1: 4px; --qb-space-2: 8px; --qb-space-3: 16px; --qb-space-4: 24px; --qb-space-5: 32px; --qb-space-6: 48px; --qb-space-7: 64px; --qb-space-8: 96px;
  --qb-radius-s: 4px; --qb-radius-m: 8px; --qb-radius-l: 16px; --qb-radius-pill: 999px;
  --qb-shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.06); --qb-shadow-2: 0 8px 32px rgba(0,0,0,.14);
  --qb-motion-fast: 150ms; --qb-motion: 200ms; --qb-ease: cubic-bezier(.2,.7,.3,1);
  --qb-container: 1320px; --qb-gutter: 16px; --qb-header-h: 64px;
}
@media (min-width: 768px) { :root { --qb-gutter: 24px; } }
@media (min-width: 1200px) { :root { --qb-gutter: 40px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--qb-header-h) + 16px); }
body { margin: 0; background: var(--qb-color-bg); color: var(--qb-color-ink); font: 400 var(--qb-text-base)/var(--qb-leading) var(--qb-font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--qb-font-display); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: .18em; }
table { border-collapse: collapse; width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
.qb-lock, .qb-lock body { overflow: hidden; }

/* ---------- accessibility utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.qb-skip { position: absolute; left: 8px; top: -100px; z-index: 1000; background: var(--qb-color-ink); color: var(--qb-color-bg); padding: 12px 16px; border-radius: var(--qb-radius-s); }
.qb-skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--qb-color-focus); outline-offset: 2px; }
.qb-opt__input:focus-visible + label, .qb-facet__input:focus-visible + label, .qb-sb__in:focus-visible + label, .qb-quiz__in:focus-visible + label { outline: 3px solid var(--qb-color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- layout ---------- */
.qb-container { width: 100%; max-width: var(--qb-container); margin-inline: auto; padding-inline: var(--qb-gutter); }
.qb-grid { display: grid; gap: var(--qb-space-4) var(--qb-space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .qb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--qb-space-5) var(--qb-space-4); } }
@media (min-width: 1200px) { .qb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qb-grid.is-list { grid-template-columns: 1fr; gap: 0; }
.qb-section { padding-block: var(--qb-space-6); }
@media (min-width: 1024px) { .qb-section { padding-block: var(--qb-space-7); } }
.qb-stack > * + * { margin-top: var(--qb-space-3); }

/* ---------- buttons & controls (44px minimum targets) ---------- */
.qb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--qb-radius-m); border: 2px solid transparent; font-weight: 600; text-decoration: none; line-height: 1.2; transition: background var(--qb-motion-fast) var(--qb-ease), color var(--qb-motion-fast) var(--qb-ease), border-color var(--qb-motion-fast) var(--qb-ease); }
.qb-btn .qb-icon { width: 20px; height: 20px; flex: none; }
.qb-btn--primary { background: var(--qb-color-cta); color: var(--qb-color-on-cta); }
.qb-btn--primary:hover { background: var(--qb-color-cta-hover); }
.qb-btn--secondary { background: var(--qb-color-ink); color: var(--qb-color-bg); }
.qb-btn--ghost { background: transparent; color: var(--qb-color-ink); border-color: var(--qb-color-control-border); }
.qb-btn--ghost:hover { border-color: var(--qb-color-ink); }
.qb-btn--block { width: 100%; }
.qb-btn--small { min-height: 44px; padding: 6px 14px; font-size: .9375rem; }
.qb-btn[disabled], .qb-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.qb-link { background: none; border: 0; padding: 0; min-height: 24px; color: inherit; text-decoration: underline; text-underline-offset: .18em; display: inline-flex; align-items: center; gap: 4px; }
.qb-icon { width: 24px; height: 24px; flex: none; }
.qb-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--qb-radius-pill); position: relative; color: inherit; text-decoration: none; }
.qb-icon-btn:hover { background: var(--qb-color-surface); }
.qb-badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--qb-color-ink); color: var(--qb-color-bg); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
input[type=text], input[type=email], input[type=search], input[type=number], input:not([type]), select { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-m); background: var(--qb-color-bg); width: 100%; }
input[aria-invalid="true"] { border-color: var(--qb-color-error); }
label { cursor: pointer; }
.qb-check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.qb-check input, input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--qb-color-ink); flex: none; }
.qb-note { font-size: .875rem; color: var(--qb-color-ink-2); }
.qb-sample-tag { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--qb-color-sample); white-space: nowrap; }
.qb-proto-tag { display: inline-block; font: 600 .6875rem/1.6 var(--qb-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 0 8px; border: 1.5px solid currentColor; border-radius: var(--qb-radius-pill); vertical-align: middle; }

/* ---------- prototype notice ---------- */
.qb-proto-bar { background: var(--qb-color-ink); color: var(--qb-color-bg); font-size: .8125rem; padding: 6px var(--qb-gutter); text-align: center; }
.qb-proto-bar a { color: inherit; }

/* ---------- announcement (static, never rotates; UX-03) ---------- */
.qb-announce { background: var(--qb-color-brand-deep); color: var(--qb-color-on-brand); font-size: .875rem; text-align: center; padding: 8px var(--qb-gutter); }
.qb-announce p { margin: 0; }
.qb-announce a { color: inherit; }

/* ---------- predictive search ---------- */
.qb-search-form { position: relative; }
.qb-search-field { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-pill); background: var(--qb-color-bg); padding-inline: 6px 4px; }
.qb-search-field input[type=search] { border: 0; min-height: 44px; background: transparent; padding-inline: 8px; }
.qb-search-field input[type=search]:focus-visible { outline: none; }
.qb-search-field:focus-within { outline: 3px solid var(--qb-color-focus); outline-offset: 2px; }
.qb-predictive { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--qb-color-bg); border: 1px solid var(--qb-color-line); border-radius: var(--qb-radius-m); box-shadow: var(--qb-shadow-2); max-height: 70vh; overflow: auto; padding: 6px; list-style: none; }
.qb-pred__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; min-height: 44px; border-radius: var(--qb-radius-s); cursor: pointer; }
.qb-pred__opt[aria-selected="true"], .qb-pred__opt:hover { background: var(--qb-color-surface); }
.qb-pred__opt img { width: 40px; height: 50px; object-fit: cover; border-radius: var(--qb-radius-s); }
.qb-pred__opt > span { display: flex; flex-direction: column; }
.qb-pred__price { font-size: .875rem; color: var(--qb-color-ink-2); }
.qb-pred__note { font-size: .8125rem; padding: 6px 10px; color: var(--qb-color-ink-2); }

/* ---------- mega-menu structure ---------- */
.qb-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; }
.qb-menu > li { position: static; }
.qb-menu__trigger, .qb-menu__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 12px; border: 0; background: none; text-decoration: none; font-weight: 500; }
.qb-menu__trigger .qb-icon { width: 16px; height: 16px; transition: transform var(--qb-motion-fast); }
.qb-menu__trigger[aria-expanded="true"] .qb-icon { transform: rotate(180deg); }
.qb-menu__panel { position: absolute; left: 0; right: 0; z-index: 50; background: var(--qb-color-bg); border-top: 1px solid var(--qb-color-line); box-shadow: var(--qb-shadow-2); }
.qb-tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--qb-space-3); }
.qb-tile { display: block; text-decoration: none; }
.qb-tile img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--qb-radius-m); background: var(--qb-color-surface); }
.qb-tile span { display: block; margin-top: 8px; font-weight: 600; }

/* ---------- product card structure ---------- */
.qb-card { position: relative; display: flex; flex-direction: column; }
.qb-card__media { display: block; position: relative; overflow: hidden; border-radius: var(--qb-radius-m); background: var(--qb-color-surface); aspect-ratio: 4/5; }
.qb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--qb-motion) var(--qb-ease); }
.qb-card__alt { position: absolute; inset: 0; opacity: 0; }
.qb-card:hover .qb-card__alt { opacity: 1; }
.qb-card__body { padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.qb-card__title { font-size: 1rem; margin: 0; line-height: 1.3; }
.qb-card__title a { text-decoration: none; }
.qb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.qb-card__title a:focus-visible { outline: none; }
.qb-card:has(.qb-card__title a:focus-visible) { outline: 3px solid var(--qb-color-focus); outline-offset: 4px; border-radius: var(--qb-radius-m); }
.qb-card__type { font-size: .8125rem; color: var(--qb-color-ink-2); margin: 0; }
.qb-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.qb-card__actions { position: static; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.qb-card__compare { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; }
.qb-wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--qb-color-ink); }
.qb-wish.is-on .qb-icon { fill: currentColor; }
.qb-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; padding: 0; }
.qb-card .qb-badges { position: absolute; top: 10px; left: 10px; margin: 0; z-index: 1; pointer-events: none; }
.qb-badges li { border: 1px solid var(--qb-color-line); }
.qb-badges li { background: var(--qb-color-bg); color: var(--qb-color-ink); font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: var(--qb-radius-pill); }
.qb-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.qb-price__from { font-weight: 400; font-size: .875em; color: var(--qb-color-ink-2); }
.qb-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .8125rem; min-width: 0; }
.qb-rating--none { color: var(--qb-color-ink-2); }
.qb-stars { position: relative; display: inline-block; width: 80px; height: 15px; background: linear-gradient(90deg, var(--qb-color-line) 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.qb-stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--qb-color-star); }
.qb-stars--sm { width: 64px; height: 12px; -webkit-mask-size: 64px 12px; mask-size: 64px 12px; }
.qb-dots { list-style: none; display: flex; gap: 6px; align-items: center; }
.qb-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.qb-dots__more { font-size: .75rem; color: var(--qb-color-ink-2); }
.qb-sizes-avail { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.qb-size-chip { font-size: .75rem; padding: 1px 6px; border-radius: var(--qb-radius-s); background: var(--qb-color-surface); }
.qb-size-chip.is-out { text-decoration: line-through; color: var(--qb-color-ink-2); }
.qb-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.qb-specs li { font-size: .8125rem; padding: 2px 8px; border: 1px solid var(--qb-color-control-border); border-radius: var(--qb-radius-pill); }

/* dense row (list view) */
.qb-row { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--qb-color-line); }
.qb-row__media img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--qb-radius-s); }
.qb-row__title { font-size: 1rem; margin: 0 0 6px; }
.qb-row__title a { text-decoration: none; }
.qb-row__title a::after { content: ""; position: absolute; inset: 0; }
.qb-row__side { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; position: relative; z-index: 1; }
.qb-row__main .qb-specs, .qb-row__main .qb-sizes-avail { margin-bottom: 6px; }
@media (min-width: 768px) { .qb-row { grid-template-columns: 90px 1fr 260px; } .qb-row__media img { width: 90px; height: 112px; } .qb-row__side { grid-column: 3; flex-direction: column; align-items: flex-end; } }

/* ---------- PDP structure ---------- */
.qb-gallery__main { position: relative; background: var(--qb-color-surface); border-radius: var(--qb-radius-m); overflow: hidden; aspect-ratio: 4/5; }
.qb-gallery__slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity var(--qb-motion) var(--qb-ease); }
.qb-gallery__slide.is-active { opacity: 1; position: relative; }
.qb-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.qb-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.qb-gallery__thumb { width: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--qb-radius-s); background: none; overflow: hidden; }
.qb-gallery__thumb.is-active { border-color: var(--qb-color-ink); }
.qb-opt { margin-bottom: var(--qb-space-4); }
.qb-opt__legend { font-weight: 600; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.qb-opt__value { font-weight: 400; }
.qb-opt__guide { font-weight: 500; font-size: .9375rem; min-height: 44px; }
.qb-opt__guide .qb-icon { width: 18px; height: 18px; }
.qb-opt__list, .qb-sb__pills, .qb-sb__swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.qb-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 56px; padding: 8px 14px; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-m); background: var(--qb-color-bg); font-size: .9375rem; position: relative; }
input:checked + .qb-pill { border-color: var(--qb-color-ink); box-shadow: inset 0 0 0 1.5px var(--qb-color-ink); font-weight: 600; }
.qb-pill.is-out { color: var(--qb-color-ink-2); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--qb-color-control-border) 50%, transparent calc(50% + 1px)); }
.qb-swatch { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid transparent; position: relative; }
.qb-swatch__chip { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); }
input:checked + .qb-swatch { border-color: var(--qb-color-ink); box-shadow: 0 0 0 1px var(--qb-color-ink); }
.qb-swatch.is-out::after { content: ""; position: absolute; width: 2px; height: 40px; background: var(--qb-color-ink); transform: rotate(45deg); opacity: .6; }
.qb-stock { display: flex; gap: 8px; align-items: center; font-size: .9375rem; margin: 0 0 12px; }
.qb-stock .qb-icon { width: 20px; height: 20px; }
.qb-stock--in { color: var(--qb-color-success); } .qb-stock--low { color: var(--qb-color-alert); } .qb-stock--out { color: var(--qb-color-ink-2); }
.qb-atc { display: flex; gap: 8px; }
.qb-atc__btn { flex: 1; }
.qb-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-m); background: var(--qb-color-bg); }
.qb-qty__btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.qb-qty__btn .qb-icon { width: 18px; height: 18px; }
.qb-qty__input { width: 48px !important; min-height: 40px; border: 0 !important; text-align: center; padding: 0 !important; -moz-appearance: textfield; }
.qb-qty__input::-webkit-inner-spin-button, .qb-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qb-notify label { display: block; font-weight: 600; margin-bottom: 6px; }
.qb-notify__row, .qb-delivery__row, .qb-pocket__row, .qb-email__row { display: flex; gap: 8px; }
.qb-notify__msg, .qb-email__msg { font-size: .875rem; margin: 6px 0 0; min-height: 1.2em; }
.qb-delivery { font-size: .9375rem; }
.qb-delivery__est { display: flex; gap: 8px; margin: 0 0 4px; } .qb-delivery__est .qb-icon { width: 22px; height: 22px; }
.qb-delivery__cut { margin: 0 0 8px; color: var(--qb-color-ink-2); font-size: .875rem; }
.qb-delivery__form label { font-size: .875rem; display: block; margin-bottom: 4px; }
.qb-delivery__row input { max-width: 160px; }
.qb-delivery__err { color: var(--qb-color-error); }
.qb-family { margin: var(--qb-space-3) 0; }
.qb-family__h { font-weight: 600; margin-bottom: 6px; }
.qb-family ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.qb-family a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--qb-color-control-border); border-radius: var(--qb-radius-pill); text-decoration: none; font-size: .875rem; }
.qb-family__chip { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.qb-facts th, .qb-facts td, .qb-size-table th, .qb-size-table td, .qb-compare-table th, .qb-compare-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--qb-color-line); vertical-align: top; font-size: .9375rem; }
.qb-facts th { width: 38%; font-weight: 600; }
.qb-size-table caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.qb-size-table td { font-variant-numeric: tabular-nums; }
.qb-size-table tr.is-selected { background: var(--qb-color-surface); }
.qb-size-table tr.is-selected th { box-shadow: inset 3px 0 0 var(--qb-color-ink); padding-left: 10px; }
.qb-table-scroll { overflow-x: auto; background: linear-gradient(to right, var(--qb-color-bg) 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(to left, var(--qb-color-bg) 30%, transparent) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.14), transparent) left / 14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.14), transparent) right / 14px 100% no-repeat scroll; }
.qb-compare-table { min-width: 560px; }
.qb-answer { border-left: 3px solid var(--qb-color-brand); padding: 4px 0 4px 16px; margin: var(--qb-space-3) 0; }
.qb-answer__label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--qb-color-ink-2); margin: 0 0 4px; }
.qb-answer__text { margin: 0; }
.qb-choose { list-style: none; display: grid; gap: 8px; }
.qb-choose li { display: flex; gap: 8px; }
.qb-choose .qb-icon { width: 20px; height: 20px; color: var(--qb-color-success); flex: none; margin-top: 2px; }
.qb-faq__item { border-bottom: 1px solid var(--qb-color-line); }
.qb-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 10px 0; }
.qb-faq__q { font-size: 1rem; margin: 0; font-family: var(--qb-font-body); font-weight: 600; }
.qb-faq__icon { transition: transform var(--qb-motion-fast); width: 20px; height: 20px; }
.qb-faq__item[open] .qb-faq__icon { transform: rotate(45deg); }
.qb-faq__a { padding-bottom: 12px; }
.qb-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .8125rem; color: var(--qb-color-ink-2); }
.qb-breadcrumb li + li::before { content: "/"; margin-right: 4px; }
.qb-breadcrumb a { display: inline-block; padding: 12px 0; }
.qb-reviews__summary { margin-bottom: var(--qb-space-4); }
.qb-reviews__score { font: 600 2.5rem/1 var(--qb-font-display); margin: 0 0 6px; }
.qb-reviews__score span { font-size: 1rem; color: var(--qb-color-ink-2); }
.qb-reviews__dist { list-style: none; display: grid; gap: 4px; max-width: 320px; font-size: .8125rem; }
.qb-reviews__dist li { display: grid; grid-template-columns: 52px 1fr 24px; gap: 8px; align-items: center; }
.qb-bar { height: 8px; background: var(--qb-color-surface-2); border-radius: 4px; overflow: hidden; } .qb-bar span { display: block; height: 100%; background: var(--qb-color-star); }
.qb-reviews__list { list-style: none; display: grid; gap: var(--qb-space-4); }
.qb-review { border-top: 1px solid var(--qb-color-line); padding-top: var(--qb-space-3); }
.qb-review__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.qb-review__meta { font-size: .8125rem; color: var(--qb-color-ink-2); }
.qb-reviews--empty { padding: var(--qb-space-4); background: var(--qb-color-surface); border-radius: var(--qb-radius-m); }

/* sticky ATC */
.qb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--qb-color-bg); border-top: 1px solid var(--qb-color-line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding: 10px var(--qb-gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform var(--qb-motion) var(--qb-ease); }
.qb-sticky.is-visible { transform: none; }
.qb-sticky__label { flex: 1; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qb-sticky__label strong { display: block; font-size: .9375rem; }

/* ---------- set builder ---------- */
.qb-setbuilder { border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-l); padding: var(--qb-space-3); background: var(--qb-color-bg); }
.qb-sb__toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; border: 0; background: none; text-align: left; padding: 0; font-weight: 600; }
.qb-sb__toggle-text { flex: 1; } .qb-sb__toggle s { font-weight: 400; color: var(--qb-color-ink-2); }
.qb-sb__toggle[aria-expanded="true"] .qb-sb__chev { transform: rotate(180deg); }
.qb-sb__panel { margin-top: 8px; }
.qb-sb__title { font-size: 1.25rem; }
.qb-sb__group { margin-bottom: var(--qb-space-3); }
.qb-sb__group legend { font-weight: 600; margin-bottom: 8px; }
.qb-sb__group legend span { font-weight: 400; }
.qb-sb__pieces { list-style: none; display: grid; gap: 8px; }
.qb-sb__piece { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--qb-color-line); border-radius: var(--qb-radius-m); }
.qb-sb__piece label { display: grid; grid-template-columns: 56px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 44px; }
.qb-sb__piece img { grid-row: span 2; width: 56px; height: 70px; object-fit: cover; border-radius: var(--qb-radius-s); }
.qb-sb__pname { font-weight: 600; } .qb-sb__pmeta { font-size: .8125rem; color: var(--qb-color-ink-2); grid-column: 2; }
.qb-sb__pprice { grid-row: 1 / span 2; grid-column: 3; font-variant-numeric: tabular-nums; font-weight: 600; }
.qb-sb__piece.is-out { opacity: .75; } .qb-sb__out { grid-column: 1 / -1; margin: 0; font-size: .8125rem; color: var(--qb-color-alert); }
.qb-sb__total { margin-top: var(--qb-space-3); }
.qb-sb__price { font-size: 1.25rem; margin-bottom: 4px; }
.qb-sb__now { font-weight: 700; } .qb-sb__was { color: var(--qb-color-ink-2); } .qb-sb__save { font-size: .875rem; font-weight: 700; color: var(--qb-color-success); }
.qb-sb__steps { list-style: none; display: flex; gap: 8px; margin-bottom: 12px; font-size: .875rem; }
.qb-sb__steps li { padding: 4px 10px; border-radius: var(--qb-radius-pill); background: var(--qb-color-surface); }
.qb-sb__steps li.is-current { background: var(--qb-color-ink); color: var(--qb-color-bg); }
.qb-sb__nav { display: flex; justify-content: space-between; gap: 8px; }

/* ---------- filters ---------- */
.qb-facet { border-bottom: 1px solid var(--qb-color-line); }
.qb-facet__h { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-weight: 600; }
.qb-facet__h .qb-icon { width: 18px; height: 18px; transition: transform var(--qb-motion-fast); }
.qb-facet[open] .qb-facet__h .qb-icon { transform: rotate(180deg); }
.qb-facet__list { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding-bottom: 12px; }
.qb-facet__list > input[type=checkbox] { margin: 0; }
.qb-check__label { min-height: 40px; display: flex; align-items: center; gap: 4px; }
.qb-facet__count { color: var(--qb-color-ink-2); font-size: .8125rem; }
.qb-facet__list--swatch { display: flex; flex-wrap: wrap; gap: 8px; }
.qb-facet__swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 4px; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-pill); font-size: .875rem; }
.qb-facet__chip { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
input:checked + .qb-facet__swatch { border-color: var(--qb-color-ink); box-shadow: inset 0 0 0 1.5px var(--qb-color-ink); font-weight: 600; }
.qb-active { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qb-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border: 1.5px solid var(--qb-color-control-border); background: var(--qb-color-bg); border-radius: var(--qb-radius-pill); font-size: .875rem; }
.qb-chip .qb-icon { width: 16px; height: 16px; }
.qb-chip.is-on, .qb-chip[aria-pressed="true"] { background: var(--qb-color-ink); color: var(--qb-color-bg); border-color: var(--qb-color-ink); }
.qb-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: var(--qb-space-3); }
.qb-toolbar select { width: auto; }
.qb-empty, .qb-cart-empty { padding: var(--qb-space-5); text-align: center; background: var(--qb-color-surface); border-radius: var(--qb-radius-m); grid-column: 1 / -1; }
.qb-cart-empty__links, .qb-noresults__cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* compare tray */
.qb-tray { position: fixed; z-index: 45; left: 50%; transform: translateX(-50%); bottom: 16px; width: min(720px, calc(100% - 24px)); background: var(--qb-color-bg); border: 1px solid var(--qb-color-line); box-shadow: var(--qb-shadow-2); border-radius: var(--qb-radius-l); padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.qb-tray__h { margin: 0; font-weight: 700; font-size: .875rem; }
.qb-tray__list { list-style: none; display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.qb-tray__list li { display: flex; align-items: center; gap: 6px; font-size: .8125rem; background: var(--qb-color-surface); border-radius: var(--qb-radius-m); padding-left: 4px; }
.qb-tray__list img { width: 32px; height: 40px; object-fit: cover; border-radius: 4px; }

/* ---------- dialogs & drawers ---------- */
.qb-dialog { position: fixed; inset: 0; z-index: 100; background: rgba(20,16,12,.45); display: flex; opacity: 0; transition: opacity var(--qb-motion) var(--qb-ease); }
.qb-dialog.is-open { opacity: 1; }
.qb-dialog__panel { background: var(--qb-color-bg); color: var(--qb-color-ink); width: min(100%, 440px); height: 100%; margin-left: auto; display: flex; flex-direction: column; box-shadow: var(--qb-shadow-2); transform: translateX(24px); transition: transform var(--qb-motion) var(--qb-ease); }
.qb-dialog.is-open .qb-dialog__panel { transform: none; }
.qb-dialog--left .qb-dialog__panel { margin-left: 0; margin-right: auto; transform: translateX(-24px); }
.qb-dialog--center { align-items: center; justify-content: center; padding: 16px; }
.qb-dialog--center .qb-dialog__panel { height: auto; max-height: calc(100vh - 32px); width: min(100%, 880px); margin: 0; border-radius: var(--qb-radius-l); transform: translateY(12px); }
.qb-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px var(--qb-space-4); border-bottom: 1px solid var(--qb-color-line); }
.qb-dialog__head h2 { margin: 0; font-size: 1.125rem; }
.qb-dialog__body { padding: var(--qb-space-4); overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.qb-drawer__title { font-size: 1.25rem; }

/* cart */
.qb-progress { padding: 12px; border-radius: var(--qb-radius-m); background: var(--qb-color-surface); margin-bottom: var(--qb-space-3); }
.qb-progress__msg { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-weight: 600; font-size: .9375rem; }
.qb-progress__msg .qb-icon { width: 22px; height: 22px; }
.qb-progress.is-done .qb-progress__msg { color: var(--qb-color-success); }
.qb-progress__track { height: 8px; border-radius: 4px; background: var(--qb-color-bg); box-shadow: inset 0 0 0 1px var(--qb-color-control-border); overflow: hidden; }
.qb-progress__track span { display: block; height: 100%; background: var(--qb-color-ink); transition: width var(--qb-motion) var(--qb-ease); }
.qb-progress.is-done .qb-progress__track span { background: var(--qb-color-success); }
.qb-progress__note { margin: 6px 0 0; font-size: .75rem; color: var(--qb-color-ink-2); }
.qb-lines, .qb-line-group ul { list-style: none; display: grid; gap: var(--qb-space-3); }
.qb-line-group { border: 1px dashed var(--qb-color-control-border); border-radius: var(--qb-radius-m); padding: 12px; }
.qb-line-group__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 10px; }
.qb-line-group__title .qb-icon { width: 18px; height: 18px; }
.qb-line-group__save { font-weight: 600; font-size: .8125rem; color: var(--qb-color-success); }
.qb-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.qb-line__img img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--qb-radius-s); background: var(--qb-color-surface); }
.qb-line__title { margin: 0; font-weight: 600; line-height: 1.3; } .qb-line__title a { text-decoration: none; }
.qb-line__variant, .qb-line__stock, .qb-line__limit { margin: 2px 0; font-size: .8125rem; color: var(--qb-color-ink-2); }
.qb-line__stock, .qb-line__limit { color: var(--qb-color-alert); }
.qb-line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.qb-line__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.qb-line__remove { font-size: .8125rem; min-height: 44px; }
.qb-upsell { margin: var(--qb-space-4) 0; }
.qb-upsell__h { font-size: 1rem; }
.qb-upsell ul { list-style: none; display: grid; gap: 10px; }
.qb-upsell__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: .875rem; }
.qb-upsell__item img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--qb-radius-s); }
.qb-upsell__item p { margin: 0; color: var(--qb-color-ink-2); }
.qb-summary { margin: var(--qb-space-3) 0; }
.qb-summary > div { display: flex; justify-content: space-between; padding: 6px 0; }
.qb-summary dt, .qb-summary dd { margin: 0; }
.qb-summary__save { color: var(--qb-color-success); font-weight: 600; }
.qb-summary__total { border-top: 1px solid var(--qb-color-line); font-weight: 700; font-size: 1.125rem; margin-top: 4px; padding-top: 10px !important; }
.qb-checkout-note { margin-top: 8px; }
.qb-added__item { display: flex; gap: 8px; font-weight: 600; } .qb-added__item .qb-icon { color: var(--qb-color-success); }

/* size guide extras */
.qb-sizecompare { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin: 16px 0 6px; }
.qb-sizecompare__bed { flex: 1; height: var(--l); display: flex; align-items: flex-end; justify-content: center; }
.qb-sizecompare__bed span { display: block; width: var(--w); min-width: 28px; height: 100%; background: var(--qb-color-surface-2); border: 1.5px solid var(--qb-color-control-border); border-radius: 6px 6px 2px 2px; font-size: .625rem; writing-mode: vertical-rl; text-align: center; padding: 4px 0; }
.qb-sizecompare__bed.is-selected span { background: var(--qb-color-ink); color: var(--qb-color-bg); border-color: var(--qb-color-ink); }
.qb-pocket { margin: 12px 0; }
.qb-pocket label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9375rem; }
.qb-pocket__row input { max-width: 140px; }
.qb-pocket__res { display: flex; gap: 8px; margin: 10px 0 4px; font-weight: 600; }
.qb-pocket__res--fits, .qb-pocket__res--snug { color: var(--qb-color-success); }
.qb-pocket__res--nofit, .qb-pocket__res--invalid { color: var(--qb-color-error); }
.qb-pocket__res .qb-icon { width: 22px; height: 22px; }
.qb-pocket__list { list-style: none; display: grid; gap: 4px; font-size: .9375rem; }

/* visual search */
.qb-vs__privacy { display: flex; gap: 12px; padding: 12px; border-radius: var(--qb-radius-m); background: var(--qb-color-surface); font-size: .875rem; margin-bottom: 16px; }
.qb-vs__privacy p { margin: 0; }
.qb-vs__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.qb-vs__file:focus-within { outline: 3px solid var(--qb-color-focus); outline-offset: 2px; }
.qb-vs__samples { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.qb-vs__sample { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1.5px solid var(--qb-color-control-border); background: var(--qb-color-bg); border-radius: var(--qb-radius-m); padding: 8px; font-size: .8125rem; width: 120px; }
.qb-vs__sample img { width: 96px; height: 96px; border-radius: var(--qb-radius-s); }
.qb-vs__error { display: flex; gap: 8px; color: var(--qb-color-error); font-weight: 600; }
.qb-vs__proc { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0; }
.qb-vs__thumb { width: 120px; height: 120px; object-fit: cover; border-radius: var(--qb-radius-m); }
.qb-spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--qb-color-surface-2); border-top-color: var(--qb-color-ink); animation: qbspin 0.9s linear infinite; }
@keyframes qbspin { to { transform: rotate(360deg); } }
.qb-vs__summary { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.qb-vs__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .875rem; }
.qb-vs__chips li { display: flex; gap: 6px; align-items: center; }
.qb-vs__chip { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.qb-vs__share { color: var(--qb-color-ink-2); }
.qb-vs__refine { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.qb-vs__refine legend { font-weight: 600; margin-bottom: 6px; width: 100%; }
.qb-vs__results { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 12px; }
.qb-vs__results a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; font-size: .8125rem; }
.qb-vs__results img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--qb-radius-m); }
.qb-vs__rt { font-weight: 600; }
.qb-vs__rc { color: var(--qb-color-ink-2); }

/* quiz */
.qb-quiz__bar { height: 6px; background: var(--qb-color-surface-2); border-radius: 3px; overflow: hidden; margin-bottom: 16px; } .qb-quiz__bar span { display: block; height: 100%; background: var(--qb-color-ink); }
.qb-quiz__progress p { font-size: .8125rem; color: var(--qb-color-ink-2); margin-bottom: 6px; }
.qb-quiz__legend { font: 600 1.5rem/1.2 var(--qb-font-display); margin-bottom: 16px; }
.qb-quiz__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 20px; }
.qb-quiz__opt { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 12px; border: 1.5px solid var(--qb-color-control-border); border-radius: var(--qb-radius-m); background: var(--qb-color-bg); font-weight: 600; }
input:checked + .qb-quiz__opt { border-color: var(--qb-color-ink); box-shadow: inset 0 0 0 2px var(--qb-color-ink); background: var(--qb-color-surface); }
.qb-quiz__nav { display: flex; justify-content: space-between; }
.qb-quiz__results { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 24px; }
.qb-quiz__result { position: relative; }
.qb-quiz__rank { position: absolute; z-index: 3; top: -10px; left: -10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--qb-color-ink); color: var(--qb-color-bg); font-weight: 700; }
.qb-quiz__why { list-style: none; margin-top: 8px; font-size: .8125rem; display: grid; gap: 4px; }
.qb-quiz__why li { display: flex; gap: 6px; } .qb-quiz__why .qb-icon { width: 16px; height: 16px; color: var(--qb-color-success); flex: none; margin-top: 2px; }
.qb-quiz__set { padding: 16px; border-radius: var(--qb-radius-m); background: var(--qb-color-surface); margin-bottom: 16px; }

/* hotspots */
.qb-hotspots { position: relative; }
.qb-hot { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 0 0 6px rgba(255,255,255,.35), var(--qb-shadow-1); z-index: 2; }
.qb-hot::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--qb-color-ink); }
.qb-hot[aria-expanded="true"]::after { background: var(--qb-color-cta); }
.qb-hot__pop { position: absolute; z-index: 3; transform: translate(-50%, 30px); width: 260px; display: grid; grid-template-columns: 72px 1fr 32px; gap: 10px; align-items: center; background: var(--qb-color-bg); border-radius: var(--qb-radius-m); box-shadow: var(--qb-shadow-2); padding: 10px; font-size: .875rem; }
.qb-hot__pop img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--qb-radius-s); }
.qb-hot__t { margin: 0 0 4px; font-weight: 600; } .qb-hot__m { margin: 0; }
.qb-hot__x { width: 32px; height: 32px; align-self: start; }
.qb-hot-list { list-style: none; display: grid; gap: 6px; font-size: .9375rem; }

/* chat launcher (click-to-load) */
.qb-chat { position: fixed; z-index: 30; right: 16px; bottom: 16px; }
.qb-chat__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--qb-color-ink); color: var(--qb-color-bg); display: grid; place-items: center; box-shadow: var(--qb-shadow-1); }
.qb-chat__panel { position: absolute; right: 0; bottom: 60px; width: 260px; background: var(--qb-color-bg); border-radius: var(--qb-radius-m); box-shadow: var(--qb-shadow-2); padding: 14px; font-size: .875rem; }
body:has(.qb-sticky.is-visible) .qb-chat { bottom: 88px; }

/* footer basics */
.qb-footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.qb-footer a:hover { text-decoration: underline; }
.qb-footer ul { list-style: none; }

/* ---------- design review fixes (Fable T31: S1-S9) ---------- */
.qb-card { min-width: 0; }
.qb-card__title .qb-sample-tag, .qb-row__title .qb-sample-tag, .qb-line__title .qb-sample-tag, .qb-qv__title .qb-sample-tag, h1 .qb-sample-tag { font-family: var(--qb-font-body); font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--qb-color-ink-2); vertical-align: middle; white-space: nowrap; }
h1 .qb-sample-tag { font-size: .8125rem; }
@media (max-width: 479.98px) { .qb-card .qb-rating .qb-sample-tag { display: none; } .qb-card .qb-rating { font-size: .75rem; } }
.qb-qv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.qb-qv__media .qb-gallery__main img, .qb-qv__media .qb-gallery__slide img { max-height: 60vh; width: auto; margin-inline: auto; object-fit: contain; }
.qb-qv__title { font-size: 1.375rem; margin-bottom: 6px; }
.qb-qv__answer { font-size: .9375rem; color: var(--qb-color-ink-2); }
.qb-qv__info > * + * { margin-top: 12px; }
@media (max-width: 699.98px) { .qb-qv { grid-template-columns: 1fr; } .qb-qv__media .qb-gallery__main img, .qb-qv__media .qb-gallery__slide img { max-height: 40vh; } }
.qb-dialog--center .qb-dialog__panel { max-height: calc(100vh - 32px); overflow: auto; }
.qb-search__corrected { display: flex; gap: 8px; align-items: baseline; }
.qb-search__corrected .qb-icon { flex: none; position: relative; top: 2px; }
.qb-table-scroll th[scope="row"] { position: sticky; left: 0; background: var(--qb-color-bg); z-index: 1; }
.qb-table-scroll caption { caption-side: top; text-align: left; white-space: normal; }
.qb-atc__btn { white-space: nowrap; }
@media (max-width: 419.98px) { .qb-atc__btn .qb-atc__price { display: none; } .qb-qty { flex: none; } }
@media (max-width: 599.98px) { .qb-page--cart .qb-chat, .qb-lock .qb-chat { display: none; } }
