.delivery-page { color: #15191d; background: #fff; }

.delivery-hero {
    min-height: 615px;
    background: linear-gradient(90deg, rgba(247, 249, 250, .96) 0%, rgba(247, 249, 250, .78) 38%, rgba(247, 249, 250, .08) 72%), url("/assets/img/bckg/deliveryterms_bckg.jpg") center center / cover no-repeat;
}

.delivery-hero__inner { min-height: 615px; padding-top: 78px; }
.delivery-hero__content { max-width: 700px; }

.delivery-hero h1 {
    margin: 0 0 35px;
    font-size: 49px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.delivery-hero__content > p { margin: 0; font-size: 20px; line-height: 1.7; }

.delivery-hero__features {
    width: 650px;
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.delivery-hero__features article {
    min-height: 145px;
    padding: 20px 12px;
    border: 1px solid rgba(224, 229, 233, .75);
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 9px 28px rgba(24, 42, 58, .04);
}

.delivery-hero__features img { width: 52px; height: 52px; margin-bottom: 15px; object-fit: contain; }
.delivery-hero__features strong { font-size: 13px; line-height: 1.55; }

.delivery-process { padding: 35px 0 70px; }
.delivery-process > .container > h2 { margin: 0 0 34px; text-align: center; font-size: 33px; }

.delivery-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }

.delivery-step {
    min-height: 545px;
    padding: 24px 19px;
    border: 1px solid #dfe4e8;
    border-radius: 13px;
    background: #fff;
    position: relative;
}

.delivery-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 2;
    top: 98px;
    right: -20px;
    color: #009a47;
    font-size: 28px;
}

.delivery-step__number {
    width: 29px;
    height: 29px;
    margin: 0 auto 22px;
    border-radius: 50%;
    color: #fff;
    background: #168c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.delivery-step > div:first-of-type { width: 70px; height: 70px; border-radius: 50%; background-color: #f5f7f4; padding: 12px;}
.delivery-step h3 { min-height: 44px; margin: 0 0 17px; font-size: 15px; line-height: 1.45; }
.delivery-step p { margin: 0 0 15px; font-size: 12px; line-height: 1.75; }
.delivery-step ul { margin: 0; padding: 0; list-style: none; }
.delivery-step li { margin-top: 8px; padding-left: 15px; font-size: 11px; line-height: 1.45; position: relative; }
.delivery-step li::before { content: "•"; position: absolute; left: 0; color: #00aa52; }

.delivery-step__note { margin-top: 20px; padding: 13px; border-radius: 9px; background: #eef8f1; }
.delivery-step__note strong,
.delivery-step__note span { display: block; }
.delivery-step__note strong { margin-bottom: 9px; font-size: 11px; }
.delivery-step__note span { margin-top: 7px; color: #384b3e; font-size: 10px; }
.delivery-step__note span::first-letter { color: #00a64f; }

.payment-methods {
    margin-top: 30px;
    padding: 27px 50px 32px;
    border-radius: 14px;
    background: linear-gradient(105deg, #f5f7f4, #fcfcfc);
}

.payment-methods h2,
.delivery-security h2 { margin: 0 0 25px; font-size: 23px; }
.payment-methods__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 58px; }
.payment-methods article { display: flex; gap: 23px; }
.payment-methods article > img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.payment-methods h3 { margin: 3px 0 8px; font-size: 13px; }
.payment-methods p { margin: 0; font-size: 11px; line-height: 1.7; }

.delivery-security { margin-top: 27px; padding: 28px 32px 34px; border: 1px solid #e1e5e8; border-radius: 13px; }
.delivery-security__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.delivery-security article { min-height: 85px; padding: 0 25px; border-left: 1px solid #e4e8eb; display: flex; gap: 17px; }
.delivery-security article:first-child { border-left: 0; padding-left: 0; }
.delivery-security article:last-child { padding-right: 0; }
.delivery-security img { width: 49px; height: 49px; flex: 0 0 49px; object-fit: contain; }
.delivery-security h3 { margin: 3px 0 10px; font-size: 12px; }
.delivery-security p { margin: 0; color: #626c77; font-size: 10px; line-height: 1.65; }

.delivery-cta {
    min-height: 115px;
    margin-top: 25px;
    padding: 22px 45px;
    border-radius: 14px;
    background: linear-gradient(105deg, #eff8f2, #f8fbf9);
    display: flex;
    align-items: center;
    gap: 28px;
}

.delivery-cta > img { width: 65px; height: 65px; object-fit: contain; }
.delivery-cta h2 { margin: 0 0 7px; font-size: 18px; }
.delivery-cta p { margin: 0; color: #626d77; font-size: 13px; }
.delivery-cta .btn { margin-left: auto; }
.btn--delivery { min-width: 330px; color: #fff; background: linear-gradient(135deg, #0c923f, #16be5b); }

@media (max-width: 1100px) {
    .delivery-hero { background-position: 58% center; }
    .delivery-steps { grid-template-columns: repeat(3, 1fr); }
    .delivery-step { min-height: 510px; }
    .delivery-step:nth-child(3)::after { display: none; }
    .payment-methods__grid { gap: 30px; }
    .delivery-security__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
    .delivery-security article:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
    .delivery-hero { min-height: 650px; background-position: 64% center; }
    .delivery-hero__inner { min-height: 650px; padding-top: 55px; }
    .delivery-hero__content { max-width: 600px; }
    .delivery-hero h1 { font-size: 42px; }
    .delivery-hero__features { width: 570px; }
    .payment-methods__grid { grid-template-columns: 1fr; }
    .delivery-cta { flex-wrap: wrap; }
    .delivery-cta .btn { margin-left: 93px; }
}

@media (max-width: 700px) {
    .delivery-hero { min-height: 720px; background-position: 70% center; }
    .delivery-hero__inner { min-height: 720px; padding-top: 35px; display: flex; align-items: flex-end; }
    .delivery-hero__content { width: 100%; padding-bottom: 24px; }
    .delivery-hero h1 { margin-bottom: 16px; font-size: 34px; }
    .delivery-hero__content > p { font-size: 15px; }
    .delivery-hero__features { width: 100%; margin-top: 25px; grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .delivery-hero__features article { min-height: 105px; padding: 10px; }
    .delivery-hero__features img { width: 38px; height: 38px; margin-bottom: 7px; }
    .delivery-process > .container > h2 { font-size: 27px; }
    .delivery-steps { grid-template-columns: 1fr; gap: 14px; }
    .delivery-step { min-height: 0; padding: 22px; }
    .delivery-step:not(:last-child)::after { display: none; }
    .delivery-step__number { position: absolute; top: 20px; left: 20px; }
    .delivery-step > div:first-of-type { width: 65px; height: 65px;}
    .delivery-step h3 { min-height: 0; }
    .payment-methods { padding: 24px 20px; }
    .delivery-security { padding: 24px 20px; }
    .delivery-security__grid { grid-template-columns: 1fr; }
    .delivery-security article,
    .delivery-security article:nth-child(3) { padding: 0; border-left: 0; }
    .delivery-cta { padding: 24px 20px; align-items: flex-start; }
    .delivery-cta > div { width: calc(100% - 93px); }
    .delivery-cta .btn { width: 100%; min-width: 0; margin: 0; }
}

@media (max-width: 430px) {
    .delivery-hero h1 { font-size: 29px; }
    .delivery-hero__features strong { font-size: 11px; }
    .delivery-process > .container > h2 { font-size: 24px; }
    .delivery-cta > img { width: 48px; height: 48px; }
    .delivery-cta > div { width: calc(100% - 76px); }
}

/* Compact mobile delivery page */
@media (max-width: 700px) {
    .delivery-hero,
    .delivery-hero__inner {
        min-height: 505px;
    }

    .delivery-hero {
        background-position: 68% center;
    }

    .delivery-hero__inner {
        padding-top: 185px;
        padding-bottom: 14px;
    }

    .delivery-hero__content {
        padding: 17px 15px 14px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 18px;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 8px 28px rgba(21, 38, 30, .08);
        backdrop-filter: blur(7px);
    }

    .delivery-hero h1 {
        margin-bottom: 9px;
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.08;
        letter-spacing: -.7px;
    }

    .delivery-hero__content > p {
        font-size: 12px;
        line-height: 1.45;
    }

    .delivery-hero__content > p br {
        display: none;
    }

    .delivery-hero__features {
        margin-top: 14px;
        gap: 6px;
    }

    .delivery-hero__features article {
        min-height: 52px;
        padding: 7px 8px;
        border-radius: 10px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 7px;
        text-align: left;
        box-shadow: none;
    }

    .delivery-hero__features img {
        width: 27px;
        height: 27px;
        margin: 0;
        flex: 0 0 27px;
    }

    .delivery-hero__features strong {
        font-size: 10px;
        line-height: 1.3;
    }

    .delivery-hero__features strong br {
        display: none;
    }

    .delivery-process {
        padding: 30px 0 38px;
    }

    .delivery-process > .container > h2 {
        margin-bottom: 19px;
        text-align: left;
        font-size: 24px;
        line-height: 1.15;
    }

    .delivery-steps {
        gap: 8px;
    }

    .delivery-step {
        padding: 13px 12px 13px 68px;
        border-radius: 12px;
    }

    .delivery-step__number {
        top: 8px;
        left: 8px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .delivery-step > div:first-of-type {
        position: absolute;
        top: 24px;
        left: 12px;
        width: 43px;
        height: 43px;
        padding: 7px;
    }

    .delivery-step h3 {
        margin: 0 0 5px;
        font-size: 14px;
    }

    .delivery-step p {
        margin-bottom: 8px;
        font-size: 10px;
        line-height: 1.5;
    }

    .delivery-step ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 8px;
    }

    .delivery-step li {
        margin: 0;
        padding-left: 10px;
        font-size: 9px;
    }

    .delivery-step__note {
        margin-top: 8px;
        padding: 9px 10px;
    }

    .delivery-step__note strong {
        margin-bottom: 4px;
    }

    .delivery-step__note span {
        display: inline;
        margin: 0 8px 0 0;
        font-size: 9px;
    }

    .payment-methods,
    .delivery-security {
        margin-top: 18px;
        padding: 19px 15px;
        border-radius: 13px;
    }

    .payment-methods h2,
    .delivery-security h2 {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .payment-methods__grid {
        gap: 9px;
    }

    .payment-methods article,
    .delivery-security article,
    .delivery-security article:nth-child(3) {
        min-height: 0;
        padding: 10px;
        border: 1px solid #e8eeea;
        border-radius: 11px;
        background: rgba(255, 255, 255, .7);
        gap: 11px;
    }

    .payment-methods article > img,
    .delivery-security img {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
    }

    .payment-methods h3,
    .delivery-security h3 {
        margin: 0 0 4px;
        font-size: 12px;
    }

    .payment-methods p,
    .delivery-security p {
        font-size: 10px;
        line-height: 1.45;
    }

    .delivery-security__grid {
        gap: 7px;
    }

    .delivery-cta {
        min-height: 0;
        margin-top: 18px;
        padding: 17px 15px;
        border-radius: 13px;
        gap: 12px;
    }

    .delivery-cta > img {
        width: 39px;
        height: 39px;
    }

    .delivery-cta > div {
        width: calc(100% - 51px);
    }

    .delivery-cta h2 {
        font-size: 15px;
    }

    .delivery-cta p {
        font-size: 10px;
        line-height: 1.4;
    }

    .delivery-cta .btn {
        min-height: 44px;
        margin-top: 2px;
    }
}
