/*
 * WatchShopper, Side by Side (compare.php, assets/side-by-side.js)
 *
 * Everything under .sbs and prefixed sbs-. Colours come from the live theme's
 * tokens (themes/src/raster.css) with the Raster values as fallbacks. Product
 * photos sit on white with no plate behind them, at one size each side.
 */
.sbs {
  --sbs-fg: var(--t-fg, #0a0a0a);
  --sbs-muted: var(--t-muted, #6b6b6b);
  --sbs-line: var(--t-line, #e3e3e3);
  --sbs-soft: var(--t-surface-2, #f1f1f1);
  --sbs-fill: var(--t-fill, #232529);
  --sbs-accent: var(--t-accent, #0081e4);
  --sbs-index: var(--t-index, #e65100);
  --sbs-font: var(--t-font-b, 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif);
  color: var(--sbs-fg);
  font-family: var(--sbs-font);
  padding-bottom: 48px;
}
.sbs [hidden] { display: none !important; }
.sbs a { color: inherit; }
.sbs :focus-visible { outline: 2px solid var(--sbs-accent); outline-offset: 2px; }
.sbs-crumbs { margin: 14px 0 12px; font-size: 13px; font-weight: 600; color: var(--sbs-muted); }
.sbs-crumbs a { color: var(--sbs-muted); }
.sbs-sec { margin-top: 52px; }
/* The site's section titles, as headings here: no heading margins of their own */
.sbs h2.sec-title { margin: 0; }
.sbs-sec h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }

/* ── Picker ── */
.sbs-hero {
  padding: 8px 0 22px; margin-bottom: 0;
  border-bottom: 1px solid var(--sbs-line);
  background: linear-gradient(90deg, rgb(10 10 10 / .06) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
}
.sbs-hero-h1 { margin: 0 0 16px; font-size: clamp(44px, 8vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.sbs-hero-sub { margin: 0 0 28px; max-width: 52ch; font-size: 17px; font-weight: 500; line-height: 1.45; }
.sbs-bar { display: flex; flex-wrap: wrap; border: 2px solid var(--sbs-fg); background: #fff; }
.sbs-slot { position: relative; flex: 1 1 380px; min-width: 0; min-height: 112px; display: flex; align-items: center; }
.sbs-slot.is-open { box-shadow: inset 0 -3px 0 var(--sbs-accent); }
.sbs-slot-tile { flex: 0 0 112px; align-self: stretch; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--sbs-line); color: var(--sbs-fg); }
.sbs-slot-tile img { width: 100px; height: 100px; object-fit: contain; }
.sbs-slot-body { flex: 1 1 auto; min-width: 0; padding: 12px 18px; }
.sbs-slot-l { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; color: var(--sbs-muted); }
.sbs-slot-brand { font-size: 12px; font-weight: 800; }
.sbs-slot-in { width: 100%; border: 0; padding: 0; background: transparent; color: var(--sbs-fg); font: inherit; font-size: 20px; font-weight: 600; letter-spacing: -.02em; outline: none; }
.sbs-slot-in::placeholder { color: #8a8a8a; font-weight: 500; }
.sbs-slot-price { flex: 0 0 auto; padding: 0 6px; font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sbs-slot-x { flex: 0 0 auto; width: 40px; height: 40px; margin: 0 18px 0 10px; border: 0; background: var(--sbs-soft); color: var(--sbs-fg); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sbs-bar-vs { flex: 0 0 76px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--sbs-line); border-right: 1px solid var(--sbs-line); font-size: 32px; font-weight: 800; letter-spacing: -.05em; color: var(--sbs-accent); }
.sbs-go { flex: 0 0 auto; min-width: 200px; min-height: 112px; padding: 0 28px; border: 0; background: var(--sbs-accent); color: #fff; font: inherit; font-size: 19px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.sbs-go:hover { filter: brightness(1.06); }
.sbs-go[disabled] { opacity: .6; cursor: default; }
.sbs-bar-msg { margin: 10px 0 0; font-size: 13px; color: var(--sbs-muted); }
/* Takes no room until it has something to say */
.sbs-bar-msg:empty { display: none; }
.sbs-hero + .sbs-sec { margin-top: 36px; }
.sbs-bar-msg.is-error { color: #b3261e; font-weight: 600; }

.sbs-drop { position: absolute; left: -2px; right: -2px; top: calc(100% + 2px); z-index: 40; max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--sbs-fg); box-shadow: 0 18px 40px rgb(10 10 10 / .14); }
.sbs-drop-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 16px 10px; font-size: 13px; font-weight: 800; }
.sbs-drop-h small { font-size: 12px; font-weight: 500; color: var(--sbs-muted); }
.sbs-drop-empty { padding: 14px 16px; font-size: 13px; color: var(--sbs-muted); }
.sbs-opt { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 0; border-top: 1px solid var(--sbs-line); background: #fff; color: var(--sbs-fg); font: inherit; text-align: left; cursor: pointer; }
.sbs-opt:hover, .sbs-opt.is-active { background: #f7f7f7; }
.sbs-opt-img { flex: 0 0 60px; width: 60px; height: 60px; object-fit: contain; background: #fff; }
.sbs-opt-body { flex: 1 1 auto; min-width: 0; }
.sbs-opt-brand { display: block; font-size: 11px; font-weight: 800; }
.sbs-opt-name { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.sbs-opt-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 12px; color: #4d4d4d; }
.sbs-opt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.sbs-opt-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 5px; background: #323232; color: #fff; font-size: 11px; font-weight: 600; }
.sbs-opt-chips span::before { content: ""; width: 8px; height: 5px; margin-top: -2px; border-left: 2px solid #efe0b0; border-bottom: 2px solid #efe0b0; transform: rotate(-45deg); }
.sbs-opt-chips .sbs-opt-diff { padding: 0; margin-left: 4px; background: none; color: var(--sbs-muted); }
.sbs-opt-chips .sbs-opt-diff::before { display: none; }
.sbs-tag { padding: 2px 6px; background: var(--sbs-soft); color: var(--sbs-fg); font-size: 11px; font-weight: 700; }
.sbs-opt-price { flex: 0 0 auto; text-align: right; }
.sbs-opt-price b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.045em; }
.sbs-opt-price small { display: block; font-size: 11px; font-weight: 600; color: #4d4d4d; }

.sbs-poplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 0 28px; }
.sbs-pop { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--sbs-fg); text-decoration: none; }
.sbs-pop:hover .sbs-pop-t { color: var(--sbs-accent); }
.sbs-pop-n { flex: 0 0 44px; font-size: 40px; font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.sbs-pop-imgs { display: flex; gap: 4px; flex: 0 0 auto; }
.sbs-pop-imgs img { width: 46px; height: 46px; object-fit: contain; background: #fff; }
.sbs-pop-t { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.sbs-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.sbs-how > div { border-top: 1px solid var(--sbs-fg); padding-top: 12px; }
.sbs-how p { margin: 0; font-size: 15px; line-height: 1.5; }

/* ── One comparison: head to head ── */
/* .sbs h1.sbs-h1: the theme sizes every h1 (html[data-theme] h1, var(--t-h1)), which a lone class loses to */
.sbs h1.sbs-h1 { margin: 0 0 12px; font-size: clamp(32px, 3.6vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: .92; }
.sbs-sub { margin: 0 0 28px; max-width: 90ch; font-size: 15px; font-weight: 500; color: #4d4d4d; }
.sbs-cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sbs-card { display: flex; border: 1px solid var(--sbs-fg); background: #fff; min-width: 0; }
.sbs-card-a { flex-direction: row-reverse; }
/* The photo fills its panel to the card's border: the panel keeps its 210px
   and the card's height (set by the text beside it), and the picture covers
   it, cropped where it overflows. Absolute, so the picture never sizes the card. */
.sbs-card-img { position: relative; flex: 0 0 210px; align-self: stretch; display: block; padding: 0; overflow: hidden; }
.sbs-card-a .sbs-card-img { border-left: 1px solid var(--sbs-line); }
.sbs-card-b .sbs-card-img { border-right: 1px solid var(--sbs-line); }
.sbs-card-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sbs-card-body { flex: 1 1 auto; min-width: 0; padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.sbs-card-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.sbs-logo { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--sbs-line); }
.sbs-card-name { font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; text-decoration: none; }
.sbs-card-name:hover { color: var(--sbs-accent); }
.sbs-card-ref { font-size: 12px; color: var(--sbs-muted); }
.sbs-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.sbs-chips span { padding: 4px 8px; background: var(--sbs-soft); font-size: 11px; font-weight: 700; }
.sbs-card-buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sbs-ribbon { display: inline-block; margin-bottom: 8px; padding: 3px 8px; font-size: 10px; font-weight: 800; color: #232529; background: linear-gradient(135deg, #e2bd5e 0%, #c7952f 100%); }
.sbs-price { font-size: clamp(36px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.sbs-card-at { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
/* The cheapest shop's icon or logo, as on the watch page's rows */
.sbs-shop-av { flex: none; width: 30px; height: 30px; box-sizing: border-box; object-fit: contain; background: #fff; border: 1px solid var(--sbs-line);
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--sbs-fg); }
span.sbs-shop-av { background: var(--sbs-soft); }
.sbs-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--sbs-accent); color: #fff !important; text-decoration: none; font-size: 15px; font-weight: 800; }
.sbs-cta:hover { filter: brightness(1.06); }
.sbs-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--sbs-fg); font-size: 24px; font-weight: 800; letter-spacing: -.05em; color: var(--sbs-accent); }

/* Two columns: on the left WatchShopper's logo at the top and the link to the
   full verdict at the foot; the call on the right */
.sbs-buy { margin: 0 0 24px; padding: 20px 22px; display: grid; grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "brand text"; gap: 14px 28px; align-items: center; background: var(--sbs-fill); color: #fff; }
.sbs-buy-t { grid-area: text; }
.sbs-buy-brand { grid-area: brand; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding-right: 28px; border-right: 1px solid rgb(255 255 255 / .18); }
/* The mark and name, white with the blue hands, as in the footer */
.sbs-buy-logo { display: flex; align-items: center; gap: .3em; font-size: 22px; letter-spacing: -.04em; line-height: 1; color: #fff; }
.sbs-buy-mark { display: block; flex: none; }
.sbs-buy-word { font-weight: 400; }
.sbs-buy-word b { font-weight: 800; }
.sbs-buy-t .sbs-buy-l { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 800; color: #efe0b0; }
.sbs .sbs-buy-more { margin-top: auto; }
.sbs .sbs-buy-more { font-size: 13px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sbs .sbs-buy-more:hover { color: #efe0b0; }
.sbs-buy-t { min-width: 0; }
.sbs-buy-t b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.sbs-buy-t span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgb(255 255 255 / .82); }

.sbs-table { font-size: 15px; }
.sbs-tr { display: grid; grid-template-columns: minmax(96px, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; align-items: center; padding: 12px 0; border-top: 1px solid var(--sbs-line); }
.sbs-th { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 800; }
.sbs-td-l { font-size: 13px; font-weight: 600; color: var(--sbs-muted); }
.sbs-td { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.sbs-td b { font-weight: 600; }
.sbs-ns { color: #8a8a8a; font-style: normal; font-weight: 400; }
.sbs-win { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; background: #323232; color: #fff; font-size: 12px; font-weight: 600; }
.sbs-win svg { color: #efe0b0; }

/* The verdict: each part shows a short check, then its text */
.sbs-v-lead { margin: 0 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.45; }
.sbs-v-note { margin: 0 0 24px; font-size: 13px; color: var(--sbs-muted); }
.sbs-v-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px 40px; }
.sbs-v-part { border-top: 1px solid var(--sbs-fg); padding-top: 12px; }
.sbs-v-part p { margin: 0; font-size: 16px; line-height: 1.55; }
.sbs-v-wins { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px 40px; }
.sbs-v-win { background: var(--sbs-soft); padding: 18px 20px; }
.sbs-v-win h3 { font-size: 13px; }
.sbs-v-win ul { margin: 0; padding: 0 0 0 18px; font-size: 15px; line-height: 1.7; font-weight: 600; }
.sbs-v-foot { margin: 18px 0 0; font-size: 13px; color: var(--sbs-muted); }
.sbs-v-msg { margin: 18px 0 0; font-size: 14px; }
.sbs-wait { display: flex; flex-direction: column; gap: 8px; }
.sbs-wait i { display: block; height: 12px; width: 92%; background: #e6e6e6; }
.sbs-wait i + i { width: 70%; }
.sbs-check { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: #4d4d4d; }
.sbs-check b { display: block; height: 3px; background: #e6e6e6; position: relative; overflow: hidden; }
.sbs-check b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--sbs-accent); animation: sbsBar 1s linear forwards; }
.sbs-in { animation: sbsIn .5s ease-out both; }
@keyframes sbsBar { to { width: 100%; } }
@keyframes sbsIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sbs-in, .sbs-check b::after { animation-duration: .01s; } }

.sbs-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.sbs-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sbs-key-a::before, .sbs-key-b::before { content: ""; width: 22px; height: 3px; background: var(--sbs-fg); }
.sbs-key-b::before { background: var(--sbs-index); }
.sbs-legend-note { margin-left: auto; font-weight: 500; color: var(--sbs-muted); }
.sbs-chart { display: block; width: 100%; height: auto; }
.sbs-chart .sbs-grid { stroke: var(--sbs-line); stroke-width: 1; }
.sbs-chart .sbs-axis { font-size: 13px; fill: var(--sbs-muted); font-family: var(--sbs-font); }
.sbs-chart polyline { fill: none; stroke-width: 3; stroke-linejoin: round; }
.sbs-chart .sbs-line-a { stroke: var(--sbs-fg); }
.sbs-chart .sbs-line-b { stroke: var(--sbs-index); }

.sbs-shops, .sbs-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px 40px; }
.sbs-shops-h { font-size: 13px !important; margin-bottom: 10px !important; }
.sbs-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }

/* Where to buy: the watch page's price comparison rows (styles.css "Price
   comparison rows", the .price-compare container and .pr-* parts) as one
   slim line each (2026-11-22, the user): logo, name with the code a price
   needs, price, button. Every layout of the watch page's rows is overridden
   here, phones included, so the line holds at any width */
.sbs-pc .pr-list { grid-auto-rows: auto; gap: 8px; }
.sbs-pc .pr-row, .sbs-pc .pr-row.has-badge, .sbs-pc .pr-row.is-best, .sbs-pc .pr-row.is-best:hover {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "av txt pr cta";
  align-items: center; column-gap: 16px; row-gap: 0;
  /* Every row as tall as one with a code chip; assets/side-by-side.js then
     matches them all, in both lists, to the tallest */
  min-height: 76px;
  padding: 14px 16px;
}
/* The best row's 2px border, so its content lines up with the rest */
.sbs-pc .pr-row.is-best, .sbs-pc .pr-row.is-best:hover { padding: 13px 15px; }
.sbs-pc .pr-av, .sbs-pc .is-best .pr-av { width: 36px; height: 36px; font-size: 11px; }
.sbs-pc .pr-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sbs-pc .pr-nm, .sbs-pc .is-best .pr-nm { font-size: 15px; line-height: 1.2; }
.sbs-pc .pr-txt .pr-meta { margin-top: 0; }
/* The code chip on one line, never broken round its label */
.sbs-pc .pr-meta .voucher-code { white-space: nowrap; }
.sbs-pc .pr-pr { flex-direction: row; align-items: baseline; gap: 6px; }
.sbs-pc .pr-p { font-size: 22px; }
.sbs-pc .is-best .pr-p { font-size: 24px; }
.sbs-pc .pr-was { font-size: 12px; }
.sbs-pc .pr-asof { font-size: 11px; }
/* White on blue: .sbs a's inherited colour must not reach the buttons */
.sbs .sbs-pc .pr-cta, .sbs .sbs-pc .pr-cta:visited, .sbs .sbs-pc .pr-cta:hover {
  width: auto; min-width: 0; align-self: center; padding: 10px 18px; font-size: 13px; font-weight: 700; color: #fff;
}
.sbs-pc .pr-pr { align-self: center; }
/* A narrow column (phones): still one compact line. A smaller logo, the
   name with its code chip under it, the price with any old price tiny over
   it, and a smaller button; the row itself opens the shop too */
@container pcmp (max-width: 560px) {
  .sbs-pc .pr-list { gap: 6px; }
  .sbs-pc .pr-row, .sbs-pc .pr-row.has-badge, .sbs-pc .pr-row.is-best, .sbs-pc .pr-row.is-best:hover {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "av txt pr cta";
    column-gap: 10px; min-height: 56px; padding: 9px 10px;
  }
  .sbs-pc .pr-row.is-best, .sbs-pc .pr-row.is-best:hover { padding: 8px 9px; }
  .sbs-pc .pr-pr { flex-direction: column; align-items: flex-end; gap: 0; }
  .sbs-pc .pr-av, .sbs-pc .is-best .pr-av { width: 28px; height: 28px; font-size: 10px; }
  .sbs-pc .pr-nm, .sbs-pc .is-best .pr-nm { font-size: 14px; }
  .sbs-pc .pr-p, .sbs-pc .is-best .pr-p { font-size: 18px; }
  .sbs-pc .pr-was { font-size: 10px; line-height: 1.2; }
  .sbs-pc .pr-asof { font-size: 10px; }
  .sbs .sbs-pc .pr-cta, .sbs .sbs-pc .pr-cta:visited, .sbs .sbs-pc .pr-cta:hover { padding: 8px 10px; font-size: 12px; }
}
/* Very narrow: the button an arrow (its words kept for screen readers) */
@container pcmp (max-width: 380px) {
  .sbs .sbs-pc .pr-cta, .sbs .sbs-pc .pr-cta:visited, .sbs .sbs-pc .pr-cta:hover {
    width: 34px; height: 34px; padding: 0; font-size: 0; display: flex; align-items: center; justify-content: center;
  }
  .sbs .sbs-pc .pr-cta::after { content: "\2192"; font-size: 17px; font-weight: 700; line-height: 1; }
}
.sbs-link { display: block; padding: 12px 0; border-top: 1px solid var(--sbs-line); font-size: 15px; font-weight: 700; text-decoration: none; }
.sbs-link:first-of-type { border-top-color: var(--sbs-fg); }
.sbs-link:hover { color: var(--sbs-accent); }
/* People also compare: buttons that read as the links above them */
.sbs-subh { margin: 18px 0 2px; font-size: 12px; font-weight: 800; color: var(--sbs-muted); }
.sbs-seed { display: block; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid var(--sbs-line); background: none;
  color: var(--sbs-fg); font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.sbs-seed:hover { color: var(--sbs-accent); }
.sbs-seed[disabled] { opacity: .6; cursor: default; }
.sbs-pill { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0 16px; background: var(--sbs-soft); text-decoration: none; font-size: 14px; font-weight: 700; }
.sbs-stick { display: none; }

/* ── Phones: the two photos side by side with their prices; a buy bar ── */
/* Below 1180px the two cards turn into the photos facing each other: each
   photo in a square of the same size (the picture fitted inside it, so a
   tall one cannot make its square taller), the vs centred on the squares
   (margin-top in % is reckoned on the width: half a square is a quarter of
   the row less the gap), and the prices and buttons level at the foot */
@media (max-width: 1180px) {
  .sbs-cards { gap: 12px; }
  .sbs-card, .sbs-card-a { flex-direction: column; border: 0; }
  .sbs-card-img, .sbs-card-a .sbs-card-img, .sbs-card-b .sbs-card-img {
    position: relative; flex: none; align-self: stretch; border: 0; padding: 0; aspect-ratio: 1 / 1; min-width: 0; min-height: 0; overflow: hidden;
  }
  .sbs-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .sbs-card-body { padding: 10px 0 0; gap: 6px; }
  .sbs-card-ref, .sbs-chips, .sbs-ribbon { display: none; }
  .sbs-card-name { font-size: 16px; }
  .sbs-price { font-size: clamp(28px, 4vw, 40px); }
  .sbs-card-buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .sbs-cta { justify-content: center; min-height: 44px; padding: 0 12px; font-size: 14px; }
  .sbs-vs { top: 0; margin-top: calc((100% - 12px) / 4); width: 52px; height: 52px; font-size: 20px; }

  /* The picker: one row only when it all fits; below, stacked, the vs a thin
     strip between the boxes and Compare the full width under them */
  .sbs-slot { flex-basis: 100%; min-height: 72px; }
  .sbs-slot-tile { flex-basis: 72px; }
  .sbs-slot-tile svg { width: 22px; height: 22px; }
  .sbs-slot-tile img { width: 60px; height: 60px; }
  .sbs-slot-body { padding: 8px 14px; }
  .sbs-slot-l { margin-bottom: 4px; }
  .sbs-slot-in { font-size: 17px; }
  .sbs-slot-price { font-size: 26px; }
  .sbs-slot-x { width: 34px; height: 34px; margin-right: 12px; }
  .sbs-bar-vs { flex: 1 1 100%; min-height: 30px; border: 0; border-top: 1px solid var(--sbs-line); border-bottom: 1px solid var(--sbs-line); font-size: 17px; }
  .sbs-go { flex: 1 1 100%; min-height: 50px; font-size: 17px; }
}

@media (max-width: 760px) {
  .sbs-slot { min-height: 64px; }
  .sbs-slot-tile { flex-basis: 60px; }
  .sbs-slot-tile img { width: 50px; height: 50px; }
  .sbs-slot-in { font-size: 16px; }
  .sbs-slot-price { font-size: 22px; }
  .sbs-go { min-height: 48px; }
  /* The list on its own full-width line under the box, each watch cut to a
     small photo, brand, two lines of name and the price */
  .sbs-slot { flex-wrap: wrap; }
  /* The name takes what is left (starting from nothing), so the photo, name,
     price and clear button always share one line; only the list wraps */
  .sbs-slot-body { flex: 1 1 0; padding: 8px 10px; }
  .sbs-slot-x { width: 32px; height: 32px; margin: 0 8px 0 4px; }
  .sbs-slot-price { padding: 0 2px; }
  .sbs-drop { position: static; flex: 1 1 100%; border-width: 1px 0 0; box-shadow: none; max-height: none; }
  .sbs-drop-h { padding: 10px 12px 6px; font-size: 12px; }
  .sbs-drop-h small, .sbs-opt-specs, .sbs-opt-chips { display: none; }
  .sbs-opt { gap: 10px; padding: 8px 12px; }
  .sbs-opt-img { flex-basis: 40px; width: 40px; height: 40px; }
  .sbs-opt-brand { font-size: 10px; }
  .sbs-opt-name { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sbs-opt-price b { font-size: 15px; }
  .sbs-opt-price small { font-size: 10px; }

  .sbs-cards { gap: 10px; }
  .sbs-card-body { padding: 8px 0 0; gap: 4px; }
  .sbs-logo { width: 26px; height: 26px; }
  .sbs-card-brand { font-size: 11px; gap: 6px; }
  .sbs-card-name { font-size: 14px; }
  .sbs-price { font-size: 30px; }
  .sbs-card-at { font-size: 11px; margin-top: 4px; gap: 6px; }
  .sbs-shop-av { width: 22px; height: 22px; font-size: 8px; }
  .sbs-card-buy { gap: 8px; }
  .sbs-cta { min-height: 42px; font-size: 13px; }
  .sbs-vs { margin-top: calc((100% - 10px) / 4); width: 44px; height: 44px; font-size: 18px; }
  /* The logo on the top line, the link under the call */
  .sbs-buy { padding: 14px 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "text" "more"; gap: 12px; }
  .sbs-buy-brand { display: contents; }
  .sbs-buy-logo { grid-area: logo; padding-bottom: 12px; border-bottom: 1px solid rgb(255 255 255 / .18); font-size: 18px; }
  .sbs .sbs-buy-more { grid-area: more; margin-top: 0; justify-self: start; }
  .sbs-buy-mark { width: 18px; height: 24px; }
  .sbs-buy-t b { font-size: 17px; }
  .sbs-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; }
  .sbs-td-l { grid-column: 1 / -1; font-size: 11px; }
  .sbs-th span:first-child { display: none; }
  .sbs-legend-note { margin-left: 0; flex-basis: 100%; }
  .sbs-stick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px 14px; background: #fff; border-top: 1px solid var(--t-line, #e3e3e3); }
  .sbs-stick a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 0 6px; background: var(--t-accent, #0081e4); color: #fff; text-decoration: none; }
  .sbs-stick small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; }
  /* Price and "View Deal" always on one line, smaller on narrow phones */
  .sbs-stick b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(12px, 3.7vw, 15px); font-weight: 800; letter-spacing: -.02em; }
  body.sbs-page { padding-bottom: 80px; }
}
