/*
Theme Name: FoodMart
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: FoodMart is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page

    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
    /* widths for rows and containers
     */
    --modal-anim-time: 0.15s;
    --header-height: 160px;
    --header-height-min: 80px;
    --bs-modal-border-radius: 16px;
}

@font-face {
    font-family: 'Almarai-Regular';
    src: url("../fonts/Almarai-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'Almarai-Bold';
    src: url("../fonts/Almarai-Bold.ttf") format('truetype');
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
    :root {
        --header-height: 100px;
        --header-height-min: 80px;
    }
}

/* Theme Colors */
:root {
    --primary-color: #C8A951;
    --secondary-color: #1C1C1C;
    --main-color: #8B6F2f;
    --body-color: #FFFFFF;
}



.btn {
    padding: 10px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--bs-border-radius-sm);
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    color: white !important;
    background: var(--main-color) !important;
    border: var(--main-color) !important;
}

.btn-outline-primary {
    color: var(--main-color);
    background: white;
    border-color: var(--main-color) !important;
    border-style:dashed;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:active,
    .btn-outline-primary:focus {
        color: white;
        background: var(--main-color) !important;
        border-color: var(--main-color) !important;
    }

.btn-secondary {
    color: white;
    background: var(--secondary-color);
    border-radius: 5px !important;
    border-color: var(--secondary-color) !important;
}

.btn-success {
    color: white;
    background: var(--main-color);
    border-radius: 5px !important;
    border-color: var(--main-color) !important;
}

    .btn-success:hover {
        color: var(--main-color);
        background: white;
        border-radius: 5px !important;
        border-color: var(--main-color) !important;
    }

.btn-outline-secondary {
    color: var(--secondary-color);
    background: white;
    border-color: var(--secondary-color) !important;
    border-radius: 5px !important;
}



    .btn-outline-secondary:hover,
    .btn-outline-secondary:active,
    .btn-outline-secondary:focus {
        border-color: var(--secondary-color);
        background-color: var(--secondary-color) !important;
    }

.bg-secondary {
    background-color: var(--secondary-color) !important;
}



body {
    letter-spacing: 0.03em;
    font-family: "Almarai-Regular";
    background-color: var(--body-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
}

.breadcrumb.text-white {
    --bs-breadcrumb-divider-color: #fff;
    --bs-breadcrumb-item-active-color: var(--bs-primary);
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--bs-primary);
}

.nav-pills .nav-link {
    --bs-nav-pills-link-active-color: #111;
    --bs-nav-pills-link-active-bg: #f1f1f1;
}

.nav-link {
    font-weight: bold;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xxl,
.container-xxl {
    --bs-gutter-x: 3rem;
}

.text-primary {
    color: var(--main-color) !important;
}

.bg-primary {
    background-color: var(--main-color) !important;
}

.cart-product-image {
    border-radius: 10px;
    border: 1px solid var(--main-color);
    width: 90px;
    height: 90px;
}

.product-image-details-sticky-bar {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 1px dashed var(--main-color);
}

    .product-image-details-sticky-bar .tab-image,
    .cart-product-image .tab-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
header {
    top: 0;
    z-index: 1000;
}

@media screen and (min-width: 992px) {
}




.header {
    background-color: white;
    --tw-shadow: 5px 10px 30px #2B2D340D;
    --tw-ring-shadow: 0 0 rgba(0, 0, 0, 0);
    --tw-ring-offset-shadow: 0 0 rgba(0, 0, 0, 0);
    --tw-shadow-colored: 5px 10px 30px var(--tw-shadow-color);
    box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px #2B2D340D;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}


/* body.preloader-site {
  overflow: hidden !important;
} */

/* Preloader */
.preloader-wrapper {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    background: #fff;
}

    .preloader-wrapper .preloader {
        margin: 20% auto 0;
        transform: translateZ(0);
    }

.preloader:before,
.preloader:after {
    content: '';
    position: absolute;
    top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
    border-radius: 50%;
    width: 2em;
    height: 2em;
    background-color: #111;
    animation: animation 1.2s infinite ease-in-out;
}

.preloader {
    animation-delay: -0.16s;
}

    .preloader:before {
        left: -3.5em;
        animation-delay: -0.32s;
    }

    .preloader:after {
        left: 3.5em;
    }

@keyframes animation {

    0%, 80%, 100% {
        box-shadow: 0 2em 0 -1em var(--accent-color);
    }

    40% {
        box-shadow: 0 2em 0 0 var(--accent-color);
    }
}

/* *** Start editing below this line *** */
.container-fluid {
    max-width: 1600px;
}





/* banner ad */
.banner-adFirst {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

    .banner-adFirst.blue {
        background: #e6f3fb;
    }
    .banner-adFirst .main-swiper {
        width: 100% !important;
    }
    .banner-adFirst .swiper-slide img,
    .banner-adFirst .swiper-slide picture {
        width: 100%;
        height: 400px; /* أو أي ارتفاع ثابت مناسب */
        object-fit: cover; /* يقطع الزوائد ويحافظ على النسبة */
    }

    .swiper-pagination {
        bottom: 0px;
        left: 0;
        right: 0;
        top: 0
    }

    .swiper-pagination .swiper-pagination-bullet {
        width: 13px;
        height: 13px;
        margin: 4px;
        background:white;
        opacity: 1;
        transition: background 0.3s ease-out;
        border-radius: 10px !important;
    }

.about-us-swiper .swiper-pagination .swiper-pagination-bullet {
    background: white;
}

.border-primary {
    border-color: var(--main-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}


.border-success {
    border-color: var(--main-color) !important;
}



.text-secondary {
    color: var(--secondary-color) !important;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    width: 40px;
    height: 13px;
    opacity: 1;
    transition: background 0.3s ease-out;
    border-radius: 10px !important;
}

.about-us-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.about-us-swiper .swiper .swiper-slide,
.about-us-swiper .swiper-wraper {
    min-height: 400px;
}

.banner-adFirst .swiper-slide {
    min-height: 250px;
    max-height: 250px;
    width: 100% !important; 
}


.btn-link {
    margin-right: 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: right;
    text-transform: capitalize;
    color: #787878;
}



/* product tabs */

.product-grid-container-xxl {
    min-height: 100% !important;
}



.product-item {
    position: relative;
    background: var(--body-color);
    transition: 0.3s ease-out;
    overflow: hidden;
    border: .5px solid #948f8f;
    border-radius: 20px;
}

    .product-item:hover {
        border: .5px solid var(--main-color);
        background: white;
        transform: translateY(-10px);
    }

        .product-item:hover .body {
            background: white;
        }

    .product-item .body {
        position: relative;
        padding: 16px;
        background: var(--body-color);
        transition: 0.3s ease-out;
        overflow: hidden;
    }




    .product-item h3 {
        display: block;
        width: 100%;
        font-weight: 600;
        font-size: 18px;
        line-height: 25px;
        text-transform: capitalize;
        color: #333333;
        margin: 0;
    }

    .product-item figure {
        text-align: center;
        min-height: 250px;
        max-height: 250px;
        height: 250px;
        position: relative;
    }

    .product-item.sold-out figure::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        /* لون داكن شفاف */
        z-index: 2;
    }

    .product-item.sold-out figure img {
        filter: blur(2px);
        width: 100%;
        height: 250px;
        /* زيادة التعتيم وتحويلها إلى أبيض وأسود */
    }

    .product-item.sold-out figure::after {
        content: "نفذت الكمية";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-30deg);
        background: red;
        color: white;
        padding: 8px 12px;
        font-size: 16px;
        font-weight: bold;
        border: 2px solid white;
        z-index: 3;
        white-space: nowrap;
    }



.section-title {
    font-weight: bold;
    color: var(--main-color);
    padding-bottom: 5px;
}



.special-offer {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    right: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 20px;
    z-index: 3;
}

.product-item figure img {
    width: 100%;
}

.product-item .btn-wishlist {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d8d8d8;
    color: #000;
    transition: all 0.3s ease-out;
    flex-grow: 0;
}

    .product-item .btn-wishlist:hover {
        background: var(--main-color);
        color: #fff !important;
    }


.price,
.old-price {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 40px;
    text-transform: capitalize;
    margin-inline: 5px;
}

.price {
    color: var(--secondary-color);
    font-family: var(--body-font);
}

.old-price {
    text-decoration: line-through;
    color: red;
}





/* cart */
/* floating image */
.image-float {
    margin-top: -140px;
    margin-bottom: -140px;
}

@media screen and (max-width:991px) {
    .image-float {
        margin: 0;
    }

    header .container-fluid,
    header .container-xxl {
        padding-left: 5px;
        padding-right: 5px;
    }

    .text-twoline {
        line-height: 1.5;
        /* تحديد المسافة بين الأسطر */
        max-height: 6em;
        overflow: hidden;
        /* إخفاء النص الزائد */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* عدد الأسطر التي نريدها */
        -webkit-box-orient: vertical;
        /* تحديد الاتجاه العمودي للنص */
    }

    .banner3-ad {
        position: relative;
        width: 100%;
        min-height: 150px;
        overflow: hidden;
    }


    .menu-of-cart-fav-user a svg {
        width: 20px !important;
        height: 20px !important;
    }
}


/* post item */
.post-item .post-meta {
    font-size: 0.8rem;
    line-height: 1;
}

    .post-item .post-meta svg {
        margin-right: 5px;
    }

.nav-item {
    font-family: 'Almarai-Bold';
}

@media screen and (max-width: 991px) {

    /* offcanvas menu */
    .offcanvas-body .nav-item {
        font-weight: 700;
        border-bottom: 1px solid #d1d1d1;
    }

    .offcanvas-body .filter-categories {
        width: 100%;
        margin-bottom: 20px !important;
        border: 1px solid #d1d1d1 !important;
        padding: 14px;
        border-radius: 8px;
    }

    /* dropdown-menu */
    /* .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  } */
    /* 
  .dropdown-menu a {
    padding-left: 0;
  } */

    /* .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  } */
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
    height: 740px;
}

@media screen and (max-width:992px) {
    .product-thumbnail-slider {
        margin-top: 20px;
        height: auto;
    }

    .add-to-cart-text span {
        font-size: 12px !important;
    }
}


@media screen and (min-width:1200px) {
    .product-thumbnail-slider {
        height: 740px;
    }

    #sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .sticky-section {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .tool {
        width: 4em;
        height: 4em;
        right: 15em;
        bottom: 12em;
    }

    .w-xl-auto {
        width: auto !important;
    }
}

.add-to-cart-text {
    width: 100% !important;
    height: 100% !important;
    transition: .3s;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.product-category {
    font-size: 12px;
}

    .product-category a {
        background-color: var(--secondary-color);
        padding: 3px;
        border-radius: 10px;
        color: white !important;
    }

.product-title a {
    transition: .2s;
}

.product-title:hover a {
    color: var(--main-color) !important;
}

.add-to-cart-btn {
    width: auto;
    white-space: nowrap;
    flex-grow: 1;
    height: 35px;
}



.add-to-cart-icon {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    transform: translateX(100%);
    transition: .3s;
}

.add-to-cart-btn:hover .add-to-cart-icon {
    transform: translateX(0%);
}

.add-to-cart-btn:hover .add-to-cart-text {
    transform: translateX(-100%);
}

.color {
    width: 20px;
    height: 20px;
}
.navbar {
    min-height: 68px;
    height: 84px;
}
.navbar .navbar-brand img {
    max-height: 70px;
}
.navbar-toggler {
    border: none !important;
}

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

@media screen and (min-width: 992px) {
    header .nav-link {
        color: white;
    }

    .w-lg-auto {
        width: auto !important;
    }

    .banner-adFirst .swiper-slide {
        max-height: 630px;
    }

    .product-thumbnail-slider {
        height: 520px;
    }

    .header {
        background-color: var(--main-color) !important;
    }

    .hero-text {
        line-height: 1.5;
        max-height: 6em;
        max-width: 30em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .banner3-ad {
        position: relative;
        width: 100%;
        min-height: 450px;
        overflow: hidden;
    }


    .contact-us-section {
        min-height: 650px;
    }
}



header .nav-link:hover {
    color: #ffc604;
}

.cart-icon {
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
}

.number-of-items-in-favorite,
.number-of-items-in-cart {
    height: 22px;
    width: 22px;
    left: -10px;
    top: -10px;
    color: var(--main-color);
}

.user-list-container,
.menu-of-cart-fav-user a {
    width: 35px !important;
    height: 35px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    border: 1px solid var(--main-color) !important;
    background-color: transparent;
}


    .menu-of-cart-fav-user a svg {
        width: 20px;
        height: 20px;
    }

.user-list-2 a {
    width: 100% !important;
    justify-content: start !important;
    border: none !important;
}

.ad-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.contact-us svg {
    color: var(--main-color);
}

.product-model-image {
    /* or any specific width */
    /* You can adjust the height */
    overflow: hidden !important;
    /* Prevents image from overflowing */
    border: 2px solid var(--main-color);
    border-radius: 10px;
    /* Combined shorthand for border */
}

    .product-model-image img {
        object-fit: contain;
        object-position: center;
    }

.image-container-xxl {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.image-container .row {
    height: 450px;
}

.zoom-image {
    width: 100%;
    /* Ensure the image fits within the container-xxl initially */
    height: auto;
    transition: transform 0.1s ease-out;
    /* Smooth zoom animation */
    transform-origin: center center;
    opacity: 0;
    /* Default transform origin */
}

.image-container:hover .zoom-image {
    transform: scale(2);
    /* Zoom in the image on hover */
    cursor: zoom-in;
    opacity: .8;
}

/* Set a small width for the first column */
.modal-body table th:first-child,
.modal-body table td:first-child {
    width: 100px;
    /* Adjust as needed */
    text-align: center;
    /* Optional: Center align the content */
}

.product-quantity .btn {
    width: 40px;
    /* Adjust button size */
    height: 30px;
    font-size: 14px;
    line-height: 1;
    border-radius: 0 !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center-align the text */
}

.cart-page-item .product-quantity .btn {
    width: 40px;
    height: 40px;
}



.product-quantity .btn:first-child {
    border-radius: 0 5px 5px 0 !important;
}

.product-quantity .btn:last-child {
    border-radius: 5px 0 0 5px !important;
}

[dir=ltr] .product-quantity .btn:first-child {
    border-radius: 5px 0 0 5px !important;
}

[dir=ltr] .product-quantity .btn:last-child {
    border-radius: 0 5px 5px 0 !important;
}




.offcanvas-body input.quantity-input.form-control {
    height: 30px !important;
}

input.quantity-input.form-control {
    border-radius: 0;
    margin: 0 !important;
    border-color: var(--main-color) !important;
    border-left: 0;
    border-right: 0;
    /* Match button height */
    font-size: 14px;
}

.cart-page-item .quantity-input {
    height: 40px !important;
}



.product-add-to-cart-sticky .product-quantity .quantity-input,
.product-add-to-cart-sticky .product-quantity .btn,
.product-details .product-quantity .quantity-input,
.product-details .product-quantity .btn {
    height: 45px !important;
}



#search-form input {
    height: auto !important;
}

.main-categroy .btn {
    border-color: var(--main-color);
    color: var(--main-color);
}

    .main-categroy .btn.isSelected {
        background-color: var(--main-color);
        color: white;
    }

.main-subcateogry .btn.isSelected {
    background-color: var(--main-color);
    color: white;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input {
    border-color: var(--main-color);
}

    .form-check-input:focus {
        border-color: var(--main-color);
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(139, 111, 47, .25);
    }



.form-select,
.form-btn .btn {
    height: 40px;
}


.form-select,
.form-btn .btn {
    height: 40px;
}

.select2-container-xxl .select2-selection--single {
    height: 40px;
    /* Adjust the height as needed */
    line-height: 40px;
    /* Align text vertically in the middle */
    font-size: 16px;
    /* Adjust font size */
}

.search-bar .select2-container-xxl .select2-selection--single {
    height: auto;
    border: none;
    background-color: var(--body-color);
}

.select2-container-xxl .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
    height: 100%;
}

#autocomplete {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

#map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
}


.benefit-item {
    padding: 15px;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px dashed var(--main-color);
    border-radius: 10px;
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease;
}

    .benefit-item::before {
        content: "";
        position: absolute;
        top: -6px;
        left: -6px;
        width: calc(100% + 12px);
        height: calc(100% + 12px);
        border: 2px dashed var(--main-color);
        border-radius: 12px;
        transform: rotate(-2deg);
        z-index: -1;
        transition: transform 0.3s ease, top 0.3s ease, left 0.3s ease;
    }

    /* تأثير hover */
    .benefit-item:hover::before {
        transform: rotate(5deg); /* زيادة زاوية الميل */
        top: -10px; /* تحريك البوردر قليلاً للأعلى */
        left: -10px; /* تحريك البوردر قليلاً لليسار */
    }

    .benefit-item:hover {
        transform: translateY(-3px); /* رفع العنصر قليلاً عند hover */
    }


.benefit-icon {
    width: 70px;
    /* Adjust icon size */
    height: 70px;
    margin: 0 auto 10px;
    color: var(--main-color);
    /* Center icon and add spacing below */
}

.benefit-product-details {
    border: 1px dashed var(--main-color);
}


.benefit-icon svg, .benefit-icon i {
    font-size: 60px;
    width: 100%;
    height: 100%;
    fill: var(--main-color);
}

.benefit-product-details-icon i {
    width: 100%;
    height: 100%;
    color: crimson;
    font-size: 28px;
}



.benefit-text h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.benefit-product-details-text p {
    font-size: 18px;
    margin-bottom: 0px !important;
    color: #333;
    font-weight: bold;
}

.benefit-text p {
    font-size: 0.9em;
    color: #666;
    /* Example paragraph color */
}

.about-us.stats-section .stat-item > div {
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.stat-item svg {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    font-weight: bold;
}


.counter {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}

.line {
    width: 40px;
    height: 3px;
    border-radius: 10px;
    background-color: var(--main-color);
}

.app-mobile {
    padding-top: 60px;
    padding-bottom: 60px;
}

.banner2 {
    max-width: 1080px;
}

.banner2-card {
    position: relative;
    width: 100%;
    height: 70vh;
    border-radius: 12px;
    overflow: hidden;
}

    .banner2-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        position: absolute;
        top: 0;
        left: 0;
    }


.banner3-ad img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.franchise-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/images/toys.jpg') no-repeat center center / cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    background-attachment: fixed;
}

.franchise-why .feature-card svg {
    width: 100px !important;
    height: 100px !important;
    fill: var(--secondary-color);
}


.step-card {
    min-height: 230px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ddd;
}

    .step-card:hover {
        transform: translateY(-10px);
        background-color: #ffeff5;
    }

.icon-container-xxl {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background-color: #f0f8ff;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

    .icon-container-xxl svg {
        fill: #009688;
        width: 50px;
        height: 50px;
    }

.step-card:hover .icon-container-xxl {
    background-color: var(--secondary-color);
}

    .step-card:hover .icon-container-xxl svg {
        fill: white;
    }

.steps-swiper {
    position: relative;
}

    .steps-swiper .swiper-wrapper {
        overflow: visible;
    }

.swiper-button-next,
.swiper-button-prev {
    color: var(--main-color);
    transition: background-color 0.3s ease;
}

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 25px;
        font-weight: 900;
    }

.conditions .hover-effect:hover {
    background-color: #f7f7f7;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.conditions .fs-4 {
    font-size: 1.5rem;
}

.conditions .fs-5 {
    font-size: 1.125rem;
}

.conditions .badge {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
}

#franchiseForm .form-control {
    border-radius: 8px;
    padding: .8rem;
    font-size: 1rem;
    direction: rtl;
    text-align: right;
}

.froms-container {
    background: linear-gradient(135deg, #c8a951, #f5f5f5);
}

#franchiseForm .btn-primary {
    font-size: 1.125rem;
}



.form-control {
    height: 45px !important;
}

    .form-control:focus {
        box-shadow: none !important;
        border-color: var(--primary-color);
        border-style: dashed;
    }

    .form-control.is-invalid,
    .was-validated .form-control:invalid, .form-control.is-valid .was-validated .form-control:valid {
        border-style: dashed !important;
    }

#franchiseForm .invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
}


.input-group .select2-container--bootstrap-5 {
    flex-grow: 0 !important;
    height: 45px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border-color: #8B6F2F;
    box-shadow: 0 0 0 .25rem rgba(139, 111, 47, .25);
}

.input-text {
    width: 100px;
}

.form-control {
    flex-grow: 1;
    border: var(--bs-border-width) dashed var(--bs-border-color);
}

.form-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
}

.icon {
    width: 70px;
    height: 70px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 20px;
    transition: .2s;
}

    .icon svg {
        width: 30px;
        height: 30px;
        fill: white;
    }

.icon-cart {
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 20px;
    transition: .2s;
}

    .icon-cart i {
        color: white;
        font-weight: bold !important;
        font-size: 20px;
    }

.social-media-link {
    width: 40px;
    height: 40px;
    color: white;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .2s;
}

    .social-media-link:hover {
        background-color: white;
        color: var(--secondary-color);
    }

.social-media-link {
    width: 40px;
    height: 40px;
    color: white;
    background-color: #3A2E1B;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: .2s;
}

    .social-media-link:hover {
        background-color: white;
        color: #3A2E1B;
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-about-us {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-us-background.jpg') no-repeat center center/cover;
}

.about-us .hero-content {
    z-index: 1;
}

.product-details .section-title,
.about-us-section .section-title {
    border-radius: 30px;
    background-color: #8B6F2F20;
    color: var(--main-color) !important;
    font-size: 16px;
    display: inline-block;
    padding: 5px 10px;
}

.section-btn {
    border-radius: 30px !important;
    padding: 5px 20px;
    font-size: 20px;
    border: 2px solid var(--body-color) !important;
    transition: .2s;
}

    .section-btn:hover {
        background-color: var(--body-color) !important;
        border: 2px solid var(--main-color) !important;
        color: var(--main-color) !important;
        padding: 5px 30px;
    }

.hero-btn {
    border-radius: 30px !important;
    padding: 5px 20px;
    transition: .2s;
    border: 2px solid transparent !important;
}

    .hero-btn:hover {
        background-color: transparent !important;
        border: 2px solid var(--main-color) !important;
        color: var(--main-color) !important;
        padding: 5px 30px;
    }

.bi-arrow-left {
    transition: .2s;
}

.section-btn:hover .bi-arrow-left {
    transform: translateX(-5px);
}

[dir=ltr] .bi-arrow-left {
    transition: .2s;
    transform: rotate(180deg);
}

[dir=ltr] .section-btn:hover .bi-arrow-left {
    transform: translateX(5px) rotate(180deg);
}

.about-us-icon-section-parent {
    padding-top: 50px !important;
    background-color: white;
    border-radius: 30px;
    transition: .3s;
    border: 1px solid white
}

    .about-us-icon-section-parent:hover {
        transform: translateY(-10px);
        border: 1px solid var(--main-color)
    }

.about-us-icon-section {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e5b100;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}


.about-us-icon {
    position: relative;
}

    .about-us-icon::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #C8A95150;
        transition: width 0.3s, height 0.3s;
        z-index: -1;
    }

    .about-us-icon:hover::before {
        width: 90px;
        height: 90px;
    }

    .about-us-icon svg {
        fill: white;
        background-color: var(--primary-color);
        width: 70px;
        height: 70px;
        z-index: 2;
        padding: 20px;
        border-radius: 50%;
    }

.image-sticky-background {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/about-us-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.footer {
    color: white !important;
    border-top-left-radius: 3.5rem;
    border-top-right-radius: 3.5rem;
    position: relative;
    background: linear-gradient(to top right, #8b6f2f 0%, #b89642 40%, #c8a951 100%);
    color: #1C1C1C;
    overflow: hidden;
    font-size: 0.875rem;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../images/pattern.png") repeat;
        opacity: 0.2;
        pointer-events: none;
    }

.socotry-about {
    line-height: 2.2;
}

.golden-bg {
    width: 100%;
    background: linear-gradient(90deg, #fff 0%, #f5eacc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.golden-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f9e8b0;
}

.footer .about-us .footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.footer .about-us .footer-logo {
    filter: grayscale(100%) brightness(35%) sepia(100%) hue-rotate(-20deg) saturate(200%);
}

.footer-social-links {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.footer-social-links {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #3A2E1B;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

    .footer-social-links svg {
        fill: white;
    }

    .footer-social-links:hover {
        background-color: white;
    }

    .footer-social-links ~ a {
        transition: .2s;
        color: white;
    }

        .footer-social-links ~ a:hover {
            transform: translateX(-10px);
        }

    .footer-social-links:hover svg {
        fill: var(--main-color);
    }

    .footer-social-links:hover svg {
        fill: #3A2E1B;
    }

.quick-links li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.quick-links a {
    color: white;
    transition: .2s;
}

    .quick-links a:hover {
        color: #3A2E1B;
    }

    .quick-links a.active {
        color: #3A2E1B;
    }

.copyright {
    padding-top: 30px;
    padding-bottom: 5px;
    font-weight: bold;
}


.breadcrumb {
}

.swiper-next-prev-static .swiper-button-next,
.swiper-next-prev-static .swiper-button-prev {
    position: relative;
    margin-top: 0;
    display: block;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    /* محاذاة النص مع السهم */
}

    /* تخصيص السهم ليظهر بين العناصر */
    .breadcrumb-item + .breadcrumb-item::before {
        content: "";
        width: 12px;
        height: 12px;
        margin: 0 5px;
        display: inline-block;
        background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width=%2216%22 height=%2216%22 fill=%22currentColor%22 class=%22bi bi-chevron-left%22 viewBox=%220 0 16 16%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0%22%2F%3E%3C%2Fsvg%3E');
        background-size: contain;
        background-repeat: no-repeat;
        vertical-align: middle;
    }

[dir=ltr] .breadcrumb-item + .breadcrumb-item::before {
    transform: rotate(180deg);
}

.percent-svg {
    height: 20px;
    width: 20px;
    fill: var(--main-color);
}


.user-list .user-list-item a {
    padding: 10px !important;
    background-color: transparent;
    border-radius: 5px;
    border: 1px dashed transparent;
    transition: all .3s;
}

    .user-list .user-list-item a i {
        color: #6d6d6d;
        font-size: 18px;
    }


    .user-list-2 a.active,
    .user-list .user-list-item a.active,
    .user-list .user-list-item a:hover {
        background-color: #8B6F2F20;
        color: var(--main-color) !important;
        border-radius: 5px;
        border: 1px dashed var(--main-color);
    }


.dashboard-section a {
    display: block;
    padding: 10px;
    font-weight: 600;
    text-align: center;
    color: #555;
    border-radius: 10px;
    box-shadow: 0 0 4px #8B6F2F6b;
    transition: .2s;
    background-color: white;
}

    .dashboard-section a:hover {
        color: #555;
        background-color: #8B6F2F2a;
    }


.dashboard-icons svg {
    width: 40px;
    height: 40px;
}

.product-add-to-cart-sticky {
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 20;
    width: 100%;
    box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), -1px -2px 9px 0 rgba(0, 0, 0, 0.05)
}



.user-list-2 {
    position: absolute;
    z-index: 12;
    top: 50px;
    left: -50%;
    box-shadow: -1px -2px 9px rgba(0, 0, 0, 0.05);
}

[dir="ltr"] .user-list-2 {
    left: initial;
    right: -50%;
}

#userlist, #langlist {
    width: 220px;
    opacity: 0;
    transform: translateY(-500px);
    max-height: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease-out;
}

    #userlist.show, #langlist.show {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }

.user-image-container {
    width: 90px;
    height: 90px;
}

.Saudi_Riyal_Symbol svg {
    width: 15px;
    height: 15px;
}



/* تخصيص لون الحدود */
.select2-container--bootstrap-5 .select2-selection--single {
    border: 1px solid #ced4da;
    width: 100%;
    display: inline-block;
}


.select2-container--bootstrap-5 .flag {
    margin-left: 5px;
}

.select2-selection__rendered {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
}

.select2-results__option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered,
.select2-results__option,
.select2-selection__rendered {
    line-height: 2;
    display: block;
}

.order-list {
    max-height: 40vh;
    overflow-y: scroll;
}


.topleft {
    z-index: 0;
    position: absolute;
    width: 40em;
    height: 40em;
    right: 0;
    margin-right: -2.6em;
    margin-top: -6.7em;
}

.header-link {
    color: #000;
   font-size: 0.875rem;
}

    .header-link.active {
        color: var(--main-color);
        font-weight: bold;
    }

.header-link2 {
    color: var(--main-color) !important;
    border-color: var(--main-color);
    border-radius: 4em;
    border-style: solid;
    border-width: 1px;
    padding-bottom: 0.4em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.4em;
    font-size: 0.875rem;
    transition: .3s;
}

    .header-link2:hover {
        background-color: var(--main-color) !important;
        color: white !important;
    }



.rotate-center {
    animation: rotate-center 3s linear infinite alternate;
}

@keyframes rotate-center {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.car {
    right: 0;
    bottom: 0;
}

.slide-left {
    animation: slide-left 4000ms linear infinite alternate both;
    animation-duration: 4000ms;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: both;
    animation-play-state: running;
    animation-name: slide-left;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.downloadApp {
    font-weight: bold;
    transition: .3s;
    border: 1px solid var(--main-color) !important;
}

    .downloadApp:hover {
        background-color: transparent !important;
        color: var(--main-color) !important;
        border-color: var(--main-color) !important;
        border: 1px solid var(--main-color) !important;
        padding-inline: 20px !important;
    }

.navbar-nav .nav-item {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
}

.pagination .page-item .page-link {
    font-weight: bold;
    transition: .3s;
    color: var(--main-color);
    background-color: transparent !important;
    border: 1px solid var(--main-color) !important;
}

    .pagination .page-item .page-link:hover {
        background-color: var(--main-color) !important;
        color: white !important;
        padding-inline: 20px !important;
    }

    .pagination .page-item .page-link.active {
        background-color: var(--main-color) !important;
        color: white !important;
        border: 1px solid var(--main-color) !important;
    }

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: 0 0 10px rgba(200, 169, 81, 0.5);
    border-color: var(--primary-color);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background-color: var(--primary-color);
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: var(--primary-color);
}

.page-link {
    cursor: pointer;
}

    .page-link:focus {
        box-shadow: 0 0 10px rgba(200, 169, 81, 0.5);
    }


.pagination .page-item .page-link.disabled {
    background-color: #909090 !important;
    color: white !important;
    border: 1px solid #909090 !important;
}

.btn-wishlist.favorited svg {
    fill: red; /* القلب يصبح أحمر عند الإضافة */
}

.toast-small {
    font-size: 14px !important;
    padding: 8px !important;
    border-radius: 8px !important;
    min-width: 240px !important;
}

/* خلفيات */
.toast-success {
    background: #e8f9f1 !important;
    color: #0f5132 !important;
}

.toast-error {
    background: #fdecea !important;
    color: #842029 !important;
}

.toast-warning {
    background: #fff3cd !important;
    color: #664d03 !important;
}

.toast-info {
    background: #e7f1ff !important;
    color: #084298 !important;
}

.toast-question {
    background: #f0e7ff !important;
    color: #3d0075 !important;
}

/* ✅ Success */
.swal2-icon.swal2-success .swal2-success-ring {
    border: 0.25em solid #00c853 !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #00c853 !important;
}

/* ❌ Error */
.swal2-icon.swal2-error {
    border-color: #d50000 !important;
    color: #d50000 !important;
}

    .swal2-icon.swal2-error .swal2-x-mark-line-left,
    .swal2-icon.swal2-error .swal2-x-mark-line-right {
        background-color: #d50000 !important;
    }

/* ⚠️ Warning */
.swal2-icon.swal2-warning {
    border-color: #ff9100 !important;
    color: #ff9100 !important;
}

/* ℹ️ Info */
.swal2-icon.swal2-info {
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
}

/* ❓ Question */
.swal2-icon.swal2-question {
    border-color: #6f42c1 !important;
    color: #6f42c1 !important;
}

.swal2-toast h2:where(.swal2-title) {
    margin: .5em 1em !important;
}

.swal2-toast h2.swal2-title {
    margin: .5em 1em !important;
    /* !important ما يكفي لو Specificity منخفضة */
}

.btn-wishlist {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 24px; /* حجم الأيقونة */
    color: gray; /* لون غير المفضلة */
    transition: transform 0.2s ease, color 0.2s ease;
}

    /* نبض القلب */
    .btn-wishlist.pulse-heart i {
        transform: scale(1.3);
        transition: transform 0.2s ease;
    }



/* كلاس الاهتزاز */
input.shake {
    animation: shake 0.4s;
    border-color: #dc3545 !important;
    border-style: dashed !important;
    border-width: 2px;
    box-shadow: none;
}
#search-input {
    height: 60px !important;
    border: none;
    outline: none;
    padding-inline: 2.5rem 2.5rem; /* مكان للأيقونة و X */
}

.search-icon-wrap {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: rgba(156, 163, 175, 1);
    font-size: 1.2rem;
}

.btn-clear {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    display: none;
}

[dir="ltr"] .btn-clear {
    left: inherit;
    right: 0.75rem;
}

[dir="rtl"] .search-icon-wrap {
    left: inherit;
    right: 0.75rem;
}
    .search-results {
        margin-top: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        max-height: 300px;
        overflow-y: auto;
    }

/* أنيميشن الاهتزاز */
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

.overlay-container {
    overflow: hidden;
    position: relative !important;
    display: inline-block;
}


    .overlay-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2); /* طبقة غامقة خفيفة */
        transition: background 0.3s ease;
    }

    .overlay-container:hover::after {
        background: rgba(0,0,0,0.1); /* تخفيف الظل عند hover */
    }

    .overlay-container img {
        transition: transform 0.5s ease;
    }

    .overlay-container:hover img {
        transform: scale(1.05); /* تكبير الصورة عند hover */
    }


.btn-dark {
    border-radius: 30px !important;
    padding: 5px 10px;
    border: 2px solid var(--body-color) !important;
    transition: all 0.2s;
}

    .btn-dark:hover {
        background-color: var(--body-color) !important;
        border: 2px solid var(--secondary-color) !important;
        color: var(--secondary-color) !important;
        padding: 5px 15px;
    }

.main-category-carousel .category-card .main-categroy-image {
    width: 100%;
    height: 250px;
    min-width: 100px;
    min-height: 250px;
}
.main-category-carousel .category-card .main-categroy-image:hover{
    opacity:.9;
}
.category-card {
    /*    border: 1px dashed var(--primary-color);*/
    transition: all 0.3s ease-in-out;
    /*    display: flex;*/
    /*align-items: center;
        flex-direction:column;*/
    gap: 20px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

    .category-card:hover {
/*        transform: translateY(-6px);*/
    }

    .category-card h5 {
        color: #1C1C1C;
        font-weight: bold;
        margin-top: 10px;
    }


.main-category-carousel .category-card .main-categroy-image img {
/*    border: 2px dashed var(--primary-color);*/

}

.main-category-carousel .category-card .categroy-description {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-category-carousel .category-card .categroy-description {
    display: inline-block;
    width: calc(3 * 7ch); /* تقريباً 3 كلمات */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* شكل لودينغ بسيط داخل الزر */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        right: 10px;
        width: 16px;
        height: 16px;
        border: 2px solid #fff;
        border-top: 2px solid transparent;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.order-summary .list-group-item {
    border: none !important;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--main-color) !important;
}

    .order-summary .list-group-item:last-child {
        border: none !important;
    }

.order-summary .order-summary-header {
    padding: 20px 24px;
}



    .order-summary .order-summary-header .item-count {
        font-size: 0.9rem;
        color: #868686;
        background-color: color-mix(in srgb, #ffffff, #ffffff 50%);
        padding: 4px 10px;
        border-radius: 20px;
    }

.order-summary-section, .checkout-section {
    border-radius: 10px;
    background-color: white;
    border: 1px dashed var(--main-color) !important;
}

.order-summary .border-top-dashed {
    border-top: 1px dashed var(--main-color) !important;
}

.border-bottom-dashed {
    border-bottom: 1px dashed var(--main-color) !important;
}

.order-summary .border-dashed {
    border: 1px dashed var(--main-color) !important;
}

.checkout-section .section-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .checkout-section .section-header .section-number {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: var(--main-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

.checkout-section .section-content {
    padding: 24px;
}

    .checkout-section .section-content .payment-options {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
    }

        .checkout-section .section-content .payment-options .payment-option {
            flex: 1;
            min-width: 200px;
            position: relative;
        }

            .checkout-section .section-content .payment-options .payment-option input[type=radio] {
                position: absolute;
                opacity: 0;
                width: 0;
                height: 0;
            }

            .checkout-section .section-content .payment-options .payment-option label {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 16px;
                border: 2px solid color-mix(in srgb, var(--main-color), transparent 85%);
                border-radius: 12px;
                cursor: pointer;
                transition: all 0.25s ease;
                text-align: center;
                height: 100%;
            }

            .checkout-section .section-content .payment-options .payment-option input[type=radio]:checked + label {
                border-color: var(--main-color);
                background-color: color-mix(in srgb, var(--main-color), transparent 95%);
            }

            .checkout-section .section-content .payment-options .payment-option input[type=radio] + label .payment-icon {
                font-size: 1.8rem;
                margin-bottom: 8px;
                color: color-mix(in srgb, #212529, transparent 30%);
                transition: color 0.25s ease;
            }

            .checkout-section .section-content .payment-options .payment-option input[type=radio]:checked + label .payment-icon {
                color: var(--main-color);
                font-size: 1.8rem;
                margin-bottom: 8px;
                transition: color 0.25s ease;
            }

    .checkout-section .section-content .form-check .form-check-input {
        width: 18px;
        height: 18px;
        margin-left: -1.8rem;
        margin-top: 0.2rem;
        border: 2px solid color-mix(in srgb, var(--main-color), transparent 70%);
        cursor: pointer;
    }

    .checkout-section .section-content .form-check.terms-check .form-check-label {
        font-size: 0.85rem;
    }

    .checkout-section .section-content .form-check.terms-check {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .checkout-section .section-content .form-check .form-check-label a {
        color: var(--main-color);
        text-decoration: none;
        font-weight: 500;
    }

    .checkout-section .section-content .place-order-container .place-order-btn {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 12px;
        background-color: var(--main-color);
        border: none;
        cursor: pointer;
        user-select: all !important;
        box-shadow: 0 4px 12px rgba(54, 144, 231, 0.2);
        transition: all 0.3s ease;
    }

        .checkout-section .section-content .place-order-container .place-order-btn .btn-price {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 700;
        }


.border-dashed {
    border: 1px dashed var(--main-color) !important;
}

.address-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

    .address-card.default {
        border: 1px solid var(--main-color)
    }


    .address-card .card-header .default-badge {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
        background-color: color-mix(in srgb, var(--main-color), transparent 92%);
        color: var(--main-color);
    }

    .address-card .card-body .address-text {
        margin: 0 0 12px;
        font-size: 14px;
        line-height: 1.6;
    }


    .address-card .card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

        .address-card .card-actions button {
            height: 36px;
            padding: 0 16px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s ease;
        }

            .address-card .card-actions button.btn-edit {
                background-color: #f3f4f6;
                color: #6b7280;
                border: none;
            }

            .address-card .card-actions button.btn-remove {
                background-color: #fef2f2;
                color: #ef4444;
                border: none;
            }

            .address-card .card-actions button.btn-make-default {
                background-color: color-mix(in srgb, var(--main-color), transparent 92%);
                color: var(--main-color);
                border: none;
            }

.ticker-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--main-color);
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker-header {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--secondary-color);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

[dir="ltr"] .ticker-header {
    right: initial;
    left: 0;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-rtl 15s linear infinite; /* الافتراضي RTL */
}

/* RTL (عربي) */
@keyframes ticker-rtl {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* LTR (إنجليزي) */
[dir="ltr"] .ticker-content {
    animation: ticker-ltr 15s linear infinite;
}

@keyframes ticker-ltr {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

[dir="ltr"] .ticker-content {
    left: 100px;
}

.ticker-content {
    right: 100px;
}

.ticker-item {
    padding: 0 30px;
    font-weight: bold;
}

    .ticker-item a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }

        .ticker-item a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

/* حركة الـ Ticker */

/* متجاوب */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 14px;
        padding: 0 15px;
    }
}
/* تأثيرات للشريط */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #1C1C1Cb3;
    }

    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.ticker-header {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .ticker-header {
        font-size: 12px;
        padding: 0 10px;
    }

    [dir="ltr"] .ticker-content {
        left: 80px;
    }

    .ticker-content {
        left: initial;
        right: 80px;
    }

    .ticker-item {
        font-size: 14px;
        padding: 0 10px;
    }
}


.dashboard-section-header {
    background: linear-gradient(135deg, #5C4820, var(--main-color));
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 111, 47, 0.2);
    margin-bottom: 25px;
}

.notification-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
}

.notification-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .notification-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .notification-item.unread {
        border-left: 4px solid var( --main-color);
        border-right: 4px solid var( --main-color);
        background-color: #fdd48220;
    }

.notification-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.icon-order {
    background-color: #e6f7ff;
    color: #1890ff;
}

.icon-promotion {
    background-color: #f6ffed;
    color: #52c41a;
}

.icon-system {
    background-color: #fff7e6;
    color: #fa8c16;
}

.icon-security {
    background-color: #fff2f0;
    color: #ff4d4f;
}

.notification-time {
    font-size: 0.85rem;
    color: #6c757d;
}

.filter-btn {
    border-radius: 20px;
    margin-left: 5px;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding: 4px 10px;
}

.empty-state {
    padding: 40px 20px;
    color: #6c757d;
}

.add-address-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(139, 111, 47, 0.2);
    transition: all 0.3s;
}

    .add-address-btn:hover {
        color: var(--main-color);
        background-color: white;
        border-color: white;
    }

.reviews-section .section-title h2 {
    color: var(--main-color) !important;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

    .reviews-section .section-title h2:after {
        content: "";
        position: absolute;
        width: 60%;
        height: 3px;
        background: linear-gradient( to right, transparent, var(--main-color), transparent );
        bottom: -10px;
        right: 20%;
    }

.reviews-section .section-title p {
    color: #7a7a7a;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.6;
}

.reviews-section .swiper {
    padding: 30px 10px 60px;
}

.reviews-section .review-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #e8e1d5;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .reviews-section .review-card:before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( to left, var(--main-color), var(--primary-color) );
        transform: scaleX(0);
        transition: transform 0.5s ease;
    }

    .reviews-section .review-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(139, 115, 85, 0.15);
    }

        .reviews-section .review-card:hover:before {
            transform: scaleX(1);
        }

.reviews-section .perfume-img-container {
    position: relative;
    width: 100px;
    height: 100px;
}


.reviews-section .customer-img-container {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    position: relative;
}

.reviews-section .customer-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reviews-section .review-card:hover .customer-img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.reviews-section .customer-name {
    font-weight: 700 !important;
    color: var(--main-color) !important;
    margin-bottom: 8px !important;
    font-size: 1.3rem !important;
}

.reviews-section .review-category {
    color: #7a7a7a;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 5px 12px;
    background: #f8f5f0;
    border-radius: 15px;
    display: inline-block;
}

.reviews-section .review-text {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #3a3a3a;
    font-style: italic;
    position: relative;
    padding: 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .reviews-section .review-text:before {
        content: "\201C";
        font-size: 4rem;
        color: var(--primary-color);
        position: absolute;
        top: -25px;
        right: 0;
        opacity: 0.3;
        line-height: 1;
    }

.reviews-section .customer-info {
    border-top: 1px solid #e8e1d5;
}

.reviews-section .customer-avatar {
    width: 60px;
    height: 60px;
    border: 2px solid#f8f5f0;
}

.reviews-section .customer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3a3a3a;
}

.reviews-section .customer-date {
    font-size: 0.8rem;
    color: #7a7a7a;
    margin-top: 3px;
    text-align: start;
}

.reviews-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.reviews-section .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--main-color);
    transform: scale(1.2);
}

.reviews-section .swiper-button-next,
.reviews-section .swiper-button-prev {
    color: var(--main-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .reviews-section .swiper-button-next:after,
    .reviews-section .swiper-button-prev:after {
        font-size: 20px;
        font-weight: bold;
    }

    .reviews-section .swiper-button-next:hover,
    .reviews-section .swiper-button-prev:hover {
        background: var(--main-color);
        color: white;
        transform: scale(1.1);
    }

@media (max-width: 992px) {
    .reviews-section .section-title h4 {
        font-size: 2rem;
    }

    .reviews-section .section-title p {
        font-size: 1.1rem;
    }

    .reviews-section .review-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .reviews-section .section-title h2 {
        font-size: 1.8rem;
    }

    .reviews-section .review-card {
        padding: 20px;
    }

    .reviews-section .perfume-img-container {
        width: 85px;
        height: 85px;
    }

    .reviews-section .swiper-button-next,
    .reviews-section .swiper-button-prev {
        display: none;
    }

    .reviews-section .review-text {
        -webkit-line-clamp: 3;
    }
}

.reviews-section .swiper-slide {
    height: auto;
}

.reviews-section .verified-badge {
    color: var(--main-color);
}

.rating-info {
    margin-bottom: 12px;
}



    .rating-info .rating-value {
        color: #7a7a7a;
        font-size: 0.85rem;
    }

    .rating-info .star-rating {
        position: relative;
        display: inline-block;
        font-size: 1.2rem;
        color: #e0e0e0;
        user-select: none;
    }


        .rating-info.star-rating .stars-filled {
            position: absolute;
            inset: 0;
            overflow: hidden;
            white-space: nowrap;
            width: 0;
            color: #ffc107;
            transition: width 0.3s ease;
        }


        .rating-info .star-rating i {
            pointer-events: none;
        }

.show-more-btn {
    background: transparent;
    border: none;
    color: var(--main-color);
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 8px;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.review-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e8e1d5;
}

.customer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
    border: 2px solid #f8f5f0;
}

.customer-info {
    text-align: right;
}

.customer-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3a3a3a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-date {
    font-size: 0.8rem;
    color: #7a7a7a;
    margin-top: 2px;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e1d5;
}

.modal-customer-img {
    width: 70px;
    height: 70px;
    border: 3px solid #f8f5f0;
}

.modal-customer-info {
    flex: 1;
}

.modal-customer-name {
    font-weight: 700 !important;
    color: var(--main-color);
    font-size: 1.3rem !important;
    margin-bottom: 5px !important;
}

.modal-review-category {
    color: #7a7a7a;
    font-size: 0.9rem;
    background: #f8f5f0;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
}

.modal-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 5px;
}

.modal-review-text {
    line-height: 1.8;
    color: #3a3a3a;
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
    position: relative;
}

    .modal-review-text:before {
        content: "\201C";
        font-size: 5rem;
        color: var(--primary-color);
        position: absolute;
        top: -30px;
        right: 0;
        opacity: 0.2;
        line-height: 1;
        font-family: serif;
    }

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e8e1d5;
}

.modal-review-date {
    color: #7a7a7a;
    font-size: 0.85rem;
}

.close-modal {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .close-modal:hover {
        background: var(--primary-color);
    }

/* تحسينات للشاشات الصغيرة */
@media (max-width: 992px) {
    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .review-card {
        padding: 20px 15px;
    }

    .reviews-section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {


    .reviews-section {
        padding: 40px 0;
        border-radius: 15px;
    }

    .footer {
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .section-title p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .review-card {
        padding: 18px 12px;
        margin: 0 5px;
    }

    .customer-img-container {
        width: 80px;
        height: 80px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .review-text {
        -webkit-line-clamp: 3;
        font-size: 0.9rem;
    }

    .review-modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.7rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .review-card {
        padding: 15px 10px;
    }

    .customer-name {
        font-size: 1.2rem;
    }



    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-customer-img {
        margin-left: 0;
        margin-bottom: 10px;
    }
}


.show-more-btn:hover {
    color: var(--primary-color);
}

.modal .btn {
    padding: 10px;
    padding-inline: 16px;
    border-radius: 16px;
}

.modal .btn-close {
    background: none;
    padding: 10px;
    display: flex;
    justify-items: center;
    align-items: center;
}

    .modal .btn-close i {
        transform: rotate(45deg);
        font-size: 32px;
    }


.btn-close:focus {
    outline: 0;
    box-shadow: none;
    color: red !important;
}

.modal.fade {
    opacity: 0;
    transition: opacity var(--modal-anim-time) linear;
}

    .modal.fade.show {
        opacity: 1;
    }

.modal-dialog {
    justify-content: center;
}

.modal-content {
    --bs-modal-border-radius: 16px;
}

.modal-header {
    border-bottom: none;
    margin-bottom: 0;
    padding: 24px;
    padding-bottom: 0;
}

.modal-content .modal-body {
    padding: 24px;
    padding-top: 12px;
}

.modal-content .modal-footer {
    padding: 24px;
    padding-top: 12px;
}

.modal.fade .modal-dialog {
    transform: scaleX(0.6) scaleY(0.6);
    opacity: 0;
    transition: transform var(--modal-anim-time) cubic-bezier(0.2, 0.8, 0.2, 1), opacity var(--modal-anim-time);
    transform-origin: center center;
}

.modal.fade.show .modal-dialog {
    transform: scaleX(1) scaleY(1);
    opacity: 1;
}


.modal-backdrop {
    --bs-backdrop-bg: rgba(107, 114, 128, 0.75) !important;
}

    .modal-backdrop.fade {
        opacity: 0;
        transition: opacity var(--modal-anim-time) linear;
    }

        .modal-backdrop.fade.show {
            opacity: 0.5;
        }

.payments-list {
    gap: 0px;
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, .4);
}

.payments-list-item {
    display: flex;
    height: 2rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    --tw-bg-opacity: 1;
    border-style: none !important;
    background-color: transparent !important;
    padding: 0.25rem;
}

    .payments-list-item a {
        transition-property: opacity;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 150ms;
    }

    .payments-list-item img {
        width: 1.8rem;
        height: 100%;
    }

    .payments-list-item img {
        max-height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
    }
