:root {
    --bg: #d99e57;
    --cl: #111;
    --ff: #fff;
    --cc: #ccc;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    text-decoration: none !important;
    list-style: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bl);
}

::-webkit-scrollbar-thumb {
    background: var(--cl);
    border-radius: 20px;
}

@font-face {
    font-family: "PFHighwaySansPro";
    src: url("../fonts/PFHighwaySansPro-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "PFHighwaySansPro";
    src: url("../fonts/PFHighwaySansPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

img,
video {
    width: 100%;
}

body {
    overflow: hidden;
    overflow-y: auto;
}

.container {
    max-width: 1280px;
    margin: auto;
}

.text-bg-custom {
    background: var(--bg) !important;
}

.text-custom {
    color: var(--bg) !important;
}

.nav-link {
    color: var(--ff);
}

body.lang_en {
    font-family: "PFHighwaySansPro", "Segoe UI";
}

body.lang_ar {
    font-family: "Cairo", serif;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

section {
    min-height: 75vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
    max-width: 1280px;
    margin: auto;
    overflow: hidden;
    overflow-y: auto;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 280px;
}

.hasVerifiedEmail {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
    gap: 10px;
    color: var(--bs-danger);
    font-weight: bold;
}

.button_send {
    background-color: var(--cl);
    color: var(--bg);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    padding: 10px 30px;
}

.button_send:disabled,
.button_send:hover {
    opacity: 0.5;
}

.img_blog {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.img_blog input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.img_blog input[type="file"] {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.img_blog img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
    border-radius: 50%;
}

.img_blog .upload {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--cl);
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transform: translateX(-50%);
}

.img_blog .upload:hover {
    opacity: 0.7;
}

.disabled {
    pointer-events: none;
    opacity: 0.3;
}

textarea {
    resize: none;
    height: 150px;
}

.table-active {
    --bs-table-color-state: var(--ff);
    --bs-table-bg-state: var(--bg);
}

.table {
    --bs-table-border-color: var(--cl);
    --bs-table-striped-bg: var(--cl);
    --bs-table-active-bg: var(--cl);
    --bs-table-hover-bg: var(--cl);
}

.login {
    max-width: 500px;
    margin: auto;
    padding: 10px;

    .click_eye {
        cursor: pointer;
    }

    .btn {
        background: var(--cl);
        color: var(--ff);

        &:hover {
            opacity: 0.7 !important;
        }
    }
}

body.lang_ar .login {
    direction: rtl;
}

body.lang_en .login .input-group,
body.lang_ar .login .input-group {
    flex-direction: row-reverse;
}

.card .card-img-top {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.logo {
    max-width: 30px;
    margin: 0;
}

.active > .page-link,
.page-link.active {
    background-color: var(--bg) !important;
    border-color: var(--bg) !important;
}

@media screen and (max-width: 475px) {
    .card {
        font-size: 80%;
    }
}

.slick-prev:before,
.slick-next:before {
    color: var(--bg);
}

body.lang_ar .modal-header .btn-close,
body.lang_ar .offcanvas-header .btn-close {
    margin: 0 auto 0 0;
}

.size-option input[type="radio"] {
    display: none;
}

.size-option.active {
    background-color: var(--cl);
    color: var(--ff);
    border-color: var(--bl);
}

.size-option {
    cursor: pointer;
}

.size-option:hover {
    background-color: var(--cl);
}

body.lang_ar .search input,
body.lang_ar .card_product {
    direction: rtl;
}

.card_product:hover img {
    transform: scale(1.1);
}

.card_product .card_product_img {
    overflow: hidden;
}

.slick-track {
    margin-left: 0;
    margin-right: 0;
}

.slider_home,
.all_slider_home .slick-list,
.all_slider_home .slick-track,
.all_slider_home .slick-list img {
    height: 100% !important;
}

.slider_home .slick-list img {
    object-fit: cover;
}

.slider_home .slick-list::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #00000040;
}

.slider_home .slick-next {
    right: 0;
    left: auto !important;
    z-index: 2;
    width: auto;
    height: auto;
}

.slider_home .slick-prev {
    left: 0;
    right: auto !important;
    z-index: 2;
    width: auto;
    height: auto;
}

body.lang_ar .slider_home .slick-next {
    left: 0 !important;
    right: auto !important;
}

body.lang_ar .slider_home .slick-prev {
    right: 0 !important;
    left: auto !important;
}

#handle_navbar_scroll .navbar_logo_site {
    max-width: 50px;
}

.bg-transparent .nav-link.active {
    background: var(--bg) !important;
    border-radius: 10px;
}

.bg-dark .nav-link.active {
    background: var(--ff) !important;
    color: var(--bg) !important;
    border-radius: 10px;
}

.slider_home .slick-prev:before,
.slider_home .slick-next:before {
    font-size: 30px;
}

.sec-title {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.get_started {
    font-size: 150% !important;
}

.sec-title .title {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 24px;
    color: var(--bg);
    font-weight: 500;
    margin-bottom: 15px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 40px;
    color: var(--bg);
    font-weight: 600;
    padding-bottom: 18px;
}

.sec-title h2:before {
    position: absolute;
    content: "";
    left: 0px;
    bottom: 0px;
    width: 50px;
    height: 3px;
    background-color: var(--bg);
}

.sec-title .text {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
    margin-top: 35px;
}

.sec-title.light h2 {
    color: var(--ff);
}

.sec-title.text-center h2:before {
    left: 50%;
    margin-left: -25px;
}

.list-style-one li {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
    margin-bottom: 12px;
    display: flex;
    gap: 5px;
}

.about-section a {
    font-size: 20px;
}

.about-section a:hover {
    opacity: 0.7;
}

.about-section {
    position: relative;
    padding: 120px 0 70px;
    width: 100%;
}

.about-section .sec-title {
    margin-bottom: 45px;
}

.about-section .content-column .inner-column {
    position: relative;
    padding-left: 30px;
}

.lang_ar .about-section .content-column .inner-column {
    padding-left: 0;
    padding-right: 30px;
}

.about-section .text {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 26px;
    color: var(--cc);
    font-weight: 400;
}

.about-section .list-style-one {
    margin-bottom: 45px;
}

.about-section .image-column {
    position: relative;
}

.about-section .image-column .text-layer {
    position: absolute;
    right: -110px;
    top: 50%;
    font-size: 325px;
    line-height: 1em;
    color: var(--ff);
    margin-top: -175px;
    font-weight: 500;
}

.about-section .image-column .inner-column {
    position: relative;
    padding-left: 130px;
    padding-bottom: 60px;
    height: 85%;
}

.about-section .image-column .inner-column img {
    height: 100%;
    object-fit: cover;
}

.lang_ar .about-section .image-column .inner-column {
    padding-left: 0;
    padding-right: 130px;
}

.lang_ar .about-section .image-column .inner-column:before {
    left: auto;
    right: -50px;
    transform: rotateY(180deg);
}

.about-section .image-column .image-1 {
    position: relative;
    height: 100%;
    object-fit: cover;
}

.about-section .image-column .image-1 .lightbox-image {
    height: 100%;
}

.about-section .image-column .image-2 {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 300px;
}

.lang_ar .about-section .image-column .image-2 {
    left: auto;
    right: 0;
}

.about-section .image-column .video-link {
    position: absolute;
    left: 70px;
    top: 170px;
}

.about-section .image-column .video-link .link {
    position: relative;
    display: block;
    font-size: 22px;
    color: var(--bg);
    font-weight: 400;
    text-align: center;
    height: 100px;
    width: 100px;
    line-height: 100px;
    background-color: var(--ff);
    border-radius: 50%;
    box-shadow: 0 30px 50px var(--bg);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.about-section .image-column .video-link .link:hover {
    background-color: var(--bg);
    color: var(--ff);
}

.lang_ar .sec-title h2:before {
    left: auto;
    right: 0;
}

.home_categories .square-image,
.home_categories .wide-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.home_categories {
    margin-top: 70px;
    padding: 0 5%;
}

.home_categories .row a {
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.home_categories .row a::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: #2a514e53;
}

.home_categories .row a:hover img {
    transform: scale(1.2);
}

.home_categories .card-title {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: var(--ff);
    z-index: 2;
    direction: ltr;
}

.lang_ar .home_categories .card-title {
    left: auto;
    right: 5%;
    direction: rtl;
}

.long-description table {
    width: 100%;
    direction: ltr;
    font-size: 12px;
}

.long-description tr {
    text-transform: uppercase;
}

body.lang_ar .number_ar {
    direction: ltr;
    unicode-bidi: embed;
}

.home_stores {
    box-shadow: 0 -5px 5px #000;
    top: -3rem;
}

.special-price-section {
    background: url("../images/special-img.webp") center/cover no-repeat;
    position: relative;
}

.special-price-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slick-dots li {
    width: 12px !important;
    height: 12px !important;
}

.slick-dots li button {
    padding: 0 !important;
    border: 1px solid var(--bg);
    border-radius: 50%;
    width: 12px !important;
    height: 12px !important;
}

.slick-dots li button:before {
    color: transparent !important;
}

.slick-dots li.slick-active button {
    background: var(--bg) !important;
    width: 10px !important;
    height: 10px !important;
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--bg);
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover {
        opacity: 0.7;
    }
}

.play-video {
    display: none !important;
}

.video-container:hover .play-video {
    display: flex !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--bg) !important;
}

.iframe_map {
    border: 0;
    height: 400px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    line-height: 0;
    padding: 5px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: 25px;
}

table td {
    max-width: 200px;
}

.categories_home img {
    transition: all 5s ease-in-out;
}

.categories_home img:hover {
    transform: scale(1.5);
}

#handle_navbar_scroll .dropdown-menu {
    font-weight: 100 !important;
    font-size: 80% !important;
}

#handle_navbar_scroll .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

#handle_navbar_scroll .dropdown-submenu {
    position: relative;
}

#handle_navbar_scroll .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

#handle_navbar_scroll .dropdown-submenu:hover .dropdown-menu {
    display: block;
}

#handle_navbar_scroll .dropdown-submenu .dropdown-toggle::after {
    transform: rotate(-90deg);
}

body.lang_ar #handle_navbar_scroll .dropdown-submenu .dropdown-toggle::after {
    transform: rotate(90deg) !important;
}

body.lang_ar .dropdown-toggle::after {
    margin-left: 0 !important;
    margin-right: 0.255em !important;
}
body.lang_ar #handle_navbar_scroll .dropdown-submenu .dropdown-menu {
    left: auto !important;
    right: 100%;
    text-align: right;
}

.iso_certification {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 99999;
    width: fit-content;
}

.iso_certification img {
    width: 50px;
}

#services img {
    width: 60px;
}

footer {
    background: url("../images/footer_bg.webp") center/cover no-repeat;
}

footer .home_pages a {
    color: var(--ccc);
}

footer .nav-item {
    font-size: 12px;
}

footer .nav-item i {
    color: var(--bg);
}

footer .logo_footer {
    max-width: 150px;
}

.about_site_hero {
    background: url("../../frontend/images/about_site_hero.webp") no-repeat top
        center/cover;
    height: 30vh;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.about_site_hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slider-container .custom_button_home_image_stores {
    right: 0;
}

body.lang_ar .slider-container .custom_button_home_image_stores {
    right: auto !important;
    left: 0 !important;
}

.slider-container .custom-dots-home-image-stores {
    bottom: auto !important;
    top: 10%;
    right: 0;
    z-index: 9;
    max-height: 150px;
    overflow: hidden;
}

body.lang_ar .slider-container .custom-dots-home-image-stores {
    right: auto !important;
    left: 0 !important;
}

.slider-container .custom-dots-home-image-stores .slick-dots {
    position: static !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
}

.list-disc {
    list-style: disc !important;
}

body.lang_ar ol,
body.lang_ar ul {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

@media screen and (max-width: 768px) {
    .about-section {
        position: relative;
        padding: 60px 0 35px;
        overflow: hidden;
    }

    .card-text:last-child,
    .font-size-custom,
    .cta-section .btn,
    table,
    body,
    .btn,
    p {
        font-size: 80%;
    }

    .container-fluid {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    section {
        width: 95%;
    }

    .navbar_all_button {
        margin-left: 0;
        width: 100%;
    }

    footer .container .row {
        text-align: center;
    }

    footer .container .row .logo {
        margin: auto;
    }
    footer .nav-item {
        font-size: 10px;
    }
    footer .navbar-nav {
        gap: 1rem;
    }

    .about-section .content-column .inner-column {
        padding-left: 0;
    }

    .about-section .image-column .inner-column {
        padding-left: 50px;
        padding-bottom: 50px;
    }

    .about-section .image-column .inner-column:before {
        height: 100em;
        left: 0;
    }

    .div_about_service {
        max-width: 90%;
        margin: auto;
    }

    .home_categories .square-image,
    .home_categories .wide-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .about-section .image-column .image-2 {
        max-width: 200px;
    }

    .get_started {
        font-size: 100% !important;
    }

    .special-img {
        max-width: 90%;
    }

    .mobile-center {
        text-align: center;
        margin: auto;
    }

    #contact_us .form-control {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }

    .iframe_map {
        height: 250px;
    }

    .iso_certification img {
        width: 40px;
    }

    footer .navbar-nav {
        gap: 1rem;
    }

    .play-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 30px;
    }

    #services img {
        width: 30px;
    }

    footer .logo_footer {
        max-width: 100px;
    }

    .slider_home_image_stores .slide-img {
        aspect-ratio: 1/1 !important;
    }
}
