/*
 * Angebote und Deals: dark vertical offer feed.
 * Ground #0e0e10, white text, signal red only for the saving and the like state, teal only for the retailer link and
 * the focus ring, grey surfaces for chips and rails. One self-hosted grotesque with tabular figures for prices.
 */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #1d1d22;
  --chip: #26262b;
  --line: #26262b;
  --line-2: #3a3a42;
  --text: #fff;
  --text-2: #c9c9d1;
  --text-3: #a8a8b3;
  --red: #ff3b5c;
  --teal: #00c2a8;
  --font: "Schibsted Grotesk", "Helvetica Neue", arial, sans-serif;
  --top-h: 52px;
  --bar-h: 44px;
  --chrome: calc(var(--top-h) + var(--bar-h));
  --peek: 56px;
  --head-h: 36px;
  --rail-w: 84px;
  --stage-h: max(430px, calc(100svh - var(--chrome) - var(--peek) - 14px));
  --first-stage-h: max(400px, calc(var(--stage-h) - var(--head-h)));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-padding-top: var(--chrome);
  scrollbar-color: var(--line-2) var(--bg);
  text-size-adjust: 100%;
}

html:has([data-feed]) {
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  caret-color: var(--text);
  overflow-wrap: break-word;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sep {
  font-variant-numeric: proportional-nums;
}

.now,
.was,
.cmp-price,
.peek em,
.num {
  font-variant-numeric: tabular-nums;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---- Header ------------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: var(--top-h) var(--bar-h);
  align-items: center;
  column-gap: 10px;
  padding: 0 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--red);
}

.search {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-right: 0;
  border-radius: 18px 0 0 18px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.search input::placeholder {
  color: var(--text-3);
}

.search button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 0 18px 18px 0;
  background: var(--chip);
  color: var(--text);
  cursor: pointer;
}

.search button:hover {
  background: var(--line-2);
}

.menu {
  position: relative;
  grid-column: 3;
  grid-row: 1;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-long,
.menu-chev {
  display: none;
}

.menu-short {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.menu-list {
  position: fixed;
  top: calc(var(--top-h) + 6px);
  right: 8px;
  z-index: 30;
  display: grid;
  gap: 2px;
  width: min(360px, calc(100vw - 16px));
  max-height: calc(100svh - var(--top-h) - 20px);
  margin: 0;
  padding: 8px;
  overflow: auto;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgb(0 0 0 / 55%);
}

.menu-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.menu-list a:hover {
  background: var(--chip);
}

.menu-list span {
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.tabs {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 2px;
  min-width: 0;
  justify-content: space-between;
}

.tabs a,
.chips a {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 18px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.tabs a {
  font-size: clamp(12px, 3.3vw, 15px);
}

.tabs a:hover,
.chips a:hover {
  color: var(--text);
  background: var(--chip);
}

.tabs a[aria-current],
.chips a[aria-current] {
  background: var(--text);
  color: var(--bg);
}

.chips {
  display: none;
}

/* ---- Feed -------------------------------------------------------------- */

.feed {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px;
}

.side-head {
  height: var(--head-h);
  padding: 0 4px;
}

.side-head h1 {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  line-height: var(--head-h);
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-sub,
.keys {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.compare {
  display: none;
}

.dots-rail {
  position: sticky;
  top: 50svh;
  z-index: 4;
  height: 0;
}

.dots {
  position: absolute;
  left: 8px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(-50%);
}

.dots li {
  width: 4px;
  height: 7px;
  border-radius: 2px;
  background: rgb(255 255 255 / 35%);
}

.dots li.is-active {
  height: 14px;
  background: var(--text);
}

.deals {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deal {
  display: block;
}

.peek {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--peek);
  margin-top: 14px;
  padding: 0 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  white-space: nowrap;
}

.peek-thumb,
.cmp-thumb {
  flex: none;
  width: 48px;
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line-2);
}

.peek-thumb img,
.cmp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peek b {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
}

.peek-shop {
  display: none;
  color: var(--text-3);
  font-size: 14px;
}

.peek em {
  margin-left: auto;
  color: var(--text);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.stage {
  position: relative;
  height: var(--stage-h);
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 20px;
  scroll-snap-align: start;
}

.deal:first-child .stage {
  height: var(--first-stage-h);
}

.deal + .deal .stage {
  border-radius: 0 0 20px 20px;
}

.stage:focus,
.main-col:focus {
  outline: none;
}

.stage:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: -3px;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgb(14 14 16 / 94%) 0,
    rgb(14 14 16 / 0%) 64%
  );
  pointer-events: none;
}

.photo {
  position: absolute;
  inset: 0;
  padding-bottom: 34%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a2a31, #3b3b44);
}

.photo img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 86%;
  object-fit: contain;
  border-radius: 12px;
}

.photo-empty {
  width: min(62%, 360px);
  height: auto;
  fill: #4a4a54;
}

.info {
  position: absolute;
  left: 16px;
  right: calc(var(--rail-w) + 8px);
  bottom: 16px;
  z-index: 2;
}

.shop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

.shop-name {
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid currentcolor;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.info h2 {
  display: -webkit-box;
  margin: 6px 0 8px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.info h2 a {
  text-decoration: none;
}

.info h2:has(a:focus-visible) {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.info h2 a:focus-visible {
  outline: none;
}

.info h2 a:hover {
  text-decoration: underline;
}

.pr {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
}

.now {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.was {
  color: var(--text-2);
  font-size: 18px;
  font-weight: 500;
}

.sv {
  align-self: center;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--red);
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.meta {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: var(--rail-w);
  padding-bottom: 16px;
}

.act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 76px;
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.act-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--chip);
  color: var(--text-3);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 76px;
  margin: 0 0 4px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.stat-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
}

.stat-row .i {
  width: 18px;
  height: 18px;
  color: var(--text-3);
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.act-icon .i {
  width: 24px;
  height: 24px;
}

a.act:hover .act-icon {
  border-color: var(--text);
}

.act-go .act-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--bg);
}

.act-go .act-label {
  color: var(--teal);
}

.act-label .tag {
  margin-top: 2px;
  color: var(--text-2);
}

.empty {
  padding: 48px 8px;
  color: var(--text-2);
  font-size: 18px;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 12px;
}

.pager ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager li a,
.pager-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--surface);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.pager li a:hover,
.pager-step:hover {
  background: var(--chip);
}

.pager li a[aria-current] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.pager .gap {
  align-self: center;
  padding: 0 4px;
  color: var(--text-3);
}

.disclaimer {
  margin: 8px 4px 32px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

/* ---- Text pages and the offer page ------------------------------------- */

.doc {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.doc h1 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.doc h2 {
  margin: 32px 0 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  max-width: 60ch;
  color: var(--text-2);
  font-size: 18px;
}

.prose {
  max-width: 70ch;
}

.prose p,
.prose li {
  color: var(--text-2);
}

.prose address {
  margin: 8px 0 16px;
  color: var(--text);
  font-style: normal;
}

.textlink {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.textlink:hover {
  text-decoration-thickness: 2px;
}

.muted {
  color: var(--text-3);
}

.small {
  font-size: 14px;
}

.code,
code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

pre.code {
  padding: 12px 16px;
  overflow-x: auto;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 14px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.offer-top {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.offer-photo {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a2a31, #3b3b44);
}

.offer-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  border-radius: 12px;
}

.offer-main .pr {
  margin: 12px 0 4px;
}

.offer-main .now {
  font-size: clamp(44px, 8vw, 72px);
}

.notice {
  display: inline-block;
  margin: 8px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
}

.facts {
  display: grid;
  gap: 6px 24px;
  margin: 16px 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--text-3);
}

.facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.facts dd.like-count {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--text-3);
}

.go-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: var(--teal);
  color: var(--bg);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.go:hover {
  background: #33d6c0;
}

.go-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.go-note {
  color: var(--text-3);
  font-size: 13px;
}

.block {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-block;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--chip);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.sv-text {
  color: var(--red);
  font-weight: 700;
}

.chart-box {
  max-width: 720px;
  margin: 12px 0 20px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface);
}

.chart {
  width: 100%;
  height: auto;
}

.chart-area {
  fill: rgb(255 255 255 / 6%);
}

.chart-line {
  fill: none;
  stroke: var(--text-2);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-dot {
  fill: var(--surface);
  stroke: var(--text-2);
  stroke-width: 2;
}

.chart-dot-now {
  fill: var(--text);
  stroke: var(--text);
}

.chart-label {
  fill: var(--text-2);
  font: 600 13px var(--font);
}

@media (max-width: 699px) {
  .chart-label {
    font-size: 22px;
  }
}

.related {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb title price"
    "thumb shop price";
  align-items: center;
  column-gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
}

.cmp:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.cmp-thumb {
  grid-area: thumb;
  width: 56px;
  height: 42px;
}

.cmp-title {
  display: -webkit-box;
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cmp-shop {
  grid-area: shop;
  color: var(--text-3);
  font-size: 12px;
}

.cmp-price {
  grid-area: price;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.cmp-price em {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cmp[aria-current="true"] {
  border-color: var(--text);
  background: var(--surface-2);
}

/* ---- Footer ------------------------------------------------------------ */

.foot {
  margin-top: 24px;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

.foot-row {
  display: grid;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.foot nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--text-2);
}

.foot p {
  margin: 0;
}

.foot-mark {
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

/* ---- Wider screens ----------------------------------------------------- */

@media (min-width: 700px) {
  :root {
    --top-h: 56px;
    --bar-h: 46px;
    --peek: 64px;
    --rail-w: 120px;
  }

  .top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 16px;
    padding: 0 24px;
  }

  .tabs {
    grid-column: 1 / 3;
    justify-self: start;
    justify-content: flex-start;
    gap: 4px;
  }

  .tabs a {
    padding: 6px 14px;
    font-size: 15px;
  }

  .menu summary {
    padding: 0 12px;
  }

  .menu-ico {
    display: none;
  }

  .menu-chev {
    display: block;
  }

  .brand {
    font-size: 19px;
  }

  .menu-long {
    display: inline;
  }

  .menu-short {
    display: none;
  }

  .menu-list {
    right: 24px;
  }

  .chips a {
    padding: 5px 12px;
    border: 1px solid var(--line-2);
    font-weight: 500;
  }

  .feed {
    padding: 0 24px;
  }

  .dots {
    left: 14px;
  }

  .dots li {
    height: 10px;
  }

  .dots li.is-active {
    height: 20px;
  }

  .photo {
    inset: 0 var(--rail-w) 0 0;
    padding-bottom: 36%;
  }

  .photo img {
    max-width: 72%;
    max-height: 90%;
  }

  .info {
    left: 36px;
    right: calc(var(--rail-w) + 12px);
    bottom: 34px;
    max-width: 760px;
  }

  .shop {
    font-size: 14px;
  }

  .info h2 {
    font-size: clamp(28px, 3.4vw, 46px);
  }

  .now {
    font-size: clamp(52px, 6vw, 80px);
  }

  .was {
    font-size: 24px;
  }

  .sv {
    padding: 6px 14px;
    font-size: 22px;
  }

  .meta {
    font-size: 14px;
  }

  .rail {
    gap: 18px;
    padding-bottom: 34px;
  }

  .act {
    width: 100px;
    font-size: 13px;
  }

  .act-icon {
    width: 64px;
    height: 64px;
  }

  .act-icon .i {
    width: 28px;
    height: 28px;
  }

  .peek {
    padding: 0 24px;
  }

  .peek-shop {
    display: inline;
  }

  .stage::after {
    background: linear-gradient(
      0deg,
      rgb(14 14 16 / 94%) 0,
      rgb(14 14 16 / 0%) 60%
    );
  }

  .doc {
    padding: 28px 24px 64px;
  }

  .offer-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 32px;
  }

  .offer-photo {
    min-height: 380px;
  }

  .foot {
    padding: 28px 24px 48px;
  }
}

@media (min-width: 1000px) {
  .chips {
    display: flex;
    grid-column: 2 / 4;
    grid-row: 2;
    flex-wrap: nowrap;
    align-items: center;
    justify-self: end;
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
    color: var(--text-3);
    font-size: 13px;
  }

  .feed {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0 24px;
    align-items: start;
  }

  :root {
    --head-h: auto;
    --first-stage-h: var(--stage-h);
  }

  .side-head {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    padding: 20px 4px 12px;
  }

  .side-head h1 {
    overflow: visible;
    font-size: 20px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    text-wrap: balance;
  }

  .side-sub {
    position: static;
    width: auto;
    height: auto;
    margin: 2px 0 0;
    overflow: visible;
    white-space: normal;
    clip-path: none;
    color: var(--text-3);
    font-size: 14px;
  }

  .keys {
    position: static;
    width: auto;
    height: auto;
    margin: 10px 0 0;
    overflow: visible;
    white-space: normal;
    clip-path: none;
    color: var(--text-3);
    font-size: 12px;
    opacity: 0.8;
  }

  .compare {
    position: sticky;
    top: var(--chrome);
    display: block;
    grid-column: 1;
    grid-row: 2;
    max-height: calc(100svh - var(--chrome));
    overflow-y: auto;
    padding-bottom: 16px;
    scrollbar-width: thin;
  }

  .compare-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .main-col {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    padding-top: 14px;
  }
}

@media (min-width: 1000px) and (max-height: 820px) {
  :root {
    --stage-h: max(460px, calc(100svh - var(--chrome) - var(--peek) - 28px));
  }
}

@media (max-width: 999px) {
  .side-head {
    scroll-snap-align: start;
  }
}

@media (max-height: 520px) {
  html:has([data-feed]) {
    scroll-snap-type: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js-feed .stage .info,
  .js-feed .stage .rail,
  .js-feed .stage .photo {
    opacity: 0.55;
    transition: opacity 420ms var(--ease);
  }

  .js-feed .stage.is-active .info,
  .js-feed .stage.is-active .rail,
  .js-feed .stage.is-active .photo {
    opacity: 1;
  }

  .dots li {
    transition:
      height 240ms var(--ease),
      background-color 240ms var(--ease);
  }

  .tabs a,
  .chips a,
  .act-icon,
  .cmp {
    transition:
      background-color 160ms ease-out,
      border-color 160ms ease-out;
  }
}

@media (max-width: 699px) {
  .retailers thead {
    display: none;
  }

  .retailers tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .retailers th,
  .retailers td {
    padding: 0;
    border: 0;
    grid-column: 1;
    text-align: left;
  }

  .retailers td:last-child {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
}
