.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav a.is-active {
  color: var(--white);
}

.catalog-hero {
  padding: 40px 0 12px;
}

.catalog-hero .display {
  max-width: 16ch;
}

.catalog-section {
  padding-top: 24px;
}

.catalog-layout {
  display: grid;
  gap: 24px;
}

.catalog-filters-toggle {
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-filters {
  display: none;
  padding: 8px 18px 20px;
  background: #efefef;
  border-radius: 10px;
}

.catalog-filters.is-open {
  display: block;
}

.catalog-side-block {
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
}

.catalog-side-block:last-of-type {
  border-bottom: 0;
}

.catalog-side-block h2 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 800;
}

.catalog-side-block a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.catalog-side-block a span {
  color: var(--muted);
  font-size: 0.8rem;
}

.catalog-side-block a:hover,
.catalog-side-block a.is-active {
  color: var(--orange);
}

.catalog-price-form {
  margin-top: 12px;
}

.catalog-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.catalog-price-inputs input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
}

.catalog-price-inputs button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
}

.catalog-clear {
  display: inline-block;
  margin-top: 8px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-clear[hidden] {
  display: none;
}

[data-catalog-results].is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.catalog-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.catalog-toolbar input,
.catalog-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

.catalog-count {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #ffd4ba;
  box-shadow: var(--shadow);
}

.product-card a {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  padding: 0 0 16px;
}

.product-card__img {
  position: relative;
  width: 100%;
  height: 220px;
  max-height: 220px;
  overflow: hidden;
  background: #ffffff;
}

.product-card__off {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1b7a3a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.product-card__placeholder,
.product-gallery__placeholder {
  aspect-ratio: 1;
  background: #ececec;
}

.product-card__img .product-card__placeholder {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.product-card h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 14px 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card__brand,
.product-card__mkt {
  margin: 0 14px 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card__price {
  margin: auto 14px 8px;
  color: var(--black);
  font-weight: 800;
  font-size: 1.15rem;
}

.product-card__price span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__old {
  display: block;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: line-through;
}

.catalog-empty {
  padding: 32px 0 8px;
}

.catalog-empty h2,
.catalog-empty h1 {
  margin-bottom: 10px;
}

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.catalog-pager a {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.catalog-pager a.is-active,
.catalog-pager a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.product-page {
  padding-top: 32px;
}

.product-gallery {
  min-width: 0;
  max-width: 420px;
}

.product-gallery__frame {
  position: relative;
}

.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.product-gallery__lens {
  position: absolute;
  z-index: 3;
  width: 168px;
  height: 168px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .product-gallery__main {
    cursor: crosshair;
  }
}

.product-gallery__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

.product-gallery__thumbs button {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fog);
  cursor: pointer;
}

.product-gallery__thumbs button.is-active,
.product-gallery__thumbs button:hover {
  border-color: var(--orange);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.product-info {
  min-width: 0;
}

.product-share {
  position: relative;
  margin-top: 14px;
  max-width: 420px;
}

.product-share__btn {
  width: 100%;
}

.product-share__btn,
.product-collapse__btn,
.related__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.product-share__btn:hover,
.product-collapse__btn:hover,
.related__arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.product-share__btn svg,
.product-collapse__btn svg {
  flex: 0 0 auto;
}

.product-share__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 8;
  min-width: 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-share__menu a,
.product-share__menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--black);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.product-share__menu a:hover,
.product-share__menu button:hover {
  background: var(--fog);
}

.product-collapse [data-collapse-body] {
  position: relative;
}

.product-collapse.is-collapsed [data-collapse-body] {
  max-height: 9.3em;
  overflow: hidden;
}

.product-collapse.is-collapsed [data-collapse-body]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
}

.product-collapse.is-collapsed .specs[data-collapse-body] {
  max-height: 13.5rem;
}

.product-collapse__btn {
  margin-top: 12px;
}

.related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.related__head h2 {
  margin-bottom: 0;
}

.related__nav {
  display: flex;
  gap: 8px;
}

.related__arrow {
  width: 36px;
  padding: 0;
}

.related__arrow svg {
  pointer-events: none;
}

.related__arrow:first-child svg {
  transform: rotate(180deg);
}

.related__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.related__track::-webkit-scrollbar {
  display: none;
}

.related__track .product-card {
  flex: 0 0 min(240px, 78vw);
  max-width: min(240px, 78vw);
  scroll-snap-align: start;
}

.related__track .product-card:hover {
  transform: none;
}

.related__track .product-card__img {
  height: 180px;
  max-height: 180px;
}

.product-info .display {
  max-width: none;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.product-brand,
.product-from {
  margin-top: 10px;
}

.product-from {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.product-from strong {
  color: var(--black);
  font-size: 1.35rem;
}

.product-from__old {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: line-through;
}

.product-from .badge {
  vertical-align: middle;
}

.product-buy-buttons {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  max-width: 420px;
}

.product-buy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--black);
  text-decoration: none;
}

.product-buy-btn:hover {
  border-color: var(--orange);
}

.product-buy-btn__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.product-buy-btn__kind {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-buy-btn__note {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-buy-btn img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

.product-buy-btn strong {
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-buy-btn__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.product-buy-btn__price s {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.product-buy-btn__price .badge {
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fog);
}

.badge--on {
  background: #e8f7ee;
  color: #1b7a3a;
}

.badge--off {
  background: #f3f3f3;
  color: var(--muted);
}

.product-block {
  margin-top: 40px;
}

.product-block h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-description {
  max-width: 62ch;
  color: var(--text);
  line-height: 1.55;
}

.specs {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.specs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.specs > div:first-child {
  border-top: 0;
}

.specs dt {
  color: var(--muted);
  font-weight: 700;
}

.buy-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.buy-card {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.buy-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.buy-card__note {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.buy-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
}

.buy-card__old {
  color: var(--muted);
  text-decoration: line-through;
}

.buy-card__muted,
.buy-card__avail,
.buy-card__sync {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 6px 0;
}

.buy-card .btn {
  margin-top: 14px;
  width: 100%;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--black);
  padding: 24px;
}

.admin-login__card {
  width: min(100%, 400px);
  padding: 32px 28px;
  background: #111;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: var(--white);
}

.admin-login__card img {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.admin-login__card label,
.admin-body label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-weight: 700;
}

.admin-login__card input,
.admin-body input[type="search"],
.admin-body input[type="text"],
.admin-body input[type="password"] {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: var(--white);
  font-family: inherit;
}

.admin-alert,
.admin-flash {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff3ea;
  color: var(--black);
  font-weight: 600;
}

.admin-body {
  background: var(--fog);
}

.admin-top {
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.admin-brand img {
  height: 40px;
  width: auto;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.admin-nav a:hover {
  color: var(--white);
}

.admin-main {
  padding: 28px 0 64px;
}

.admin-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
}

.admin-toolbar .catalog-toolbar {
  flex: 1;
  margin-bottom: 0;
  grid-template-columns: 1fr auto;
}

.btn-admin {
  background: var(--white);
  color: var(--black);
  border-color: var(--line);
  text-decoration: none;
  white-space: nowrap;
}

.btn-admin:hover {
  border-color: var(--orange);
  color: var(--black);
}

.admin-cards,
.admin-mkt-grid {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
}

.admin-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-card strong {
  font-size: 2rem;
  font-weight: 800;
}

.admin-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.admin-card--link:hover {
  border-color: var(--orange);
}

.admin-empty {
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-empty p + p {
  margin-top: 8px;
}

.admin-toolbar .catalog-toolbar--promo {
  grid-template-columns: 1fr;
}

.admin-price-old {
  display: block;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.82rem;
}

.admin-price-now {
  font-weight: 800;
  white-space: nowrap;
}

.admin-mkt-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-table--promos .admin-thumb {
  width: 64px;
  height: 64px;
}

.admin-actions-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-actions-cell a {
  font-weight: 700;
  white-space: nowrap;
}

.admin-promo-status {
  margin: 4px 0 0;
  font-size: 0.78rem;
}

.btn-compact {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.72rem;
}

.admin-wa-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-wa-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.admin-wa-dialog__card {
  margin: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-wa-dialog__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.admin-wa-dialog__head img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--fog);
}

.admin-wa-dialog__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.admin-wa-status {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--muted);
}

.admin-wa-status.is-error {
  color: #b42318;
}

.admin-wa-label {
  display: block;
}

.admin-wa-label textarea {
  width: 100%;
  min-height: 280px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.45;
  resize: vertical;
}

.admin-wa-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-card .ok {
  color: #1b7a3a;
  font-weight: 800;
}

.admin-card .off {
  color: var(--muted);
  font-weight: 800;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.admin-h2 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

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

.admin-table img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-pre {
  overflow-x: auto;
  padding: 14px;
  background: var(--black);
  color: #f3f3f3;
  border-radius: 8px;
  font-size: 0.85rem;
}

.admin-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-thumbs img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

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

@media (min-width: 700px) {
  .catalog-toolbar {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
  }

  .admin-toolbar .catalog-toolbar--promo {
    grid-template-columns: 1.4fr 1fr auto;
  }

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

  .buy-grid,
  .admin-cards,
  .admin-mkt-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-detail {
    display: grid;
    grid-template-columns: minmax(0, 550px) minmax(0, 1fr);
    gap: 32px 40px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .catalog-filters-toggle {
    display: none;
  }

  .catalog-filters {
    display: block;
    max-height: calc(100vh - var(--header) - 32px);
    overflow: auto;
  }

  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .catalog-sidebar {
    position: sticky;
    top: calc(var(--header) + 16px);
  }

  .catalog-layout .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .buy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-mkt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-page {
  max-width: 72ch;
}

.legal-page .display {
  max-width: none;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p {
  margin: 0 0 14px;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  list-style: disc;
}

.legal-page li {
  margin: 0 0 8px;
}

.legal-page a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--orange);
}

.legal-page__updated {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.warranty {
  max-width: 560px;
}

.warranty__form {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.warranty__form label {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.warranty__form input[type="text"],
.warranty__form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  font: inherit;
}

.warranty__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.warranty__consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.warranty__form .btn {
  margin-top: 16px;
  width: 100%;
}

.warranty__ok,
.warranty__error {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
}

.warranty__ok {
  background: #eef8f0;
  color: #146c2e;
}

.warranty__error {
  background: #fdecec;
  color: #8f1d1d;
}

.warranty__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.warranty-pick__field {
  position: relative;
}

.warranty-pick__list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 220px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.warranty-pick__list[data-placement="above"] {
  top: auto;
  bottom: calc(100% + 4px);
}

.warranty-pick__list button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.warranty-pick__list button.is-active,
.warranty-pick__list button:hover {
  background: var(--fog);
}

.warranty-pick__empty {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
