.mkccb-calculator {
  --mkccb-accent: #27d6cb;
  --mkccb-accent-soft: #dffbf7;
  --mkccb-heading: #0e1525;
  --mkccb-text: #6f7a8b;
  --mkccb-card-bg: #ffffff;
  --mkccb-page-bg: #f5f7f8;
  --mkccb-button-text: #071114;
  background: var(--mkccb-page-bg);
  border-radius: 28px;
  padding: 42px 42px 36px;
  box-sizing: border-box;
  width: 100%;
}

.mkccb-calculator * {
  box-sizing: border-box;
}

.mkccb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
  gap: 48px;
  align-items: start;
}

.mkccb-left {
  min-width: 0;
}

.mkccb-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.mkccb-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mkccb-accent);
  color: #071114;
  flex: 0 0 42px;
}

.mkccb-icon svg,
.mkccb-feature-icon svg,
.mkccb-option-icon svg {
  width: 20px;
  height: 20px;
}

.mkccb-title {
  margin: 0;
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1.1;
  color: var(--mkccb-heading);
  font-weight: 800;
}

.mkccb-description {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--mkccb-text);
  font-size: 19px;
  line-height: 1.55;
}

.mkccb-section {
  margin-top: 28px;
}

.mkccb-label {
  color: var(--mkccb-heading);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 14px;
}

.mkccb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mkccb-option {
  appearance: none;
  border: 1px solid rgba(14, 21, 37, 0.11);
  background: #fff;
  color: var(--mkccb-heading);
  border-radius: 14px;
  min-height: 56px;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

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

.mkccb-option.is-active {
  background: #050505;
  color: #fff;
  border-color: #050505;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.mkccb-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.mkccb-option-icon-mask {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask-image: var(--mkccb-option-icon);
  mask-image: var(--mkccb-option-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.mkccb-slider-top {
  margin-bottom: 14px;
}

.mkccb-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--mkccb-accent-soft);
  color: var(--mkccb-accent);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
}

.mkccb-range-wrap {
  position: relative;
  padding: 48px 0 0;
}

.mkccb-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  height: 8px;
  background: #dde2e8;
  border-radius: 999px;
  outline: none;
}

.mkccb-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mkccb-accent);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(39, 214, 203, 0.35);
  cursor: pointer;
}

.mkccb-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mkccb-accent);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(39, 214, 203, 0.35);
  cursor: pointer;
}

.mkccb-range::-moz-range-track {
  height: 8px;
  background: #dde2e8;
  border-radius: 999px;
}

.mkccb-slider-extremes {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #9aa3b2;
  font-size: 15px;
}

.mkccb-card {
  position: sticky;
  top: 24px;
}

.mkccb-card-inner {
  background: var(--mkccb-card-bg);
  border: 1px solid rgba(14, 21, 37, 0.08);
  border-radius: 24px;
  padding: 38px 34px 30px;
  box-shadow: 0 22px 60px rgba(17, 29, 43, 0.06);
}

.mkccb-card-label {
  text-align: center;
  color: #92a0b4;
  font-size: 20px;
  line-height: 1.4;
}

.mkccb-price-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.mkccb-price {
  color: #000;
  font-size: clamp(62px, 4vw, 96px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mkccb-currency {
  color: #9ea9b8;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 8px;
}

.mkccb-period-label {
  margin-top: 8px;
  color: #9aa6b6;
  text-align: center;
  font-size: 17px;
}

.mkccb-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(14, 21, 37, 0.08);
}

.mkccb-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mkccb-text);
  font-size: 17px;
  line-height: 1.5;
}

.mkccb-features li + li {
  margin-top: 14px;
}

.mkccb-feature-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mkccb-accent);
  flex: 0 0 18px;
}

.mkccb-button {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 16px 22px;
  text-decoration: none;
  background: var(--mkccb-accent);
  color: var(--mkccb-button-text);
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.mkccb-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(39, 214, 203, 0.25);
  opacity: 1;
}

.mkccb-button:focus {
  outline: 2px solid var(--mkccb-heading);
  outline-offset: 2px;
}

.mkccb-button-arrow {
  font-size: 20px;
  line-height: 1;
}

.mkccb-note {
  margin-top: 16px;
  color: #a2acba;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .mkccb-calculator {
    padding: 28px 22px;
    border-radius: 22px;
  }

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

  .mkccb-card {
    position: static;
  }

  .mkccb-card-inner {
    padding: 30px 24px 26px;
  }
}

@media (max-width: 640px) {
  .mkccb-title-row {
    gap: 12px;
    align-items: flex-start;
  }

  .mkccb-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex-basis: 36px;
  }

  .mkccb-title {
    font-size: 28px;
  }

  .mkccb-description {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .mkccb-label {
    font-size: 16px;
  }

  .mkccb-options {
    flex-direction: column;
  }

  .mkccb-option {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 16px;
  }

  .mkccb-slider-top {
    margin-bottom: 12px;
  }

  .mkccb-badge {
    min-height: 34px;
    padding: 5px 12px;
    font-size: 15px;
  }

  .mkccb-range-wrap {
    padding-top: 44px;
  }

  .mkccb-card-label {
    font-size: 17px;
  }

  .mkccb-price {
    font-size: 58px;
  }

  .mkccb-currency {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .mkccb-period-label,
  .mkccb-features li,
  .mkccb-button {
    font-size: 16px;
  }
}
