/* Base Sevalo styles embedded for standalone payment page. */
@font-face {
  font-family: Inter;
  src: url("../local/templates/sevalo2/fonts/Inter-Regular-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Payment section layout fixes v3: keep Bitrix/PHP logic untouched, fix visual overflow only */
.payment-page,
.payment-page * {
  box-sizing: border-box;
}

.payment-page {
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 901px) {
  .payment-page {
    width: 100%;
  }

  .payment-page :is(.container, .section-shell, .payment-shell, .payment-section, .calculator-section) {
    box-sizing: border-box;
    width: min(100% - 96px, 1500px) !important;
    max-width: 1500px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .site-footer,
  .sevalo-footer,
  footer {
    overflow-x: hidden !important;
  }

  .site-footer > :is(.container, .footer-inner, .footer-content, .footer-grid, .footer-bottom),
  .sevalo-footer > :is(.container, .footer-inner, .footer-content, .footer-grid, .footer-bottom),
  footer > :is(.container, .footer-inner, .footer-content, .footer-grid, .footer-bottom) {
    box-sizing: border-box !important;
    width: min(100% - 96px, 1500px) !important;
    max-width: 1500px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .payment-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .payment-page :is(.container, .section-shell, .payment-shell, .payment-section, .calculator-section) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    overflow: hidden !important;
  }

  .payment-page :is(.lease-calculator, .leasing-calculator, .calculator, .calculator-card, .payment-calculator, .payment-calculator-card) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 22px auto 36px !important;
    padding: 22px !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  .payment-page :is(.lease-calculator, .leasing-calculator, .calculator, .calculator-card, .payment-calculator, .payment-calculator-card) h1,
  .payment-page :is(.lease-calculator, .leasing-calculator, .calculator, .calculator-card, .payment-calculator, .payment-calculator-card) h2 {
    max-width: 100% !important;
    font-size: clamp(30px, 8.4vw, 44px) !important;
    line-height: 0.95 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .payment-page :is(.section-label, .eyebrow, .calculator-eyebrow) {
    max-width: 100% !important;
    font-size: clamp(13px, 3.6vw, 18px) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .payment-page :is(.lead, .section-lead, .calculator-description) {
    font-size: clamp(15px, 4vw, 19px) !important;
    line-height: 1.35 !important;
  }

  .payment-page :is(.form-grid, .calculator-fields, .calc-fields, .calc-grid) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .payment-page :is(.form-grid, .calculator-fields, .calc-fields, .calc-grid) > *:last-child {
    grid-column: 1 / -1 !important;
  }

  .payment-page :is(input, select, textarea) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 58px !important;
    padding: 14px 16px !important;
    font-size: 20px !important;
  }

  .payment-page :is(.range-row, .calc-range, .calculator-range) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px 12px !important;
    align-items: end !important;
    width: 100% !important;
  }

  .payment-page :is(.range-row, .calc-range, .calculator-range) input[type="range"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .payment-page :is(.range-row, .calc-range, .calculator-range) :is(strong, b, output, .range-value) {
    max-width: 100% !important;
    font-size: clamp(18px, 5vw, 24px) !important;
    line-height: 1.05 !important;
    text-align: right !important;
    white-space: normal !important;
  }

  .payment-page :is(.calc-info, .leasing-info, .calculator-info, .calc-details) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 16px !important;
    width: 100% !important;
    padding: 20px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  .payment-page :is(.calc-info, .leasing-info, .calculator-info, .calc-details) > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .payment-page :is(.calc-info, .leasing-info, .calculator-info, .calc-details) :is(fieldset, .insurance, .calc-advance-total, .advance-total) {
    grid-column: 1 / -1 !important;
  }

  .payment-page :is(.calc-info, .leasing-info, .calculator-info, .calc-details) :is(p, label, legend, span, strong, b) {
    overflow-wrap: anywhere !important;
  }

  .payment-page :is(.calc-results, .calculator-results, .result-grid) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .payment-page :is(.calc-results, .calculator-results, .result-grid) > * {
    min-width: 0 !important;
    min-height: 106px !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .payment-page :is(.calc-results, .calculator-results, .result-grid) :is(strong, b) {
    font-size: clamp(28px, 7.6vw, 38px) !important;
    line-height: 0.95 !important;
    white-space: normal !important;
  }

  .payment-page :is(.payment-options, .payment-grid, .cards-grid) {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 390px) {
  .payment-page :is(.container, .section-shell, .payment-shell, .payment-section, .calculator-section) {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .payment-page :is(.lease-calculator, .leasing-calculator, .calculator, .calculator-card, .payment-calculator, .payment-calculator-card) {
    padding: 18px !important;
  }

  .payment-page :is(.form-grid, .calculator-fields, .calc-fields, .calc-grid) {
    gap: 10px !important;
  }

  .payment-page :is(input, select, textarea) {
    padding: 12px 14px !important;
    font-size: 18px !important;
  }
}

@font-face {
  font-family: Inter;
  src: url("../local/templates/sevalo2/fonts/Inter-ExtraBold-cyrillic.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --yellow: #f2cf4a;
  --yellow-bright: #ffdb50;
  --black: #111;
  --text: #202020;
  --muted: #667085;
  --line: #e2e2e2;
  --panel: #fff;
  --bg: #f6f7f9;
  --radius: 22px;
  --container: 1810px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 360px;
  background: #fff;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

body.menu-open .float-right {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container,
.header-container {
  width: min(100% - 88px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--yellow);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
}

.logo img {
  display: block;
  width: 196px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.nav-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 15px;
  color: #111;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(17, 17, 17, 0.1);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 1200;
  width: 380px;
  padding: 30px 36px;
  border: 2px solid #e2e2e2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown__menu::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-top: 2px solid #e2e2e2;
  border-left: 2px solid #e2e2e2;
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown__menu a {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.nav-dropdown__menu a + a {
  margin-top: 28px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.callback-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.callback-btn {
  min-width: 230px;
  height: 62px;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.callback-btn:hover {
  background: transparent;
  color: #111;
}

.btn {
  min-height: 56px;
  padding: 0 28px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-yellow {
  background: var(--yellow-bright);
  color: #111;
}

.burger,
.mobile-nav {
  display: none;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.catalog-tools {
  padding-top: 54px;
}

.tools-panel {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 320px 280px 190px;
  gap: 22px;
  align-items: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

label span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: #111;
  outline: none;
}

input,
select {
  height: 70px;
  padding: 0 20px;
  font-size: 20px;
}

.tools-panel .btn {
  min-height: 70px;
  width: 100%;
  padding-right: 26px;
  padding-left: 26px;
  font-size: 20px;
}

textarea {
  resize: vertical;
  padding: 14px 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 0 4px rgba(255, 219, 80, 0.22);
}

.section {
  padding-top: 96px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2,
.parts-cta h2 {
  margin: 0;
  color: #202020;
  font-size: clamp(36px, 4.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tech-card {
  scroll-margin-top: 130px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 207, 74, 0.9);
  box-shadow: var(--shadow);
}

.tech-card.is-highlighted {
  transform: translateY(-10px);
  border-color: var(--yellow);
  box-shadow: 0 22px 55px rgba(255, 211, 63, 0.38);
}

.tech-card.is-hidden {
  display: none;
}

.tech-card__media {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 219, 80, 0.26), rgba(255, 255, 255, 0.8)),
    repeating-linear-gradient(120deg, rgba(255, 219, 80, 0.42) 0 18px, transparent 18px 34px);
}

.tech-card__media--dark {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.64)),
    repeating-linear-gradient(120deg, rgba(255, 219, 80, 0.28) 0 18px, transparent 18px 34px);
}

.tech-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 165px;
  place-items: center;
  border: 2px dashed rgba(17, 17, 17, 0.22);
  border-radius: 18px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.tech-card__media--dark .tech-card__placeholder {
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.76);
}

.tech-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.brand-pill {
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow-bright);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.brand-pill--dark {
  background: #111;
  color: #fff;
}

.tech-card h3 {
  margin-bottom: 22px;
  color: #111;
  font-size: 30px;
  line-height: 1.14;
}

.tech-card p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.tech-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.tech-card__actions a,
.tech-card__actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
}

.tech-card__actions a {
  background: var(--yellow-bright);
}

.tech-card__actions button {
  background: #111;
  color: #fff;
}

.empty-state {
  margin-top: 24px;
  padding: 34px;
  border-radius: 22px;
  background: #111;
  color: #fff;
}

.empty-state h3 {
  margin-bottom: 10px;
  font-size: 32px;
}

.empty-state p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.parts-cta {
  margin-top: 96px;
  padding-bottom: 96px;
  background: #f7f7f7;
}

.parts-cta__inner {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 34px;
  align-items: stretch;
}

.parts-cta__content {
  padding: 44px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.parts-cta__content p {
  max-width: 740px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.parts-cta__content .parts-cta__list {
  margin: -12px 0 28px;
  color: #202020;
  font-weight: 900;
}

.parts-cta__content .btn {
  min-height: 56px;
  padding: 0 28px;
}

.parts-cta__panel {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.52)),
    url("/katalog/banners/fonzpc.webp") center / cover no-repeat;
  color: #fff;
}

.parts-cta__panel span {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow-bright);
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.parts-cta__panel strong {
  max-width: 520px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
}

.parts-cta__panel p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 14px;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
}

.lead-modal__header {
  padding: 24px 28px 0;
}

.lead-modal__header h2 {
  margin: 0 0 8px;
  padding-right: 32px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.04;
  text-transform: uppercase;
}

.lead-modal__header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 20px 28px 26px;
}

.lead-form label {
  display: grid;
  gap: 6px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  color: #111;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 0 3px rgba(255, 219, 80, 0.26);
}

.lead-form textarea {
  min-height: 86px;
  padding-top: 14px;
  resize: vertical;
}

.lead-payment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-payment legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-payment label {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.lead-payment input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  appearance: none;
  border: 2px solid var(--yellow-bright);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
}

.lead-payment input:checked {
  background: var(--yellow-bright);
}

.lead-payment[hidden] {
  display: none;
}

.native-region-select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.region-picker {
  position: relative;
}

.region-picker__button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #111;
  text-align: left;
}

.region-picker__button::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg) translateY(-2px);
}

.region-picker.is-open .region-picker__button {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 0 3px rgba(255, 219, 80, 0.26);
}

.region-picker__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 8;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.region-picker__option {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  text-align: left;
}

.region-picker__option:hover,
.region-picker__option.is-selected {
  background: var(--yellow-bright);
}

.lead-form .btn {
  min-height: 54px;
}

.lead-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-toast {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1200;
  width: min(360px, calc(100vw - 32px));
  padding: 18px 20px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
  transform: translateY(-14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.site-toast strong {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow-bright);
  font-size: 16px;
  line-height: 1.2;
}

.site-toast span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.35;
}

.site-footer {
  margin-top: 80px;
  padding: 64px 0 50px;
  background: #292929;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a,
.footer-contacts h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--yellow);
}

.footer-contacts {
  gap: 18px;
}

.footer-contacts h2 {
  font-size: 24px;
}

.footer-contacts > a {
  font-size: 22px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #1f1f1f;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: #111;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 24px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

@media (max-width: 1320px) {
  .desktop-nav {
    gap: 2px;
  }

  .nav-link {
    padding: 0 9px;
    font-size: 14px;
  }

  .callback-btn {
    min-width: 200px;
    height: 54px;
    font-size: 13px;
  }

  .logo img {
    width: 178px;
  }

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

  .tools-panel {
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.45fr);
  }

  .tools-panel .search-field {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 36px;
  }

  .footer-column a {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .container,
  .header-container {
    width: min(100% - 30px, var(--container));
  }

  .header-container {
    min-height: 82px;
  }

  .logo img {
    width: 170px;
  }

  .desktop-nav,
  .site-header > .header-container > .callback-btn {
    display: none;
  }

  .burger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
  }

  .burger span {
    width: 26px;
    height: 3px;
    background: #111;
  }

  .mobile-nav.is-open {
    position: fixed;
    inset: 82px 0 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px 24px calc(34px + env(safe-area-inset-bottom));
    background: var(--yellow);
  }

  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-callback {
    display: flex;
    width: 100%;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    margin-bottom: 12px;
    padding: 0 18px;
    text-align: center;
    border: 0 !important;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 24px !important;
    line-height: 1.1;
    white-space: normal;
  }

  .tools-panel,
  .parts-cta__inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 44px 0 38px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .footer-contacts > a {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .tech-card__actions {
    flex-direction: column;
  }

  .parts-cta__content,
  .parts-cta__panel {
    padding: 28px;
  }

  .lead-payment {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column a {
    font-size: 17px;
  }

.footer-copy {
  margin-top: 8px;
  font-size: 14px;
  }
}

.float-right {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.float-btn--wa {
  order: 1;
}

.float-btn--phone {
  order: 2;
}

.float-btn {
  position: relative;
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.float-btn img {
  position: relative;
  z-index: 2;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.float-btn--phone {
  background: #f5c842;
}

.float-btn--wa {
  background: #25d366;
  animation: waPulse 1.8s infinite;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  filter: brightness(1.03);
}

.float-btn:active {
  transform: scale(0.95);
}

.float-btn::before {
  position: absolute;
  top: -30%;
  left: -60%;
  z-index: 1;
  width: 45%;
  height: 160%;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  transform: rotate(25deg);
  transition: left 0.55s ease;
}

.float-btn:hover::before {
  left: 120%;
}

.float-btn::after {
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(245, 200, 66, 0.35);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(0.9);
}

.float-btn--phone::after {
  animation: ringPulse 2.8s infinite;
}

.float-btn--wa::after {
  border-color: rgba(37, 211, 102, 0.35);
  animation: ringPulse 1.8s infinite;
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(37, 211, 102, 0.38);
  }

  50% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@keyframes ringPulse {
  0% {
    opacity: 0.65;
    transform: scale(0.9);
  }

  70%, 100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 700px) {
  .float-right {
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .float-btn img {
    width: 25px;
    height: 25px;
  }
}

/* ===== SEVALO HEADER ORDER / CRUSHERS NAV FIX ===== */
.site-header .header-container {
  width: calc(100% - 48px);
  max-width: none;
  gap: 14px;
}

.site-header .desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.site-header .nav-link {
  padding: 0 13px;
  font-size: 16px;
  white-space: nowrap;
}

.site-header .nav-dropdown__toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.site-header .callback-btn {
  flex: 0 0 auto;
  min-width: 220px;
  padding-right: 22px;
  padding-left: 22px;
  white-space: nowrap;
}

.site-header .mobile-nav__label {
  display: block;
  padding: 16px 0 8px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.72;
}

@media (max-width: 1500px) {
  .site-header .header-container {
    width: calc(100% - 36px);
    gap: 8px;
  }

  .site-header .logo img {
    width: 220px;
  }

  .site-header .nav-link {
    padding: 0 7px;
    font-size: 13px;
  }

  .site-header .callback-btn {
    min-width: 190px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .site-header .desktop-nav,
  .site-header > .header-container > .callback-btn {
    display: none;
  }

  .site-header .header-container {
    width: min(100% - 30px, 1720px);
    min-height: 82px;
  }

  .site-header .logo img {
    width: 170px;
    height: auto;
  }

  .site-header .burger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header .burger span {
    width: 26px;
    height: 3px;
    background: #111;
  }

  .site-header .mobile-nav.is-open {
    position: fixed;
    inset: 82px 0 0;
    z-index: 5100;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #f2cf4a;
    overflow-y: auto;
  }

  .site-header .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    color: #111;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
  }

  .site-header .mobile-callback {
    margin-top: 26px;
    border: 0 !important;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    text-align: center;
  }
}


/* Payment page styles. */
.site-header .header-container {
  width: min(100% - 40px, var(--container));
  gap: 18px;
}

.site-header .desktop-nav {
  gap: 4px;
}

.site-header .nav-link {
  padding: 0 16px;
}

.site-header .callback-btn {
  min-width: 230px;
}

@media (max-width: 1400px) {
  .site-header .header-container {
    width: min(100% - 32px, var(--container));
    gap: 12px;
  }

  .site-header .logo img {
    width: 210px;
  }

  .site-header .nav-link {
    padding: 0 10px;
    font-size: 14px;
  }

  .site-header .callback-btn {
    min-width: 200px;
    height: 54px;
    font-size: 13px;
  }
}

.payment-hero {
  padding: 26px 0 0;
}

.payment-hero__inner {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
}

.payment-hero__content,
.payment-hero__panel {
  border-radius: 24px;
}

.payment-hero__content {
  display: flex;
  min-height: 600px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.42)),
    url("../frontalni_pogrushik.jpg") center / cover no-repeat;
  color: #fff;
}

.payment-hero h1 {
  max-width: 1100px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.payment-hero p {
  max-width: 800px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
}

.payment-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background: var(--yellow-bright);
  color: #111;
}

.payment-hero__panel > span {
  font-size: clamp(82px, 8vw, 132px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.payment-hero__panel p {
  margin: 16px 0 auto;
  color: #111;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-stats {
  display: grid;
  gap: 10px;
}

.hero-stats strong {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  line-height: 1;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.calculator-section {
  padding-top: 32px;
  scroll-margin-top: 120px;
  overflow-x: hidden;
}

.calculator-layout {
  display: block;
}

.calculator-head {
  max-width: 1120px;
  margin-bottom: 28px;
}

.calculator-head h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.calculator-head p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.lease-calculator {
  min-width: 0;
  padding: clamp(24px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.calc-range {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  margin-top: 22px;
}

.calc-range label,
.calc-meta legend {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.calc-range strong {
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.calc-range input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--yellow-bright);
}

.calc-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: #f7f7f7;
}

.calc-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.calc-meta strong {
  color: #111;
  font-weight: 800;
}

.calc-meta fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc-meta legend {
  width: 100%;
  margin-bottom: 2px;
}

.calc-meta fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-weight: 800;
}

.calc-meta input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--yellow-bright);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.calc-results div {
  padding: 22px;
  border-radius: 22px;
  background: #111;
  color: #fff;
}

.calc-results span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.calc-results strong {
  display: block;
  color: var(--yellow-bright);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.schedule-wrap {
  margin-top: 24px;
}

.schedule-wrap h3 {
  margin: 0 0 14px;
  color: #111;
  font-size: 30px;
  line-height: 1.1;
}

.schedule-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.schedule-table th {
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-table td {
  color: #111;
  font-size: 15px;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.payment-card,
.detail-cards article,
.process-grid article,
.faq-list details,
.terms-list,
.request-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.payment-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 207, 74, 0.9);
  box-shadow: var(--shadow);
}

.payment-card--accent {
  background: var(--yellow-bright);
  border-color: var(--yellow-bright);
}

.payment-card h3 {
  margin: 0;
  color: #111;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.payment-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.payment-card--accent p {
  color: rgba(17, 17, 17, 0.72);
}

.payment-card ul,
.detail-cards ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.payment-card li {
  position: relative;
  padding-left: 24px;
  color: #111;
  font-weight: 800;
  line-height: 1.35;
}

.payment-card li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--yellow-bright);
  content: "+";
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.payment-card--accent li::before {
  color: #111;
}

.detail-section {
  scroll-margin-top: 120px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

.detail-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 26px;
}

.detail-panel--dark {
  background: #111;
  color: #fff;
}

.detail-panel h2,
.installment-layout h2,
.faq-layout h2,
.request-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.detail-panel p,
.installment-layout p,
.faq-layout > div:first-child p,
.request-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.5;
}

.detail-cards {
  display: grid;
  gap: 18px;
}

.detail-cards article {
  padding: 28px;
}

.detail-cards h3,
.process-grid h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 28px;
  line-height: 1.12;
}

.detail-cards p,
.process-grid p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.installment-section {
  padding-bottom: 10px;
}

.partners-section {
  padding-top: 82px;
}

.partners-heading {
  align-items: center;
}

.partners-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.partner-card {
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 207, 74, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.1);
}

.partner-card img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.partner-card__logo--wide {
  width: min(100%, 280px);
  max-height: 82px;
}

.partner-card--text {
  justify-items: center;
  text-align: center;
  color: #111;
}

.partner-card--text strong {
  display: block;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.partner-card--text span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.installment-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: #f7f7f7;
}

.installment-layout p,
.faq-layout > div:first-child p,
.request-copy p {
  color: var(--muted);
}

.installment-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  gap: 12px;
  margin-top: 0;
}

.installment-logo-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.installment-logo-card img {
  max-width: 230px;
  max-height: 48px;
  object-fit: contain;
}

.installment-panel {
  display: grid;
  gap: 14px;
}

.terms-list {
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.installment-section .terms-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.installment-section .terms-list .btn {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 190px;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.terms-list div {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--yellow-bright);
}

.terms-list strong {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.terms-list span {
  color: rgba(17, 17, 17, 0.74);
  font-weight: 800;
  line-height: 1.3;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  min-height: 250px;
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #111;
  color: var(--yellow-bright);
  font-weight: 800;
}

.faq-layout,
.request-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 38px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #111;
  cursor: pointer;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 32px;
  height: 32px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow-bright);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 0 24px;
}

.request-section {
  padding-bottom: 20px;
}

.request-layout {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 28px;
  background: var(--yellow-bright);
}

.request-copy {
  position: sticky;
  top: 128px;
}

.request-form {
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.request-form .btn {
  width: fit-content;
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.menu-open .floating-actions {
  display: none;
}

.floating-action {
  position: relative;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  filter: brightness(1.03);
}

.floating-action:active {
  transform: scale(0.95);
}

.floating-action::before {
  position: absolute;
  top: -30%;
  left: -60%;
  z-index: 1;
  width: 45%;
  height: 160%;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  transform: rotate(25deg);
  transition: left 0.55s ease;
}

.floating-action:hover::before,
.floating-action:focus-visible::before {
  left: 120%;
}

.floating-action::after {
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(245, 200, 66, 0.35);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(0.9);
}

.floating-action--whatsapp {
  background: #25d366;
  animation: waPulse 1.8s infinite;
}

.floating-action--phone {
  background: #f5c842;
}

.floating-action--phone::after {
  animation: ringPulse 2.8s infinite;
}

.floating-action--whatsapp::after {
  border-color: rgba(37, 211, 102, 0.35);
  animation: ringPulse 1.8s infinite;
}

.floating-action img {
  position: relative;
  z-index: 2;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(37, 211, 102, 0.38);
  }

  50% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@keyframes ringPulse {
  0% {
    opacity: 0.65;
    transform: scale(0.9);
  }

  70%, 100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 1320px) {
  .payment-hero__inner,
  .detail-grid,
  .installment-layout,
  .faq-layout,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .payment-hero__panel {
    min-height: 260px;
  }

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

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

  .partners-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .request-copy {
    position: static;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }

  .mobile-nav.is-open {
    overflow-y: auto;
    padding: 22px 24px calc(128px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav a {
    padding: 13px 0;
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.1;
  }

  .mobile-callback {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 18px !important;
    font-size: clamp(20px, 6vw, 25px) !important;
    line-height: 1.05;
  }

  .floating-actions {
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .floating-action {
    width: 50px;
    height: 50px;
  }

  .floating-action img {
    width: 25px;
    height: 25px;
  }

  .section-block,
  .partners-section,
  .installment-section,
  .request-section,
  .faq-section {
    padding-top: 28px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 8.6vw, 38px);
    line-height: 0.98;
  }

  .payment-hero__content {
    min-height: 420px;
  }

  .payment-hero__panel {
    padding: 22px;
  }

  .payment-hero {
    padding-bottom: 24px;
  }

  .payment-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .partners-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 24px;
  }

  .partner-card {
    min-width: 0;
    min-height: 92px;
    overflow: hidden;
    padding: 12px;
    border-radius: 16px;
  }

  .partner-card img,
  .partner-card__logo--wide {
    width: auto;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
  }

  .partner-card--text strong {
    font-size: clamp(22px, 7vw, 30px);
    letter-spacing: -0.04em;
  }

  .partner-card--text span {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  .lease-calculator {
    padding: 14px;
    border-radius: 22px;
  }

  .calculator-section {
    padding-top: 12px;
  }

  .calculator-head {
    margin-bottom: 14px;
  }

  .calculator-head h2 {
    margin-bottom: 10px;
    font-size: clamp(27px, 8.6vw, 36px);
    line-height: 0.98;
  }

  .calculator-head p:last-child {
    display: none;
  }

  .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .calc-grid label:last-child {
    grid-column: 1 / -1;
  }

  .calc-grid label span {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.15;
  }

  .calc-grid input {
    min-height: 46px;
    padding: 0 14px;
    font-size: 17px;
  }

  .calc-range {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    margin-top: 14px;
  }

  .calc-range label {
    font-size: 13px;
  }

  .calc-range strong {
    font-size: 15px;
    text-align: right;
    white-space: nowrap;
  }

  .calc-range input[type="range"] {
    height: 22px;
  }

  .calc-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .calc-meta p {
    font-size: 14px;
    line-height: 1.25;
  }

  .calc-meta fieldset,
  .calc-meta p:last-child {
    grid-column: 1 / -1;
  }

  .calc-meta legend {
    font-size: 12px;
  }

  .calc-meta fieldset {
    gap: 6px 10px;
  }

  .calc-meta fieldset label {
    gap: 6px;
    font-size: 13px;
    line-height: 1.2;
  }

  .calc-meta input[type="radio"] {
    width: 16px;
    height: 16px;
    min-height: 16px;
  }

  .calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .calc-results div {
    min-height: 76px;
    padding: 14px;
    border-radius: 16px;
  }

  .calc-results span {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.15;
  }

  .calc-results strong {
    font-size: clamp(20px, 6.4vw, 28px);
    line-height: 0.98;
    word-break: break-word;
  }

  .schedule-table {
    width: max-content;
    min-width: 640px;
    table-layout: auto;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 11px 10px;
    font-size: 13px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.25;
  }

  .schedule-table th {
    font-size: 11px;
    letter-spacing: 0;
  }

  .schedule-table th:nth-child(1),
  .schedule-table td:nth-child(1) {
    min-width: 44px;
  }

  .schedule-table th:nth-child(2),
  .schedule-table td:nth-child(2) {
    min-width: 84px;
  }

  .schedule-table th:nth-child(3),
  .schedule-table td:nth-child(3),
  .schedule-table th:nth-child(5),
  .schedule-table td:nth-child(5),
  .schedule-table th:nth-child(6),
  .schedule-table td:nth-child(6) {
    min-width: 118px;
  }

  .schedule-table th:nth-child(4),
  .schedule-table td:nth-child(4) {
    min-width: 86px;
  }

  .payment-card {
    min-height: auto;
    padding: 18px;
  }

  .installment-layout,
  .request-layout {
    padding: 20px;
    border-radius: 22px;
  }

  .installment-section .terms-list {
    grid-template-columns: 1fr;
  }

  .installment-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 10px;
    margin-top: 18px;
  }

  .installment-logo-card {
    min-width: 0;
    min-height: 74px;
    overflow: hidden;
    padding: 14px;
  }

  .installment-logo-card img {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
  }

  .request-form {
    padding: 18px;
    border-radius: 18px;
  }

  .request-form .btn {
    width: 100%;
  }

  .faq-list summary {
    min-height: 68px;
    font-size: 18px;
  }
}

/* ===== SEVALO HEADER ORDER / CRUSHERS NAV FIX ===== */
.site-header .header-container {
  width: calc(100% - 48px);
  max-width: none;
  gap: 14px;
}

.site-header .desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.site-header .nav-link {
  padding: 0 13px;
  font-size: 16px;
  white-space: nowrap;
}

.site-header .nav-dropdown__toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.site-header .callback-btn {
  flex: 0 0 auto;
  min-width: 220px;
  padding-right: 22px;
  padding-left: 22px;
  white-space: nowrap;
}

.site-header .mobile-nav__label {
  display: block;
  padding: 16px 0 8px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.72;
}

@media (max-width: 1500px) {
  .site-header .header-container {
    width: calc(100% - 36px);
    gap: 8px;
  }

  .site-header .logo img {
    width: 220px;
  }

  .site-header .nav-link {
    padding: 0 7px;
    font-size: 13px;
  }

  .site-header .callback-btn {
    min-width: 190px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .site-header .desktop-nav,
  .site-header > .header-container > .callback-btn {
    display: none;
  }

  .site-header .header-container {
    width: min(100% - 30px, 1720px);
    min-height: 82px;
  }

  .site-header .logo img {
    width: 170px;
    height: auto;
  }

  .site-header .burger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header .burger span {
    width: 26px;
    height: 3px;
    background: #111;
  }

  .site-header .mobile-nav.is-open {
    position: fixed;
    inset: 82px 0 0;
    z-index: 5100;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #f2cf4a;
    overflow-y: auto;
  }

  .site-header .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    color: #111;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
  }

  .site-header .mobile-callback {
    margin-top: 26px;
    border: 0 !important;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    text-align: center;
  }
}
/* Payment section layout fixes v2. CSS-only: Bitrix/PHP/JS logic is untouched. */
.payment-page,
.payment-page * {
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .site-footer {
    margin-top: 64px !important;
    padding: 52px 0 32px !important;
  }

  .site-footer .container {
    width: min(100% - 108px, 1500px) !important;
    max-width: 1500px !important;
  }

  .site-footer .footer-grid {
    grid-template-columns:
      minmax(280px, 1.15fr)
      minmax(170px, 0.72fr)
      minmax(220px, 0.82fr)
      minmax(310px, 0.95fr) !important;
    gap: clamp(44px, 6vw, 100px) !important;
  }

  .site-footer .footer-copy {
    margin-top: 24px !important;
  }
}

@media (max-width: 700px) {
  html,
  body,
  .payment-page {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .payment-page .container,
  .payment-page .calculator-layout {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .payment-page .calculator-section {
    padding-top: 24px !important;
  }

  .payment-page .lease-calculator {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 22px 18px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .payment-page .calculator-head {
    max-width: 100% !important;
    margin-bottom: 18px !important;
  }

  .payment-page .section-kicker {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    overflow-wrap: anywhere !important;
  }

  .payment-page .calculator-head h2 {
    max-width: 100% !important;
    margin-bottom: 12px !important;
    font-size: clamp(30px, 8.4vw, 40px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .payment-page .calculator-head p:last-child {
    display: none !important;
  }

  .payment-page .calc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .payment-page .calc-grid label,
  .payment-page .calc-grid input,
  .payment-page .calc-range,
  .payment-page .calc-meta,
  .payment-page .calc-results,
  .payment-page .calc-results div {
    min-width: 0 !important;
  }

  .payment-page .calc-grid label:last-child {
    grid-column: 1 / -1 !important;
  }

  .payment-page .calc-grid label span {
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  .payment-page .calc-grid input {
    min-height: 58px !important;
    padding: 0 16px !important;
    font-size: 20px !important;
  }

  .payment-page .calc-range {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 12px !important;
    margin-top: 22px !important;
  }

  .payment-page .calc-range label,
  .payment-page .calc-range strong {
    font-size: 16px !important;
  }

  .payment-page .calc-range strong {
    text-align: right !important;
    white-space: nowrap !important;
  }

  .payment-page .calc-meta {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 16px !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .payment-page .calc-meta p,
  .payment-page .calc-meta fieldset label {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  .payment-page .calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .payment-page .calc-results div {
    min-height: 88px !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .payment-page .calc-results strong {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .payment-page .payment-card h3,
  .payment-page .section-heading h2 {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .payment-page .floating-actions {
    right: 12px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  .payment-page .floating-action {
    width: 54px !important;
    height: 54px !important;
  }
}

@media (max-width: 420px) {
  .payment-page .container,
  .payment-page .calculator-layout {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  .payment-page .lease-calculator {
    padding: 20px 16px !important;
  }

  .payment-page .calculator-head h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .payment-page .calc-grid {
    gap: 10px !important;
  }
}

/* Payment section layout hotfix v4: mobile calculator overflow and scale */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .payment-page,
  .payment-page * {
    box-sizing: border-box !important;
  }

  .payment-page {
    overflow-x: hidden !important;
  }

  .payment-page .container,
  .payment-page .calculator-layout,
  .payment-page .lease-calculator,
  .payment-page .payment-options,
  .payment-page .partners-grid,
  .payment-page .application-section,
  .payment-page .section-heading {
    max-width: 100% !important;
  }

  .payment-page .container,
  .payment-page .calculator-layout {
    width: min(100%, calc(100vw - 28px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .payment-page .lease-calculator {
    width: 100% !important;
    margin: 22px auto 34px !important;
    padding: 26px 22px 24px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
  }

  .payment-page .calculator-head {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .payment-page .calculator-head .eyebrow {
    font-size: 13px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .payment-page .calculator-head h1,
  .payment-page .calculator-head h2 {
    max-width: 100% !important;
    margin-top: 20px !important;
    font-size: clamp(34px, 10.6vw, 48px) !important;
    line-height: 0.94 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  .payment-page .calculator-head p {
    display: none !important;
  }

  .payment-page .calc-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .payment-page .calc-grid > *:last-child:nth-child(odd),
  .payment-page .calc-grid .calc-field:nth-child(3) {
    grid-column: 1 / -1 !important;
  }

  .payment-page .calc-field label,
  .payment-page .calc-range label,
  .payment-page .calc-meta b,
  .payment-page .calc-meta strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .payment-page .calc-field input {
    width: 100% !important;
    min-height: 70px !important;
    padding: 18px 16px !important;
    font-size: 24px !important;
    border-radius: 18px !important;
  }

  .payment-page .calc-range {
    margin-top: 24px !important;
  }

  .payment-page .calc-range > div,
  .payment-page .calc-range .range-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .payment-page .calc-range strong {
    min-width: 42% !important;
    text-align: right !important;
    font-size: clamp(18px, 5.2vw, 26px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  .payment-page input[type="range"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .payment-page .calc-meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    padding: 20px 18px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .payment-page .calc-meta fieldset,
  .payment-page .calc-meta p,
  .payment-page .calc-meta label {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .payment-page .calc-meta fieldset,
  .payment-page .calc-meta p:last-child {
    grid-column: 1 / -1 !important;
  }

  .payment-page .calc-meta p,
  .payment-page .calc-meta fieldset label {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .payment-page .calc-results {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .payment-page .calc-results div {
    min-width: 0 !important;
    min-height: 94px !important;
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  .payment-page .calc-results span {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  .payment-page .calc-results strong {
    display: block !important;
    max-width: 100% !important;
    font-size: clamp(25px, 7.2vw, 34px) !important;
    line-height: 0.95 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .payment-page .section-heading h2,
  .payment-page .payment-card h3,
  .payment-page .application-section h2 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

@media (max-width: 430px) {
  .payment-page .container,
  .payment-page .calculator-layout {
    width: min(100%, calc(100vw - 20px)) !important;
  }

  .payment-page .lease-calculator {
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }

  .payment-page .calculator-head h1,
  .payment-page .calculator-head h2 {
    font-size: clamp(31px, 9.8vw, 42px) !important;
  }

  .payment-page .calc-grid,
  .payment-page .calc-meta,
  .payment-page .calc-results {
    gap: 10px !important;
  }

  .payment-page .calc-meta {
    padding: 18px 14px !important;
  }
}
/* Payment section layout hotfix v5: mobile width and text containment */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  :is(.payment-page, .payment-main, .payment-section, .payment-wrap, .payment-shell,
  .leasing-section, .leasing-calculator, .calculator, .calculator-card,
  .payment-calculator, .payment-calculator-card, .payment-hero, .payment-card) {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transform: none !important;
  }

  :is(.payment-page, .payment-main, .payment-section) :is(section, .container, .content, .inner) {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: .96 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.eyebrow, .section-kicker, [class*="eyebrow"]) {
    max-width: 100% !important;
    font-size: clamp(14px, 4vw, 18px) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) label {
    font-size: clamp(13px, 3.6vw, 16px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(input, select, textarea) {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: clamp(18px, 5vw, 26px) !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.form-grid, .calculator-fields, .calc-fields) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.form-grid, .calculator-fields, .calc-fields) > *:last-child {
    grid-column: 1 / -1 !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.calc-info, .leasing-info, .calculator-info, .calc-details) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.calc-results, .calculator-results, .result-grid) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.calc-result-card, .result-card) {
    min-width: 0 !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  :is(.payment-page, .payment-main, .payment-section) :is(.floating-buttons, .floating-actions) {
    right: 10px !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  :is(.payment-page, .payment-main, .payment-section, .payment-wrap, .payment-shell,
  .leasing-section, .leasing-calculator, .calculator, .calculator-card,
  .payment-calculator, .payment-calculator-card, .payment-hero, .payment-card) {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) h1 {
    font-size: clamp(29px, 8.2vw, 39px) !important;
  }

  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.form-grid, .calculator-fields, .calc-fields),
  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.calc-info, .leasing-info, .calculator-info, .calc-details),
  :is(.payment-page, .payment-main, .payment-section, .leasing-calculator, .calculator) :is(.calc-results, .calculator-results, .result-grid) {
    grid-template-columns: 1fr !important;
  }
}
/* === Payment section mobile containment hotfix v4 === */
@media (max-width: 900px) {
  body {
    overflow-x: hidden !important;
  }

  .sposob-oplatyi,
  .payment-page,
  .payment-main,
  .payment-section,
  .payment-wrapper,
  .leasing-calculator,
  .payment-calculator,
  .calculator,
  .calculator-card,
  .payment-calc-card,
  .leasing-calc {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .leasing-calculator,
  .payment-calculator,
  .calculator-card,
  .payment-calc-card,
  .leasing-calc,
  .calc-card {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 20px auto !important;
    padding: clamp(22px, 6vw, 34px) !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .leasing-calculator h1,
  .payment-calculator h1,
  .calculator h1,
  .calculator-card h1,
  .payment-calc-card h1,
  .calc-title,
  .leasing-title {
    max-width: 100% !important;
    font-size: clamp(32px, 10.4vw, 52px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .leasing-calculator .eyebrow,
  .payment-calculator .eyebrow,
  .calculator .eyebrow,
  .calc-eyebrow {
    max-width: 100% !important;
    font-size: clamp(18px, 5vw, 26px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .leasing-calculator form,
  .payment-calculator form,
  .calculator form,
  .calc-form,
  .leasing-calculator .fields,
  .payment-calculator .fields,
  .calculator-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    max-width: 100% !important;
  }

  .leasing-calculator label,
  .payment-calculator label,
  .calculator label {
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(15px, 4vw, 20px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .leasing-calculator input,
  .payment-calculator input,
  .calculator input,
  .calculator-card input,
  .payment-calc-card input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 64px !important;
    padding: 18px 16px !important;
    font-size: clamp(22px, 6vw, 32px) !important;
    box-sizing: border-box !important;
  }

  .leasing-calculator .sum-field,
  .payment-calculator .sum-field,
  .calculator .sum-field,
  .leasing-calculator [data-field="sum"],
  .payment-calculator [data-field="sum"] {
    grid-column: 1 / -1 !important;
  }

  .leasing-calculator .range-row,
  .payment-calculator .range-row,
  .calculator .range-row,
  .calc-range {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .leasing-calculator .calc-info,
  .payment-calculator .calc-info,
  .calculator .calc-info,
  .calc-details,
  .leasing-calculator .calculator-info,
  .payment-calculator .calculator-info {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 18px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .leasing-calculator .calc-info > *,
  .payment-calculator .calc-info > *,
  .calculator .calc-info > *,
  .calc-details > * {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
  }

  .leasing-calculator .calc-results,
  .payment-calculator .calc-results,
  .calculator .calc-results,
  .result-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .leasing-calculator .result-card,
  .payment-calculator .result-card,
  .calculator .result-card,
  .calc-result-card {
    min-width: 0 !important;
    padding: 16px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .leasing-calculator .result-card strong,
  .payment-calculator .result-card strong,
  .calculator .result-card strong,
  .calc-result-card strong {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 420px) {
  .leasing-calculator,
  .payment-calculator,
  .calculator-card,
  .payment-calc-card,
  .leasing-calc,
  .calc-card {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 22px !important;
  }

  .leasing-calculator h1,
  .payment-calculator h1,
  .calculator h1,
  .calculator-card h1,
  .payment-calc-card h1,
  .calc-title,
  .leasing-title {
    font-size: clamp(30px, 10vw, 46px) !important;
  }
}
