body {
    font-family: 'IRANSansX', sans-serif;
    overflow-x: hidden;
}

/* ----- Global styles (Global Responsive styles are at the end of this section  --------- */
.primary-color {
    color: #81998C;
}

.motion-home img {
    width: 100%;
}

.motion-desktop {
    display: block;
}

.motion-mobile {
    display: none;
}

.custom-icon-base {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: sub;
}

.pointer {
    cursor: pointer;
}

.swiper-wrapper {
    margin-bottom: .1rem;
}


.lable-color {
    color: #837D7D;
}

.fa-minus {
    font-size: .7em;
}

.fa-plus {
    font-size: .7em;
}

/*breadcrumb of all pages*/
.page-breadcrumb {
    font-size: 14px;
}

    .page-breadcrumb a {
        color: #81998C;
        text-decoration: none;
    }

    .page-breadcrumb span {
        margin: 0 5px;
        color: #6c757d;
    }

    .page-breadcrumb a:hover {
        text-decoration: underline;
    }

    .page-breadcrumb [aria-current="page"] {
        color: #000;
    }

.expand-icon {
    background: url(/assets/Site/images/tab-arrow-expand.png) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

/*Global style for all checkboxes*/
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    font-size: 2rem;
    padding: 0.1rem;
    border: 1px solid #81998C;
    border-radius: 0.5rem;
    margin-left: 6px;
}

    input[type="checkbox"]::before {
        content: "";
        width: 1.1rem;
        height: 1.1rem;
        clip-path: polygon(15% 50%, 25% 60%, 45% 80%, 85% 20%, 75% 10%, 45% 60%, 30% 45%, 20% 55%);
        transform: scale(0);
        background-color: #81998C;
    }

    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }

    input[type="checkbox"]:hover {
        color: black;
    }

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: rgb(129, 153, 140) !important;
}

.header-search-box:focus {
    box-shadow: none;
}

.header-search-box:focus-visible {
    border: none;
}

.accordion-expand-icon {
    background: url('../images/Expand_down_stop_light.png') no-repeat center center;
    background-size: contain;
}

.no-product-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.no-product-found {
    display: inline-flex;
    justify-content: center;
}

    .no-product-found img {
        object-fit: contain;
        width: 300px;
        height: 300px;
    }

.suggest-tags-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.suggest-tags-container {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.suggest-tag-item {
    font-size: 16px;
    padding: .5rem 1rem;
    margin: .3rem;
    background-color: #D9D9D9;
    color: #81998C;
    border-radius: .7rem;
    text-decoration: none;
}

.add-to-cart-btn.is-loading {
    color: transparent !important;
}

    .add-to-cart-btn.is-loading::after {
        content: '';
        position: absolute;
        width: 1em;
        height: 1em;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid #ffffff;
        border-radius: 50%;
        border-right-color: transparent;
        animation: spin 0.75s linear infinite;
    }

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#backToTopButton {
    display: inline-block;
    background-color: #fff;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    left: 30px;
    transition: background-color .5s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-decoration: none;
    color: transparent;
    outline: 1px solid #837D7D;
}

    #backToTopButton::after {
        content: "\2191 ";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 1.5em;
        line-height: 40px;
        font-size: 1.2em;
        line-height: 30px;
        color: #837D7D;
    }

    #backToTopButton.show {
        opacity: 1;
        visibility: visible;
    }

@media (min-width: 500px) {
    #backToTopButton {
        margin: 30px;
        width: 40px;
        height: 40px;
    }

        #backToTopButton::after {
            font-size: 1.5em;
            line-height: 40px;
        }

        #backToTopButton:hover::after {
            color: #fff;
        }

        #backToTopButton:hover {
            cursor: pointer;
            background-color: #81998C;
            outline: 1px solid #81998C;
        }

        #backToTopButton:active {
            background-color: #555;
        }
}

@media (min-width: 765px) {
    .fixed-price-container {
        display: none;
    }
}

@media (max-width: 992px) {
    .fixed-price-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 10px 10px 10px;
        background-color: #F1F3EE;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 9;
    }

    .fixed-add-to-cart-btn {
        background-color: #81998C;
        border-radius: 10px;
        color: #fff;
        border: none;
        padding: .6rem;
    }
  
}

@media (max-width: 577px) {
    .code-info-section {
        font-size: 12px !important;
    }

    .suggest-tags-container {
        flex-wrap: wrap;
    }

    .suggest-tag-item {
        font-size: 14px;
    }

    .no-product-block h1 {
        font-size: 20px;
    }

    .no-product-found img {
        object-fit: contain;
        width: 250px;
        height: 250px;
    }

    .card-body {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}

/* --------------------------------------- */
/* _Layout account dropdown */
.account-dropdown .account-dropdown-toggle {
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: #81998C;
}

.account-dropdown-menu {
    display: none;
    border: 1px solid #81998C;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    width: 250px;
    text-align: right;
    background-color: #fff;
    position: absolute;
    left: 15%;
    z-index: 999;
}

    .account-dropdown-menu.show-drop {
        display: block;
    }

.account-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #4F4F4F;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #81998C;
    padding: 8px 0px;
}

    .account-dropdown-item:last-child {
        border-bottom: none;
    }

.account-dropdown-link {
    color: #000;
}

    .account-dropdown-link:focus {
        color: #000;
    }

    .account-dropdown-link:hover {
        color: #212121;
    }

/* ----------------------- */
/* Desktop Navbar */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255);
}

.menu-bar-icon {
    display: inline-block;
    background: url('../images/menu-bar-icon.png') no-repeat center center;
    background-size: contain;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.nav-item {
    padding-left: 8px;
    padding-right: 8px;
}

    .nav-item:hover .mega-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }

.mega-menu {
    position: absolute;
    top: 100%;
    width: 100vw;
    margin-top: -7px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
    z-index: 100;
    margin-left: -50vw;
    left: 50%;
}

.mega-menu-heading {
    color: #81998C;
    margin-bottom: 1rem
}

    .mega-menu-heading a {
        color: #81998C;
        text-decoration: none;
    font-size: 20px !important;
        font-weight: 500;
    }

    /*.mega-menu-heading a {
        color: #81998C;
        text-decoration: none
    }*/

.mega-menu-context {
    display: flex;
    flex-wrap: wrap;
}

.mega-column {
    float: right;
    width: 20%;
}

    .mega-column .mg-menu-lv2 {
        font-size: 19px;
        font-weight: bold;
        color: #81998C;
        border-right: 3px solid #81998C;
        padding-right: 14px;
        display: block;
        margin-bottom: 4px;
    }

        .mega-column .mg-menu-lv2 a {
            color: #81998C;
            text-decoration: none
        }

    .mega-column ul {
        list-style: none;
        padding: 0;
    }

        .mega-column ul li {
            display: flex;
            align-items: baseline;
            margin-bottom: .2rem;
        }

            .mega-column ul li::before {
                content: '•';
                margin-left: 8px;
                color: #000000;
                font-size: 23px;
            }

            .mega-column ul li a {
                text-decoration: none;
                display: block;
                color: black;
            }

                .mega-column ul li a:hover {
                    color: #3b3b3b;
                }

.mega-menu::before,
.mega-menu::after {
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    /* Ensure the images don’t interfere with clicks */
}

.mega-menu::before {
    background-image: url('../images/stone-background.png');
    /* Replace with actual path */
    width: 22%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the image */
}

.mega-menu::after {
    background-image: url('../images/mega-menu-background.png');
    /* Replace with actual path */
    width: 40%;
    /* Adjust size as needed */
    height: 40%;
    bottom: 0;
    left: 0;
    transform: translate(5%, -5%);
    /* Adjust position as needed */
}

/* ------- */
.brand-menu-icon {
    display: inline-block;
    vertical-align: middle;
    background: url('../images/brand-menu-icon.png') no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
}

/* Search box styles */
.form-control {
    border: 0;
    background-color: #fff;
    width: 450px;
}

    /* Adjust search input */
    .form-control input {
        width: 60%;
    }

.basket-icon {
    display: inline-block;
    background: url('/assets/Site/images/Bag_light.png') no-repeat center center;
    background-size: contain;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    position: relative;
}

.basket-badge i {
    font-style: normal; 
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #81998C;
    color: #fff;
    font-size: 11px;
    width: 15px;
    height: 15px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.user-icon {
    background: url(../images/User_black.png) no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    width: 25px;
    height: 25px;
}

.custom-profile-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-left: 5px;
}

.profile-user-icon {
    background: url('/assets/Site/images/User_alt_light.png') no-repeat center center;
    background-size: contain;
}

.profile-order-icon {
    background: url('/assets/Site/images/Bag_light.png') no-repeat center center;
    background-size: contain;
}

.profile-favorite-icon {
    background: url('/assets/Site/images/Favorite_light.png') no-repeat center center;
    background-size: contain;
}

.profile-address-icon {
    background: url('/assets/Site/images/Pin_alt_light.png') no-repeat center center;
    background-size: contain;
}

.profile-group-icon {
    background: url('/assets/Site/images/Group_light.png') no-repeat center center;
    background-size: contain;
}

.profile-signout-icon {
    background: url('/assets/Site/images/Sign_out_squre_light.png') no-repeat center center;
    background-size: contain;
}

.search-custom-icon {
    background: url(../images/Search.png) no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    width: 25px;
    height: 25px;
}

.close-icon {
    display: inline-block;
    background: url('../images/close-icon.png') no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: baseline;
}
/* Search button */
.search-box {
    max-width: 500px;
    height: max-content;
    width: 100%;
    border: 1px solid #81998C;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.search-input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    font-size: 14px;
    direction: rtl; /* Ensures correct layout for right-to-left languages */
}

    .search-input::placeholder {
        color: #837D7D;
    }

.search-button {
    background-color: #fff;
    border: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-icon {
    background: url('../images/search-icon.svg') no-repeat center center;
    background-size: contain;
}

.form-control:focus {
    box-shadow: none;
}

/* Search Results Container */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .5rem .7rem;
    margin-top: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #81998C;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Hidden by default */
    scrollbar-width: thin;
    scrollbar-color: #bfbfbf transparent;
}

.search-results-items-order {
    display: flex;
    flex-wrap: wrap;
}

/* Section Headers (ProductGroup, Brand, Product) */
.search-results-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin: 10px 3px;
}

.search-result-category {
    display: flex;
    justify-content: space-between;
}

    .search-result-category a {
        color: #81998C;
        text-decoration: none;
        font-size: 13px;
    }

        .search-result-category a:hover {
            color: #71867B;
        }
/* Individual Search Result Items */
.search-result-item {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .search-result-item img {
        width: 50px;
        height: 50px;
        border-radius: 5px;
        object-fit: cover;
    }

.search-result-link {
    color: #000;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.3s ease;
}

    .search-result-link:hover {
        color: #81998C;
        text-decoration: none;
        font-size: 13px;
    }

.search-result-link-product {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
    min-height: calc(5* .9em);
}

.search-result-link-category::before {
    content: "";
    background: url(/assets/Site/images/tab-arrow-expand.png) no-repeat center center;
    background-size: contain;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.search-result-item-title {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-all-results-container {
    text-align: center;
    padding-top: 10px;
}

.view-all-results-button {
    width: 100%;
    background-color: transparent;
    color: #81998C;
    border: 1px solid #f1f1f1;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .view-all-results-button:hover {
        color: #71867B;
    }

/* Show Results */
.search-results.show {
    display: block;
}

/* Scrollbar Styling */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-thumb {
    background-color: #bfbfbf;
    border-radius: 10px;
    border: 2px solid #fff;
}

    .search-results::-webkit-scrollbar-thumb:hover {
        background-color: #9a9a9a;
    }

/*Live Search Modal (Mobile)*/
.search-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    width: 100%;
    max-width: 992px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
}

.search-modal-body {
    flex-grow: 1;
    overflow-y: auto;
}

.search-close-modal {
    position: absolute;
    top: 10px;
    left: 20px;
    background: transparent;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

.search-modal-content h5 {
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 15px;
}
/* Show modal */
.search-modal.open {
    visibility: visible;
    opacity: 1;
}

    .search-modal.open .search-modal-content {
        transform: translateY(0);
    }

@media (max-width: 992px) {
    #searchBoxModal {
        max-width: 100%;
        height: max-content;
        width: 100%;
        border: 1px solid #81998C;
        border-radius: 10px;
        overflow: auto;
        display: flex !important;
    }

    #searchContainerModal {
        margin-top: 15px;
    }

    .search-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        top: 0;
        transform: none;
    }
}

/* Mobile Specific Styles */
@media (max-width: 577px) {
}

/* Login button */
.login-button {
    border: 1px #81998C solid;
    border-radius: 10px;
    padding: 5px 30px;
}

.sign-in-icon {
    display: inline-block;
    background: url('../images/sign-in-icon.png') no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    /* margin-left: .4rem; */
    vertical-align: middle;
}

@media (max-width: 992px) {
    .logo img {
        width: 120px;
    }

    .login-button {
        display: none;
    }

    .search-button {
        display: block !important;
        background-color: transparent;
    }

    .search-icon {
        background: url('../images/search-gray-icon.svg') no-repeat center center;
        background-size: contain;
        width: 18px !important;
        height: 18px !important;
        vertical-align: sub;
    }

    .icon-btn {
        display: flex !important;
    }

    .navbar {
        display: none;
    }
}

/* mobile navbar */
/* نمایش فقط در موبایل */
@media (max-width: 992px) {
    .mobile-navbar {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100vh;
        background-color: #fff;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 99;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        overflow-y: scroll;
    }

    /*backdrop for the mobile-navbar */
    .mobile-navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .mobile-navbar.active {
        transform: translateX(0);
    }

    .mobile-navbar-header {
        color: #81998C;
    }

    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .close-btn {
        padding-left: .8rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-navbar-content {
        padding: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .menu-item {
        padding: .5rem;
        border-bottom: 1px solid #81998C;
    }

    .menu-item-links {
        margin-right: 0;
        margin-bottom: 0;
        padding-right: 0;
    }

        .menu-item-links li {
            list-style-type: none;
        }

            .menu-item-links li .sub-accordion-header {
                border-right: 3px solid #81998C;
                padding-right: .5rem;
                font-weight: 500;
                line-height: 1.2;
                display: block;
                margin-block-start: 0.65em;
                margin-block-end: 0.65em;
                margin-inline-start: 0px;
                margin-inline-end: 0px;
            }

    /* Default styling */
    .mobile-navbar-accordion-panel,
    .sub-accordion-panel {
        display: none;
        padding: 0 .5rem .5rem 0.5rem;
        margin-left: 1rem;
    }

    /* Open state */
    .mobile-navbar-accordion[aria-expanded="true"] + .mobile-navbar-accordion-panel,
    .sub-accordion-header[aria-expanded="true"] + .sub-accordion-panel {
        display: block;
    }

    .mobile-nav-header {
        cursor: pointer;
        font-weight: normal;
        padding: 0.5rem 0;
        color: #000;
        margin-bottom: 0;
    }

    .sub-accordion-header {
        cursor: pointer;
        padding: .5rem 0;
        margin-bottom: 10px;
        color: #000;
    }

    .mobile-nav-header {
        font-size: 15px;
    }

    .sub-accordion-header {
        font-size: 14px;
        margin-left: 1rem;
    }

    .sub-accordion-panel li {
        list-style-type: disc;
        margin-bottom: 5px;
        margin-right: 1.5rem;
    }
    /* inside sub-panels */
    .sub-accordion-panel a {
        font-size: 13px;
        color: #000;
        text-decoration: none;
    }


    /* Add expand/collapse icons */
    .mobile-nav-header::after,
    .sub-accordion-header::after {
        content: "";
        background: url(/assets/Site/images/tab-arrow-expand.png) no-repeat center center;
        background-size: contain;
        width: 15px;
        height: 15px;
        vertical-align: middle;
        float: left;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    /* Rotate icon on expanded state */
    .mobile-nav-header[aria-expanded="true"]::after,
    .sub-accordion-header[aria-expanded="true"]::after {
        transform: rotate(-90deg);
    }
}

/* مخفی کردن منوبار موبایل در دسکتاپ */
@media (min-width: 992px) {
    .mobile-navbar {
        display: none;
    }

    #navbarOpenBtn {
        display: none;
    }
}


/* Category Button Styles */
.my-category-btn {
    border: 1px solid #81998C;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    color: #000;
    font-size: 0.9rem;
}

.swiper-wrapper-category {
    display: flex;
    transition: transform 0.3s ease;
}

/* Swiper Container for Mobile */
.mobile-category-swiper {
    background: linear-gradient(to bottom, #ebefed 20%, #ffffff 80%);
    padding: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.category-swiper-slides {
    flex-shrink: 0;
    width: auto;
    text-align: center;
}

/* Hide category swiper on larger screens */
@media (max-width: 991px) {
    .mobile-category-swiper {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-category-swiper {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.main-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .main-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

.swiper-pagination-bullet-active {
    background-color: #81998C;
}

@media (max-width: 576px) {
    .main-slide-mobile {
        height: 213px;
        margin-top: 1rem;
    }

        .main-slide-mobile img {
            border-radius: 15px;
            width: 100%;
            /*height: 100%;*/
            height: auto;
            object-fit: cover;
        }

    .hero-section {
        display: none;
    }

    .mobile-hero-section {
        width: 100%;
        margin: 0 auto;
    }
}

@media (min-width: 577px) {
    .mobile-hero-section {
        display: none;
    }
}


.product-swiper-title {
    font-size: 24px !important;
}
/* General card styling */
.border-line {
    border-color: #81998C;
    border-width: 1px;
    border-style: dashed;
}

.product-card {
    border: 1px solid #81998C;
    border-radius: 10px;
    width: 100%;
    max-width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Discount badge */
.discount-badge {
    top: 22px;
    font-size: 0.875rem;
    padding: .3rem .6rem !important;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

/* unAvailable badge */
.unavailable-badge {
    bottom: 57px;
    font-size: 0.875rem;
    padding: .3rem .6rem !important;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

/* Image styling */
.product-card img {
    /*padding: 1.5rem;*/
    width: 100%;
    /*height: 180px;*/
    object-fit: contain;
}

/* Color indicator */
.product-color {
    background-color: #F35151;
    border-radius: 50%;
    width: 1.4rem;
    height: 1.4rem;
}

/* Price and Discount */
.price {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.313rem;
}

.price-discount {
    height: .7rem;
    font-size: 0.875rem;
    margin-bottom: .3rem;
    color: #837D7D !important;
    padding-left: 46px;
    text-decoration-line: line-through;
    text-decoration-color: #F35151;
}

.price1 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.313rem;
    padding-left: 30px !important;
}

.price-discount1 {
    height: .7rem;
    font-size: 0.875rem;
    margin-bottom: .3rem;
    color: #837D7D !important;
    padding-left: 30px !important;
    text-decoration-line: line-through;
    text-decoration-color: #F35151;
}

/* Card body */
.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Title and Text Overflow */
.card-title {
    color: #837D7D;
    font-size: 16px;
    width: 89%;
    margin-bottom: 0;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.card-text {
    font-size: 0.813rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
    min-height: calc(5* .9em);
    font-weight: normal
}

    .card-text a {
        color: #212529;
        text-decoration: none;
    }

        .card-text a:hover {
            color: #000;
        }

.card-labels {
    direction: rtl;
    
}

.card-labels1 {
    direction: rtl;
    margin-bottom: 10px;
    margin-right: 10px;
}

.label-free-shipping {
    color: #2e7d32;
    background-color: rgba(76, 175, 80, 0.1);
    /*border: 1px solid #2e7d32;*/
    padding: 1.2px 3px;
    border-radius: 3px;
    font-size: 0.78rem;
}

.label-instalment {
    color: #1565c0;
    background-color: rgba(33, 150, 243, 0.1);
    /*border: 1px solid #2e7d32;*/
    padding: 1.2px 3px;
    border-radius: 3px;
    font-size: 0.78rem;

}

/*mobile*/

/* For Flex alignment of the title and color */
.card-title-container {
    margin-bottom: 0.313rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Cards responsive */
@media (max-width:992px) {
    .product-swiper-title {
        font-size: 20px !important;
    }

    .card-body {
        gap: 5px;
    }

    .card-title {
        font-size: 0.813rem;
    }

    .card-text {
        font-size: 0.75rem;
    }

    .price-discount {
        font-size: 0.75rem;
        padding-left: 34px;
    }

    .price {
        font-size: 0.875rem;
    }

    .product-color {
        width: 1rem;
        height: 1rem;
    }

    .discount-badge {
        font-size: 0.75rem;
    }

    .card-container {
        padding: 5px;
    }

    .sort-filter-block {
        align-items: center;
    }

    .search-box {
        display: none !important;
    }
    .color-card-text {
        font-size: 0.75rem;
    }
}
/* Categories Section*/
.categories-container {
    display: flex;
    flex-wrap: wrap;
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-item {
    text-align: center;
    position: relative;
}

.category-bg {
    width: 211px;
    height: 211px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.category-icon {
    width: 100%;
    height: auto;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

    .category-title a {
        text-decoration: none;
        color: #81998C;
    }


@media (max-width: 991px) {
    .categories-container {
        gap: 10px;
    }

    .category-content {
        flex: 0 0 45%;
    }

    .category-bg {
        width: 100%;
        height: auto;
    }


    .category-title {
        font-size: 1rem;
    }
}

/* Banner Section */
.banner-ad {
    border-radius: 15px;
    width: 100%;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .banner-ad {
        border-radius: 10px;
        width: 100%;
        margin-bottom: 0;
    }

    .banners-slide {
        display: flex;
        justify-content: center;
    }

    .banner-wrapper {
        gap: 10px;
    }

    .banner-swiper {
        padding: 20px 0;
        display: block;
        /* Keep Swiper block for mobile */
    }
}

@media (min-width: 992px) {

    .category-content:hover {
        transform: translateY(-5px);
    }

    .product-card img {
        transition: transform 0.3s ease;
    }

    .product-card:hover img {
        transform: scale(1.13);
    }
    /*
    .newProductsSwiper {
        padding: 0.725rem;
    }*/

    .banner-wrapper {
        display: block !important;
    }

    .banners-slide {
        display: block !important;
    }
}


.beauty-magazine-section {
    margin-bottom: 1.5rem;
}
/*---------------------------------------------------*/
/* Beauty Card Blog Section */
.beauty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #F1F3EE;
    border: 1px solid #81998C;
    border-radius: 10px;
    max-width: 340px;
    margin: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .beauty-card > .d-flex > .image-container {
        width: 100%;
        /*height: 260px;*/
        height: auto;
        overflow: hidden;
        z-index: 3;
    }

        .beauty-card > .d-flex > .image-container img {
            width: 100%;
            /*height: 100%;*/
            /*object-fit: cover;*/
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

.beauty-card-content {
    width: 98%;
    margin-bottom: 0;
    margin-top: 3%;
    padding-left: 80px;
    padding-right: 10px;
    position: relative;
    z-index: 2;
}

.blog-flag {
    position: absolute;
    left: 8px;
    top: 43%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    z-index: 1;
}

    .blog-flag img {
        width: 68px;
        height: auto;
    }

.blog-calender {
    font-size: 14px;
}

.calender-icon {
    background: url('/assets/Site/images/calender.png') no-repeat center center;
    background-size: contain;
}

.beauty-card-content a {
    text-decoration: none;
}

    .beauty-card-content a h6:hover {
        color: #6E897B;
    }

.beauty-card-content h6 {
    font-weight: bold;
    color: #81998C;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.7;
    min-height: calc(4* .9em);
}

.beauty-card-content p {
    text-align: justify;
    color: #000000;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    min-height: 135px;
}

.read-more {
    padding-bottom: 1rem;
    color: #81998C;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

    .read-more:hover {
        color: #5b7366;
    }

@media (max-width: 992px) {
    .blog-flag {
        top: 48%;
    }
}

@media (max-width: 416px) {
    .blog-flag {
        top: 45%;
    }
}

@media (max-width: 576px) {
    .blog-flag img {
        width: 58px;
    }

    .beauty-card > .d-flex > .image-container { 
        height: auto;
    }

    .blog-calender {
        font-size: 12px;
    }

    .beauty-card-content h6 {
        font-size: 13px;
    }

    .beauty-card-content p {
        -webkit-line-clamp: 4;
        min-height: calc(7* .9em);
        font-size: 12px;
    }

/*    .blog-flag {
        top: 0;
        bottom: 0;
    }*/
}

/*---------------------------------------------*/
/* Brands Secion*/
.brands-section {
    background-color: #f1f3ee;
}

.brand-logo {
    padding: 15px;
    background-color: rgba(211, 218, 203, 0.33);
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
}

    .brand-logo:hover {
        transform: scale(1.1);
    }

.brands-button {
    color: #2d2323;
    border-radius: 11px;
    border: 2px solid #81998c;
}

    .brands-button:hover {
        box-shadow: 0 0 0 .25rem rgba(129, 153, 140, .25);
    }

    .brands-button:focus {
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(129, 153, 140, .25);
    }

/* Swiper Specific Styles */
.brandsSwiper {
    padding: 20px 0;
}

.brands-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .brand-logo {
        height: 100px;
    }
}

/* Service Section (footer _Layout)*/
.services {
    background-color: #81998C;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 20px 0;
}

.service-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: right;
}

.service-icon {
    width: 70px;
    height: auto;
    margin-left: 15px;
}

.service-title {
    font-weight: 600;
    color: black;
}

.service-des {
    color: #ffffff;
}

.service-text p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .service-item {
        flex-direction: row;
        text-align: right;
    }

    .service-icon {
        width: 80px;
        margin-left: 0.7rem;
    }

    .service-text p {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .service-item {
        flex-direction: column !important;
        text-align: center;
    }

    .services {
        padding: 20px 0px 0px 0px !important;
    }

    .service-icon {
        width: 60px;
        margin: 0 auto 10px auto;
    }

    .service-text p {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .service-des {
        display: none;
    }
}
/* Footer Section (_Layout) */
.footer {
    background-color: #000;
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
}

.footer-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.footer-content-block-mobile {
    width: 60%;
}

.footer-info {
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.footer-logo {
    width: 50%;
}

.footer-description {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 15px;
}

.footer-heading {
    margin-bottom: 10px;
    color: #fff;
}

.footer-links {
    padding-right: 1rem;
}

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        font-size: 13px;
        display: block;
        margin-bottom: 5px;
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-contact {
    text-align: right;
    color: #aaa;
    font-size: 12px;
}

.footer-social img {
    width: 30px;
    margin-right: 10px;
}

.footer-subscribe h6 {
    font-size: 14px;
}

.footer-subscribe input {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 13px;
}

.footer-subscribe button {
    background-color: #3e8e41;
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 13px;
}

.footer-heading {
    font-size: 25px;
}

.footer-links a {
    font-size: 14px;
}


.footer-desc-block-mobile {
    display: none;
}

@media (min-width: 768px) and (max-width:1200px) {
    .footer-heading {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    .footer-description {
        font-size: 14px;
    }

    .cantact-mr {
        margin-right: 12px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
    }

        .footer-info > div {
            width: 100%;
            margin-bottom: 15px;
        }

    .footer-img-block {
        display: flex;
        justify-content: center;
    }

    .footer-desc-block-desktop {
        display: none;
    }

    .footer-logo {
        width: 50%;
    }

    .footer-desc-block-mobile {
        width: 50%;
        display: flex;
        justify-content: flex-end;
    }

    .footer-description {
        width: 100%;
        font-size: 12px;
        text-align: justify;
    }

    .footer-contact {
        font-size: 12px;
        text-align: start;
    }

    .footer-social-address {
        flex-direction: column;
        padding: 1rem !important;
    }

    .footer-social {
        text-align: center;
        margin-top: 10px;
    }

    .footer-subscribe input,
    .footer-subscribe button {
        font-size: 12px;
        padding: 8px;
    }

    .footer-subscribe {
        margin-bottom: 15px;
        text-align: center;
    }

    .footer-social a {
        margin: 0 5px;
    }

    .footer-social i {
        font-size: 20px;
    }

    .footer-accordion {
        color: #ffffff;
        cursor: pointer;
        padding: 0 18px;
        width: 100%;
        border: none;
        text-align: right;
        outline: none;
        font-size: 18px;
        transition: 0.4s;
    }

        .footer-accordion::after {
            content: '';
            background: url(../images/Expand_down_light.png) no-repeat center center;
            background-size: contain;
            width: 20px;
            height: 20px;
            float: left;
            margin-left: 5px;
        }

    .footer-active::after {
        content: "";
        background: url(../images/Expand_down_light.png) no-repeat center center;
        background-size: contain;
        width: 20px;
        height: 20px;
        transform: rotate(-180deg);
    }

    .footer-accordion-panel {
        padding: 0 18px;
        color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
    }

    .footer-content-block-mobile {
        width: 100%;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }
}

.phone-icon {
    display: inline-block;
    background: url('../images/phone-icon.png') no-repeat center center;
    background-size: contain;
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.clock-icon {
    display: inline-block;
    background: url('../images/clock-icon.png') no-repeat center center;
    background-size: contain;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.map-icon {
    display: inline-block;
    background: url('../images/map-icon.png') no-repeat center center;
    background-size: contain;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.newsletter-section {
    background-color: #000;
    /* Background color matching the image */
}

.newsletter-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 1px 5px;
    max-width: 450px;
}

.email-form {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
}

.email-icon {
    padding: 1px 10px;
    background-color: transparent;
    color: #fff;
    font-size: 18px;
    border-right: 1px white solid;
}

    .email-icon i {
        vertical-align: middle;
    }

    .email-icon a {
        color: white;
    }

.email-form input {
    border: none;
    outline: none;
    background-color: transparent;
    color: #fff;
    padding: 1px 15px;
    width: 100%;
}

    .email-form input::placeholder {
        color: #fff;
        text-align: end;
    }

    .email-form input:focus {
        color: #fff;
        background-color: #000000;
        /* Change to your desired color */
        outline: none;
        /* Optional: Remove the default outline */
    }

.social-icons {
    display: flex;
    justify-content: start;
}

.social-icon {
    font-size: 24px;
    color: #fff;
    padding: 5px;
    display: flex;
    text-decoration: none;
    align-items: center;
}

    .social-icon:hover {
        color: #000;
        background-color: #fff;
    }


@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

@media (min-width: 767.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}



/*custom error*/
/* Error and Success Alert*/
.floating-alert-container {
    position: fixed;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    z-index: 10000;
    display: none;
    max-width: 80%;
    width: 300px;
}

.floating-alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    color: white;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #81998C;
}

.alert-danger {
    background-color: #DC3545;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .floating-alert-container {
        width: 90%;
        max-width: 100%;
        margin-top: 10%;
    }
}

@media (max-width: 1024px) {
    .floating-alert-container {
        width: 90%;
        max-width: 100%;
        margin-top: 10%;
    }
}
/*custom error end*/

@media (min-width: 992px) {

    .home-brand {
        filter: grayscale(100%);
    }

        .home-brand:hover {
            filter: grayscale(0%);
        }
}
/* Logout modal styles */

.profile-logout-modal-header {
    padding-bottom: 0;
    border-bottom: none;
}

.profile-logout-modal-footer {
    padding-top: 0;
    border-top: none;
}

#cancelLogoutButton {
    padding: .5rem 2rem;
    background-color: #81998C;
    border: none;
    border-radius: 3px;
    color: #fff;
}

#confirmLogoutButton {
    padding: .5rem 2rem;
    background-color: transparent;
    border: 1px solid #81998C;
    border-radius: 3px;
    color: #000;
}

#logoutModalLabel {
    font-size: 16px;
    margin-bottom: 20px;
}

.color-card-text {
    font-size: 0.813rem;
    overflow: hidden;
    min-height: 0;
    color: #837D7D;
    width: 25%;
}

.mobile-nav-header-category {
    font-size: 24px;
    font-weight: 500;
}



@media (max-width: 992px) {
    .card-labels,
    .card-labels1 {
        direction: rtl;
        margin-bottom: 10px;
        margin-right: 10px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .label-free-shipping,
    .label-instalment {
        font-size: 0.85rem;
        padding: 1.2px 3px;
        border-radius: 3px;
        white-space: nowrap;
    }

    .label-free-shipping {
        color: #2e7d32;
        background-color: rgba(76, 175, 80, 0.1);
        
    }

    .label-instalment {
        color: #1565c0;
        background-color: rgba(33, 150, 243, 0.1);
        
    }
}

@media (max-width: 780px) {

    .card-labels,
    .card-labels1 {
        direction: rtl;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: 0 4px 6px auto;
        overflow: hidden;
        align-items: center !important;
        justify-content: flex-end;
    }

    .label-free-shipping,
    .label-instalment {
        font-size: 0.7rem; 
        padding: 1px 4px; 
        border-radius: 3px;
        line-height: 1.2;
        white-space: nowrap;
        flex-shrink: 0;
        overflow: hidden;
    }

    .label-free-shipping {
        color: #2e7d32;
        background-color: rgba(76, 175, 80, 0.12);
    }

    .label-instalment {
        color: #1565c0;
        background-color: rgba(33, 150, 243, 0.12);
    }

    .color-card-text {
        font-size: 0.813rem; 
        overflow: hidden;
        min-height: 0;
        color: #837D7D;
        width: 25%;
        line-height: 1.2; 
    }

    @media (max-width: 450px) {
        .card-labels,
        .card-labels1 {
            gap: 4px;
            margin-right: 6px;
            margin-bottom: 4px;
        }

        .label-free-shipping,
        .label-instalment {
            font-size: 0.65rem;
            padding: 2px 5px;
            border-radius: 5px;
        }

        .color-card-text {
            font-size: 0.75rem; 
            width: 30%;
        }
    }

    @media (max-width: 400px) {
        .card-labels,
        .card-labels1 {
            flex-wrap: nowrap;
            overflow: hidden;
            max-width: 100%;
            scrollbar-width: none;
        }

            .card-labels::-webkit-scrollbar,
            .card-labels1::-webkit-scrollbar {
                display: none;
            }
    }

    @media (max-width: 320px) {
        .card-labels,
        .card-labels1 {
            gap: 4px;
            margin-right: 6px !important;
            margin-bottom: 8px;
            flex-direction: row;
            overflow-x: auto;
        }

        .label-free-shipping,
        .label-instalment {
            font-size: 0.65rem;
            padding: 2px 5px;
            border-radius: 5px;
        }

        .color-card-text {
            font-size: 0.7rem;
            width: 35%;
        }
    }
}


.zhin-section {
    padding: 50px 20px;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 25px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    padding-right: 9px;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.text-box {
    flex: 1 1 400px;
    font-size: 16px;
    line-height: 2;
    color: #555;
    text-align: justify;
}

.image-box {
    flex: 1 1 350px;
    text-align: center;
}

    .image-box img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
        /*margin: 0 auto 0 35px;*/
        box-shadow: 0 4px 10px rgba(245, 240, 230, 0.3), 0 8px 20px rgba(0, 0, 0, 0.05);
    }

@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
        padding-right: 0;
        /*text-align: center;*/
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px; 
    }

    .text-box {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .image-box img {
        margin: 7px auto 0 auto; 
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .motion-desktop {
        display: none;
    }

    .motion-mobile {
        display: block;
    }
}

