.gallery-lightbox {
    align-items: center;
    background: rgba(5, 20, 15, .88);
    inset: 0;
    justify-content: center;
    max-height: none;
    max-width: none;
    padding: clamp(16px, 4vw, 48px);
    position: fixed;
    z-index: 1000;
}

.gallery-lightbox:not([hidden]) {
    display: flex;
}

.gallery-lightbox__panel {
    max-height: 100%;
    max-width: min(1100px, 100%);
    position: relative;
}

.gallery-lightbox figure {
    margin: 0;
}

.gallery-lightbox img {
    display: block;
    max-height: calc(100vh - 96px);
    max-width: 100%;
}

.gallery-lightbox figcaption {
    background: #102a21;
    color: #fff;
    font-size: 14px;
    padding: 9px 13px;
}

.gallery-lightbox__close {
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: #102a21;
    cursor: pointer;
    font-size: 27px;
    height: 38px;
    line-height: 1;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 38px;
}

.gallery-lightbox__previous,
.gallery-lightbox__next {
    align-items: center;
    background: rgba(16, 42, 33, .9);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 29px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    margin-top: -24px;
    position: absolute;
    top: 50%;
    width: 48px;
}

.gallery-lightbox__previous {
    left: 14px;
}

.gallery-lightbox__next {
    right: 14px;
}

.gallery-lightbox__previous:hover,
.gallery-lightbox__next:hover,
.gallery-lightbox__previous:focus-visible,
.gallery-lightbox__next:focus-visible {
    background: var(--pine);
    outline: 3px solid #fff;
    outline-offset: 2px;
}

body.lightbox-open {
    overflow: hidden;
}

.booking-page {
    min-height: 55vh;
}

.booking-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 48px auto;
    max-width: 820px;
    padding: clamp(24px, 5vw, 52px);
}

.booking-panel h1 {
    margin-top: 0;
}

.booking-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.booking-form label > span {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    border: 1px solid var(--line);
    border-radius: 4px;
    box-sizing: border-box;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form .button {
    justify-self: start;
}

.booking-notice {
    border-radius: 4px;
    margin: 22px 0;
    padding: 12px 14px;
}

.booking-notice--success {
    background: #e8f5eb;
    border: 1px solid #91c8a0;
}

.booking-notice--error {
    background: #fff0ed;
    border: 1px solid #dc9e8e;
}

.booking-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

@media (max-width: 620px) {
    .booking-panel {
        margin: 24px auto;
    }

    .booking-form__grid {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox__previous,
    .gallery-lightbox__next {
        height: 42px;
        width: 42px;
    }
}

@media print {
    .gallery-lightbox,
    .booking-page .booking-form {
        display: none !important;
    }
}
