﻿

div#availability {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
    margin-top: 56px;
}

.room-selection {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.room-selection a {
    color: var(--color-black);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-decoration: none;
}

.room-selection a img {
    width: 20px;
}

.room-selection a:hover {
    color: var(--color-black);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
}

.room-selection a.active {
    color: var(--MAIN-COLOR);
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.detail-price-compo {
    display: none;
}

/* Bloc de toutes les chambres */
.rooms {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
}

.bloc-room-list {
    width: 100%;
}
.slider-rooms {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.slider-rooms {
    max-width: 1512px!important;
}

.slider-rooms .bloc-room {
    width: 400px;
    margin: 0 11px;
}

.slider-rooms i.fi.fi-ss-angle-left.slick-arrow {
    position: absolute;
    top: 50%;
    left: -30px;
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
}

.slider-rooms i.fi.fi-ss-angle-right.slick-arrow {
    position: absolute;
    top: 50%;
    right: -30px;
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
}

/* Bloc d'une Chambre */

.bloc-room {
    display: flex !important;
    width: calc(50% - 20px);
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    height: 475px;
}

.bloc-room a.link-room {
    width: 100%;
    height: 250px;
    position: relative;
}

a.link-room .cartouche-promo {
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 30px;
    background: var(--Colors-BE-PROMOTION, #CC1541);
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--Colors-BE-BLANC, #FFF);
    text-align: right;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.detail-room {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 20px;
}

.detail-price a {
    text-decoration: none;
}

.title-room {
    color: var(--color-black);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.title-room p, .title-room span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Crop pour la description des chambres : 3 lignes  */
.description-room span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-rooms {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.top-rooms img {
    width: 40px;
    object-fit: cover;
    display:none;
}
.description-room {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    gap: 10px;
    display: flex;
}

/*  Bloc info Room (capacité, Métode de paiements) */

.bloc-info-room {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    align-self: stretch;
}

.capacity-room, .aera-room {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.capacity-room i {
    display: flex;
}

.capacity-room span, .payment-method-room span, .aera-room span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.payment-method-room {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
}

.payment-room img, .capacity-room img, .payment-method-room img {
    width: 15px;
    height: 15px;
    object-fit: cover;
}

/** Bloc sur la compo, le prix et le lien vers le détail */

.wrap-info-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
   /* height: 267px;*/
    align-self: stretch;
    gap: 20px;
}

.slider-rooms .wrap-info-price {
    min-height: 210px;
}

.detail-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    height: 50px;
}

.detail-price img {
    height: 25px;
    flex-shrink: 0;
}

.center-detail-price-room {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    justify-content: space-between;
    width: 100%;
    position: relative;
}
.wrap-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.center-detail-price-room div.price-from {
    display: flex;
    width: auto;
    align-items: center;
    gap: 3.2px;
}

.center-detail-price-room div.price-from span {
    color: var(--BASIC-GRIS-2, #A8A8A8);
    text-align: right;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.center-detail-price-room div.price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.center-detail-price-room div.price span {
    color: var(--color-black);
    text-align: right;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.wrap-boutons-price {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    position: absolute;
    right: 0;
}

.bloc-room .detail-price .btn-see-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    background: var(--color-white);
    transition: all .4s ease-out;
}

.bloc-room .detail-price .btn-see-price a {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 10px 24px;
    box-sizing: border-box;
}

.bloc-room .detail-price .btn-see-price:hover {
    background: var(--MAIN-COLOR);
}

.bloc-room .detail-price .btn-see-price:hover a span {
    color: var(--color-white);
}
.bloc-room .detail-price .btn-see-price a span {
    color: var(--MAIN-COLOR);
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.img-room {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background:no-repeat;
    object-fit: cover;
}

.bloc-room .read-more p {
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.wrap-description .descriptionRoom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.descriptionRoom .text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avis {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.note {
    color: var(--color-black);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.text p {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.more {
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.wrap-info-room {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    align-self: stretch;
}

/* MEDIA QUERIES */

@media (max-width: 1600px) {

    /*.bloc-room {
        height: auto;
        width: 100%;
    }*/

    .bloc-room .detail-price .btn-see-price a span {
        font-size: 14px;
    }

}

@media (min-with: 1200px) {

    .slider-rooms .bloc-room {
        margin-bottom: 20px;
    }

}

@media (max-width: 1200px) {

    .bloc-room {
        border: 1px solid var(--HEB-LIGHT, #E1EAF8);
        border-radius: 10px;
        height: 430px;
    }
}

@media (max-width: 1024px) {

    .wrap-header-filter.headerMaster a:not(:first-child) {
        display: none;
    }

    .title-room h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}

@media (min-width: 769px) and (max-width: 1200px) {

    div#availability {
        margin-top: 8px;
    }

    .wrap-rooms-content {
        gap: 24px;
    }

    .list-rooms {
        gap: 32px;
    }

    .bloc-room {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
        border-radius: 10px;
        border: 1px solid var(--HEB-LIGHT, #E1EAF8);
        height: 465px;
    }

    .rooms {
        gap: 32px;
    }

    .slider-rooms .bloc-room {
        height: auto;
    }

    .bloc-room .img-room, .bloc-room a.link-room {
        height: 200px;
    }

    .slider-rooms .wrap-info-price {
        min-height: 210px;
    }

    .wrap-info-price {
        height: 100%;
    }

    .bloc-room .detail-price .btn-see-price a span {
        font-size: 14px;
    }

    .detail-price-compo {
        display:none;
    }

    .center-detail-price-room {
        width: 100%
    }

    .title-rooms h2 {
        color: var(--color-black);
        font-family: Inter;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    .bloc-info-room strong {
        color: var(--color-black);
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    .detail-room {
        min-height: auto;
        height: 450px;
    }

    .detail-price {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        align-self: stretch;
        margin: 0px 20px 20px 20px;
    }

    .wrap-info-room {
        padding:0 20px;
    }

}

@media (max-width: 650px) {

    .bloc-room {
        width: 100%;
        margin: 0 auto;
        height: auto;
    }

}

@media (max-width: 768px) {

    div#availability {
        margin-top: 8px;
    }

    .wrap-info-price {
        height: auto;
    }

    .bloc-room .detail-price .btn-see-price a {
        height: auto;
        padding: 0;
    }

    wrap-info-price {
        height: auto;
    }

    .center-detail-price-room {
        box-sizing: border-box;
        padding: 0 16px;
    }

    .wrap-boutons-price {
        right: 20px;
    }

    .detail-price {
        margin-bottom: 12px;
        height: 40px;
    }

    .more {
        font-size: 12px;
    }

    .bloc-room-list .slider-rooms .bloc-room .detail-room {
        height: auto;
    }

    .bloc-room a.link-room, .bloc-room a.link-room img {
        height: 200px;
    }

    .slider-rooms {
        display: flex;
        flex-wrap: wrap;
    }

    .slider-rooms .bloc-room {
        gap: 5px;
        width: 100%;
        height: auto;
        margin: 0;
        border: none;
        border-radius: 10px;
        border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    }

    .slider-rooms .center-detail-price-room {
        padding: 0 12px;
    }

    .slider-rooms .center-detail-price-room div.price span {
        font-size: 16px;
    }

    .bloc-room-list .wrap-info-room {
        padding: 12px;
    }

    .slider-rooms .wrap-boutons-price {
        position: inherit;
        right: auto;
        margin-left: auto;
    }

    .age-selection .age-selection__label {
        min-width: auto;
    }

    .center-detail-price-room div.price-from span {
        font-size: 12px;
    }

    .slider-rooms .bloc-room img.img-room {
        height: 200px;
        border-radius: 10px 10px 0px 0px;
    }


    .title-room.justForMobile {
        display: block;
        height: inherit;
        font-size: 14px;
    }

    .title-room.justForDesktop {
        display: none;
    }

    .description-room {
        min-height: inherit;
        font-size: 14px;
    }

    .description-room.d-none {
        display: none;
    }

    .title-rooms {
        align-items: center;
        width: 100%;
    }

    .title-rooms h2 {
        height: auto;
    }

    .title-rooms img {
        width: 30px;
        height: 30px;
    }

    .descriptionRoom .text p {
        font-size: 14px;
    }

    .wrap-rooms-content {
        width: 100%;
        margin: 0 auto;
        gap: 24px;
    }

    .bloc-info-room, .bloc-info-room span {
        font-size: 14px;
    }

    .bloc-room .detail-price .btn-see-price {
        padding: 10px;
        height: auto;
    }

    .detail-room {
        gap: 16px;
    }

    .detail-price-compo {
        display: none;
    }

    .bloc-room .detail-price .btn-see-price a span {
        font-size: 14px;
    }

    .slider-rooms .detail-room {
        height: 90px;
        gap: 5px;
    }
}

