:root {
    --primary: #4C5BA8 !important;
    --second-primary: #9CB9D3 !important;
    --dark-100: #231F20 !important;
}

/* English Font (Chillax) */
@font-face {
    font-family: "Chillax";
    src: url("fonts/Chillax-ttf.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Arabic Font (Cairo) */
@font-face {
    font-family: "Cairo";
    src: url("fonts/Cairo-ttf.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Default body style */
body, .testimonial blockquote p {
    font-family: "Chillax", sans-serif !important; /* English fallback */
}

/* Arabic text */
body[dir="rtl"],
html[lang="ar"] {
    body, .testimonial blockquote p {
        font-family: "Chillax", "Cairo", sans-serif !important;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid var(--primary); /* primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Header */
#header {
    /*.header-logo img {*/
    /*    top: 25% !important;*/
    /*}*/

    @media (max-width: 575px) {
        .header-logo img {
            top: 14px !important;
        }
    }
    .logo {
        width: 150px;
    }

    .lang-flag {
        width: 20px;
    }

    .user {
        min-width: 200px !important;
    }

    @media (max-width: 991px) {
        .user {
            box-shadow: 0 10px 30px 10px rgba(0, 0, 0, 0.05) !important;
        }
    }

    @media (max-width: 575px) {
        .welcome {
            display: none;
        }
    }

    @media (min-width: 991px) {
        .header-nav-main nav > ul > li.menu-mobile {
            display: none;
        }
    }

    @media (min-width: 575px) {
        .welcome-list {
            display: none;
        }
    }
}


/* Slider */
.owl-carousel {
    .owl-nav {
        &:lang(ar) {
            button.owl-prev::before {
                content: "\f054" !important;
            }

            button.owl-next::before {
                content: "\f053" !important;
            }
        }

    }
}

/* Breadcrumb */
.breadcrumb {
    &:lang(ar) {
        li + li::before {
            content: "\f104";
        }
    }
}

/* Category */
.category {
    .card {
        width: fit-content;
    }

    .card-body {
        padding: 0 !important;
    }

    img {
        width: 200px;
    }

    a:hover {
        text-decoration: none;
        color: var(--second-primary);
    }

    @media (max-width: 575px) {
        img {
            width: 165px;
        }
    }
}

/* Shop */
.shop {
    &:lang(ar) {
        ul.nav-list li a::before {
            content: "\f053";
        }
    }

    .nav-link {
        &:active, &.active {
            color: var(--primary);
        }
    }
}

.product-image {
    width: 100%;
    height: 242px;
}

.single-product-image {
    width: 508px;
    height: 508px;
}

@media (max-width: 992px) {
    .single-product-image {
        height: 200px !important;
    }
}


/* General Styles */
.mfp-bottom-bar {
    &:lang(ar) {
        .mfp-counter {
            direction: ltr !important;
        }
    }
}

body:lang(ar) button.mfp-arrow.mfp-arrow-right::after {
    content: "\f053";
    left: -18px !important;
}

body:lang(ar) button.mfp-arrow::after {
    content: "\f054";
    right: 18px !important;
}

.home-concept {
    &:lang(ar) {
        .our-work, strong {
            font-family: "Chillax", "Cairo", sans-serif !important;
        }
    }
}

.text-bg-success {
    background-color: RGB(18, 73, 48) !important;

}

.price-custom {
    font-size: 11px !important;
}


.phone {
    direction: ltr !important;
    unicode-bidi: embed !important;
}

&:lang(ar) {
    .fa-angle-right {
        --fa: "\f104" !important;
    }

    ul.nav-list li a::before {
        content: "\f053" !important;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1121px;
    }
}

@media (max-width: 576px) {
    .order-class {
        order: -1 !important;
    }
}

/* Blog */

.blog-image {
    height: 220px;
    width: 332px;
}

.single-blog-image {
    height: 500px;
    width: 900px;
}

@media (max-width: 992px) {
    .single-blog-image {
        height: 200px !important;
    }
}

/* Contact */

.google-map iframe {
    width: inherit !important;
}

/* Footer */

#footer {
    &:lang(ar) {
        input {
            text-align: end;
        }
    }

    .footer-ribbon span {
        &:lang(ar) {
            font-family: "Chillax", "Cairo", sans-serif !important;
        }

        font-style: italic;
    }


    p {
        text-align: justify;
    }

    .footer_logo {
        width: 10rem;
    }
}


