.variants-section {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 52px 0;
}
.variants-section > h2 {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.variants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.variant-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 44px rgba(6, 53, 80, 0.06);
}
.variant-card h3 {
  margin: 20px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}
.variant-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.variant-chip {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.variant-spectrum {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}
.spectrum-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 5px rgba(7, 58, 89, 0.05);
}
.variant-red .spectrum-dot {
  background: #e34343;
}
.variant-blue .spectrum-dot {
  background: #267bdc;
}
.variant-dual .spectrum-dot {
  background: linear-gradient(90deg, #267bdc 0 50%, #e34343 50%);
}
.variant-card .text-link {
  margin-top: 18px;
  color: #168c87;
}
.variants-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.variant-material {
  min-height: 280px;
}
.variant-select {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.variant-select:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 140, 135, 0.45);
}
.variant-select.active {
  border-color: var(--teal);
  box-shadow:
    0 0 0 3px rgba(22, 140, 135, 0.12),
    0 16px 44px rgba(6, 53, 80, 0.09);
}
.variant-select:focus-visible {
  outline: 3px solid rgba(22, 140, 135, 0.3);
  outline-offset: 3px;
}
.variant-media {
  min-width: 0;
}
.gallery-thumbs-three {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-thumbs-four {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-thumbs-five {
  grid-template-columns: repeat(5, 1fr);
}
.gallery-thumbs.gallery-thumbs-six {
  grid-template-columns: repeat(6, 1fr);
}
.gallery-caption {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.variant-photo-empty {
  min-height: 430px;
  padding: 40px;
  border: 1px dashed rgba(22, 140, 135, 0.4);
  border-radius: 28px;
  background: linear-gradient(145deg, #f7fbfc, #edf6f6);
  display: grid;
  place-content: center;
  text-align: center;
}
.variant-photo-empty p {
  max-width: 320px;
  margin: 10px 0 0;
  color: var(--muted);
}
.variant-media [hidden] {
  display: none !important;
}
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.color-option {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.color-option:hover,
.color-option.active {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 140, 135, 0.1);
}
.color-option:focus-visible {
  outline: 3px solid rgba(22, 140, 135, 0.3);
  outline-offset: 2px;
}
.color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(7, 58, 89, 0.05);
}
.color-orange {
  background: #f47b20;
}
.color-red {
  background: #d9363e;
}
.variants-note {
  margin: 18px 0 0;
  padding: 15px 18px;
  border-left: 3px solid #168c87;
  border-radius: 0 12px 12px 0;
  background: rgba(22, 140, 135, 0.07);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 980px) {
  .variants-section {
    margin-left: 24px;
    margin-right: 24px;
  }
  .variants-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .gallery-thumbs.gallery-thumbs-six {
    grid-template-columns: repeat(3, 1fr);
  }
  .variants-section {
    margin-left: 18px;
    margin-right: 18px;
    padding: 30px 0;
  }
  .variant-card {
    min-height: 260px;
    padding: 24px;
  }
}
