:root {
    --color-primary: #EEAF42;
}

main {
    margin: 9rem 0;
}

.room-filter-box {
    background-color: rgb(226, 226, 226);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    gap: 10px;

}

.room-filter-box h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.284);
}

.room-filter-btn {
    text-align: center;
    background-color: var(--color-primary);
    color: #fff;
}



.room-search-box {
    position: relative;

}

.room-search-box i {
    position: absolute;
    left: 14px;
    top: 60%;
    color: rgba(0, 0, 0, 0.284);
}

.noUi-target {
    text-align: left !important;
}

.noUi-horizontal.noUi-txt-dir-rtl .noUi-handle {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.inp-filter-s {
    margin-top: 7px;
    padding: 5px 0;
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.284);
    text-indent: 20px;
}

.rooms-container {
    background-color: rgb(226, 226, 226);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.room-box {
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 14px 7px;
}

.room-box img {
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    height: 260px;
}

.rooms-slider .swiper-slide {
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

.rooms-slider .swiper-slide-active {
    visibility: visible;
    opacity: 1;
}

.rooms-pagination {
    bottom: 20px !important;
    left: unset !important;
    right: 20px !important;
    width: max-content !important;
}

.room-h1 {
    font-size: 30px;
}

.noUi-target.noUi-txt-dir-rtl .noUi-handle {

    right: -12px !important;
    left: auto !important;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none !important;
}

.noUi-target.noUi-txt-dir-rtl .noUi-origin {
    left: auto !important;
    right: 0 !important;
}

.noUi-connect {
    background-color: var(--color-primary) !important;
}

.noUi-tooltip {
    font-size: 12px;
    padding: 2px 8px;
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    display: none;
    /* پیش‌فرض مخفی */
}

/* نمایش تولتیپ هنگام درگ */
.noUi-active .noUi-tooltip {
    display: block;
}

.noUi-horizontal {
    height: 6px !important;
}

/* برای اینکه اعداد تولتیپ هم فارسی نمایش داده شوند */
.noUi-horizontal .noUi-tooltip {
    bottom: -200% !important;
}

.noUi-tooltip {
    background-color: transparent !important;
    border: unset !important;
}

.room-range-price {
    margin-bottom: 30px;
}

.noUi-horizontal .noUi-handle {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
    right: -17px;
    top: -6px;
}

.noUi-handle {
    border: 1px solid #ffffff;
    border-radius: 3px;
    background: #545454 !important;
    box-shadow: none !important;
    cursor: default;
}

.featcher-room-box {
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.204);
    padding-bottom: 10px;
    max-width: 700px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #EEAF42 #f1f1f1;
    ;
}

.featcher-room-box div {
    border: 1px solid rgba(0, 0, 0, 0.284);
    border-radius: 7px;
    padding: 7px 10px;
    background-color: #eaeaea;
    color: #646464;
    font-size: 13px;
    min-width: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.room-detail {
    width: 80%;
    color: rgba(0, 0, 0, 0.492);
}

.room-main-title {
    font-size: 22px;
    color: var(--color-primary);
}

.book-room-box {
    padding: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.204);
    height: 100%;
}

.discount-price {
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 5px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin: 0 10px;
}

.real-price {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 22px;
}

.book-btn {
    background-color: rgba(0, 0, 0, 0.492);
    color: #fff;
    transition: all .1s;
}

.book-btn:hover {
    background-color: var(--color-primary);
}

/*  :  /////////////////////////                      ////////////////////////                    */


.filter-container {
    border-bottom: 1px solid #ddd;
}

.filter-container h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.filter-box {
    display: flex;
    /* تغییر به flex برای انیمیشن */
    flex-direction: column;
    max-height: 0;
    /* ارتفاع اولیه صفر برای انیمیشن */
    overflow: hidden;
    /* مخفی کردن محتوا در حالت بسته */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    /* انیمیشن نرم */
}

.filter-box label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    line-height: 32px;
    color: #777;
    padding-left: 9px;
    cursor: pointer;
    position: relative;
}

.filter-box label input {
    width: 18px;
    height: 18px;
}

.filter-box label::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #777;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mb-3 {
    margin-bottom: 1rem;
}

/* آیکون باز/بسته */
.isax {
    transition: transform 0.3s ease-out;
    /* انیمیشن نرم برای چرخش آیکون */
}

.filter-container.open .filter-box {
    max-height: 500px;
    /* یک ارتفاع بزرگ کافی برای نمایش محتوا */
    padding-bottom: 1rem;
    /* اضافه کردن padding در حالت باز */
}

.filter-container.open .isax {
    transform: rotate(180deg);
}

/* :                                   ////////////////////////////////////////// */



.knsl-icon-box {
    background-color: #fff;
    border: solid 10px #f9ecdb;
    z-index: 9;
    position: relative;
    box-shadow: inset 0 2px 48px 0 #fff;
    border-radius: 0px;
    text-align: center;
    padding: 30px;
    transition: 0.3s ease-in-out;
    margin-bottom: 10px;
    height: calc(100% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.knsl-icon-box img {
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1;
    filter: brightness(1) !important;
}


.knsl-icon-box h5 {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    color: #383A4E;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.featcher-content-box {
    position: relative;
}

.featcher-content-box::before {
    position: absolute;
    background-color: #fae3c3;
    width: 35px;
    height: 35px;
    content: "";
    border-radius: 50%;
    top: -16px;
    right: -14px;
    z-index: -1;
}

.knsl-mb-10 {
    margin-bottom: 10px !important;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #ECFAFB;
}

::-webkit-scrollbar-thumb {
    background: #efb45a;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(120%);
}

@media (max-width: 992px) {
    .knsl-icon-box h5::before {
        right: 20px;
    }
}


.knsl-icon-box {
    background-color: #F2FFFF;
}

.knsl-icon-box {
    background-color: #fff;
    border: solid 10px #f9ecdb;
    z-index: 9;
    position: relative;
    box-shadow: inset 0 2px 48px 0 #fff;
}

.swiper-button-next,
.swiper-button-prev {
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-box-img {
    max-width: 500px;
}

@media (max-width:992px) {

    .room-main-title{
        font-size: 20px;
    }

    .room-box .contentss {
        flex-direction: column;
    }

    .book-room-box {
        border: none;
    }

    .featcher-room-box {
        overflow-x: auto;
        scrollbar-width: thin;
        /* می‌تواند: auto, thin, none */
        scrollbar-color: #EEAF42 #f1f1f1;
        padding-bottom: 20px;
        flex-wrap: wrap;
        /* اول: رنگ thumb، دوم: رنگ track */
    }

    .room-detail {
        width: 100%;
        font-size: 15px;
        color: rgba(0, 0, 0, 0.492);
    }

    .book-btn {
        background-color: var(--color-primary);
    }

    .first-room-header p {
        margin-top: 18px;
        font-size: 16px;
        text-align: justify !important;
    }

    .first-room-header h1 {
        font-size: 20px;
        text-align: center;
    }

    .first-room-header p,
    .first-room-header h1 {
        width: 100% !important;

    }

}