:root {
  color-scheme: light;
  --topbar-height: 78px;
  --bg: #ffffff;
  --bg-soft: #fbfaf8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: #f6f4f1;
  --line: rgba(16, 16, 16, 0.08);
  --line-strong: rgba(16, 16, 16, 0.14);
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.58);
  --muted-2: rgba(16, 16, 16, 0.42);
  --accent: #cc8456;
  --accent-soft: rgba(204, 132, 86, 0.12);
  --shadow: 0 24px 64px rgba(16, 16, 16, 0.08);
  --shadow-soft: 0 10px 30px rgba(16, 16, 16, 0.05);
  --radius-xl: 9px;
  --radius-lg: 7px;
  --radius-md: 5px;
  --radius-sm: 3.5px;
  --container: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

body::before,
body::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

::selection {
  background: rgba(204, 132, 86, 0.24);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 68px 0 56px;
  scroll-margin-top: 96px;
}

.section > .container {
  grid-column: 3 / span 8;
  width: 100%;
  max-width: none;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 250px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 16, 16, 0.16);
  font-weight: 600;
}

.button--solid:hover {
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.20);
}

.button--ghost {
  border-color: rgba(16, 16, 16, 0.06);
  background: #f5f2ee;
  color: #111111;
}

.button--ghost:hover {
  background: #efeae3;
  border-color: rgba(16, 16, 16, 0.10);
}

.button--basket {
  min-height: 42px;
  padding: 0 20px;
  border-color: rgba(16, 16, 16, 0.05);
  background: #f5f3f1;
  color: #111111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  font-weight: 600;
  justify-self: end;
}

.button--basket:hover {
  background: #efebe6;
  border-color: rgba(16, 16, 16, 0.10);
}

.button--basket .button__icon {
  width: 16px;
  height: 16px;
  flex: none;
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-bottom: 1px solid rgba(16, 16, 16, 0.05);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  grid-column: 3 / span 8;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr) auto;
  align-items: center;
  gap: 18px;
  min-height: var(--topbar-height);
  width: 100%;
  max-width: none;
  margin: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 6.5px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(16, 16, 16, 0.12);
}

.brand__wordmark {
  display: block;
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #101010;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  color: rgba(16, 16, 16, 0.82);
  font-size: 0.86rem;
  justify-self: end;
  min-width: 0;
}

.topbar__nav a {
  transition: color 180ms ease;
}

.topbar__nav a:hover {
  color: #000000;
}

.hero {
  align-items: start;
  min-height: auto;
  padding-block: 10px 18px;
  background:
    radial-gradient(circle at 80% 18%, rgba(204, 132, 86, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.hero__copy {
  display: grid;
  gap: 22px;
  max-width: 560px;
  grid-column: 1 / span 4;
  align-self: center;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 52vw, 700px);
  grid-column: 5 / -1;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 11% 5%;
  border-radius: 25%;
  background: radial-gradient(circle, rgba(16, 16, 16, 0.05) 0%, rgba(16, 16, 16, 0) 68%);
  filter: blur(18px);
  transform: scale(1.04);
}

.hero__image {
  position: relative;
  width: min(100%, 860px);
  max-height: 68svh;
  object-fit: contain;
  filter: drop-shadow(0 32px 54px rgba(16, 16, 16, 0.16));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 250px;
  background: rgba(204, 132, 86, 0.10);
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(204, 132, 86, 0.08);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 4.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  max-width: 22ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.catalog-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  scroll-margin-top: calc(var(--topbar-height) + 24px);
}

.catalog-section {
  scroll-margin-top: calc(var(--topbar-height) + 24px);
}

.catalog-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 7.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.96));
  box-shadow: var(--shadow-soft);
}

.catalog-card--search {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
}

.catalog-card--brands {
  gap: 20px;
}

.catalog-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.catalog-step__index {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 250px;
  background: #111111;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.14);
}

.catalog-step__label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-step h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.quick-select {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-card--search .catalog-step {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.catalog-card--search .quick-select {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.catalog-card--search .catalog-card__note {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background:
    linear-gradient(45deg, transparent 50%, rgba(16, 16, 16, 0.6) 50%),
    linear-gradient(135deg, rgba(16, 16, 16, 0.6) 50%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
  background-position:
    calc(100% - 20px) 55%,
    calc(100% - 14px) 55%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  color: #111111;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  appearance: none;
  cursor: pointer;
}

.field select:focus {
  outline: none;
  border-color: rgba(204, 132, 86, 0.40);
  box-shadow: 0 0 0 4px rgba(204, 132, 86, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.quick-select__button {
  width: 100%;
  align-self: end;
}

.catalog-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.featured-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
}

.brand-tile {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 242, 0.98));
  color: #111111;
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  text-align: left;
}

.brand-tile--wide {
  grid-column: span 2;
}

.brand-tile--compact {
  justify-content: flex-start;
}

.brand-tile__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 3.5px;
  border: 1px solid hsl(var(--brand-hue) 32% 82% / 0.95);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(180deg, hsl(var(--brand-hue) 60% 97%), hsl(var(--brand-hue) 44% 91%));
  color: hsl(var(--brand-hue) 22% 24%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand-tile--with-logo .brand-tile__icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.98));
  border-color: rgba(16, 16, 16, 0.08);
  box-shadow: 0 8px 16px rgba(16, 16, 16, 0.04);
  padding: 3px;
}

.brand-tile__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-tile__mark {
  display: inline-block;
  transform: translateY(0.02em);
}

.brand-tile__name {
  display: block;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-align: left;
}

.brand-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(204, 132, 86, 0.20);
  background: #fbfaf8;
  box-shadow: 0 12px 24px rgba(16, 16, 16, 0.06);
}

.models-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 82% 16%, rgba(204, 132, 86, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.models-section {
  padding: 42px 0 72px;
}

.models-page__container {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: 7.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.96));
  box-shadow: var(--shadow-soft);
}

.models-page__intro {
  display: grid;
  gap: 14px;
  align-content: start;
}

.models-page__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 250px;
  background: rgba(204, 132, 86, 0.10);
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(204, 132, 86, 0.08);
}

.models-page__title {
  margin: 0;
  max-width: 14ch;
  color: var(--text);
  font-size: clamp(2.7rem, 4vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.cart-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 12% 0%, rgba(204, 132, 86, 0.06), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.cart-section {
  padding-top: 68px;
  padding-bottom: 92px;
}

.cart-section__inner {
  display: grid;
  min-height: calc(100svh - var(--topbar-height) - 160px);
  align-items: center;
}

.cart-empty {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.cart-empty__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #e3e3e3;
  background: linear-gradient(180deg, #f4f4f4, #ededed);
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.05);
  color: #8f8376;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.cart-empty h1 {
  margin: 0;
  color: #233861;
  font-size: clamp(2.5rem, 3vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.cart-empty p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.cart-empty__continue {
  padding-top: 2px;
}

.cart-empty__continue a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.model-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
}

.model-tile {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 242, 0.98));
  color: #111111;
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.04);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.model-tile--wide {
  grid-column: span 2;
}

.model-tile__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 3.5px;
  border: 1px solid hsl(var(--model-hue) 32% 82% / 0.95);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(180deg, hsl(var(--model-hue) 60% 97%), hsl(var(--model-hue) 44% 91%));
  color: hsl(var(--model-hue) 22% 24%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.model-tile__mark {
  display: inline-block;
  transform: translateY(0.02em);
}

.model-tile__name {
  display: block;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.03;
  font-weight: 650;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-align: left;
}

.model-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(204, 132, 86, 0.20);
  background: #fbfaf8;
  box-shadow: 0 12px 24px rgba(16, 16, 16, 0.06);
}

.model-tile.is-active {
  border-color: rgba(204, 132, 86, 0.30);
  background: linear-gradient(180deg, #f7f4ef, #f0ebe5);
  box-shadow: 0 14px 24px rgba(16, 16, 16, 0.08);
}

.models-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.product-sheet {
  padding-top: 84px;
}

.product-page .product-sheet {
  padding-top: 56px;
}

.product-sheet__inner {
  display: grid;
  gap: 18px;
}

.product-sheet__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.product-breadcrumbs a {
  color: var(--text);
  font-weight: 600;
}

.product-sheet__signal {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-sheet__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery__main {
  position: relative;
  min-height: 560px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 236, 0.98));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.product-gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(204, 132, 86, 0.12), transparent 26%),
    radial-gradient(circle at 80% 12%, rgba(16, 16, 16, 0.05), transparent 18%),
    radial-gradient(circle at 50% 92%, rgba(16, 16, 16, 0.04), transparent 26%);
  pointer-events: none;
}

.product-art {
  position: relative;
  min-height: 516px;
  border-radius: 6.5px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02) 18%),
    radial-gradient(circle at 50% 17%, rgba(16, 16, 16, 0.05), transparent 24%),
    linear-gradient(180deg, #faf7f2 0%, #eee6db 100%);
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 12% 7% 8%;
  border-radius: 7px;
  border: 1px solid rgba(16, 16, 16, 0.04);
  background:
    radial-gradient(circle at 50% 12%, rgba(16, 16, 16, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent 26%);
}

.product-art__badge,
.product-art__caption,
.product-art__brand {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 250px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-art__badge {
  top: 22px;
  left: 22px;
  background: rgba(16, 16, 16, 0.92);
  color: #ffffff;
}

.product-art__caption {
  top: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(16, 16, 16, 0.78);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.product-art__brand {
  left: 22px;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(16, 16, 16, 0.82);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.product-art__floor {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8%;
  height: 26%;
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(16, 16, 16, 0.02));
  filter: blur(4px);
  opacity: 0.55;
}

.product-art__mat {
  position: absolute;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.12), transparent 16%),
    radial-gradient(circle at 70% 12%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(180deg, #2a2725 0%, #111112 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 64px rgba(16, 16, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-art__mat::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 16%;
  width: 8px;
  height: 8px;
  border-radius: 25%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    24px 0 0 rgba(255, 255, 255, 0.18),
    48px 0 0 rgba(255, 255, 255, 0.18),
    72px 0 0 rgba(255, 255, 255, 0.18);
}

.product-art__mat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.22);
}

.product-art__mat--rear {
  top: 18%;
  left: 16%;
  width: 42%;
  height: 56%;
  border-radius: 9.5px 9.5px 11.5px 11.5px / 7.5px 7.5px 10px 10px;
  transform: rotate(-8deg);
}

.product-art__mat--front {
  top: 22%;
  right: 14%;
  width: 48%;
  height: 60%;
  border-radius: 9.5px 9.5px 11.5px 11.5px / 7.5px 7.5px 10px 10px;
  transform: rotate(8deg);
}

.product-art__mat--liner {
  top: 36%;
  left: 31%;
  width: 34%;
  height: 42%;
  border-radius: 8px 8px 10px 10px / 6px 6px 9px 9px;
  transform: rotate(1deg);
  opacity: 0.92;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-thumb {
  appearance: none;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px 14px 12px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.98));
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.04);
  text-align: left;
  cursor: pointer;
}

.product-thumb--active {
  border-color: rgba(204, 132, 86, 0.26);
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.06);
}

.product-thumb__number {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.product-thumb__label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.product-buybox {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
  box-shadow: var(--shadow-soft);
  align-content: start;
}

.product-buybox__eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-buybox h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 3.15rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.product-buybox__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.product-buybox__meta strong,
.product-buybox__meta span {
  color: var(--text);
  font-weight: 600;
}

.product-buybox__facts {
  display: grid;
  gap: 10px;
}

.product-buybox__facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.68);
}

.product-buybox__facts span {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-buybox__facts strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.product-buybox__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.product-buybox__price strong {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.product-buybox__price span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.product-buybox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-buybox__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 2px 4px 16px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.product-tabs a {
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.product-tabs a:hover {
  color: var(--text);
  border-color: rgba(204, 132, 86, 0.42);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 7px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
  box-shadow: var(--shadow-soft);
}

.product-card--overview {
  grid-column: span 8;
}

.product-card--advantages {
  grid-column: span 4;
}

.product-card--delivery {
  grid-column: span 6;
}

.product-card--params {
  grid-column: span 6;
}

.product-card--manufacturer {
  grid-column: span 12;
}

.product-card--original {
  grid-column: span 4;
}

.product-card--fitment {
  grid-column: span 8;
}

.product-card--reviews {
  grid-column: span 12;
}

.product-card--related {
  grid-column: span 12;
}

.product-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.product-card__index {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 250px;
  background: #111111;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.14);
}

.product-card__label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card__header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.product-card__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.product-card__callout {
  margin: 0;
  padding: 14px 16px;
  border-radius: 4.5px;
  border: 1px solid rgba(204, 132, 86, 0.18);
  background: rgba(204, 132, 86, 0.09);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.product-card__callout a {
  color: var(--accent);
  font-weight: 700;
}

.product-card__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.product-card__pricing span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__pricing strong {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.product-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-payments span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 250px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(16, 16, 16, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
}

.advantage-stack {
  display: grid;
  gap: 12px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 15px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

.advantage-item > span {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7.5px;
  background: rgba(204, 132, 86, 0.12);
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.advantage-item h4,
.delivery-item h4,
.manufacturer-about h4,
.review-item strong,
.related-card__body h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.advantage-item p,
.delivery-item p,
.manufacturer-copy p,
.manufacturer-about p,
.review-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.delivery-list {
  display: grid;
  gap: 12px;
}

.delivery-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

.delivery-item strong {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.spec-grid {
  display: grid;
  gap: 10px;
}

.spec-row,
.manufacturer-info div,
.fitment-grid div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

.spec-row span,
.manufacturer-info span,
.fitment-grid span {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-row strong,
.manufacturer-info strong,
.fitment-grid strong {
  text-align: right;
  font-size: 0.94rem;
  font-weight: 700;
}

.manufacturer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
}

.manufacturer-copy {
  display: grid;
  gap: 14px;
}

.manufacturer-info {
  display: grid;
  gap: 12px;
  align-content: start;
}

.manufacturer-about {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 5.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.76);
}

.number-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.number-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 250px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.product-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.fitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fitment-grid div {
  flex-direction: column;
}

.fitment-grid strong {
  text-align: left;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 5.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.76);
}

.reviews-summary strong {
  flex: none;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.reviews-summary div {
  flex: 1;
}

.reviews-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reviews-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 4.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

.review-item strong {
  font-size: 0.92rem;
}

.review-item span {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-item a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  padding: 18px;
  border-radius: 5.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
}

.related-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 5.5px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  background: rgba(255, 255, 255, 0.76);
}

.related-card__art {
  position: relative;
  min-height: 180px;
  border-radius: 4.5px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(180deg, #f9f6f1 0%, #ece3d7 100%);
}

.related-card__art::before,
.related-card__art::after {
  content: "";
  position: absolute;
  border-radius: 250px;
  background: linear-gradient(180deg, #2a2725 0%, #111112 100%);
  box-shadow: 0 18px 30px rgba(16, 16, 16, 0.14);
}

.related-card__art::before {
  left: 12%;
  right: 32%;
  top: 24%;
  bottom: 22%;
  transform: rotate(-8deg);
}

.related-card__art::after {
  left: 36%;
  right: 14%;
  top: 18%;
  bottom: 28%;
  transform: rotate(8deg);
}

.related-card__art--one {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(180deg, #f7f4ef 0%, #e9dfd1 100%);
}

.related-card__art--two {
  background:
    radial-gradient(circle at 18% 18%, rgba(204, 132, 86, 0.16), transparent 20%),
    linear-gradient(180deg, #f7f4ef 0%, #ebe3d7 100%);
}

.related-card__art--three {
  background:
    radial-gradient(circle at 82% 20%, rgba(16, 16, 16, 0.08), transparent 20%),
    linear-gradient(180deg, #f8f5f0 0%, #e8e0d6 100%);
}

.related-card__art--four {
  background:
    radial-gradient(circle at 50% 10%, rgba(204, 132, 86, 0.12), transparent 18%),
    linear-gradient(180deg, #f8f6f1 0%, #e9e2d8 100%);
}

.related-card__body {
  display: grid;
  gap: 10px;
}

.related-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  grid-column: 1 / -1;
  grid-row: 7 / span 6;
  align-self: stretch;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 18 / 22;
  border-radius: 7.5px;
  border: 1px solid rgba(16, 16, 16, 0.04);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 241, 0.94));
  box-shadow: var(--shadow-soft);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.portrait {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfbf8 0%, #f3eee7 100%);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 17%, rgba(16, 16, 16, 0.03), transparent 22%),
    radial-gradient(circle at 50% 84%, rgba(16, 16, 16, 0.03), transparent 30%);
}

.portrait > span {
  position: absolute;
  display: block;
}

.portrait__halo {
  top: var(--halo-top, 12%);
  left: var(--halo-left, 24%);
  width: var(--halo-size, 54%);
  height: var(--halo-size, 54%);
  border-radius: 25%;
  background: radial-gradient(circle, var(--halo) 0%, rgba(16, 16, 16, 0) 70%);
  filter: blur(10px);
  opacity: 0.9;
}

.portrait__hair {
  top: var(--hair-top, 8%);
  left: var(--hair-left, 11%);
  width: var(--hair-width, 78%);
  height: var(--hair-height, 45%);
  border-radius: var(--hair-radius, 24% 24% 18% 18% / 29% 29% 21% 21%);
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.09), transparent 14%),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.06), transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
    var(--hair);
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.10);
}

.portrait__hair::before,
.portrait__hair::after {
  content: "";
  position: absolute;
  top: 34%;
  width: 16%;
  height: 76%;
  background: inherit;
  border-radius: 250px;
  opacity: var(--strand-opacity, 0.88);
}

.portrait__hair::before {
  left: -7%;
  transform: rotate(10deg);
}

.portrait__hair::after {
  right: -7%;
  transform: rotate(-10deg);
}

.portrait__face {
  top: var(--face-top, 24%);
  left: var(--face-left, 28%);
  width: var(--face-width, 44%);
  height: var(--face-height, 34%);
  border-radius: 23% 23% 21% 21% / 27.5% 27.5% 20% 20%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 40%),
    var(--skin);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.05);
}

.portrait__face::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 5%;
  height: 24%;
  transform: translateX(-50%);
  border-radius: 250px;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.10), rgba(16, 16, 16, 0.02));
  opacity: 0.26;
}

.portrait__neck {
  top: var(--neck-top, 52%);
  left: calc(50% - var(--neck-width, 7%) / 2);
  width: var(--neck-width, 7%);
  height: var(--neck-height, 7%);
  border-radius: 250px;
  background: var(--skin);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.04);
}

.portrait__shirt {
  top: var(--shirt-top, 60%);
  left: var(--shirt-left, 18%);
  width: var(--shirt-width, 64%);
  height: var(--shirt-height, 44%);
  border-radius: 21% 21% 0 0 / 14% 14% 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f2ede4 0%, var(--shirt) 100%);
  box-shadow: inset 0 12px 18px rgba(255, 255, 255, 0.18);
}

.portrait__eye {
  top: var(--eye-top, 43%);
  width: 1.45%;
  height: 1.45%;
  border-radius: 25%;
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.portrait__eye--left {
  left: var(--eye-left, 41%);
}

.portrait__eye--right {
  left: var(--eye-right, 57%);
}

.portrait__brow {
  top: var(--brow-top, 40%);
  width: 7%;
  height: 1.9%;
  border-radius: 250px;
  background: rgba(16, 16, 16, 0.34);
}

.portrait__brow--left {
  left: var(--brow-left, 39%);
  transform: rotate(-8deg);
}

.portrait__brow--right {
  left: var(--brow-right, 55%);
  transform: rotate(8deg);
}

.portrait__mouth {
  top: var(--mouth-top, 55%);
  left: var(--mouth-left, 46%);
  width: var(--mouth-width, 9%);
  height: 2.4%;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 499.5px 499.5px;
  opacity: 0.88;
}

.portrait-card--one .portrait {
  --hair: #141414;
  --skin: #d8b48e;
  --shirt: #e8e2d7;
  --ink: #2a201a;
  --halo: rgba(16, 16, 16, 0.025);
  --halo-top: 12%;
  --halo-left: 24%;
  --halo-size: 56%;
  --hair-top: 6%;
  --hair-left: 8%;
  --hair-width: 84%;
  --hair-height: 50%;
  --hair-radius: 44% 44% 38% 38% / 58% 58% 42% 42%;
  --face-top: 25%;
  --face-left: 29%;
  --face-width: 42%;
  --face-height: 34%;
  --neck-top: 52%;
  --neck-width: 6%;
  --shirt-top: 60%;
  --shirt-left: 18%;
  --shirt-width: 64%;
  --shirt-height: 44%;
  --eye-top: 42%;
  --eye-left: 41%;
  --eye-right: 57%;
  --brow-top: 39%;
  --brow-left: 39%;
  --brow-right: 55%;
  --mouth-top: 55%;
  --mouth-left: 46%;
  --mouth-width: 8%;
  --strand-opacity: 0.96;
}

.portrait-card--two .portrait {
  --hair: #233130;
  --skin: #9a7052;
  --shirt: #e9e3d9;
  --ink: #2d221c;
  --halo: rgba(16, 16, 16, 0.024);
  --halo-top: 13%;
  --halo-left: 26%;
  --halo-size: 54%;
  --hair-top: 12%;
  --hair-left: 19%;
  --hair-width: 62%;
  --hair-height: 28%;
  --hair-radius: 50% 50% 36% 36% / 72% 72% 30% 30%;
  --face-top: 27%;
  --face-left: 31%;
  --face-width: 38%;
  --face-height: 32%;
  --neck-top: 53%;
  --neck-width: 5.5%;
  --shirt-top: 61%;
  --shirt-left: 18%;
  --shirt-width: 64%;
  --shirt-height: 42%;
  --eye-top: 42.5%;
  --eye-left: 42%;
  --eye-right: 56%;
  --brow-top: 39.5%;
  --brow-left: 40%;
  --brow-right: 54%;
  --mouth-top: 55%;
  --mouth-left: 46%;
  --mouth-width: 7.4%;
  --strand-opacity: 0.38;
}

.portrait-card--three .portrait {
  --hair: #d0c9bf;
  --skin: #dac5ad;
  --shirt: #e9e3d8;
  --ink: #2d2b29;
  --halo: rgba(16, 16, 16, 0.022);
  --halo-top: 12%;
  --halo-left: 25%;
  --halo-size: 55%;
  --hair-top: 10%;
  --hair-left: 16%;
  --hair-width: 70%;
  --hair-height: 31%;
  --hair-radius: 48% 48% 38% 38% / 68% 68% 32% 32%;
  --face-top: 27%;
  --face-left: 31%;
  --face-width: 39%;
  --face-height: 32%;
  --neck-top: 53%;
  --neck-width: 5.5%;
  --shirt-top: 61%;
  --shirt-left: 17%;
  --shirt-width: 66%;
  --shirt-height: 41%;
  --eye-top: 43%;
  --eye-left: 42%;
  --eye-right: 56%;
  --brow-top: 40%;
  --brow-left: 40%;
  --brow-right: 54%;
  --mouth-top: 55.5%;
  --mouth-left: 46%;
  --mouth-width: 7.8%;
  --strand-opacity: 0.52;
}

.portrait-card--four .portrait {
  --hair: #4f3a2d;
  --skin: #d8c0a8;
  --shirt: #e8e2d6;
  --ink: #2a211c;
  --halo: rgba(16, 16, 16, 0.024);
  --halo-top: 11%;
  --halo-left: 23%;
  --halo-size: 56%;
  --hair-top: 7%;
  --hair-left: 7%;
  --hair-width: 86%;
  --hair-height: 52%;
  --hair-radius: 42% 42% 36% 36% / 56% 56% 44% 44%;
  --face-top: 25%;
  --face-left: 30%;
  --face-width: 40%;
  --face-height: 33%;
  --neck-top: 52%;
  --neck-width: 6%;
  --shirt-top: 61%;
  --shirt-left: 17%;
  --shirt-width: 66%;
  --shirt-height: 43%;
  --eye-top: 42.5%;
  --eye-left: 41%;
  --eye-right: 57%;
  --brow-top: 39%;
  --brow-left: 39%;
  --brow-right: 55%;
  --mouth-top: 55%;
  --mouth-left: 46%;
  --mouth-width: 7.8%;
  --strand-opacity: 0.86;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .topbar__nav a {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .topbar__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) auto;
    gap: 16px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__copy {
    grid-column: auto;
    max-width: 720px;
  }

  .hero__visual {
    grid-column: auto;
    min-height: 420px;
  }

  .hero__image {
    width: min(100%, 720px);
    max-height: 68svh;
  }

  .catalog-panel {
    grid-template-columns: 1fr;
  }

  .catalog-card--search {
    grid-template-columns: 1fr;
  }

  .catalog-card--search .catalog-step,
  .catalog-card--search .quick-select,
  .catalog-card--search .catalog-card__note {
    grid-column: auto;
    grid-row: auto;
  }

  .quick-select {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-brands,
  .brand-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .models-section {
    padding: 40px 0 60px;
  }

  .models-page__container {
    gap: 20px;
    padding: 20px;
  }

  .models-page__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
  }

  .model-tile {
    min-height: 66px;
    padding: 10px 12px;
  }

  .model-tile__icon {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    font-size: 0.66rem;
  }

  .hero h1 {
    max-width: none;
  }

  .product-sheet__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-sheet__signal {
    white-space: normal;
  }

  .product-sheet__hero {
    grid-template-columns: 1fr;
  }

  .product-gallery__main {
    min-height: 460px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card--overview,
  .product-card--advantages,
  .product-card--delivery,
  .product-card--params,
  .product-card--manufacturer,
  .product-card--original,
  .product-card--fitment,
  .product-card--reviews,
  .product-card--related {
    grid-column: auto;
  }

  .manufacturer-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .fitment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 64px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .section > .container,
  .topbar__inner {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .section {
    padding: 56px 0 48px;
  }

  .topbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    gap: 12px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
    border-radius: 6px;
  }

  .topbar__nav {
    display: none;
  }

  .brand__wordmark {
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-block: 8px 16px;
  }

  .hero__layout {
    display: block;
    min-height: auto;
  }

  .hero__visual {
    min-height: 280px;
    margin-top: 28px;
  }

  .hero__image {
    max-height: none;
    width: min(100%, 560px);
  }

  .catalog-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-card {
    padding: 20px;
    border-radius: 6px;
  }

  .catalog-card--search {
    gap: 16px;
  }

  .quick-select {
    grid-template-columns: 1fr;
  }

  .quick-select__button {
    grid-column: auto;
  }

  .featured-brands,
  .brand-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .model-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .models-section {
    padding: 36px 0 48px;
  }

  .models-page__container {
    gap: 16px;
    padding: 16px;
  }

  .models-page__eyebrow {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .models-page__title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.98;
  }

  .brand-tile {
    min-height: 66px;
    padding: 10px 12px;
  }

  .brand-tile__icon {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    font-size: 0.66rem;
  }

  .brand-tile__name {
    font-size: 0.79rem;
  }

  .brand-tile--wide {
    grid-column: auto;
  }

  .model-tile {
    min-height: 66px;
    padding: 10px 12px;
  }

  .model-tile__icon {
    width: 34px;
    height: 34px;
    border-radius: 3px;
    font-size: 0.66rem;
  }

  .model-tile__name {
    font-size: 0.84rem;
  }

  .model-tile--wide {
    grid-column: auto;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .hero__actions {
    gap: 12px;
  }

  .product-sheet {
    padding-top: 60px;
  }

  .product-sheet__inner {
    gap: 14px;
  }

  .product-gallery__main {
    min-height: 380px;
    padding: 16px;
    border-radius: 6px;
  }

  .product-art {
    min-height: 330px;
    border-radius: 5px;
  }

  .product-art__badge,
  .product-art__caption,
  .product-art__brand {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.62rem;
  }

  .product-art__badge {
    top: 16px;
    left: 16px;
  }

  .product-art__caption {
    top: 16px;
    right: 16px;
  }

  .product-art__brand {
    left: 16px;
    bottom: 16px;
  }

  .product-gallery__thumbs {
    gap: 8px;
  }

  .product-thumb {
    padding: 12px 12px 10px;
    border-radius: 4px;
  }

  .product-buybox {
    padding: 20px;
    border-radius: 6px;
  }

  .product-buybox__actions {
    flex-direction: column;
  }

  .product-buybox__actions .button {
    width: 100%;
  }

  .product-card {
    padding: 20px;
    border-radius: 6px;
  }

  .product-card__pricing,
  .reviews-summary,
  .delivery-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card__pricing .button,
  .reviews-summary .button,
  .delivery-item strong {
    width: 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
