.geely-calc {
  --geely-calc-accent: #ff3737;
  --geely-calc-bg: #f7f7f8;
  --geely-calc-surface: #ffffff;
  --geely-calc-border: #e5e8ef;
  --geely-calc-title: #151b26;
  --geely-calc-text: #202734;
  --geely-calc-muted: #616c7f;
  --geely-calc-shadow: 0 14px 34px rgba(18, 32, 56, 0.09);

  padding: 56px 0;
  background: var(--geely-calc-bg);
}

.geely-calc__grid {
  display: grid;
  gap: 22px;
}

.geely-calc__left,
.geely-calc__showcase {
  border: 1px solid var(--geely-calc-border);
  border-radius: 16px;
  background: var(--geely-calc-surface);
  box-shadow: var(--geely-calc-shadow);
}

.geely-calc__left {
  padding: 24px 16px;
}

.geely-calc__title-wrap h2 {
  margin-bottom: 0;
  color: var(--geely-calc-title);
  text-transform: none;
}

.geely-calc__title-wrap h2::after {
  background-color: var(--geely-calc-accent);
}

.geely-calc__subtitle {
  margin: 0 0 24px;
  color: var(--geely-calc-muted);
  font-size: 16px;
  line-height: 1.45;
}

.geely-calc__group {
  margin-bottom: 22px;
}

.geely-calc__label {
  margin: 0 0 10px;
  color: var(--geely-calc-text);
  font-size: 16px;
  font-weight: 700;
}

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

.geely-calc__model-card {
  border: 1px solid var(--geely-calc-border);
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.geely-calc__model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(20, 34, 56, 0.14);
}

.geely-calc__model-card.is-active {
  border: 2px solid var(--geely-calc-accent);
  background: #fff7f7;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 30px rgba(255, 55, 55, 0.16);
}

.geely-calc__model-thumb {
  width: 100%;
  height: 82px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f9fbff 0%, #f2f5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.geely-calc__model-thumb img {
  width: 130px;
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.geely-calc__model-card:hover .geely-calc__model-thumb img {
  transform: scale(1.04);
}

.geely-calc__model-name {
  display: block;
  color: var(--geely-calc-text);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.geely-calc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.geely-calc__chip {
  border: 1px solid #dbe1eb;
  border-radius: 999px;
  background: #ffffff;
  color: var(--geely-calc-text);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.geely-calc__chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 34, 56, 0.1);
}

.geely-calc__chip.is-active {
  border-color: var(--geely-calc-accent);
  background: var(--geely-calc-accent);
  color: #ffffff;
}

.geely-calc__mileage-field {
  position: relative;
  display: block;
}

.geely-calc__mileage-field input {
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  border: 1px solid #dbe1eb;
  border-radius: 12px;
  background: #ffffff;
  color: var(--geely-calc-text);
  padding: 0 56px 0 16px;
  font-size: 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.geely-calc__mileage-field input::placeholder {
  color: #8a96a8;
}

.geely-calc__mileage-field input:focus {
  outline: none;
  border-color: var(--geely-calc-accent);
  box-shadow: 0 0 0 3px rgba(255, 55, 55, 0.14);
}

.geely-calc__mileage-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b879a;
  font-size: 14px;
  font-weight: 700;
}

.geely-calc__submit {
  min-height: 56px;
  width: 100%;
  padding: 0 28px;
  border: 1px solid var(--geely-calc-accent);
  border-radius: 999px;
  background: var(--geely-calc-accent);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.geely-calc__submit:hover {
  transform: translateY(-2px);
  background: #f12b2b;
  box-shadow: 0 14px 26px rgba(255, 55, 55, 0.28);
}

.geely-calc__submit:focus-visible {
  outline: 2px solid var(--geely-calc-accent);
  outline-offset: 3px;
}

.geely-calc__right {
  order: -1;
}

.geely-calc__showcase {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px 64px;
  overflow: hidden;
}

.geely-calc__showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 55, 55, 0.12), transparent 48%),
    linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
}

.geely-calc__showcase-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.geely-calc__showcase-image.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.geely-calc__showcase-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  margin: 0;
  z-index: 3;
  color: #49566b;
  font-size: 15px;
  font-weight: 700;
}

.geely-calc__skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(96deg, rgba(255, 255, 255, 0.36) 8%, rgba(239, 243, 248, 0.88) 20%, rgba(255, 255, 255, 0.36) 32%),
    linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  background-size: 220% 100%, 100% 100%;
  transition: opacity 0.2s ease;
}

.geely-calc__showcase.is-loading .geely-calc__skeleton {
  opacity: 1;
  animation: geely-calc-shimmer 0.9s linear infinite;
}

@keyframes geely-calc-shimmer {
  from {
    background-position: 100% 0, 0 0;
  }
  to {
    background-position: -95% 0, 0 0;
  }
}

@media (min-width: 576px) {
  .geely-calc__left {
    padding: 28px 22px;
  }

  .geely-calc__submit {
    width: auto;
    min-width: 260px;
  }
}

@media (min-width: 768px) {
  .geely-calc {
    padding: 68px 0;
  }

  .geely-calc__showcase {
    min-height: 320px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .geely-calc__showcase-image {
    max-height: 340px;
  }
}

@media (min-width: 992px) {
  .geely-calc {
    padding: 84px 0;
  }

  .geely-calc__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 28px;
  }

  .geely-calc__left {
    padding: 32px;
  }

  .geely-calc__right {
    order: 0;
  }

  .geely-calc__showcase {
    min-height: 380px;
    padding: 16px 20px 60px;
  }

  .geely-calc__showcase-image {
    max-height: 420px;
  }
}

@media (min-width: 1200px) {
  .geely-calc__models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .geely-calc__model-card {
    padding: 12px;
  }
}

@media (max-width: 374px) {
  .geely-calc__left {
    padding: 20px 12px;
  }

  .geely-calc__subtitle {
    font-size: 14px;
  }

  .geely-calc__model-name {
    font-size: 14px;
  }
}
