/*
Theme Name: Maison Decotterd
Author: Maison Decotterd
Version: 1
*/
@import url("css/decotterd/css/global.css");

@media (max-width: 768px) {
	.header__signature img {
		display: none;
	}
	.header__content {
    	padding-bottom: 1rem;
	}
}

.reservation__embed iframe {
    min-height: 40.1rem !important;
}

.header__content {
    display: none;
}


.global__overlay {
    background: rgba(0, 0, 0, .6) !important;
}

/* Hide dialog and overlay by default */
.dialog, .dialog__overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none; /* Ensure it's not clickable when hidden */
  }

/* When dialog is active, make it visible and fade it in */
.dialog-active .dialog,
.dialog-active .dialog__overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Make it interactable */
  display: flex !important;
}

.dialog__overlay {
    position: fixed;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    top: 0;
    left: 0;
}

.dialog {
    position: fixed;
    z-index: 10002;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    display: flex;
    .dialog__inner {
        background: rgba(255, 255, 255, .87);
        text-align: center;
        padding: 2rem 2.4rem;
        color: #020407;
        max-width: 133.8rem;
        width: 100%;
        position: relative;
    }
    .dialog__content {
        display: flex;
        flex-wrap: wrap;
        gap: 2.4rem;
    }
    .dialog__content--image {
        width: calc(50% - 1.2rem);
        img {
            width: 100%;
            height: 572px;
            object-fit: cover;
        }
    }
    .dialog__content--text {
        width: calc(50% - 1.2rem);
        padding-top: 7.2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.4rem;
    }
    .dialog__content--text.small {
        width: 100%;
    }
    .dialog__title {
        font-family: "Montserrat", sans-serif;
        font-size: 3.2rem;
        line-height: 3.8rem;
        font-style: normal;
        font-weight: 700;
        color: #203F64;
        text-align: center;
        text-transform: uppercase;
    }
    .dialog__text {
        padding-top: 0.2rem;
        font-size: 2rem;
        font-weight: 100;
        line-height: 3rem;
        color: #203F64;
        ul {
            list-style: disc;
            list-style-position: inside;
        }
        ol {
            list-style: decimal;
            list-style-position: inside;
        }
        em {
            font-style: italic;
        }
        strong {
            font-weight: 700;
        }
        blockquote {
            font-style: italic;
        }
    }
    .dialog__close {
        position: absolute;
        top: 2rem;
        right: 2.4rem;
        cursor: pointer;
        span {
            font-size: 2.8rem;
            color: #203F64;
        }
    }
    .dialog__button {
        background: #203f64;
        color: #fff;
        font-size: 1.8rem;
        line-height: 2rem;
        text-transform: uppercase;
        font-weight: 700;
        padding: 3rem 6rem;
        position: relative !important;
        margin-top: auto;
    }
    .dialog__button:hover {
        background: #BD9A00;
        color: white;
    }
}

@media (max-width: 1400px) {
    .dialog__inner {
        width: calc(100% - 4rem) !important;
    }
}

@media (max-width: 768px) {
	.dialog__inner {
		max-height: 90vh;
		overflow-y: scroll;
	}
    .dialog__content--image {
        width: 100% !important;
        img {
            width: 100%;
            height: 250px !important;
            object-fit: cover;
        }
    }
    .dialog__content--text {
        width: 100% !important;
        padding-top: 1.2rem !important;
        gap: 1.4rem !important;
    }
    .dialog__title {
        font-size: 2.2rem !important;
        line-height: 2.8rem !important;
    }
    .dialog__text {
        font-size: 1.6rem !important;
        line-height: 2.5rem !important;
    }
    .dialog__button {
        font-size: 1.6rem !important;
        line-height: 1.8rem !important;
        padding: 1.6rem !important;
    }
    .dialog__content {
        gap: 1rem !important;
    }
}