.mainContainer {
    width: 100%;
    height: 100%;
    margin-top: 40px;
    background-color: #white;
    padding: 50px 0;
    position: relative;
    margin-bottom: 200px z-index: 0;
}

.mainContainer .pagetitle {
    border-radius: 10px;
    width: 144px, height:28px;
    padding: 4px, 8px, 4px, 8px;

}

@media (min-width: 576px) {
    .mainContainer .pagetitle {
        margin-right: 2%;
    }
}

@media (min-width: 768px) {
    .mainContainer .pagetitle {
        margin-right: 4%;
    }
}

@media (min-width: 1024px) {
    .mainContainer .pagetitle {
        margin-right: 3%;
    }
}

@media (min-width: 1444px) {
    .mainContainer .pagetitle {
        margin-right: 7%;
    }
}

@media (min-width: 1723px) {
    .mainContainer .pagetitle {
        margin-right: 13%;
    }
}

.form-title {
    font-weight: 600;
    font-size: 20px;
    font-family: auto;
    margin-bottom: 20px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    flex: 0;
    max-width: 173px;
}

.form-control {
    min-width: 184px;
    max-width: 310px;
    height: 43px;
    border-radius: 8px;
    background: #EFEFEF;
    padding: 5px
}


.filter-label {
    font-family: auto;
    margin-bottom: 10px;
    margin-top: 8px;
    color: #535353;
    display: block;
}

@media (max-width: 576px) {

    .filter-label {
        width: 80%;
        word-wrap: break-word;
        line-height: 1.5;
    }
}


.filter-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 34px;
    height: 45px;
}

.filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: rgb(22, 22, 22);
    border: 1px solid rgb(187, 186, 186);
    border-radius: 8px;
    font-weight: bold;
    padding: 8px 16px;
}

.button-image {
    width: 26px;
    height: 22px;
}

@media (max-width: 777px) {

    .filter-buttons {
        order: -1;
        margin-bottom: 15px;
        margin-right: 8px;
        padding: 0 5px;
        min-width: 220px;
        max-width: 310px;
    }
    .filter-group {
        flex: 0;
        max-width: 290px;
        min-width: 220px;
        margin-right: 8px;
        padding: 0 5px;
    }
}

#resetFilters {
    background: #FFF0F0;

}

#resetFilters .badge {
    border-radius: 2px
}

.horizontal-list {
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    border: 2px solid rgb(221, 220, 220);
    box-shadow: 8px 1px 9px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: linear-gradient(243deg, rgba(233, 0, 0, 0.25) -126.43%, rgba(308, 0, 0, -1.72) 47%);

}

.list-item {
    flex: 1;
    padding: 10px;
    text-align: center;
}

.mobile-divider {
    display: none;
    border-top: 1px solid gray;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .horizontal-list {
        flex-direction: column;
        margin: 0 10px;
    }

    .list-item {
        border-left: none;
        margin-bottom: 15px;
    }

    .section-two {
        border-bottom: none;
    }

    .mobile-divider {
        display: block;
    }
}

.product-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-background {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 30px);
    border-radius: 10px;
    box-shadow: 2px 4px 23px -3px rgba(0, 0, 0, 0.79);
}

.product-image-background img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.list-item h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.list-item h3 {
    font-size: 1.1rem;
    text-align: right;
    font-weight: bold;
    margin-right: 2px;
    color: #1b1b1b;
}

.list-item h6 {
    font-size: 1rem;
    text-align: right;
    font-weight: bold;
    margin-right: 1px;
    color: #919191;
}

.list-item p {
    font-size: 1.1rem;
    color: #444444;
    font-weight: bold;
    margin-top: 7.5%;
}

.section-three {
    width: 342px;
    height: auto;
    top: 77px;
    left: 62px;
    gap: 16px;
    opacity: 0px;

}

.section-three p {
    margin-top: 4%;
    font-size: 0.9rem;

}


.section-three p span {
    color: #868585;
    font-family: serif;
    line-height: 22px;
}

.section-three button {
    margin-top: 7%;
    margin-left: 5px;
    font-size: 0.9rem;
    float: right;
    display: flex;
    text-align: center !important;
    justify-content: space-between;
    font-weight: bold
}

.modal {
    margin-top: 10%;
}

@media (max-width: 768px) {
    .section-three button {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .filter-form {
        gap: 0px;
    }

    .modal {
        margin-top: 40%;

    }
}

/* استایل‌دهی به Select2 */
.select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 43px !important;
    border-radius: 8px !important;
    background: #EFEFEF !important;
    padding: 5px !important;
    box-sizing: border-box;
    /* برای اطمینان از اینکه padding روی اندازه کلی تاثیر نمی‌گذارد */
}

/* استایل‌دهی به گزینه‌ها در Select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 33px !important;
    /* تنظیم ارتفاع متن درون جعبه انتخاب */
}

/* استایل‌دهی به دکمه بازشونده Select2 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px !important;
    /* تنظیم ارتفاع دکمه */
    padding: 0 10px !important;
    /* تنظیم فاصله داخلی */
}