/* =========================
   ONLINE ORDER PAGE
========================= */

.online-order-page {
    direction: rtl;
}

/* =========================
   HERO
========================= */

.online-order-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    color: var(--maya-white);
    background-color: var(--maya-black);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.online-order-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(20, 8, 3, 0.30),
            rgba(20, 8, 3, 0.82)
        );
}

.online-order-hero .container {
    position: relative;
    z-index: 1;
}

.online-order-hero-content {
    width: min(680px, 100%);
    padding: 110px 0 70px;
}

.online-order-eyebrow {
    margin: 0 0 12px;
    color: var(--maya-yellow);
    font-size: 1.05rem;
    font-weight: 900;
}

.online-order-hero h1 {
    margin: 0 0 18px;
    color: var(--maya-white);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.15;
}

.online-order-hero-description {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 2;
}


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

.online-order-main {
    padding: 80px 0;
}

.direct-order-section {
    margin: 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--maya-red);
    font-size: 1.1rem;
    font-weight: 900;
}

.direct-order-text h2 {
    margin: 0 0 18px;
    color: var(--maya-white);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.25;
}

.direct-order-text > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 2;
}

.direct-order-benefits {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.direct-order-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 13px 0;
    color: var(--maya-white);
    font-weight: 700;
}

.direct-order-benefits i {
    color: var(--maya-yellow);
}

.direct-order-button {
    align-self: flex-start;
    min-width: 230px;
    margin-top: 10px;
}


/* Direct order */
.direct-order-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    overflow: hidden;
    color: var(--maya-white);
    background: var(--maya-black);
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.direct-order-media {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.direct-order-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(23, 23, 23, 0.55) 0%,
        rgba(23, 23, 23, 0) 65%
    );
    pointer-events: none;
}

.direct-order-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.direct-order-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 480px;
    color: var(--maya-yellow);
    background:
        radial-gradient(
            circle at center,
            rgba(255, 196, 0, 0.16),
            transparent 65%
        ),
        var(--maya-black);
    font-size: 6rem;
}

.direct-order-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

/* Divider */


.order-divider {

    display:flex;

    align-items:center;

    gap:20px;

    margin:40px 0;

}


.order-divider:before,
.order-divider:after {

    content:"";

    height:1px;

    background:#ddd;

    flex:1;

}


.order-divider span {

    font-size:22px;

    font-weight:bold;

}



/* Snapfood */


.snapfood-section {

    padding-top:5px;
}


.snapfood-intro {

    font-size:18px;

    margin-bottom:40px;

}


.snapfood-grid {

    display:grid;

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

    gap:30px;

}



.snapfood-card {

    background:white;

    border-radius:30px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.12);

}



.snapfood-image img {

    width:100%;

    height:230px;

    object-fit:cover;

}



.snapfood-content {

    padding:30px;

    text-align:center;
    

}


.snapfood-content h3 {

    font-size:28px;
    margin-bottom:14px;

}

.snapfood-content p{
    margin-bottom:24px;
    line-height:1.8;
}

@media(max-width:768px){

    .direct-order-card{

        padding:30px;

    }


    .direct-order-text h2{

        font-size:32px;

    }


    .snapfood-grid{

        grid-template-columns:1fr;

    }

    .direct-order-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .direct-order-media {
        min-height: 280px;
    }

    .direct-order-media img,
    .direct-order-placeholder {
        min-height: 280px;
    }

    .direct-order-text {
        padding: 32px 24px;
    }
}