/* ===============================
   ZECAR PREMIUM CONFIG
================================ */
.zc-config,
.zc-config * {
  box-sizing: border-box;
}

.zc-config {
  max-width: 1240px;
  margin: 120px auto;
  padding: 0 32px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #cfcfcf; /* основной текст */
  text-align: center;
}

/* RADIO */
.zc-config input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ===============================
   TABS (COMPLEX)
================================ */
.zc-config .zc-tabs {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-bottom: 80px;
}

.zc-config .zc-tabs label {
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #7a7a7a;
  cursor: pointer;
  position: relative;
  padding-bottom: 14px;
  transition: color 0.3s ease;
}

#zc-we:checked ~ .zc-tabs label[for="zc-we"],
#zc-me:checked ~ .zc-tabs label[for="zc-me"],
#zc-you:checked ~ .zc-tabs label[for="zc-you"] {
  color: #e8e8e8;
}

#zc-we:checked ~ .zc-tabs label[for="zc-we"]::after,
#zc-me:checked ~ .zc-tabs label[for="zc-me"]::after,
#zc-you:checked ~ .zc-tabs label[for="zc-you"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #e8e8e8,
    transparent
  );
  transform: translateX(-50%);
}

/* ===============================
   PANELS
================================ */
.zc-config .zc-panel {
  display: none;
}

#zc-we:checked ~ .we,
#zc-me:checked ~ .me,
#zc-you:checked ~ .you {
  display: block;
}

/* ===============================
   PRICE
================================ */
.zc-config .zc-price {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 96px;
  color: #e4e4e4;
  letter-spacing: 0.02em;
}

/* ===============================
   GRID (ADVANCED)
================================ */
.zc-config .zc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 56px;
}

.zc-config .zc-grid div {
  text-align: center;
}

/* VALUE */
.zc-config .zc-grid span {
  display: block;
  font-size: 38px;
  font-weight: 500;
  color: #f0f0f0;
  line-height: 1.1;
}

/* LABEL */
.zc-config .zc-grid p {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 1024px) {
  .zc-config .zc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
  }
}

@media (max-width: 520px) {
  .zc-config {
    margin: 80px auto;
  }

  .zc-config .zc-tabs {
    gap: 36px;
  }

  .zc-config .zc-price {
    font-size: 32px;
    margin-bottom: 64px;
  }

  .zc-config .zc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
/* ===============================
   RESET FOR TILDA
================================ */
.configurator,
.configurator * {
  box-sizing: border-box;
}

.configurator {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  line-height: normal;
  text-align: center;
  color: #e6e6e6; /* основной текст — НЕ белый */
  background: transparent;
}

.configurator label,
.configurator div,
.configurator ul,
.configurator li {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

/* ===============================
   COLOR VARIABLES (BLACK UI)
================================ */
:root {
  --text-main: #e6e6e6;
  --text-muted: #9a9a9a;
  --accent: #ff9f1c;
  --card-bg: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.12);
}

/* ===============================
   RADIO HIDE (TILDA FIX)
================================ */
.configurator input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* ===============================
   TABS
================================ */
.config-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
}

.tab {
  cursor: pointer;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  white-space: nowrap;
}

#tab-max:checked ~ .config-tabs label[for="tab-max"],
#tab-ultra:checked ~ .config-tabs label[for="tab-ultra"],
#tab-hyper:checked ~ .config-tabs label[for="tab-hyper"] {
  color: var(--text-main);
}

#tab-max:checked ~ .config-tabs label[for="tab-max"]::after,
#tab-ultra:checked ~ .config-tabs label[for="tab-ultra"]::after,
#tab-hyper:checked ~ .config-tabs label[for="tab-hyper"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* ===============================
   CONTENT SWITCH
================================ */
.config-content {
  display: none;
}

#tab-max:checked ~ .max,
#tab-ultra:checked ~ .ultra,
#tab-hyper:checked ~ .hyper {
  display: block;
}

/* ===============================
   HEADER
================================ */
.header {
  margin-bottom: 48px;
}

.title {
  font-size: 18px;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-main);
}

/* ===============================
   SPEC GRID
================================ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.spec-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: left;
}

.value {
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-main);
}

.unit {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.label {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===============================
   DIVIDER
================================ */
.divider {
  margin: 56px 0 28px;
  height: 1px;
  background: var(--border);
}

/* ===============================
   FEATURES
================================ */
.features {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.features li {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .features {
    gap: 20px;
  }
}
.configurator {
  background-image: url("https://static.tildacdn.com/tild3139-6663-4335-a439-343932336266/zeekr-9x-official-im.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
