﻿
.modal-option {
    display: none;
    width: 570px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-radius: 20px;
    background: var(--color-white);
    box-sizing: border-box;
}

.modal-option.active {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 300;

}

.bloc-option-modal-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    overflow-y: auto;
    max-height: 90vh;
}

.wrap-modal-option-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.wrap-modal-option-title .booking-period div:last-child span {
    text-transform: lowercase;
}

.modal-option-title {
    width: 100%;
    position: relative;
}

.modal-
.text span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.3s ease;
}

.modal-option-title span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.modal-option-picture {
    height: 200px;
    align-self: stretch;
}

.modal-option-picture img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.option-price-item {
    display: flex;
    padding: 8px;
    justify-content: space-between;
    align-self: stretch;
    border-radius: 5px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
}

.option-price_choice {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.option-price_choice strong {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.option-price_choice span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.modal-option-description {
    align-self: stretch;
}

.modal-option-description p {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.modal-option-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.modal-option-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.modal-option-pricing-infos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
}

/*.modal-option-totalAmount {
    display: flex;
    align-items: center;
    align-self: stretch;
}*/

span.modal-option-totalAmount {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.modal-option-totalAmount strong {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.modal-option-totalAmount span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.modal-option-total span.total {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.modal-option-add {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    align-self: stretch;
}

.modal-option-add span.addOptionToCartButton.disabled {
    background: var(--Colors-BE-GRIS-L, #F8F8F8);
    color: var(--Colors-BE-GRIS-D, #BFBFBF);
    pointer-events: none;
    border: var(--Colors-BE-GRIS-D, #BFBFBF);
}

.modal-option-add span.addOptionToCartButton {
    display: flex;
    padding: 10px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 5px;
    background: var(--MAIN-COLOR);
    color: var(--color-white);
    text-transform: uppercase;
}

.modal-option-add p {
    color: var(--color-black);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: stretch;
}

/* Horaires pour les options de type activités */

.bloc-hours-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.wrap-hours-option {
    display: flex;
    align-self: stretch;
    align-items: flex-start;
    align-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.wrap-hours-option .bloc-hours-item {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 4px;
    border: 1px solid var(--Colors-BE-GRIS-D, #BFBFBF);
    width: 64px;
    cursor: pointer;
}

.wrap-hours-option .bloc-hours-item:hover, .wrap-hours-option .bloc-hours-item.selected {
    border-radius: 4px;
    border: 1px solid var(--HEB-BOUTON, #3951AC);
    background: var(--HEB-LIGHT, #E1EAF8);
}

.wrap-hours-option .bloc-hours-item button {
    appearance: none;
    background: none;
    border: none;
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.wrap-hours-option .bloc-hours-item:hover button, .wrap-hours-option .bloc-hours-item.selected button {
    color: var(--HEB-BOUTON, #3951AC);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* option item breakfast */

.breakfast-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.breakfast-item-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.breakfast-item-title i {
    display: flex;
    padding-top: 2px;
    align-items: flex-start;
    gap: 10px;
    width: 15px;
    height: 15px;
}

.breakfast-item-title .title-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
}

.breakfast-item-title .title-content h3 {
   color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.breakfast-item-title .title-content h3 span {
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.breakfast-item-title .item-info-price {
   color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.breakfast-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakfast-item-quantity span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.breakfast-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.breakfast-item-footer .item-personalize {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.breakfast-item-footer .item-personalize a {
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
}

.breakfast-item-footer .item-recap-option {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.item-recap-option span:first-child {
   color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.item-recap-option span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.optionModal-closeIcon {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.breakfast-hours {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.breakfast-hours-titre {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wrap-breakfast-hours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    align-self: stretch;
}

.breakfast-hours-head {
    display: flex;
    width: 354px;
    height: 25px;
    padding-left: 105px;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
}

tr.breakfast-hours-head th {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    color: var(--BASIC-NOIR, #000);
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.breakfast-hours-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.wrap-breakfast-hours-check {
    display: flex;
    width: 250px;
    height: 140px;
    align-items: center;
    gap: 10px;
}

.breakfast-hours-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1 0 0;
    align-self: stretch;
}

.breakfast-hours-row input {
    display: flex;
    padding: 5px 10px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 5px;
    border: 0.25px solid var(--BASIC-NOIR, #000);
    width: 22px;
    height: 14px;
}

.breakfast-hours-foot {
    color: var(--BASIC-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: stretch;
}


table.dayPaxSelection {
    width: 100%;
    border-collapse: collapse;
}

table.dayPaxSelection th, table.dayPaxSelection td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

table.dayPaxSelection th {
    background-color: #f4f4f4;
}

.calendar-customize {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.calendar-customize.active {
    display: flex;
} 

.calendar-customize-activity {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calendar-customize .content-title, i.calendar-customize-activity .content-title i {
    margin-top: 3px;
}

.bloc-detail-prix-modal {
    display: flex;
    flex-direction: column;
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Tarif par tranches d'ages */

.bloc-option-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.item-option-person {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
}

.item-option-person img {
    border-radius: 5px;
    height: 76px;
    object-fit: cover;
    width: auto;
}

.wrap-item-option {
    display: flex;
    padding: 8px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}

.item-option-price, .item-option-desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-option-price .price {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.item-option-desc h4 {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.item-option-desc span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.item-option-desc div {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
}

.item-option-desc div i {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Mode de sélection des dates */

.modal-option-dates-selection {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.date-applicable {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-applicable span:first-child.active {
    display: flex;
    width: 16px;
    height: 16px;
    align-items: center;
    border-radius: 50px;
    background: var(--MAIN-COLOR);
    border: 1px solid var(--Colors-BE-NOIR, #000);
}

.date-applicable span:first-child {
    display: flex;
    width: 16px;
    height: 16px;
    align-items: center;
    border-radius: 50px;
    border: 1px solid var(--Colors-BE-NOIR, #000);
}


.date-applicable span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}


/* item du calendrier des périodes pour restauration */

.days-period-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    flex-wrap: wrap;
}

.day-period-option {
    display: flex;
    width: 95px;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 5px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    background: var(--Colors-BE-BLANC, #FFF);
    cursor: pointer;
    box-sizing: border-box;
}

.day-period-option.disabled {
    pointer-events: none;
    border-color: var(--Colors-BE-GRIS-D, #BFBFBF);
}

.day-period-option.disabled span {
    color: var(--Colors-BE-GRIS-D, #BFBFBF);
}

.day-period-option span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.day-period-option span i {
    display:flex;
}

.day-period-option.active {
    background: var(--MAIN-COLOR-LIGHT);
    border: 0.25px solid var(--MAIN-COLOR);
}

.day-period-option.active span {
    color: var(--MAIN-COLOR);
}

.wrap-bottom-option-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.wrap-bottom-option-price .date-customize, .wrap-bottom-option-price .price-option-resume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wrap-bottom-option-price .price-option-resume span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.wrap-bottom-option-price .date-customize span {
    color: var(--MAIN-COLOR);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.wrap-bottom-option-price .date-customize span#buttonToCustomize {
    font-weight: 600;
    cursor: pointer;
}

.calendar-customize h3, .calendar-customize-activity h3 {
    color: var(--BASIC-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bloc-option-modal-description .description {
    color: var(--BASIC-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.calendar-customize .content-title-desc, .calendar-customize-activity .content-title-desc {
    font-size: 12px;
}

/* MEDIA QUERIES */

@media (max-width: 768px) {

    .modal-option.active {
        width: 100%;
        top: 50px;
        left: 0;
        transform: initial;
        max-height: calc(100vh - 50px);
    }

    .bloc-option-modal-description {
        overflow: hidden;
        max-height: auto;
    }

}