.sc-historical-product-page #wrapper {
  background: #f5f6f8;
}

.sc-historical {
  --sc-red: #df0712;
  --sc-red-dark: #b9060e;
  --sc-ink: #20242a;
  --sc-muted: #68717e;
  --sc-border: #e2e5e9;
  color: var(--sc-ink);
  display: grid;
  gap: 1.25rem;
  margin: 0 auto 2rem;
  max-width: 1240px;
}

.sc-historical__breadcrumb {
  color: var(--sc-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  gap: .55rem;
  padding: .2rem .25rem;
}

.sc-historical__breadcrumb a {
  color: var(--sc-red);
  text-decoration: none;
}

.sc-historical__hero,
.sc-historical__technical,
.sc-historical__alternatives,
.sc-historical__closing {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(28, 34, 42, .045);
}

.sc-historical__hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.6rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.sc-historical__gallery {
  min-width: 0;
}

.sc-historical__main-image {
  align-items: center;
  background: #f8f8f9;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  padding: 1rem;
}

.sc-historical__main-image img {
  display: block;
  height: auto;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
  transition: opacity .18s ease;
  width: auto;
}

.sc-historical__main-image img.is-changing {
  opacity: .2;
}

.sc-historical__thumbnails {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: .8rem;
}

.sc-historical__thumbnail {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 74px;
  padding: .25rem;
}

.sc-historical__thumbnail:hover,
.sc-historical__thumbnail.is-active,
.sc-historical__thumbnail:focus-visible {
  border-color: var(--sc-red);
  box-shadow: 0 0 0 2px rgba(223, 7, 18, .12);
  outline: none;
}

.sc-historical__thumbnail img {
  height: 68px;
  max-width: 100%;
  object-fit: contain;
  width: 68px;
}

.sc-historical__image-note {
  color: var(--sc-muted);
  font-size: .76rem;
  margin: .65rem 0 0;
  text-align: center;
}

.sc-historical__image-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f7f7f8, #eceef1);
  border-radius: 14px;
  color: var(--sc-muted);
  display: flex;
  justify-content: center;
}

.sc-historical__summary {
  align-self: center;
}

.sc-historical__eyebrow {
  color: var(--sc-red);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}

.sc-historical__summary h1 {
  color: var(--sc-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 0 0 .9rem;
}

.sc-historical__badge {
  background: #fff0f1;
  border: 1px solid #f1b9bd;
  border-radius: 999px;
  color: var(--sc-red-dark);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  padding: .52rem .78rem;
  text-transform: uppercase;
}

.sc-historical__intro {
  color: #555e69;
  font-size: .98rem;
  line-height: 1.65;
  margin: 1.25rem 0;
}

.sc-historical__intro p {
  margin: 0 0 .6rem;
}

.sc-historical__identity {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.4rem;
}

.sc-historical__identity div {
  background: #f7f8fa;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  padding: .72rem .82rem;
}

.sc-historical__identity dt {
  color: var(--sc-muted);
  font-size: .68rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  text-transform: uppercase;
}

.sc-historical__identity dd {
  color: var(--sc-ink);
  font-size: .87rem;
  font-weight: 700;
  margin: 0;
}

.sc-historical__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.sc-historical__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .025em;
  min-height: 46px;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.sc-historical__button--primary {
  background: var(--sc-red);
  box-shadow: 0 8px 18px rgba(223, 7, 18, .2);
  color: #fff !important;
}

.sc-historical__button--primary:hover,
.sc-historical__button--primary:focus-visible {
  background: var(--sc-red-dark);
}

.sc-historical__button--secondary {
  background: #fff;
  border-color: var(--sc-red);
  color: var(--sc-red) !important;
}

.sc-historical__text-link {
  color: var(--sc-red) !important;
  font-size: .8rem;
  font-weight: 800;
  padding: .6rem .2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-historical__technical,
.sc-historical__alternatives {
  padding: clamp(1.25rem, 3vw, 2.3rem);
}

.sc-historical__technical > header,
.sc-historical__alternatives > header {
  border-bottom: 1px solid var(--sc-border);
  margin-bottom: 1.2rem;
  padding-bottom: 1.1rem;
}

.sc-historical__technical h2,
.sc-historical__alternatives h2,
.sc-historical__closing h2 {
  color: var(--sc-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 .45rem;
}

.sc-historical__technical header span,
.sc-historical__alternatives header span,
.sc-historical__closing span {
  color: var(--sc-muted);
  line-height: 1.55;
}

.sc-historical__legacy-content {
  color: #3c444d;
  line-height: 1.55;
  overflow-x: auto;
}

.sc-historical__legacy-content > ul,
.sc-historical__legacy-content > ol {
  display: grid;
  gap: .35rem;
  margin: .6rem 0;
  padding-left: 1.25rem;
}

.sc-historical__legacy-content table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.sc-historical__legacy-content th,
.sc-historical__legacy-content td {
  border-bottom: 1px solid var(--sc-border);
  padding: .8rem .75rem;
  text-align: left;
  vertical-align: top;
  white-space: pre-line;
}

.sc-historical__legacy-content th {
  color: #4f5864;
  font-size: .8rem;
  width: 30%;
}

.sc-historical__legacy-content td {
  color: var(--sc-ink);
  font-size: .88rem;
}

.sc-historical__alternative-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sc-historical__alternative-card {
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  display: grid;
  overflow: hidden;
}

.sc-historical__alternative-card > a {
  align-items: center;
  background: #f8f8f9;
  display: flex;
  justify-content: center;
  min-height: 210px;
  padding: .75rem;
}

.sc-historical__alternative-card img {
  height: 190px;
  max-width: 100%;
  object-fit: contain;
  width: 190px;
}

.sc-historical__alternative-card div {
  padding: 1rem;
}

.sc-historical__alternative-card p {
  color: var(--sc-red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  margin: 0 0 .35rem;
  text-transform: uppercase;
}

.sc-historical__alternative-card h3 {
  color: var(--sc-ink);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 .75rem;
}

.sc-historical__alternative-card div a {
  color: var(--sc-red);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.sc-historical__closing {
  align-items: center;
  background: linear-gradient(120deg, #20242a, #313740);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.sc-historical__closing h2 {
  color: #fff;
}

.sc-historical__closing span {
  color: #d7dbe0;
}

@media (max-width: 991px) {
  .sc-historical__hero {
    grid-template-columns: 1fr;
  }

  .sc-historical__main-image {
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .sc-historical {
    gap: .85rem;
  }

  .sc-historical__hero,
  .sc-historical__technical,
  .sc-historical__alternatives,
  .sc-historical__closing {
    border-radius: 12px;
  }

  .sc-historical__hero {
    padding: .85rem;
  }

  .sc-historical__main-image {
    min-height: 285px;
  }

  .sc-historical__thumbnails {
    grid-template-columns: repeat(5, minmax(58px, 1fr));
    overflow-x: auto;
  }

  .sc-historical__identity {
    grid-template-columns: 1fr;
  }

  .sc-historical__actions,
  .sc-historical__closing {
    align-items: stretch;
    flex-direction: column;
  }

  .sc-historical__button {
    width: 100%;
  }
}
