.pay-hero { overflow: hidden; padding: 112px 0 40px; background: #e9edff url('https://bookfast.ru/dancebook.assets/landing_new_25-26/Fon1.png') center / cover; }
.pay-hero__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.pay-hero__copy { position: relative; z-index: 1; animation: pay-enter .65s ease-out both; }
.pay-page main .pay-hero h1 { font-size: clamp(36px, 3.8vw, 54px); }
.pay-hero h1 span { color: var(--bf-shell-blue); }
.pay-page main .pay-lead { max-width: 440px; font-size: 19px; line-height: 1.6; margin-top: 24px; }
.pay-demo { position: relative; min-width: 0; height: 570px; user-select: none; pointer-events: none; }
.pay-phone { --pay-scale: .676923; position: absolute; top: 0; left: 50%; width: 286px; height: 560px; padding: 6px; border: 1px solid #5c626b; border-radius: 44px; transform: translateX(-50%) rotate(3deg); background: linear-gradient(120deg, #abb2bb, #343940 18%, #747b85 65%, #c2c7cc 85%, #343940); box-shadow: 0 20px 52px #26386724, inset 0 0 0 1px #c4c9cf; }
.pay-phone__screen { height: 100%; overflow: hidden; border: 4px solid #101216; border-radius: 37px; background: #f1f1f1; color: #222; font-size: 14px; line-height: 1.4; }
.pay-client { width: 390px; height: 820px; zoom: var(--pay-scale); background: #f1f1f1; color: #272727; font: 16px/1.5 Inter, sans-serif; letter-spacing: normal; text-align: left; }
.pay-status { display: flex; justify-content: space-between; align-items: start; height: 51px; padding: 14px 27px 0; color: #17191e; }
.pay-status strong { min-width: 54px; font: 600 17px/22px -apple-system, BlinkMacSystemFont, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.3px; text-align: center; }
.pay-status__icons { display: flex; align-items: center; flex: none; gap: 6px; height: 22px; }
.pay-status__icons svg { display: block; flex: none; fill: currentColor; }
.pay-status__signal { width: 18px; height: 12px; }
.pay-status__wifi { width: 17px; height: 12px; }
.pay-status__battery { width: 27px; height: 13px; }
.pay-client .pay-payment-header { padding-top: 16px !important; }
.pay-client .pay-payment-header .c2-cart-payment-back { top: 10px !important; }
.pay-phone__island { position: absolute; z-index: 2; top: 17px; left: 50%; width: 88px; height: 22px; transform: translateX(-50%); border-radius: 14px; background: #0a0c0f; }
.pay-phone__island::after { content: ''; position: absolute; right: 10px; top: 7px; width: 7px; height: 7px; border: 1px solid #090b10; border-radius: 50%; background: #152531; box-shadow: inset 1px 1px 2px #3c5265; }
.pay-notice { position: absolute; z-index: 1; bottom: -2px; left: 0; display: flex; align-items: center; gap: 13px; padding: 19px 24px 19px 18px; border-radius: 20px; background: #fff; box-shadow: 0 12px 42px #2638671c; animation: pay-notice-in .45s .2s ease-out both; }
.pay-notice__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #e9f7ee; color: #238447; }
.pay-notice__icon svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-notice strong, .pay-notice div > span { display: block; }
.pay-notice strong { font-size: 15px; font-weight: 600; }
.pay-notice div > span { color: #626b7d; font-size: 13px; margin-top: 4px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pay-method { min-width: 0; padding: 8px 20px 0 0; }
.pay-method + .pay-method { border-left: 1px solid #e2e6f2; padding-left: 30px; }
.pay-method__icon { display: block; width: 44px; height: 44px; margin-bottom: 22px; color: var(--bf-shell-blue); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-page main .pay-method h3 { font-size: 24px; }
.pay-page main .pay-method p { font-size: 16px; margin-top: 14px; }
.pay-sbp { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; padding: 44px 56px; margin-bottom: 24px; border-radius: 26px; background: #edf0ff; }
.pay-sbp__rate { color: var(--bf-shell-blue); font-size: clamp(90px, 10vw, 144px); font-weight: 600; line-height: 1; letter-spacing: -.075em; white-space: nowrap; }
.pay-sbp__rate > span { font-size: .55em; letter-spacing: -.04em; margin-left: 5px; }
.pay-page main .pay-sbp h2 { font-size: clamp(26px, 2.8vw, 36px); }
.pay-page main .pay-sbp p { font-size: 16px; max-width: 500px; }
.pay-providers { text-align: center; padding: 35px 32px; border-radius: 26px; background: #f5f6fa; }
.pay-page main .pay-providers h2 { font-size: 22px; letter-spacing: -.02em; }
.pay-provider-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px; padding: 0; margin: 28px 0 0; list-style: none; }
.pay-provider-list li { font-size: 27px; font-weight: 650; letter-spacing: -.04em; }
.pay-page main .pay-providers p { max-width: 700px; margin: 22px auto 0; font-size: 14px; }
.pay-fiscal { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-bottom: 0; }
.pay-fiscal__visual { display: grid; place-items: center; min-height: 320px; border-radius: 26px; background: #f5f6fa; }
.pay-fiscal__receipt { width: 260px; padding: 24px; background: #fff; border-radius: 4px 4px 16px 16px; border-top: 4px dotted #f5f6fa; box-shadow: 0 10px 24px #26365d0c; transform: rotate(-4deg); text-align: center; }
.pay-fiscal__receipt > svg { width: 40px; height: 40px; background: #e9f7ee; color: #238447; border-radius: 50%; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-fiscal__receipt > strong { display: block; font-size: 20px; font-weight: 600; margin-top: 10px; }
.pay-fiscal__receipt > span { display: block; font-size: 14px; color: #626b7d; margin-top: 5px; }
.pay-fiscal__receipt > div { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; margin-top: 15px; border-top: 1px dashed #dce0ec; font-size: 14px; }
.pay-fiscal__receipt > .pay-fiscal__sent { display: block; color: #238447; font-weight: 500; }
.pay-prepayment, .pay-control { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.pay-prepayment__copy, .pay-control__copy { min-width: 0; }
.pay-calculator { min-width: 0; padding: 30px; border-radius: 26px; background: #edf0ff; }
.pay-calculator fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.pay-calculator legend { padding: 0; font-size: 18px; font-weight: 600; }
.pay-calculator__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.pay-calculator__options label { position: relative; cursor: pointer; min-width: 0; }
.pay-calculator__options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-calculator__options span { display: flex; align-items: center; justify-content: center; padding: 12px 6px; min-height: 48px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; text-align: center; transition: background .2s, color .2s; }
.pay-calculator__options input:checked + span { background: var(--bf-shell-blue); color: #fff; }
.pay-calculator__options input:focus-visible + span { outline: 3px solid var(--bf-shell-blue); outline-offset: 3px; }
.pay-calculator__line { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-bottom: 20px; border-bottom: 1px solid #d6dcf6; font-size: 16px; }
.pay-calculator__line strong { white-space: nowrap; }
.pay-calculator__result { display: grid; gap: 14px; padding-top: 20px; }
.pay-calculator__result > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.pay-calculator__result strong { white-space: nowrap; font-size: 22px; font-weight: 600; }
.pay-calculator__result > div:first-child strong { color: var(--bf-shell-blue); }
.pay-calculator__result--full { display: none; }
.pay-calculator:has(input[value="full"]:checked) .pay-calculator__result--half { display: none; }
.pay-calculator:has(input[value="full"]:checked) .pay-calculator__result--full { display: grid; }
.pay-control { padding-top: 20px; }
.pay-text-link { display: inline-block; margin-top: 24px; color: var(--bf-shell-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.pay-text-link:hover { text-decoration-thickness: 2px; }
.pay-link-demo { min-width: 0; padding: 30px; border: 1px solid #e2e6f2; border-radius: 26px; background: #fff; box-shadow: 0 10px 40px #26365d08; user-select: none; pointer-events: none; }
.pay-link-demo__header strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.pay-link-demo__booking { display: grid; gap: 4px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #e2e6f2; }
.pay-link-demo__booking strong { font-size: 16px; font-weight: 600; }
.pay-link-demo__booking > span { font-size: 14px; color: #626b7d; }
.pay-link-demo__amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; font-size: 15px; }
.pay-link-demo__amount strong { font-size: 28px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pay-link-demo__address { padding: 14px 16px; margin-top: 20px; border-radius: 12px; background: #f5f6fa; color: #515b73; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.pay-link-demo__action { display: flex; align-items: center; justify-content: center; margin-top: 14px; padding: 13px 12px; min-height: 50px; border-radius: 12px; background: var(--bf-shell-blue); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; text-align: center; }
@keyframes pay-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pay-notice-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1000px) {
    .pay-hero__inner { gap: 24px; grid-template-columns: 1fr 1fr; }
    .pay-page main .pay-hero h1 { font-size: 40px; }
    .pay-prepayment, .pay-control { gap: 40px; }
    .pay-fiscal { gap: 40px; }
    .pay-sbp { gap: 32px; padding: 36px; }
    .pay-methods { gap: 20px; }
    .pay-method { padding-right: 0; }
    .pay-method + .pay-method { padding-left: 20px; }
    .pay-page main .pay-method h3 { font-size: 22px; }
    .pay-notice { left: -5px; padding: 15px; }
}
@media (max-width: 680px) {
    .pay-page main h2, .pay-page main h3 { text-align: center; }
    .pay-hero { padding: 104px 0 30px; }
    .pay-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .pay-hero__copy { text-align: center; }
    .pay-page main .pay-hero h1 { font-size: clamp(32px, 6.6vw, 42px); }
    .pay-page main .pay-lead { margin: 20px auto 0; font-size: 17px; }
    .pay-hero .ob-actions { width: fit-content; max-width: 100%; justify-content: center; margin: 24px auto 0; }
    .pay-demo { height: 588px; width: min(390px, 100%); margin-inline: auto; }
    .pay-phone { position: relative; left: auto; margin-inline: auto; transform: none; }
    .pay-notice { bottom: -2px; left: 50%; transform: translateX(-50%); width: min(330px, calc(100% + 20px)); justify-content: center; }
    .pay-methods { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .pay-method, .pay-method + .pay-method { padding: 0; border: 0; }
    .pay-method + .pay-method { border-top: 1px solid #e2e6f2; padding-top: 26px; }
    .pay-method__icon { margin: 0 auto 16px; }
    .pay-providers { padding: 28px 20px; border-radius: 22px; }
    .pay-sbp { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px; border-radius: 22px; }
    .pay-sbp__rate { font-size: 100px; }
    .pay-fiscal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pay-fiscal__visual { grid-row: 2; min-height: 300px; border-radius: 22px; }
    .pay-fiscal__receipt { width: 240px; }
    .pay-page main .pay-providers h2 { font-size: 22px; }
    .pay-provider-list { gap: 22px; }
    .pay-provider-list li { font-size: 23px; }
    .pay-prepayment, .pay-control { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pay-calculator, .pay-link-demo { padding: 24px 20px; border-radius: 22px; }
    .pay-calculator__options { gap: 6px; }
    .pay-calculator__options span { font-size: 14px; }
    .pay-control { padding-top: 0; }
}
@media (max-width: 360px) {
    .pay-phone { --pay-scale: .635897; width: 270px; }
    .pay-calculator__options { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .pay-hero__copy, .pay-notice { animation: none; }
    .pay-calculator__options span { transition: none; }
}
