/* Shared existing wet-tread photograph. No motion, layout shift or hit targets. */
body.page {
  isolation: isolate;
  background-color: #080b0d;
}

body.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(4, 7, 9, .52), rgba(4, 7, 9, .64)),
    url("../img/wet-tread-surface.webp") center / cover no-repeat;
}

/* Page canvases reveal the shared image; cards, dialogs and inputs stay solid. */
body.page > .main,
body.page .catalog-fitment,
body.page .page-head,
body.page .section--dark,
body.page .section--texture,
body.page .section--catalog,
body.page .disk-category-nav,
body.page .disk-custom-order,
body.page .product-page--disk,
body.page #categories {
  background: transparent;
}

body.page .footer {
  background-color: rgba(6, 8, 10, .85);
}

.catalog-offers-total,
.catalog-offers-stock-note {
  color: #b8bfc4;
}

.catalog-offers-link,
.tire-offers-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-accent-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-offers-stock-note {
  display: block;
  width: 100%;
  font-size: 12px;
}

.catalog-row__actions .btn {
  white-space: normal;
  text-align: center;
}

.tire-offers {
  margin: 36px 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(15, 18, 22, .96);
  scroll-margin-top: 96px;
}

#tire-product-title { scroll-margin-top: 96px; }
.tire-offers__header { max-width: 780px; }
.tire-offers__eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent-soft);
  font-size: 13px;
  font-weight: 700;
}
.tire-offers h2 { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 30px); }
.tire-offers__header > p:last-child,
.tire-offers__note { color: #bbc2c8; line-height: 1.6; }
.tire-offers__list { display: grid; gap: 12px; margin-top: 24px; }
.tire-offer {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) minmax(100px, .8fr) minmax(120px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #343b43;
  border-radius: var(--radius-md);
  background: #181d23;
}
.tire-offer--selected { border-color: #769f29; background: #1a231c; }
.tire-offer__name,
.tire-offer__stock,
.tire-offer__price { display: grid; gap: 5px; min-width: 0; }
.tire-offer span,
.tire-offer small { color: #bbc2c8; font-size: 13px; }
.tire-offer__name small { color: var(--color-accent-soft); }
.tire-offer__price strong { font-size: 20px; }
.tire-offer .btn { min-height: 44px; min-width: 114px; }
.tire-offers__note { margin: 18px 0 0; font-size: 13px; }

@media (max-width: 640px) {
  body.page::before {
    background-image: linear-gradient(rgba(4, 7, 9, .5), rgba(4, 7, 9, .62)),
      url("../img/wet-tread-surface-mobile.webp");
    background-position: center;
  }
  .tire-offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 16px; gap: 18px 12px; }
  .tire-offer__name { grid-column: 1 / -1; }
  .tire-offer .btn { grid-column: 1 / -1; }
}

@media print {
  body.page::before { display: none; }
}
