
* {
    font-family: 'Cairo', sans-serif;
}

html {
    height: 100% !important;
}

body {
    min-height: 100% !important;
    padding: 0 !important;
    user-select: none !important;
    overflow-x: hidden !important;
    background-color: #f3f5f9;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(0 0 0 / 35%);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

.cursor-pointer {
    cursor: pointer !important;
}

.modal-content {
    border-radius: 2.5rem !important;
}

.swal2-modal {
    border-radius: 2.5rem !important;
}

.type-title {
    font-size: 1.35rem !important;
}


.item-card.fade:not(.show) {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}


.btn-main {
    --bs-btn-color: #ffffff !important;
    --bs-btn-bg: #8e0033 !important;
    --bs-btn-border-color: #5b082e;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #61052f;
    --bs-btn-hover-border-color: #6c0936;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #8e0033;
    --bs-btn-active-border-color: #6c0936;
    --bs-btn-active-shadow: inset 0 3px 5px #00000020;
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #5b082e;
    --bs-btn-disabled-border-color: #5b082e;
}

.text-main {
    color: #8e0033 !important;
}

.bg-main {
    background-color: #8e0033 !important;
}

#HomePage {
    height: 100vh !important;
    background: linear-gradient(0deg, #000000c7, #0000001f), url(https://i.pinimg.com/736x/ed/15/69/ed1569f5382e14e57451c9087de97f00.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

#HomePage h1 {
    line-height: initial;
    font-size: 4.5rem !important;
    color: #fff;
}

#HomePage p {
    color: #fff;
}

#HomePage .btn {
    font-size: 2.5rem !important;
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
}

#HomePage #order_type {
    padding-top: 15% !important;
    padding-bottom: 30% !important;
}

#HomePage #order_type .card {
    border: 0 !important;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.15)
}

#HomePage #order_type .card p {
    font-size: 1.75rem !important;
}

@media (max-width: 576px) {
    #HomePage .btn {
        font-size: 1.5rem !important;
    }

    #HomePage h1 {
        font-size: 2.5rem !important;
    }

}


/* PAGE #2 STYLES*/
#MenuPage {
    padding-bottom: 100px !important;
}


#MenuPage .logo {
    background: url("https://www.zuwar.ps/uploads/site_banners/2f6acfdbd5490ac9996e541e5259417f.jpg");
    width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;

}

#MenuPage .logo img {
    border: 1px solid white;
    height: 130px;
    border-radius: 50%;
    background-color: white;
}


#MenuPage .categories-container {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: start;
    margin: 10px 0 10px 0;
}


#MenuPage .category {
    border-radius: 26px;
}

#MenuPage .category img {
    height: 150px !important;
    width: 150px !important;
    object-fit: cover;
    border: 5px solid white !important;
    border-radius: 26px;
    background: white;
    transition: all .3s ease-in-out;
}

#MenuPage .category.active img {
    border: 5px solid #8e0033 !important;
}

#MenuPage .category .card-body {
    background-color: #8e0033;
    padding: 0;
    border-radius: 26px 26px 0 0;
}


#MenuPage .category .card-footer {
    background-color: #8e0033;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 26px 26px;
    max-width: 150px;
}


#MenuPage .product {
    background: #fff;
    box-shadow: 0 0.3rem 1.525rem -0.375rem rgb(0 0 0 / 10%) !important;
    padding: 15px;
    min-height: 185px;
    border-radius: 6px;
}

#MenuPage .product .name {
    font-size: 13px !important;
    font-weight: bold !important;
}

#MenuPage .product .price {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 5px;
}

#MenuPage .product .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 18px;
    max-height: 40px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px !important;
    margin-bottom: 10px;
}


#MenuPage .product img {
    object-fit: contain !important;
}


@media (max-width: 576px) {
    #MenuPage .category .card-footer {
        max-width: 135px !important;
    }


    #MenuPage .category img {
        height: 135px !important;
        width: 135px !important;
    }

    #MenuPage .product .btn-main {
        font-size: 13px !important;
    }

    #MenuPage .logo {
        height: 110px;
    }

    #MenuPage .logo img {
        height: 85px;
    }


}


#PaymentPage {
    height: 100vh !important;
}

#PaymentPage h3 {
    font-size: 3.5rem !important;
    padding-top: 30% !important;
    margin-bottom: 50px;
}

#PaymentPage h2 {
    font-size: 4rem !important;
    padding-top: 10% !important;
}


#PaymentPage #payment_type {
    padding-top: 15% !important;
    padding-bottom: 10% !important;
}

#PaymentPage #payment_type .card {
    border: 0 !important;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.15)
}

#PaymentPage #payment_type .card p {
    font-size: 1.75rem !important;
}


#PaymentPage #footer {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99 !important;
    box-shadow: 0.1rem 0 1rem 0 rgba(0, 0, 0, .175) !important;
}

#PaymentPage #footer .top {
    background-color: #8e0033 !important;
    padding: 10px 20px !important;
}

#PaymentPage #footer .bottom {
    background-color: white !important;
    padding: 15px 20px !important;
}

#PaymentPage #footer .top .total {
    font-size: 1.45rem !important;
    margin-bottom: 0 !important;
}

#PaymentPage .btn.menu {
    font-size: 2.5rem !important;
    padding-right: 4rem !important;
    padding-left: 4rem !important;
}

@media (max-width: 576px) {
    #PaymentPage #payment_type .card p {
        font-size: 1.35rem !important;
        margin-bottom: 0;
    }

    #PaymentPage h3 {
        font-size: 2.5rem !important;
    }

}


#ReceiptPage {
    height: 100vh !important;
}

#ReceiptPage .back-to-home {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    line-height: 80px;
}

@media (max-width: 576px) {

    #ReceiptPage h1 {
        font-size: 2.5rem !important;
        margin-bottom: 20px;
    }

}
