.rifey-price-offer-2026 {
    position: relative;
    display: grid;
    border: 0;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    grid-template-columns: 92px minmax(0, 1fr) auto 90px;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    min-height: 138px;
    margin: 20px 0 24px;
    padding: 20px 28px;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 18px;
    background: linear-gradient(110deg, #e5efff 0%, #f7faff 65%, #d4e6ff 100%);
    font-family: Montserrat, Arial, sans-serif;
    transition: transform .35s ease, box-shadow .35s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .rifey-price-offer-2026:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 35px rgba(27, 83, 163, .16);
    }
}

.rifey-price-offer-2026::before {
    content: "";
    position: absolute;
    top: -112px;
    right: -105px;
    width: 260px;
    height: 260px;
    border: 36px solid rgba(69, 136, 220, .055);
    border-radius: 50%;
    pointer-events: none;
}

.rifey-price-offer-2026__paper {
    position: relative;
    z-index: 1;
    padding: 21px 7px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(24, 77, 153, .13);
    color: #123b7a;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transform: rotate(-9deg);
}

.rifey-price-offer-2026__arrow {
    color: #e30613;
}

.rifey-price-offer-2026__content {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
}

.rifey-price-offer-2026__heading {
    display: block;
    margin: 0;
    color: #102c52;
    font-size: clamp(19px, 1.45vw, 25px);
    font-weight: 800;
    line-height: 1.3;
}

.rifey-price-offer-2026__discount {
    position: relative;
    z-index: 1;
    justify-self: center;
    padding: 10px 16px;
    box-sizing: border-box;
    background: #d90814;
    color: #fff;
    font-size: clamp(17px, 1.48vw, 24px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transform: skew(-8deg);
}

.rifey-price-offer-2026__percent {
    position: relative;
    z-index: 1;
    color: #e30613;
    font-size: 86px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    transform: rotate(12deg);
    text-shadow: 0 8px 20px rgba(217, 8, 20, .18);
}

@media (max-width: 1330px) {
    .rifey-price-offer-2026 {
        grid-template-columns: 78px minmax(0, 1fr) auto 70px;
        column-gap: 14px;
        padding: 18px 22px;
    }

    .rifey-price-offer-2026__paper {
        font-size: 22px;
    }

    .rifey-price-offer-2026__heading {
        font-size: 19px;
    }

    .rifey-price-offer-2026__discount {
        padding: 10px 12px;
        font-size: 18px;
    }

    .rifey-price-offer-2026__percent {
        font-size: 68px;
    }
}

@media (max-width: 1050px) {
    .rifey-price-offer-2026 {
        grid-template-columns: 78px minmax(0, 1fr) 70px;
        row-gap: 12px;
    }

    .rifey-price-offer-2026__paper {
        grid-row: 1 / 3;
    }

    .rifey-price-offer-2026__content {
        grid-column: 2;
    }

    .rifey-price-offer-2026__discount {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .rifey-price-offer-2026__percent {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}

@media (max-width: 767px) {
    .rifey-price-offer-2026 {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 15px;
        min-height: 0;
        margin: 16px 0 22px;
        padding: 18px;
    }

    .rifey-price-offer-2026__paper {
        grid-column: 1;
        grid-row: 1;
        padding: 15px 4px;
        font-size: 18px;
    }

    .rifey-price-offer-2026__content {
        grid-column: 2;
        grid-row: 1;
    }

    .rifey-price-offer-2026__heading {
        font-size: 17px;
    }

    .rifey-price-offer-2026__desktop-break {
        display: none;
    }

    .rifey-price-offer-2026__discount {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        padding: 9px 12px;
        font-size: clamp(12px, 3.3vw, 17px);
    }

    .rifey-price-offer-2026__percent {
        display: none;
    }
}

@media (max-width: 420px) {
    .rifey-price-offer-2026 {
        grid-template-columns: 47px minmax(0, 1fr);
        column-gap: 12px;
        padding: 15px 13px;
    }

    .rifey-price-offer-2026__paper {
        padding: 12px 3px;
        font-size: 15px;
    }

    .rifey-price-offer-2026__heading {
        font-size: 15px;
    }
}

.rifey-price-offer-2026:focus:not(:focus-visible) {
    outline: none;
}

.rifey-price-offer-2026:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
}

/* Модальное окно запроса КП */
.rifey-price-modal-2026[hidden],
.rifey-price-modal-2026__status[hidden] {
    display: none !important;
}

.rifey-price-modal-2026 {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 16px;
    box-sizing: border-box;
    font-family: Montserrat, Arial, sans-serif;
}

.rifey-price-modal-2026__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 52, .68);
}

.rifey-price-modal-2026__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(3, 20, 52, .25);
}

.rifey-price-modal-2026__body {
    padding: 34px 38px 30px;
}

.rifey-price-modal-2026__close {
    position: absolute;
    top: 12px;
    right: 13px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5fc;
    color: #102c52;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.rifey-price-modal-2026__eyebrow {
    display: block;
    margin: 0 38px 10px 0;
    color: #2161bb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rifey-price-modal-2026__title {
    margin: 0 25px 12px 0;
    color: #102c52;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.rifey-price-modal-2026__description {
    margin: 0 0 23px;
    color: #52627a;
    font-size: 14px;
    line-height: 1.6;
}

.rifey-price-modal-2026__form,
.rifey-price-modal-2026__field {
    display: grid;
    gap: 9px;
}

.rifey-price-modal-2026__form {
    gap: 17px;
}

.rifey-price-modal-2026__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rifey-price-modal-2026__field label {
    margin: 0;
    color: #16385d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.rifey-price-modal-2026__field label span:not(.rifey-price-modal-2026__optional) {
    color: #d90814;
}

.rifey-price-modal-2026__optional {
    color: #8390a2;
    font-weight: 400;
}

.rifey-price-modal-2026__field input:not([type="file"]),
.rifey-price-modal-2026__field textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #d5dfed;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #102c52;
    font: 16px/1.4 Montserrat, Arial, sans-serif;
}

#rifey-price-name::placeholder,
#rifey-price-comment::placeholder {
    color: rgba(16, 44, 82, .30);
    opacity: 1;
}

.rifey-price-modal-2026__dialog:focus {
    outline: none;
}

.rifey-price-modal-2026__field textarea {
    min-height: 80px;
    resize: vertical;
}

.rifey-price-modal-2026__field input:focus-visible,
.rifey-price-modal-2026__field textarea:focus-visible {
    border-color: #3278d7;
    box-shadow: 0 0 0 3px rgba(50, 120, 215, .12);
}

.rifey-price-modal-2026__upload {
    padding: 14px;
    border: 1px dashed #a6bddb;
    border-radius: 10px;
    background: #f5f9ff;
}

.rifey-price-modal-2026__upload input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    color: #102c52;
    font: 13px/1.5 Montserrat, Arial, sans-serif;
}

.rifey-price-modal-2026__file-hint {
    display: block;
    margin-top: 6px;
    color: #708099;
    font-size: 12px;
}

.rifey-price-modal-2026__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #57677c;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.rifey-price-modal-2026__consent input {
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: #2056b5;
}

.rifey-price-modal-2026__submit {
    display: block;
    width: 100%;
    padding: 15px 18px;
    border: 0;
    border-radius: 10px;
    background: #d90814;
    color: #fff;
    font: 800 15px/1.3 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: background .2s ease;
}

.rifey-price-modal-2026__submit:hover {
    background: #b90712;
}

.rifey-price-modal-2026__note {
    margin: -7px 0 0;
    color: #8590a2;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.rifey-price-modal-2026__status {
    padding: 12px 14px;
    border-radius: 9px;
    background: #e9f2ff;
    color: #173f77;
    font-size: 13px;
    line-height: 1.5;
}

body.rifey-price-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .rifey-price-modal-2026 {
        padding: 10px;
    }

    .rifey-price-modal-2026__dialog {
        max-height: calc(100dvh - 20px);
        border-radius: 15px;
    }

    .rifey-price-modal-2026__body {
        padding: 28px 18px 20px;
    }

    .rifey-price-modal-2026__title {
        font-size: 22px;
    }

    .rifey-price-modal-2026__fields {
        grid-template-columns: 1fr;
    }

    .rifey-price-modal-2026__field input:not([type="file"]),
    .rifey-price-modal-2026__field textarea {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rifey-price-offer-2026 {
        transition: none;
        will-change: auto;
    }

    .rifey-price-offer-2026:hover {
        transform: none;
        box-shadow: none;
    }

    .rifey-price-modal-2026__submit {
        transition: none;
    }
}
