﻿@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/mohammad-bold-art-1.woff2") format("woff2");
    font-weight: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF;
}
@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/mohammad-bold-art-1.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF;
}
@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/mohammad-bold-art-1.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF;
}
@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/mohammad-bold-art-1.woff2") format("woff2");
    font-weight: 200;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF;
}
@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0030-0039, U+0020-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0030-0039, U+0020-007F, U+00A0-00FF, U+0100-017F;
}

@font-face {
    font-family: "MainFont";
    src: url("/assets/fonts/Poppins-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
    unicode-range: U+0030-0039, U+0020-007F, U+00A0-00FF, U+0100-017F;
}

#page-loader {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

    #page-loader img {
        width: 120px;
        height: auto;
    }



.table {
    display: block !important;
}
body {
    font-family: "MainFont", sans-serif !important;
    font-weight: 500;
    background-color: #f9f9f9;
    direction: rtl;
    overflow-x: hidden;
}

p {
    font-size: 18px; 
    line-height: 1.7; 
}

/*Card Simple Style Override*/
.card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: center;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        border-color: #d0d7de;
    }
    .card .card-body {
        padding: 1.75rem;
    }

    .card .card-title {
        font-weight: 600;
        color: #212529;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .card .card-text {
        color: #555;
        font-size: 0.98rem;
        line-height: 1.7;
    }
    .card .card-img-top {
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        object-fit: cover;
        height: 200px;
    }

.container-xl-center {
    max-width: 90%; 
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}




.scroll-top {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: #87c508 !important;
}

.single-product {
    height: 1%;
    min-height: 400px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: 0.3s ease-in-out;
}

.product-image img {
    height: 220px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.product-info {
    padding-top: 10px;
    text-align: center;
}

.badge.av, .badge.un {
    font-size: 13px;
    padding: 5px 10px;
    margin-top: 5px;
}

.price {
    margin-top: 10px;
}

.socialf {
    margin-left: -70px !important;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
}

.carousel-image {
    width: 45%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    #gallery .relative {
        height: 300px;
    }
}


/* الحاوية العامة */
.product-details-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    min-height: 400px;
    direction: rtl;
}




.call-action {
    background-color: #394d2c !important;
}



.quantity-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* الليبول */
.quantity-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 0;
}

/* مربع الكمية */
.quantity-input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

    .quantity-input:focus {
        border-color: #555;
        outline: none;
    }


.blog-content {
    text-align: start;
}

/*map*/
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

    .map-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
/*end of map*/

/*About us*/
.stats-section .stat-card {
    padding: 20px;
    position: relative;
}

    .stats-section .stat-card:not(:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.2);
    }
