:root {
    --dark: #172431;
    --dark-soft: #2d3945;

    --yellow: #ffb800;
    --yellow-light: #fff3cf;

    --red: #ed1c24;

    --text: #172431;
    --muted: #77838e;

    --border: #dde3e8;

    --cream: #fff8ec;

    --green: #68bf58;
    --danger: #e13d35;
}


/* ========================================
   BASE
======================================== */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {
    min-width: 320px;

    background: #ffffff;

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


svg {
    width: 100%;
    height: 100%;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ========================================
   HEADER
======================================== */
.header {
    height: 88px;
    background: #2F3945;
}


.header__inner {
    width:
        min(
            calc(100% - 64px),
            1440px
        );

    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ========================================
   LOGO
======================================== */

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}


.logo img {
    width: 205px;
    height: auto;

    display: block;
}


/* ========================================
   HEADER SECURITY
======================================== */

.security {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #ffffff;
}


.security__icon {
    width: 44px;
    height: 44px;

    padding: 10px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 13px;

    background:
        rgba(255,255,255,.05);

    color: var(--yellow);
}


.security__title {
    font-size: 14px;
    font-weight: 750;
}


.security__subtitle {
    margin-top: 3px;

    color:
        rgba(255,255,255,.62);

    font-size: 11px;
}


/* ========================================
   MAIN PREMIUM PANEL
======================================== */

.payment {
    position: relative;

    width:
        min(
            calc(100% - 64px),
            1440px
        );

    min-height: 620px;

    margin:
        30px
        auto
        0;

    padding:
        44px
        48px;

    display: grid;

    grid-template-columns:
        minmax(390px, .92fr)
        minmax(590px, 1.2fr);

    gap: 54px;

    overflow: hidden;

    border:
        1px solid
        #f0f0ef;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 47%,
            #fffaf1 70%,
            #fff7e7 100%
        );

    box-shadow:
        0 16px 46px
        rgba(36,48,58,.07);
}


/* ========================================
   LEFT
======================================== */

.payment__left {
    position: relative;

    z-index: 5;
}


.payment__left h1 {
    margin: 0;

    font-size: 47px;
    line-height: 1;

    letter-spacing: -1.7px;
}


.title-line {
    width: 54px;
    height: 4px;

    margin-top: 18px;

    border-radius: 100px;

    background: var(--yellow);
}


.description {
    max-width: 450px;

    margin:
        20px
        0
        28px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}


/* ========================================
   FORM
======================================== */

.payment-form {
    width: 100%;
}


.form-field {
    margin-bottom: 17px;
}


.label-row {
    margin-bottom: 8px;

    display: flex;
    align-items: center;

    gap: 10px;
}


.form-field label {
    margin: 0;

    color: var(--text);

    font-size: 13px;
    font-weight: 750;
}


.field-badge {
    padding:
        4px
        9px;

    border-radius: 30px;

    background: #f1f3f5;

    color: #87919a;

    font-size: 9px;
    line-height: 1;
}


.field-badge--required {
    background: #fff5dc;

    color: #d79300;
}


/* ========================================
   INPUT
======================================== */

.input-shell {
    position: relative;
}


.input-shell__icon {
    position: absolute;

    z-index: 3;

    left: 15px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

    color: #88939c;

    pointer-events: none;
}


.form-field input {
    width: 100%;
    height: 54px;

    padding:
        0
        48px;

    border:
        1.5px solid
        #d8dfe4;

    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: var(--text);

    font-size: 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.form-field input::placeholder {
    color: #a5afb7;
}


.form-field input:focus {
    border-color: var(--yellow);

    box-shadow:
        0 0 0 4px
        rgba(255,184,0,.10);
}


/* ========================================
   VALID STATE
======================================== */

.input-valid-mark {
    position: absolute;

    z-index: 4;

    right: 15px;
    top: 50%;

    width: 25px;
    height: 25px;

    transform:
        translateY(-50%)
        scale(.75);

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        2px solid
        var(--green);

    border-radius: 50%;

    color: var(--green);

    font-size: 14px;
    font-weight: 800;

    opacity: 0;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.input-shell.is-valid
.input-valid-mark {
    opacity: 1;

    transform:
        translateY(-50%)
        scale(1);
}


.form-field input.is-valid {
    border-color:
        rgba(104,191,88,.7);
}


.form-field input.is-invalid {
    border-color: var(--danger);

    box-shadow:
        0 0 0 4px
        rgba(225,61,53,.08);
}


/* ========================================
   AMOUNT
======================================== */

.amount-currency {
    position: absolute;

    right: 17px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size: 16px;
    font-weight: 700;

    pointer-events: none;
}


.input-shell.is-valid
.amount-currency {
    right: 52px;
}


.input-valid-mark--amount {
    right: 14px;
}


/* ========================================
   FIELD HELP
======================================== */

.field-hint {
    margin:
        5px
        3px
        0;

    color: #9aa3aa;

    font-size: 10px;
}


.field-error {
    min-height: 0;

    margin:
        4px
        3px
        0;

    color: var(--danger);

    font-size: 10px;
}


.field-error:not(:empty) {
    min-height: 13px;
}


/* ========================================
   CHROME AUTOFILL
======================================== */

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
    -webkit-text-fill-color:
        var(--text);

    -webkit-box-shadow:
        0 0 0 1000px
        #ffffff
        inset;

    box-shadow:
        0 0 0 1000px
        #ffffff
        inset;
}


/* ========================================
   BUTTON
======================================== */

.payment-button {
    position: relative;

    width: 100%;
    height: 58px;

    margin-top: 7px;

    padding:
        0
        55px;

    overflow: hidden;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #ffc722,
            var(--yellow)
        );

    color: var(--text);

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 11px 28px
        rgba(255,184,0,.22);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}


.payment-button:not(:disabled):hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 32px
        rgba(255,184,0,.30);
}


.payment-button:disabled {
    opacity: .46;

    cursor: not-allowed;

    box-shadow: none;
}


.button-arrow {
    position: absolute;

    right: 20px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size: 25px;

    transition:
        transform .2s ease;
}


.payment-button:hover:not(:disabled)
.button-arrow {
    transform:
        translate(4px, -50%);
}


/* ========================================
   BUTTON SHINE
======================================== */

.payment-button__shine {
    position: absolute;

    width: 70px;
    height: 150%;

    left: -120px;
    top: -25%;

    transform: rotate(20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.65),
            transparent
        );

    opacity: 0;
}


.payment-button:not(:disabled)
.payment-button__shine {
    animation:
        buttonShine
        2.8s
        ease
        1;
}


/* ========================================
   BUTTON LOADING
======================================== */

.payment-button__spinner {
    display: none;

    width: 20px;
    height: 20px;

    border:
        2px solid
        rgba(23,36,49,.2);

    border-top-color:
        var(--text);

    border-radius: 50%;

    animation:
        spin
        .75s
        linear
        infinite;
}


.payment-button.is-loading
.payment-button__label,
.payment-button.is-loading
.button-arrow {
    visibility: hidden;
}


.payment-button.is-loading
.payment-button__spinner {
    position: absolute;

    display: block;

    left: 50%;
    top: 50%;

    transform:
        translate(
            -50%,
            -50%
        );
}


.form-status {
    margin-top: 7px;

    color: #4c9360;

    font-size: 10px;

    text-align: center;
}


/* ========================================
   PAYMENT NOTE
======================================== */

.payment-note {
    margin-top: 12px;

    display: flex;
    align-items: center;

    gap: 7px;

    color: #78848e;

    font-size: 10px;
}


.payment-note__icon {
    width: 15px;
    height: 15px;

    flex-shrink: 0;
}


/* ========================================
   RIGHT SCENE
======================================== */

.payment__right {
    position: relative;

    min-width: 0;
}


.payment-scene {
    position: absolute;

    inset:
        -44px
        -48px
        -44px
        0;

    overflow: hidden;
}


.payment-scene::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: 0;
    top: 54px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,196,48,.26),
            rgba(255,196,48,.06) 50%,
            transparent 72%
        );

    filter: blur(4px);
}


/* ========================================
   RINGS
======================================== */

.scene-ring {
    position: absolute;

    border:
        1px solid
        rgba(255,255,255,.72);

    border-radius: 50%;
}


.scene-ring--1 {
    width: 510px;
    height: 510px;

    right: -35px;
    top: 20px;
}


.scene-ring--2 {
    width: 690px;
    height: 690px;

    right: -120px;
    top: -70px;

    border-color:
        rgba(255,188,0,.16);
}


/* ========================================
   SPARKLES
======================================== */

.scene-sparkle {
    position: absolute;

    z-index: 2;

    color:
        rgba(255,255,255,.95);

    animation:
        sparkle
        3s
        ease-in-out
        infinite;
}


.scene-sparkle--1 {
    right: 330px;
    top: 70px;

    font-size: 13px;
}


.scene-sparkle--2 {
    right: 120px;
    top: 120px;

    font-size: 9px;

    animation-delay: 1s;
}


.scene-sparkle--3 {
    right: 270px;
    top: 175px;

    font-size: 7px;

    animation-delay: 1.7s;
}
/* ========================================
   FURNITURE OUTLINE — DESKTOP
======================================== */

.furniture-outline {
    position: absolute;

    z-index: 1;

    width: 560px;
    height: auto;

    right: -35px;
    bottom: 20px;

    display: block;

    overflow: visible;

    color:
        rgba(
            194,
            151,
            55,
            0.25
        );

    pointer-events: none;

    opacity: 0.72;
}


/* ========================================
   FURNITURE OUTLINE — DESKTOP
======================================== */

.furniture-outline {
    position: absolute;

    z-index: 1;

    width: 590px;
    height: auto;

    right: -25px;
    bottom: 18px;

    display: block;

    overflow: visible;

    /*
        Было слишком бледно.
        Теперь контур заметнее и теплее.
    */
    color: rgba(188, 136, 24, 0.48);

    pointer-events: none;

    opacity: 1;
}


.furniture-outline * {
    fill: none;

    stroke: currentColor;

    stroke-width: 1.75;

    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;
}


/* ========================================
   ШКАФ
======================================== */

.furniture-outline__wardrobe {
    opacity: 0.72;
}


/* ========================================
   КРОВАТЬ
   Главный мебельный объект —
   поэтому заметнее остальных
======================================== */

.furniture-outline__bed {
    opacity: 0.95;
}


/* ========================================
   ТУМБА
======================================== */

.furniture-outline__nightstand {
    opacity: 0.82;
}


/* ========================================
   КАРТИНЫ
======================================== */

.furniture-outline__pictures {
    opacity: 0.62;
}


/* ========================================
   СВЕТИЛЬНИКИ
======================================== */

.furniture-outline__lamps {
    opacity: 0.70;
}


/* ========================================
   ЛИНИЯ ПОЛА
======================================== */

.furniture-outline__floor {
    opacity: 0.52;
}

/* ========================================
   ORDER CARD — DESKTOP
======================================== */

.order-card {
    position: absolute;

    z-index: 6;

    width: 455px;

    left: 10px;
    top: 105px;

    padding:
        30px
        32px
        24px;

    border:
        1px solid
        rgba(255,255,255,.94);

    border-radius: 26px;

    background:
        rgba(255,255,255,.96);

    box-shadow:
        0 22px 60px
        rgba(40,51,61,.12);

    backdrop-filter: blur(12px);
}


.order-card__header {
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.order-card__header h2 {
    margin: 0;

    font-size: 29px;

    letter-spacing: -.6px;
}


.order-card__lock {
    width: 44px;
    height: 44px;

    padding: 11px;

    border-radius: 50%;

    background:
        var(--yellow-light);

    color:
        #d99500;
}


.order-card__row {
    min-height: 72px;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap: 18px;

    align-items: center;

    border-bottom:
        1px solid
        #eceff1;
}


.order-card__label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #65717b;

    font-size: 13px;
}


.order-card__icon {
    width: 39px;
    height: 39px;

    padding: 10px;

    flex-shrink: 0;

    border-radius: 11px;

    background: #fff6df;

    color: #e8a000;
}


.order-card__value {
    max-width: 170px;

    overflow: hidden;

    color: var(--text);

    font-size: 14px;
    font-weight: 750;

    text-align: right;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.order-card__value--amount {
    color: var(--yellow);
}


.order-card__value--muted {
    color: #89949c;

    font-weight: 600;
}


/* ========================================
   SECURE FOOTER CARD
======================================== */

.order-card__secure {
    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 8px;

    color: #647078;

    font-size: 11px;
}


.order-card__secure-icon {
    width: 20px;
    height: 20px;

    color: var(--green);
}


.order-card__secure i {
    width: 6px;
    height: 6px;

    margin-left: 2px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 8px
        rgba(104,191,88,.7);
}


/* ========================================
   KANGAROO — DESKTOP
======================================== */

.kangaroo {
    position: absolute;

    z-index: 4;

    width: 335px;
    height: auto;

    right: 5px;
    bottom: 24px;

    filter:
        drop-shadow(
            0 20px 30px
            rgba(65,52,35,.14)
        );

    transition:
        transform .45s
        cubic-bezier(.2,.8,.2,1);
}


.payment-scene.is-ready
.kangaroo {
    transform:
        translateY(-4px)
        rotate(-.8deg);
}


/* ========================================
   MOBILE ORDER CARD
======================================== */

.mobile-order-card {
    display: none;
}


/* ========================================
   TRUST
======================================== */

.trust-section {
    width:
        min(
            calc(100% - 64px),
            1440px
        );

    margin:
        26px
        auto
        34px;
}


.trust-panel {
    min-height: 104px;

    padding:
        18px
        27px;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.15fr
        1.5fr;

    align-items: center;

    border:
        1px solid
        #edf0f2;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 12px 38px
        rgba(38,49,59,.06);
}


.trust-item {
    min-width: 0;

    padding:
        3px
        22px;

    display: flex;
    align-items: center;

    gap: 13px;

    border-right:
        1px solid
        #edf0f2;
}


.trust-item:first-child {
    padding-left: 0;
}


.trust-item__icon {
    width: 44px;
    height: 44px;

    padding: 8px;

    flex-shrink: 0;

    color: var(--yellow);
}


.trust-item strong {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
}


.trust-item span {
    display: block;

    max-width: 165px;

    color: #77838d;

    font-size: 10px;
    line-height: 1.45;
}


/* ========================================
   PAYMENT METHODS
======================================== */

.payment-methods {
    padding-left: 25px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    gap: 16px;
}


.payment-method--mir {
    color: #0da36b;

    font-size: 20px;
    font-weight: 900;
}


.payment-method--visa {
    color: #17328d;

    font-size: 20px;
    font-style: italic;
    font-weight: 900;
}


.payment-method--mastercard {
    position: relative;

    width: 46px;
    height: 26px;
}


.payment-method--mastercard i {
    position: absolute;

    width: 25px;
    height: 25px;

    border-radius: 50%;
}


.payment-method--mastercard i:first-child {
    left: 0;

    background: #e9001b;
}


.payment-method--mastercard i:last-child {
    right: 0;

    background:
        rgba(250,155,20,.96);
}


.payment-method--paykeeper {
    display: flex;
    flex-direction: column;
}


.payment-method--paykeeper strong {
    font-size: 15px;
}


.payment-method--paykeeper small {
    margin-top: 3px;

    color: #8e989f;

    font-size: 7px;
}


/* ========================================
   LOADING
======================================== */

.loading-overlay {
    position: fixed;

    z-index: 100;

    inset: 0;

    padding: 20px;

    display: grid;
    place-items: center;

    background:
        rgba(22,34,45,.45);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(9px);

    transition:
        .2s ease;
}


.loading-overlay.is-open {
    opacity: 1;
    visibility: visible;
}


.loading-overlay__card {
    width:
        min(
            390px,
            100%
        );

    padding: 27px;

    border-radius: 23px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.19);
}


.loading-overlay__icon {
    width: 48px;
    height: 48px;

    margin:
        0
        auto
        15px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--yellow-light);
}


.loading-overlay__icon span {
    width: 21px;
    height: 21px;

    border:
        2px solid
        rgba(23,36,49,.18);

    border-top-color:
        var(--text);

    border-radius: 50%;

    animation:
        spin
        .75s
        linear
        infinite;
}


.loading-overlay__title {
    font-size: 20px;
    font-weight: 800;
}


.loading-overlay__text {
    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;
}


/* ========================================
   MEDIUM DESKTOP
======================================== */

@media
(
    min-width: 769px
)
and
(
    max-width: 1180px
) {

    .payment {
        grid-template-columns:
            420px
            1fr;

        gap: 32px;
    }


    .logo img {
        width: 180px;
    }


    .order-card {
        width: 380px;

        left: 5px;
        top: 110px;

        padding:
            26px
            26px
            22px;
    }


    .order-card__header h2 {
        font-size: 26px;
    }


    .order-card__row {
        min-height: 66px;
    }


    .kangaroo {
        width: 285px;

        right: -25px;
        bottom: 20px;
    }


    .trust-panel {
        padding:
            16px
            18px;
    }


    .trust-item {
        padding:
            3px
            12px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .header {
        height: 68px;
    }


    .header__inner {
        width: 100%;

        padding:
            0
            16px;
    }


    .logo img {
        width: 115px;
    }


    .security {
        gap: 7px;
    }


    .security__icon {
        width: 30px;
        height: 30px;

        padding: 7px;
    }


    .security__title {
        max-width: 118px;

        font-size: 11px;
        line-height: 1.2;
    }


    .security__subtitle {
        display: none;
    }


    /* ====================================
       MOBILE MAIN
    ==================================== */

    .payment {
        width: 100%;

        min-height: 0;

        margin: 0;

        padding:
            22px
            16px
            18px;

        display: block;

        overflow: visible;

        border: 0;
        border-radius: 0;

        background: #ffffff;

        box-shadow: none;
    }


    .payment__left h1 {
        font-size: 34px;

        letter-spacing: -1.2px;
    }


    .title-line {
        width: 38px;
        height: 3px;

        margin-top: 12px;
    }


    .description {
        margin:
            13px
            0
            19px;

        font-size: 13px;
    }


    /* ====================================
       MOBILE FORM
    ==================================== */

    .form-field {
        margin-bottom: 15px;
    }


    .label-row {
        margin-bottom: 7px;
    }


    .form-field label {
        font-size: 13px;
    }


    .field-badge {
        padding:
            3px
            7px;

        font-size: 9px;
    }


    .form-field input {
        height: 50px;

        padding:
            0
            43px;

        font-size: 15px;
    }


    .input-shell__icon {
        left: 14px;

        width: 18px;
        height: 18px;
    }


    .input-valid-mark {
        width: 23px;
        height: 23px;

        right: 13px;

        font-size: 12px;
    }


    .amount-currency {
        right: 14px;
    }


    .input-shell.is-valid
    .amount-currency {
        right: 47px;
    }


    .field-hint {
        font-size: 10px;
    }


    /* Desktop right scene скрываем */

    .payment__right {
        display: none;
    }


    /* ====================================
       MOBILE ORDER CARD
    ==================================== */

    .mobile-order-card {
        position: relative;

        display: block;

        min-height: 146px;

        margin:
            0
            0
            15px;

        overflow: hidden;

        border:
            1px solid
            #f3e7d5;

        border-radius: 19px;

        background:
            radial-gradient(
                circle at 92% 24%,
                rgba(255,184,0,.16),
                transparent 35%
            ),
            linear-gradient(
                145deg,
                #fff7e9,
                #fffdf9
            );

        box-shadow:
            0 10px 26px
            rgba(45,57,69,.07);
    }


    .mobile-order-card__content {
        position: relative;

        z-index: 3;

        width:
            calc(
                100% - 100px
            );

        padding:
            14px
            7px
            12px
            15px;
    }


    .mobile-order-card__header {
        margin-bottom: 7px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .mobile-order-card__title {
        font-size: 16px;
        font-weight: 800;
    }


    .mobile-order-card__lock {
        width: 26px;
        height: 26px;

        padding: 6px;

        border-radius: 50%;

        background:
            rgba(255,255,255,.8);

        color: #b98200;
    }


    .mobile-order-card__item {
        min-height: 29px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 9px;

        border-bottom:
            1px solid
            rgba(45,57,69,.08);

        color: #727d87;

        font-size: 10px;
    }


    .mobile-order-card__item:last-child {
        border-bottom: 0;
    }


    .mobile-order-card__item strong {
        max-width: 110px;

        overflow: hidden;

        color: var(--text);

        font-size: 11px;

        text-align: right;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .mobile-order-card__amount {
        color:
            var(--yellow) !important;
    }


    .mobile-order-card__email-value {
        color:
            #7f8992 !important;
    }


    .mobile-order-card__kangaroo {
        position: absolute;

        z-index: 2;

        width: 122px;

        right: -9px;
        bottom: -34px;

        filter:
            drop-shadow(
                0 9px 15px
                rgba(45,57,69,.09)
            );
    }


    .mobile-order-card.is-filled
    .mobile-order-card__kangaroo {
        transform:
            translateY(-3px)
            rotate(-1deg);
    }


    /* ====================================
       MOBILE BUTTON
    ==================================== */

    .payment-button {
        height: 54px;

        margin-top: 0;

        font-size: 15px;
    }


    .payment-note {
        font-size: 9px;
    }


    /* ====================================
       TRUST MOBILE
    ==================================== */

    .trust-section {
        width: 100%;

        margin:
            0
            auto
            22px;

        padding:
            0
            16px;
    }


    .trust-panel {
        min-height: 0;

        padding:
            13px
            14px;

        grid-template-columns:
            repeat(3,1fr);

        border-radius: 17px;
    }


    .trust-item {
        padding:
            2px
            7px;

        flex-direction: column;

        gap: 6px;

        text-align: center;
    }


    .trust-item:nth-child(3) {
        border-right: 0;
    }


    .trust-item__icon {
        width: 30px;
        height: 30px;

        padding: 5px;
    }


    .trust-item strong {
        font-size: 9px;
    }


    .trust-item span {
        display: none;
    }


    .payment-methods {
        grid-column:
            1 / -1;

        margin-top: 12px;

        padding:
            11px
            4px
            0;

        justify-content: center;

        gap: 22px;

        border-top:
            1px solid
            #edf0f2;
    }


    .payment-method--mir {
        font-size: 16px;
    }


    .payment-method--visa {
        font-size: 17px;
    }


    .payment-method--mastercard {
        width: 36px;
        height: 21px;
    }


    .payment-method--mastercard i {
        width: 20px;
        height: 20px;
    }


    .payment-method--paykeeper strong {
        font-size: 12px;
    }


    .payment-method--paykeeper small {
        display: none;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

    .payment {
        padding-left: 14px;
        padding-right: 14px;
    }


    .payment__left h1 {
        font-size: 32px;
    }


    .mobile-order-card__content {
        width:
            calc(
                100% - 92px
            );
    }


    .mobile-order-card__item strong {
        max-width: 96px;
    }


    .mobile-order-card__kangaroo {
        width: 112px;

        right: -12px;
        bottom: -31px;
    }


    .trust-section {
        padding:
            0
            14px;
    }


    .payment-methods {
        gap: 17px;
    }

}


/* ========================================
   ANIMATION
======================================== */

@keyframes spin {

    to {
        transform:
            rotate(360deg);
    }

}


@keyframes buttonShine {

    0% {
        left: -120px;
        opacity: 0;
    }


    15% {
        opacity: 1;
    }


    55% {
        opacity: .7;
    }


    100% {
        left:
            calc(100% + 80px);

        opacity: 0;
    }

}


@keyframes sparkle {

    0%,
    100% {
        opacity: .25;

        transform:
            scale(.8);
    }


    50% {
        opacity: 1;

        transform:
            scale(1.2);
    }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media
(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }

}