.cq-pay {
    margin-block: clamp(1.5rem, 4vw, 3.5rem);
}

.cq-pay .cq-pay__banner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: clamp(24rem, 31vw, 32rem);
    overflow: hidden;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    color: #fff;
    background: #080f1c;
}

.cq-pay .cq-pay__content {
    z-index: 1;
    align-self: center;
    padding: clamp(1.5rem, 5vw, 4.75rem);
    padding-inline-end: clamp(1.25rem, 2vw, 2.25rem);
}

.cq-pay .cq-pay__eyebrow {
    margin: 0 0 .75rem;
    color: #c7fa74;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.cq-pay .cq-pay__title {
    max-width: 16ch;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.cq-pay .cq-pay__offer {
    margin: 0 0 .6rem;
    color: #c7fa74;
    font-size: 1.2rem;
    font-weight: 750;
}

.cq-pay .cq-pay__description {
    max-width: 42ch;
    margin: 0;
    color: #e0e9f5;
    font-size: clamp(1rem, 1.75vw, 1.15rem);
    line-height: 1.55;
}

.cq-pay .cq-pay__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.cq-pay .cq-pay__button {
    display: inline-flex;
    align-items: center;
    min-height: 3.15rem;
    padding: .65rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .625rem;
    background: #c7fa74;
    color: #0a200d;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

.cq-pay .cq-pay__button:hover {
    background: #d9ff9a;
}

.cq-pay .cq-pay__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.cq-pay .cq-pay__button--outline {
    border-color: #9caec1;
    background: #08172bd9;
    color: #fff;
}

.cq-pay .cq-pay__button--outline:hover {
    background: #243e5c;
}

.cq-pay .cq-pay__art {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 66%;
    mask-image: linear-gradient(to right, transparent, #000 32%);
}

[dir="rtl"] .cq-pay .cq-pay__art {
    mask-image: linear-gradient(to left, transparent, #000 32%);
}

.cq-pay .cq-pay__product-photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cq-pay-page .cq-pay-guide {
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.cq-pay-guide__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    overflow: hidden;
    border: 1px solid #dbe7df;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    background: #fff;
}

.cq-pay-guide__intro {
    padding: clamp(1.5rem, 4.5vw, 3.75rem);
}

.cq-pay-guide__kicker {
    margin: 0 0 .5rem;
    color: #0e8345;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.cq-pay-guide h2 {
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
    color: #0b3d2e;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.15;
}

.cq-pay-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: cq-step;
}

.cq-pay-step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.1rem;
    padding-bottom: 1.6rem;
    counter-increment: cq-step;
}

.cq-pay-step:last-child {
    padding-bottom: 0;
}

/* Connector line between the step icons */
.cq-pay-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 3.25rem;
    bottom: .25rem;
    inset-inline-start: 1.5rem;
    border-inline-start: 2px dashed #c6dccd;
}

.cq-pay-step__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .85rem;
    background: #e7f4ec;
    color: #0e8345;
}

.cq-pay-step__icon::after {
    content: counter(cq-step);
    position: absolute;
    top: -.4rem;
    inset-inline-end: -.4rem;
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #0b3d2e;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
}

.cq-pay-step__icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cq-pay-step__body h3 {
    margin: .2rem 0 .3rem;
    color: #122640;
    font-size: 1.1rem;
}

.cq-pay-step__body p {
    margin: 0;
    color: #3d5166;
    line-height: 1.55;
}

.cq-pay-step__body .cq-store-badges {
    margin-top: .85rem;
}

.cq-pay-step__body .cq-store-badge img {
    height: 2.75rem;
}

.cq-pay-guide__web {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid #e3ebe6;
    color: #3d5166;
}

.cq-pay-guide__web a {
    color: #0e8345;
    font-weight: 700;
    text-decoration: none;
}

.cq-pay-guide__web a:hover {
    color: #0b6b38;
    text-decoration: underline;
}

.cq-pay-guide__visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    justify-content: center;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 0;
    overflow: hidden;
    background:
        radial-gradient(120% 70% at 50% 0%, #1a7a4c 0%, transparent 60%),
        linear-gradient(160deg, #0b3d2e 0%, #07291c 100%);
}

.cq-pay-guide__visual img {
    display: block;
    width: min(16rem, 82%);
    height: auto;
    border: 6px solid #0a1a13;
    border-radius: 1.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.cq-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
}

.cq-store-badge {
    display: inline-block;
    border-radius: .55rem;
    line-height: 0;
}

.cq-store-badge img {
    display: block;
    width: auto;
    height: 3.15rem;
    border: 1px solid #a6a6a6;
    border-radius: .55rem;
}

.cq-store-badge:hover img {
    filter: brightness(1.15);
}

.cq-store-badge:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.cq-pay .cq-store-badge:focus-visible {
    outline-color: #fff;
}

@media (max-width: 767px) {
    .cq-pay .cq-pay__banner,
    .cq-pay-guide__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .cq-pay-guide__visual {
        order: -1;
        max-height: 22rem;
    }

    .cq-pay-guide__visual img {
        width: min(12.5rem, 62%);
    }

    .cq-pay .cq-pay__banner {
        min-height: 0;
    }

    .cq-pay .cq-pay__content {
        padding: 1.75rem clamp(1.25rem, 5vw, 2rem);
    }

    .cq-pay .cq-pay__art,
    [dir="rtl"] .cq-pay .cq-pay__art {
        position: relative;
        width: 100%;
        aspect-ratio: 3 / 2;
        mask-image: linear-gradient(to bottom, transparent, #000 18%);
    }
}

@media (max-width: 420px) {
    .cq-pay .cq-pay__button {
        justify-content: center;
        width: 100%;
    }
}
