/* <editor-fold desc=" Shared section spacing"> */
.ecommerce section,
.ecommerce .faq-block {
    padding-top: 40px;
    padding-bottom: 40px;
}
.ecommerce .title.centered,
.ecommerce .subtitle.centered { text-align: center; margin-left: auto; margin-right: auto; }
.ecommerce .subtitle { margin-top: 16px; color: #221f1f; }
@media (max-width: 992px) {
    .ecommerce section,
    .ecommerce .faq-block { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 576px) {
    .ecommerce section,
    .ecommerce .faq-block { padding: 24px 0; }
}
/* </editor-fold> */

/* <editor-fold desc="HERO v4"> */
.ecommerce .hero-v4 {
    padding-top: 24px;
}
@media (min-width: 1180px) {
    .ecommerce .hero-v4 .hero-v4-text {
        max-width: 570px;
    }
}
/* </editor-fold> */

/* <editor-fold desc=" Green text-link button (Figma component 6:680, ghost variant)"> */
/* Figma's "button" component in its text-only state: no fill/border, green bold label. */
.ecommerce .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
/* </editor-fold> */

/* <editor-fold desc=" Платіжні рішення (solutions-block)"> */
/* Figma node 5172:40943 */
.solutions-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.solution {
    padding: 24px;
    background: #f6f8fa;
    border-radius: 16px;
}
.solution .icon-wrapper {
    width: 100%;
    margin-bottom: 16px;
}
.solution .name { margin: 0 0 8px; font-weight: 900; }
.solution .desc { margin: 0; }
@media (max-width: 992px) {
    .solutions-list { grid-template-columns: repeat(2, 1fr); }

    .solutions-list.slick-slider { display: block; grid-template-columns: none; }
    .solutions-list.slick-slider .solution { height: auto; }

    .solutions-block .slick-dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        padding: 8px;
        list-style: none;
    }
    .solutions-block .slick-dots li { cursor: pointer; }
    .solutions-block .slick-dots li button {
        display: block;
        width: 12px;
        height: 12px;
        padding: 0;
        background: #d1d5dc;
        border-radius: 10px;
        font-size: 0;
        line-height: 0;
        transition: background-color .3s;
        cursor: pointer;
    }
    .solutions-block .slick-dots li.slick-active button { background: #06ba52; }
}
@media (max-width: 576px) {
    .solutions-list { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
}
/* </editor-fold> */

/* <editor-fold desc=" Як це працює (how-it-works-block)"> */
/* Figma node 5437:15469 (з медіа) / 5437:15782 (без медіа) / 5441:16926 (мобільна) */
.how-it-works-block .hiw-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "title" "steps" "cta";
    row-gap: 32px;
    margin-top: 40px;
}
.how-it-works-block .hiw-title { grid-area: title; text-align: left; }
.how-it-works-block .hiw-title .title,
.how-it-works-block .hiw-title .subtitle { margin: 0; }
.how-it-works-block .hiw-title .subtitle { margin-top: 16px; }
.how-it-works-block .hiw-cta.btn {
    grid-area: cta;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 52px;
    padding: 8px 24px;
    font-size: 18px;
    line-height: 28px;
    white-space: nowrap;
}
.how-it-works-block .hiw-steps { grid-area: steps; }

.how-it-works-block.-with-media .hiw-grid {
    grid-template-columns: minmax(0, 570px) 1fr;
    grid-template-areas:
        "title media"
        "cta   media";
    column-gap: 40px;
    align-items: start;
}
.how-it-works-block.-with-media .hiw-steps {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.hiw-media {
    grid-area: media;
    position: relative;
    width: 100%;
    max-width: 630px;
    height: 320px;
    overflow: hidden;
    background: #f6f8fa;
    border-radius: 16px;
    justify-self: end;
}
.hiw-media img,
.hiw-media video { width: 100%; height: 100%; object-fit: cover; }
.media-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.media-play .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    background: #fff;
    border-radius: 50%;
}
.media-play .play-icon img { width: 38px; height: 40px; }

.hiw-steps { display: flex; gap: 40px; }
.step { flex: 1 0 0; display: flex; flex-direction: column; gap: 24px; }
.step-header { display: flex; align-items: center; gap: 24px; }
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #ebedf2;
    border-radius: 50%;
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    color: #221f1f;
}
.step.-done .step-number { background: #effeee; }
.step-number img { width: 32px; height: 32px; }
.step-line { flex: 1 0 0; height: 2px; background: #ebedf2; }
.step-text { display: flex; flex-direction: column; gap: 8px; }
.step-text .name,
.step-text .desc { margin: 0; }

@media (max-width: 992px) {
    .how-it-works-block .hiw-grid { row-gap: 24px; margin-top: 24px; }
    .how-it-works-block .hiw-title { text-align: center; }
    .how-it-works-block .hiw-cta.btn { width: 100%; justify-self: stretch; }

    .how-it-works-block.-with-media .hiw-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "media" "steps" "cta";
    }
    .how-it-works-block.-with-media .hiw-steps { grid-column: auto; margin-top: 0; }

    .hiw-media { max-width: none; height: 166px; border-radius: 12px; justify-self: stretch; }
    .media-play .play-icon { width: 64px; height: 64px; }
    .media-play .play-icon img { width: 28px; height: 30px; }

    .hiw-steps { flex-direction: column; gap: 8px; }
    .step { flex-direction: row; align-items: flex-start; gap: 16px; }
    .step-header { flex-direction: column; align-items: center; gap: 8px; flex: 0 0 60px; }
    .step-number { width: 60px; height: 60px; font-size: 20px; line-height: 28px; }
    .step-number img { width: 24px; height: 24px; }
    .step-line { flex: 0 0 auto; width: 2px; height: 32px; }
    .step.-done .step-line { display: none; }
}
/* </editor-fold> */

/* <editor-fold desc=" Клієнтам простіше (payment-methods-block)"> */
/* Figma node 5327:19764 */
.payment-methods-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 16px;
    margin-top: 24px;
    background: #ebedf2;
    border-radius: 24px;
}
.method {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #f6f8fa;
    border-radius: 16px;
}
.method .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ebedf2;
    border-radius: 16px;
    flex-shrink: 0;
}
.method .icon-wrapper img { width: 32px; height: 32px; }
.method .text { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.method .name { margin: 0; }
.method .desc { margin: 0; }
.method .btn-text { margin-top: auto; padding-left: 0; justify-content: flex-start; flex-shrink: 0; }
.btn-wrapper.centered { display: flex; justify-content: center; margin-top: 40px; }
.btn-wrapper.centered .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 52px;
    padding: 8px 24px;
    font-size: 18px;
    line-height: 28px;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .btn-wrapper.centered .btn { width: 100%; }
}
@media (min-width: 768px) {
    .payment-methods-list { grid-template-columns: 2fr; }
}
@media (min-width: 1280px) {
    .payment-methods-list { grid-template-columns: repeat(4, 1fr); }
    margin-top: 40px;
    padding: 40px;
}
/* </editor-fold> */

/* <editor-fold desc=" Дорожчі товари (installments-block)"> */
/* Figma node 4883:10640 - one gradient card wrapping both columns */
.installments-content {
    display: flex;
    align-items: center;
    gap: 76px;
    margin-top: 40px;
    padding: 40px;
    padding-right: 0;
    background: linear-gradient(180deg, #f6f8fa 0%, #fff 100%);
    border-radius: 16px;
}
.installments-list { flex: 1 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.installments-list ul { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; width: 100%; }
.installments-list .item { position: relative; }
.installments-list .item:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #221f1f;
}
.installments-list .item .name { padding-left: 30px; margin: 0 0 4px; font-weight: 900; }
.installments-list .item .desc { margin: 0; }
.installments-list .btn-text { align-self: flex-start; padding-left: 0; justify-content: flex-start; }
.installments-block .illustration {
}
.installments-block .illustration > img { width: 100%; max-width: 513px; }
.banks-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
@media (max-width: 992px) {
    .installments-content { flex-direction: column; padding: 24px; }
}
/* </editor-fold> */

/* <editor-fold desc=" Легкий старт (quick-start-block)"> */
/* Figma node 5179:41705 */
.quick-start-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.quick-start-block .card {
    padding: 24px;
    background: #f6f8fa;
    border-radius: 16px;
}
.quick-start-block .illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 16px;
}
.quick-start-block .illustration img { max-width: 160px; }
.quick-start-block .name { margin: 0 0 8px; font-weight: 900; }
.quick-start-block .desc { margin: 0; }
.quick-start-block .btn-text { margin-top: 8px; padding-left: 0; justify-content: flex-start; }
@media (max-width: 992px) {
    .quick-start-list { grid-template-columns: 1fr; }

    .quick-start-list.slick-slider { display: block; }
    .quick-start-list.slick-slider .card { height: auto; }

    .quick-start-block .slick-dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
        padding: 8px;
        list-style: none;
    }
    .quick-start-block .slick-dots li { cursor: pointer; }
    .quick-start-block .slick-dots li button {
        display: block;
        width: 12px;
        height: 12px;
        padding: 0;
        background: #d1d5dc;
        border-radius: 10px;
        font-size: 0;
        line-height: 0;
        transition: background-color .3s;
        cursor: pointer;
    }
    .quick-start-block .slick-dots li.slick-active button { background: #06ba52; }
}
/* </editor-fold> */

/* <editor-fold desc=" CTA banners (cta-banner-block)"> */
/* Figma nodes 5200:67178 (left CTA) / 5200:67148 (centered CTA) */
.cta-banner-block .block-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px 80px 40px 40px;
    background: linear-gradient(-4.32deg, #effeee 31.319%, #fcfffc 70.948%);
    border-radius: 24px;
}
.cta-banner-block .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    font-size: 60px;
    padding: 10px;
}
.cta-banner-block .icon-wrapper img { width: 60px; }
.cta-banner-block .text { flex: 1 0 0; display: flex; flex-direction: column; gap: 8px; }
.cta-banner-block .title { margin: 0; }
.cta-banner-block .subtitle { margin: 0; }
.cta-banner-block .btn { flex-shrink: 0; width: 245px; }

.cta-banner-block .row-wrapper {
    display: flex;
    gap: 32px;
    flex-direction: column;
    flex-grow: 1;
}
@media (max-width: 768px) {
    .cta-banner-block .block-wrapper { flex-direction: column; gap: 32px; text-align: center; padding: 24px 16px; }
    .cta-banner-block .row-wrapper { align-items: center; }
    .cta-banner-block .text { text-align: center; align-items: center; }
    .cta-banner-block .btn { width: 100%; }
}
/* </editor-fold> */

.need-support-block .block-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 40px;
    text-align: center;
    background: #f6f8fa;
    border-radius: 24px;
}
.need-support-block .icon-wrapper { width: 140px; height: 140px; }
.need-support-block .icon-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.need-support-block .text { text-align: center; align-items: center; }
.need-support-block .btn { width: 260px; }

/* <editor-fold desc=" Partners marquee (under reviews)"> */
.ecommerce .partners-block {
    padding-bottom: 40px;
}
.ecommerce .partners-block .partners-list {
    padding: 0;
}
/* </editor-fold> */
