﻿/* Modal GiftCard */

#modal-giftCard {
    display: none;
    width: 550px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 20px;
    background: var(--color-white);
}

#modal-giftCard.active {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
}

span#giftCard-closeIcon {
    position: absolute;
    right: 20px;
    font-size: 20px;
    top: 20px;
    cursor: pointer;
}

.giftCard-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

section.giftCard-modal-header i {
    font-size: 15px;
}

.giftCard-modal-header h5 {
    text-transform: uppercase;
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.giftCard-img-section {
    display: flex;
    height: 170px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    align-self: stretch;
    padding: 0 16px;
}

.giftCard-img-section img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.giftCard-imageAndInfo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    align-self: stretch;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

.giftCard-img-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Titre de la carte cadeau */

.giftCard-modal-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-black);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 100%;
    padding: 16px 16px 0 16px;
}

.giftCard-modal-name-wrapper input {
    border: none;
    outline: none;
    color: var(--color-black);
    text-align: left;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.giftCard-modal-name-wrapper button {
    border: none;
    background: none;
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
}

/* Modal infos */
.giftCard-modal-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0 16px;
}

.giftCard-modal-info-room {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.giftCard-modal-info-room span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.giftCard-modal-info-date {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.giftCard-modal-info-date span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.giftCard-imageAndInfo-wrapper .separator-barre {
    display: block;
    width: calc(100% - 32px);
    padding: 0 16px;
    margin: 0 auto;
}

.modal-giftCard-action-txt {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
    cursor: pointer;
}

.modal-giftCard-personnal-txt {
    position: relative;
    display: flex;
    align-self: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px;
}

.howDoesItWorks {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    gap: 10px;
    padding: 0 16px 16px 16px;
}

.howDoesItWorks-head {
    display: flex;
    gap: 6px;
}

.howDoesItWorks-head span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.howDoesItWorks-head span.read-more-toggle-doc {
    color: var(--HEB-BOUTON, #3951AC);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: underline;
    cursor: pointer;
}

div#charCount {
    position: absolute;
    bottom: -1px;
    right: 26px;
    font-size: 14px;
}

textarea.personnal-notification {
    font-family: 'Inter';
    display: block;
    align-self: stretch;
    height: 100px;
    border-width: 0.25px;
    border-style: solid;
    border-color: #000;
    border-radius: 5px;
    padding: 5px;
}

/* Ligne avec la quantité et le prix */

.wrap-bottom-quantity-giftCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    align-self: stretch;
}

.modal-giftCard-quantity-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.modal-giftCard-quantity-prices span {
    color: var(--Colors-BE-NOIR, #000);
    text-align: right;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}

.modal-giftCard-quantity-prices strong {
    color: var(--Colors-BE-NOIR, #000);
    text-align: right;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
}

/* Section sur le bouton d'ajout au panier */

.giftCard-modal-btn-section {
    width: 100%;
    padding: 0 16px;
}

.giftCard-modal-btn-section > p {
    margin-top: 5px;
    font-size: 14px;
}

/* MEDIA QUERIES */

@media (max-width: 768px) {

    #modal-giftCard.active {
        top: 50%;
        transform: translateY(-50%);
        width: calc(100% - 40px);
        left: 0;
        margin: 0 20px;
    }

    .giftCard-modal-name-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--color-black);
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        width: 100%;
        padding: 16px 16px 0 16px;
    }

    .giftCard-modal-info-date i {
        display: flex;
    }

    .giftCard-modal-info-room i {
        display: flex;
    }

    #modal-giftCard .modal-content {
        height: 100%;
        position: fixed;
    }

    .giftCard-imageAndInfo-wrapper {
        gap: 20px;
    }

}


