/* General Styles */

* {
    box-sizing: border-box;
}

body {
    /* font-family: 'IBM Plex Sans Arabic', serif; */
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0;
    padding: 0;
}

/* Full-Width Banner */
.container-fluid img {
    width: 100%;
    display: block;
}

/* Section Container */
.container-fluid {
    background-color: white;
    color: #fff;
}

.banner img {
    width:100%;
    display:block;
}

.contaDivMain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contaDivOne {
    display: flex;
    align-items:center;
    gap: 15px;
    margin-left: 1rem;
}

.contaDivOne a {
    /* font-family: IBM Plex Sans Arabic, serif; */
    color: black;
    text-decoration: none;
    border: 1px solid #E2E4E9;
    border-radius: 40px;
    padding-left: 15px;
    width: 120px;
    display: flex;
    text-align: center;
    padding-top: 10px;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
}

.contaDivTwo .selected {
    /* font-family: IBM Plex Sans Arabic, serif; */
    color: black;
    text-decoration: none;
    border: 1px solid #E2E4E9;
    border-radius: 40px;
    padding-left: 15px;
    width: 120px;
    display: flex;
    text-align: center;
    padding-top: 10px;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
}

.contaDivTwo .filtering {
    display: none;
}

.contaDivOne img {
    width: 15px;
    height: 15px;
}

.contaDivTwo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 1rem;
}

.size a {
    background: #F5F5F5;
}

.card {
    height: 100%;
    border: none;
}

/* Product Card Shadows and Hover Effects */
.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-image {
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.02);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.image-container {


    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.image-container img {
    max-width: 100%;
    height: 250px;
    object-fit: fill;
}

.card-body {
    text-align: start;
    padding-right: 0;
}

.custom-select {
    padding: 0px 10px 0px;;
     border: 1px solid #E2E4E9;
     border-radius: 40px;
     font-family: IBM Plex Sans Arabic, serif;
     -webkit-appearance: none;
     background-color: #fff;
     background-image: url('images/icon/chevron_down.svg');
     background-repeat: no-repeat;
     background-position: left 10px center;
     background-size: 15px;
     width: 80px;
     height: 45px;
     direction: rtl;
 }

 .custom-select-sort {
    border: 1px solid #E2E4E9;
    border-radius: 40px;
    font-family: IBM Plex Sans Arabic, serif;
    -webkit-appearance: none;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right 15px center;
    width: 100% !important;
    height: 50px;
    direction: ltr;
    color: #525866;
    text-align: center;
    font-size: 16px;
    background-size: 20px 20px;
    margin-top: 10px;
    padding-right: 45px;
    padding-left: 15px;
 }

 .contaDivTwo a {
    font-family: IBM Plex Sans Arabic, serif;
    color: black;
    text-decoration: none;
    border: 1px solid #E2E4E9;
    border-radius: 40px;
    padding: 10px;                        
    width:100%;
    display: flex;
    text-align: center;
    gap: 10px;
    align-items: center;
 }

 .contaDivTwo img {
    width: 15px;
    height: 15px;
 }

 .combined-filter {
    display: none;
    font-family: IBM Plex Sans Arabic, serif;
    padding: 5px 15px;
    border: 1px solid #E2E4E9;
    border-radius: 40px;
    background-color: #fff;
    width: 100%;
    max-width: 300px;
    direction: rtl;
}

.original-filters {
    display: flex;
    gap: 10px;
}

.more-button-container {
    justify-content: center;
    display: flex;
}

/* Responsive: Show combined filter on smaller screens */
@media (max-width: 768px) {
    .container-fluid {
        width: 97%;
    }
    .combined-filter {
        display: block;
    }
    .original-filters {
        display: none;
    }
    .contaDivTwo .combined-filter {
        background-image: src="images/banner/banner.jpg" alt="Full-Width Image";
        font-family: IBM Plex Sans Arabic, serif;
        color: black;
        text-decoration: none;
        border: 1px solid #E2E4E9;
        border-radius: 40px;
        padding-left: 15px;
        width: 120px;
        display: flex;
        text-align: center;
        padding-top: 10px;
        gap: 10px;
        align-items: center;
        padding-bottom: 10px;
    }
    .test {
        width: 200px;
    }
    .contaDivTwo .filtering {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        gap: 10px;
        font-family: IBM Plex Sans Arabic, serif;
        color: #525866;
        font-size: 25px;
        padding: 10px;
        text-decoration: none;
        text-align: center;
        width: 100%;
        border-radius: 40px;
        border: 1px solid #E2E4E9;
    }
    #sortOptions, #filterOptions {
        width: 200px !important;
        font-family: IBM Plex Sans Arabic, serif;
        background-repeat: no-repeat;
        font-size: 14px;
        color: #525866;
        text-align: center;
        background-size: 20px 20px;
        padding-right: 45px;
        padding-left: 15px;
        height: 50px;
    }
    
    #sortOptions {
        background-image: url(images/icon/sort.svg);
    }
    
    #filterOptions {
        background-image: url(images/icon/filter.svg);
    }
    .contaDivTwo img {
        width: 30px;
        height: 30px;
     }
    .custom-select-sort {
        border: 1px solid #E2E4E9;
        border-radius: 40px;
        font-family: IBM Plex Sans Arabic, serif;
        -webkit-appearance: none;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 18px;
        width: 75%;
        height: 55px;
        direction: ltr;
        margin-top: 3px;
        padding-right: 45px;
        padding-left: 15px;
    }

    @media (max-width: 576px) {
        #sortOptions, #filterOptions {
            width: 160px !important;
            font-size: 12px;
            background-size: 20px 20px;
            padding-right: 45px;
            padding-left: 15px;
            height: 48px;
        }

        .test {
            width: 160px;
        }
    }

    @media (max-width: 390px){
        #sortOptions, #filterOptions {
            width: 140px !important;
            font-family: IBM Plex Sans Arabic, serif;
            background-repeat: no-repeat;
            font-size: 11px;
            color: #525866;
            text-align: center;
            background-size: 16px 16px;
            padding-right: 45px;
            padding-left: 15px;
            height: 45px;
        }

        #sortOptions {
            background-image: url(images/icon/sort.svg);
        }

        #filterOptions {
            background-image: url(images/icon/filter.svg);
        }

        .test {
            width: 140px;
        }
        
    }
}
