/* Restaurant Services & Ordering */

body.nwp-restaurant-modern
#services.nwp-services-ordering {

    background: white !important;
    color: #242424 !important;
    border-radius: 22px;
    padding: 30px 22px !important;
    box-sizing: border-box;
    scroll-margin-top: 130px;
}

#services.nwp-services-ordering
.nwp-so-grid {

    display: grid !important;

    grid-template-columns:
        repeat(auto-fit,minmax(190px,1fr));

    gap: 16px;

    width: 100%;
    min-width: 0;
}

#services.nwp-services-ordering
.nwp-so-service {

    display: flex;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;

    min-width: 0;

    gap: 12px;

    padding: 24px 15px;

    border: 1px solid #e8e5df;

    border-radius: 17px;

    background: #f8f7f4;

    text-align: center;

    color: #242424 !important;
}

#services .nwp-so-icon {

    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    border-radius: 18px;

    background: #ffffff;

    color: var(
        --service-color,
        var(--nwp-brand-primary,#211916)
    );
}

#services .nwp-so-icon svg {

    width: 34px;
    height: 34px;
}

#services .nwp-so-service h3 {

    font-size: 19px !important;

    font-weight: 800;

    margin: 0 !important;

    color: #242424 !important;
}

#services .nwp-so-service p {

    flex: 1;

    margin: 0 !important;

    font-size: 14px !important;

    line-height: 1.5;

    color: #666 !important;
}

#services .nwp-so-action {

    display: flex;

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

    width: 100%;

    min-height: 44px;

    box-sizing: border-box;

    padding: 10px 8px;

    background: var(
        --nwp-brand-secondary,
        #e8ad55
    ) !important;

    color: var(
        --nwp-brand-on-secondary,
        #211916
    ) !important;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none !important;

    border-radius: 10px;
}

#services .nwp-so-provider {

    background: var(
        --service-color,
        #242424
    ) !important;

    color: #ffffff !important;
}

@media(max-width:767px){

    #services.nwp-services-ordering
    .nwp-so-grid {

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

        gap: 10px;
    }

    #services.nwp-services-ordering
    .nwp-so-service {

        padding: 18px 10px;
    }

    #services .nwp-so-service h3 {

        font-size: 16px !important;
    }

    #services .nwp-so-service p {

        font-size: 12px !important;
    }
}

@media(max-width:340px){

    #services.nwp-services-ordering
    .nwp-so-grid {

        grid-template-columns: 1fr;
    }
}
