body {
    padding-bottom: 60px; /* Match the height of the app-bar */
}

/*
product list view
*/

.product-list-view .product {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    gap: 1.25rem !important;
    padding: 0rem !important;
    overflow: hidden;
}

@media (max-width: 479px) {
    .product-list-view .product {
        padding: 0rem!important;
        gap: 0.75rem !important;
    }
    .mobile_two_items.product-list-view,
    .product-list-view {
        --minWidth: 18rem !important;
    }
}

.product-list-view .product .product__top {
    inline-size: 7rem !important;
    block-size: 7rem !important;
    min-inline-size: 7rem!important;
}

.product-list-view .product .product__summary {
    padding: 0.4rem 0rem 0rem 0rem !important;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
    text-align: start;
    gap: 0.5rem !important;
    max-inline-size: calc(100% - 10rem);
    flex-grow: 1;
}

.product__discount-badge {
    padding: 0.3rem !important;
}
/* .app-bar{
   bottom : 2xp !important;
} */
.app-bar svg{
    fill: #6c757d !important;
}

.app-bar .active svg{
    fill: var(--bs-primary) !important;
}
.app-bar .active .count{
    color: #ffff !important;
    font-size: 0.7rem !important;
}
@media (max-width: 767px) {
    body {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
}



#searchModal .search-bar {
    background-color: #f3f3f9 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    block-size: 2.8rem !important ;
    border-radius:  .34rem !important;
}

#searchModal .search-bar input {
    block-size: 2.8rem !important;
    background-color: transparent !important;
    border: 0;
    /* padding-inline: 1rem; */
}
#searchModal .search-bar .search-icon {
    padding-inline-start: 15px;
    font-size: 1rem;
}

#searchModal ::placeholder {
    color: rgba(0, 0, 0, 0.598) !important;
    opacity: 1 !important;
}

#searchModal .sticky{
    display: block !important;
    position: fixed;
    inset-inline-start: 0;
    inset-block-start: 0;
    z-index: 999;
    inline-size: 100%;
    background-color: var(--bs-white);
}




/* Main scroll bar container */






/* Main Categories Scrollbar */
.main-category-scrollbar {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Keep items in one line */
    background-color: var(--bs-white); /* Light background */
    padding-top: 4px ;
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.main-category-scrollbar::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

/* Scroll Container */
.scroll-container {
    display: inline-flex; /* Display items in a single row */
    gap: 20px; /* Space between items */
    /* padding: 0 15px; */
}

/* Scrollable Item */
.scroll-item {
    text-decoration: none;
    color: var(--bs-primary);
    opacity: 0.9 ;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 0px;
    border-bottom: 4px solid transparent;
    white-space: nowrap; /* Prevent wrapping */
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.scroll-item:hover {
    color: var(--bs-primary); /* Highlight text color */
    border-bottom: 2px solid var(--bs-primary);
}

/* Active State */
.scroll-item.active {
    color: var(--title-color); /* Highlight active text */
    border-bottom: 4px solid var(--bs-primary); /* Underline effect for active item */
    cursor: default; /* Make it look inactive */
    opacity: 1 ;

}

/* Optional: Subcategories Container Styling */
.subcategories-container {
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #555;
}













/* Slick Carousel Styling */
/*

/* Swiper Container */
.categories-swiper {
    direction: rtl !important; /* دعم اتجاه التمرير من اليمين إلى اليسار */
    padding: 10px 0;
    background-color: transparent;
}
/* [dir="rtl"] .swiper-wrapper {
    direction: rtl;
} */


/* Individual Category Item */
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 5px;
    transition: transform 0.3s ease;

}

.category-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-item span {
    font-size: 15px !important;
    font-weight: bold;
    /* color: #555; */
}


@media screen and (max-width: 500px) {
    .category-item img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .category-item span {
        font-size: 12px !important;
        /* font-weight: bold; */
        /* color: #555; */
    }
}

.category-item:hover img {
    transform: scale(1.1);
}


.swiper-lazy-preloader {
    width: 50px;
    height: 50px;
    border: 4px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


.option-select-btn.product-view-option label > * {
    background-color: transparent;
    padding: 0rem;
    /* font-size: 1.2rem; */
    opacity: .8;

}

.filter-btn
{
    padding: 0px !important;
    padding-inline-end: 4px !important ;
    font-size: 13px !important;
}

.main-header{
    position: sticky;
    z-index: 999;
    top: -2px;
}
