/**
 * Les Sables d'Or — Functional styles
 *
 * Only the CSS required for interactive JS components (modal, lightbox,
 * gallery overlay, loading state). No visual styling — that is handled by
 * Jens in Divi via the .lsdo- class structure.
 */

/* =========================================================================
   Modal [mobilhome_request]
   position:fixed + display:flex are required for the overlay to work.
   ========================================================================= */

.lsdo-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.lsdo-modal[hidden] { display: none; }

.lsdo-modal__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
}

.lsdo-modal__window {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 16px;
    padding: 36px 36px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.lsdo-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(225, 225, 225, 1);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
}

.lsdo-modal__close:hover {
    background: rgba(246, 246, 246, 1);
}

.lsdo-modal__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
    margin: 0 0 10px 0;
}

.lsdo-modal__intro {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(138, 138, 138, 1);
    margin: 0 0 24px 0;
}

/* =========================================================================
   Request form — fields, labels, inputs
   ========================================================================= */

.lsdo-request__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lsdo-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lsdo-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lsdo-form__field label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
}

.lsdo-form__field input[type="text"],
.lsdo-form__field input[type="email"],
.lsdo-form__field input[type="tel"],
.lsdo-form__field input[type="date"],
.lsdo-form__field select,
.lsdo-form__field textarea {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
    border: 1px solid rgba(210, 210, 210, 1);
    border-radius: 8px;
    padding: 11px 14px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    appearance: auto;
}

.lsdo-form__field input:focus,
.lsdo-form__field select:focus,
.lsdo-form__field textarea:focus {
    border-color: rgb(0, 95, 162);
    box-shadow: 0 0 0 3px rgba(0, 95, 162, 0.1);
}

.lsdo-form__field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.lsdo-form__field input::placeholder,
.lsdo-form__field textarea::placeholder {
    color: rgba(180, 180, 180, 1);
}

/* Success / error messages */
.lsdo-message {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
}
.lsdo-message--success {
    background: rgba(89, 179, 65, 0.1);
    color: rgba(40, 120, 20, 1);
}
.lsdo-message--error {
    background: rgba(220, 50, 50, 0.08);
    color: rgba(180, 30, 30, 1);
}
.lsdo-message[hidden] { display: none; }

/* Mobile: stack form rows */
@media (max-width: 480px) {
    .lsdo-modal__window {
        padding: 28px 20px 24px;
    }
    .lsdo-form__row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Lightbox (single image)
   ========================================================================= */

.lsdo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lsdo-lightbox[hidden] { display: none; }

.lsdo-lightbox__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}
.lsdo-lightbox__image {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
}
.lsdo-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1;
    cursor: pointer;
}

/* =========================================================================
   Detail gallery — Swiper + thumbnail strip
   Swiper CSS handles the main slider; we only add the thumbstrip layout.
   ========================================================================= */

/* Slide image fills the slider */
.lsdo-gallery__swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnail strip: flex row */
.lsdo-gallery__thumbstrip {
    display: flex;
    gap: 8px;
}

.lsdo-gallery__thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
    aspect-ratio: 257 / 159;
    border-radius: 5px;
}

.lsdo-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* "+N more" overlay on the last thumbnail */
.lsdo-gallery__more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

/* "All photos" button — absolute bottom-left in the main slider, mobile only */
.lsdo-gallery__all-photos {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    display: none; /* hidden by default; shown on mobile */
    align-items: center;
    gap: 6px;
    background: rgba(78, 162, 205, 1);
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 11.91px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

/* Mobile (< 768px): hide thumbnail strip, show "All photos" button, hide main slider arrows */
@media (max-width: 767px) {
    .lsdo-gallery__thumbstrip {
        display: none;
    }
    .lsdo-gallery__all-photos {
        display: flex;
    }
    .lsdo-gallery__swiper .lsdo-gallery__prev,
    .lsdo-gallery__swiper .lsdo-gallery__next {
        display: none;
    }
}

/* =========================================================================
   Gallery lightbox — fullscreen Swiper modal
   ========================================================================= */

.lsdo-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lsdo-gallery-lightbox[hidden] { display: none; }

/* Dark overlay */
.lsdo-gallery-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

/* Close button — top-right, circular */
.lsdo-gallery-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.lsdo-gallery-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Swiper wrapper */
.lsdo-gallery-lightbox__swiper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    padding: 0 70px;
    box-sizing: border-box;
}

.lsdo-gallery-lightbox__swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsdo-gallery-lightbox__swiper .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Nav buttons inside lightbox: same style but always visible */
.lsdo-gallery-lightbox__swiper .lsdo-gallery__prev,
.lsdo-gallery-lightbox__swiper .lsdo-gallery__next {
    display: flex;
}

/* =========================================================================
   Overview — layout (sidebar + results)
   ========================================================================= */

.lsdo-overview__layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.lsdo-overview__sidebar {
    flex-shrink: 0;
    width: 261px;
    background: rgb(246, 246, 246);
    border-radius: 15px;
    padding: 20px;
    color: rgba(30, 30, 30, 1) !important;
}

.lsdo-overview__sidebar * {
    color: rgba(30, 30, 30, 1) !important;
}

.lsdo-overview__results {
    flex: 1;
    min-width: 0;
}

.lsdo-results__count {
    margin-bottom: 12px;
}

/* =========================================================================
   Overview — homes grid (vertical list of cards)
   ========================================================================= */

.lsdo-homes-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .lsdo-homes-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================================
   Home card — horizontal layout (desktop)
   ========================================================================= */

.lsdo-home-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 2px solid rgba(185, 185, 185, 1);
    border-radius: 15px;
    overflow: hidden;
}

/* Image block */
.lsdo-home-card__image-link {
    display: block;
    flex-shrink: 0;
    width: 317px;
}

.lsdo-home-card__image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 215px;
}

.lsdo-home-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lsdo-home-card__image--empty {
    background: #f0f0f0;
    min-height: 160px;
}

.lsdo-home-card__badges {
    position: absolute;
    bottom: 0;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 6px 6px 0 0;
    padding: 6px 8px;
}

.lsdo-home-card__badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: rgba(0, 0, 0, 1);
}

.lsdo-home-card__badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Content */
.lsdo-home-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 18px;
    gap: 8px;
}

@media (min-width: 768px) {
    .lsdo-home-card__body {
        padding: 26px 30px 22px;
    }
}

.lsdo-home-card__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
}

.lsdo-home-card__title a {
    text-decoration: none;
    color: rgba(30, 30, 30, 1);
}

.lsdo-home-card__description {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(138, 138, 138, 1);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 24px !important;
}

@media (max-width: 767px) {
    .lsdo-home-card__description {
        -webkit-line-clamp: 13;
    }
}

/* Footer: price + link */
.lsdo-home-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
}

@media (max-width: 767px) {
    .lsdo-home-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.lsdo-home-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.lsdo-home-card__price-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: rgb(0, 95, 162);
}

.lsdo-home-card__price-label--empty {
    color: #999;
}

.lsdo-home-card__price-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: rgb(0, 95, 162);
}

.lsdo-home-card__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.lsdo-home-card__link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* =========================================================================
   Home card — mobile (vertical layout)
   ========================================================================= */

@media (max-width: 1200px) {
    .lsdo-overview__layout {
        flex-direction: column;
    }

    .lsdo-overview__sidebar {
        width: 100%;
        box-sizing: border-box;
    }

    .lsdo-home-card {
        flex-direction: column;
    }

    .lsdo-home-card__image-link {
        width: 100%;
    }

    .lsdo-home-card__image {
        max-height: 160px;
    }

    /* On mobile the badges sit inside a vertical card */
    .lsdo-home-card__badges {
        border-radius: 6px 6px 0 0;
    }
}

@media (min-width: 768px) {
    .lsdo-home-card__badges {
        right: 20%;
    }
}

/* =========================================================================
   Loading state (AJAX)
   ========================================================================= */

.lsdo-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* =========================================================================
   Filter sidebar — mobile toggle for the entire filter block
   Hidden on desktop; override hidden attribute so content is always visible.
   ========================================================================= */

.lsdo-filters__block-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
}

.lsdo-filters__block-toggle svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lsdo-filters__block-toggle.is-active {
    margin-bottom: 24px;
}

@media (min-width: 1201px) {
    .lsdo-filters__block-toggle.is-active {
        margin-bottom: 0;
    }
}

.lsdo-filters__block-toggle.is-active svg {
    transform: rotate(180deg);
}

@media (min-width: 1201px) {
    /* Hide toggle button on desktop */
    .lsdo-filters__block-toggle {
        display: none;
    }
    /* Filter block always visible on desktop, even if hidden attribute is set */
    .lsdo-filters__content[hidden] {
        display: block;
    }
}

/* =========================================================================
   Filter sidebar — per-group collapsible (mobile and desktop)
   Chevron rotates 180° when group is collapsed.
   ========================================================================= */

.lsdo-filters__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.lsdo-filters__group-header svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lsdo-filters__group.is-collapsed .lsdo-filters__group-header svg {
    transform: rotate(-90deg);
}

/* =========================================================================
   Pagination
   display:flex is functionally required for the row layout.
   Visual styling (colours, borders, padding) in Divi via .lsdo-pagination classes.
   ========================================================================= */

.lsdo-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 44px;
}

.lsdo-pagination__btn {
    all: unset;
    font-size: 18px;
    font-weight: bold;
    color: rgba(178, 178, 178, 1);
    cursor: pointer;
    padding: 4px 8px;
}

.lsdo-pagination__btn--active {
    color: rgba(30, 30, 30, 1);
}

.lsdo-pagination__btn--nav {
    color: rgba(30, 30, 30, 1);
}

/* =========================================================================
   Search form — "Who's coming?" guests dropdown
   position:relative + absolute are functionally required for the dropdown.
   Visual styling (colours, borders, padding) in Divi via .lsdo- classes.
   ========================================================================= */

.lsdo-guests {
    position: relative;
    display: flex;
    align-items: center;
}

.lsdo-guests__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 200;
    min-width: 240px;
    background: #fff;
    border: 1px solid rgba(225, 225, 225, 1);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 4px 0;
}

.lsdo-guests__panel[hidden] { display: none; }

.lsdo-guests__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.lsdo-guests__row + .lsdo-guests__row {
    border-top: 1px solid rgba(225, 225, 225, 1);
}

.lsdo-guests__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
}

.lsdo-guests__counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lsdo-guests__min,
.lsdo-guests__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(225, 225, 225, 1);
    background: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

.lsdo-guests__min:hover,
.lsdo-guests__plus:hover {
    border-color: rgba(89, 179, 65, 1);
    color: rgba(89, 179, 65, 1);
}

.lsdo-guests__count {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    min-width: 16px;
    text-align: center;
}

/* =========================================================================
   Detail page — layout (2-column grid, sidebar sticky)
   ========================================================================= */

.lsdo-detail__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-areas:
        "content sidebar"
        "desc    sidebar";
    column-gap: 40px;
    row-gap: 32px;
    align-items: start;
}

.lsdo-detail__content     { grid-area: content; min-width: 0; }
.lsdo-detail__sidebar     { grid-area: sidebar; min-width: 0; }
.lsdo-detail__description { grid-area: desc;    min-width: 0; }

/* Back link */
.lsdo-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    color: rgb(0, 95, 162);
    text-decoration: none;
    margin-bottom: 16px;
}

.lsdo-detail__back-arrow {
    flex-shrink: 0;
    display: flex;
}

/* Title */
.lsdo-detail__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 35px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
    margin: 0 0 24px 0;
}

/* Gallery — main slider height */
.lsdo-gallery__swiper {
    aspect-ratio: 257 / 159;
    border-radius: 3px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .lsdo-gallery__swiper {
        border-radius: 10px;
    }
}

/* Gallery nav buttons */
.lsdo-gallery__prev,
.lsdo-gallery__next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    margin-top: -25px; /* vertically center relative to Swiper's top: 50% */
}

.lsdo-gallery__prev::after,
.lsdo-gallery__next::after {
    display: none; /* hide Swiper's default arrow */
}

.lsdo-gallery__prev svg,
.lsdo-gallery__next svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.lsdo-gallery__prev:hover,
.lsdo-gallery__next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.lsdo-gallery__thumbstrip {
    margin-top: 8px;
}

/* =========================================================================
   Detail sidebar — desktop: blue card wrapping infobox + specs
   ========================================================================= */

.lsdo-detail__sidebar {
    position: sticky;
    top: 24px;
    background: rgb(0, 95, 162);
    border-radius: 12px;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lsdo-detail__infobox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Date selector — desktop: date text left, icon right (already in functional CSS) */
.lsdo-infobox__date-display {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 15px;
    line-height: 1;
    color: #fff;
}

.lsdo-infobox__date-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

/* Price block */
.lsdo-infobox__price-from {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1;
    color: #fff;
}

.lsdo-infobox__price-from strong {
    font-size: 28px;
    font-weight: bold;
}

.lsdo-infobox__price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    color: #fff;
}

.lsdo-infobox__price-vanaf {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1;
    display: block;
}

.lsdo-infobox__price strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
}

/* CTA button */
.lsdo-btn--vol {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: rgba(89, 179, 65, 1);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    text-align: center;
}

/* Hint text */
.lsdo-infobox__hint {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

/* Specs list — desktop: white text, top border as divider */
.lsdo-infobox__specs {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 1);
    padding-top: 20px !important;
}

.lsdo-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: #fff;
}

.lsdo-spec strong {
    font-weight: 700;
}

.lsdo-spec svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #fff;
}

/* Description */
.lsdo-detail__description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(30, 30, 30, 1);
}

/* Extra voorzieningen */
.lsdo-detail__extra-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    margin: 0 0 12px;
}

.lsdo-detail__extra-list {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lsdo-detail__extra-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lsdo-detail__extra-item::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(89, 179, 65, 1);
}

/* =========================================================================
   Detail page — mobile
   ========================================================================= */

@media (max-width: 767px) {

    /* Single-column grid: gallery → sidebar (infobox+specs) → description */
    .lsdo-detail__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "sidebar"
            "desc";
        column-gap: 0;
        row-gap: 20px;
    }

    .lsdo-detail__back {
        font-size: 15px;
    }

    .lsdo-detail__back-arrow svg {
        width: 15px;
        height: 15px;
    }

    /* Title smaller on mobile */
    .lsdo-detail__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* Sidebar: lose blue background — infobox gets it */
    .lsdo-detail__sidebar {
        background: none;
        padding: 0;
        position: static;
        gap: 24px;
    }

    /* Infobox: gets its own blue card */
    .lsdo-detail__infobox {
        background: rgb(0, 95, 162);
        border-radius: 12px;
        color: #fff;
        padding: 24px;
    }

    /* Date selector on mobile: icon centered above, date text centered below */
    .lsdo-infobox__date-selector {
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 16px;
    }

    .lsdo-infobox__date-icon svg {
        width: 24px;
        height: 24px;
    }

    .lsdo-infobox__date-display {
        font-weight: 700;
        text-align: center;
    }

    /* Price centered on mobile, bold */
    #lsdo-infobox-period {
        text-align: center;
    }

    .lsdo-infobox__price strong {
        font-weight: 700;
        font-size: 28px;
    }

    .lsdo-infobox__hint {
        font-size: 12px;
        text-align: center;
    }

    /* Specs outside blue box on mobile: dark text, full-bleed background */
    .lsdo-infobox__specs {
        border-top: none;
        padding-top: 32px !important;
        padding-bottom: 32px !important;
        position: relative;
    }

    .lsdo-infobox__specs::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(50% - 50vw);
        width: 100vw;
        background: rgba(246, 246, 246, 1);
        z-index: -1;
    }

    .lsdo-spec {
        color: rgba(30, 30, 30, 1);
    }

    .lsdo-spec svg {
        color: rgba(30, 30, 30, 1);
    }

    .lsdo-detail__extra-title,
    .lsdo-detail__extra-item {
        color: rgba(30, 30, 30, 1);
    }
}

/* =========================================================================
   Detail sidebar — date selector
   display:flex + justify-content:space-between place the date text left
   and the calendar icon right. The hidden input is anchored inside so
   flatpickr can attach its calendar to this element.
   ========================================================================= */

.lsdo-infobox__date-selector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid white;
    padding-bottom: 8px;
}

/* Clickable date text area — fills the remaining space */
.lsdo-infobox__date-trigger {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

/* Calendar icon button */
.lsdo-infobox__date-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Hidden flatpickr anchor — positioned at the bottom-left of the selector
   so the calendar opens below the date display, not in the middle of the page */
.lsdo-infobox__date-input {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

/* =========================================================================
   Search bar — pill-shaped bar with date + guests + submit
   ========================================================================= */

.lsdo-search__bar {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
}

.lsdo-search__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 20px;
    position: relative;
    cursor: pointer;
}

/* Divider between date field and guests field — 45px tall, centered */
.lsdo-search__field + .lsdo-search__field::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 45px;
    background: rgba(225, 225, 225, 1);
}

.lsdo-search__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    margin-bottom: 5px;
    color: rgba(30, 30, 30, 1);
}

/* Date range input — visually plain text */
.lsdo-date-range {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    border: none !important;
    padding: 0 !important;
    height: 18px !important;
    background: none;
    cursor: pointer;
    width: 100%;
    outline: none;
    box-shadow: none;
}

/* Guests trigger — visually plain text */
.lsdo-guests__trigger {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    height: 18px;
    min-height: 0;
    cursor: pointer;
    text-align: left;
}

/* =========================================================================
   Filter sidebar — container + layout
   ========================================================================= */

.lsdo-overview__sidebar {
    background: rgb(246, 246, 246);
    border-radius: 15px;
    padding: 32px 26px;
}

.lsdo-filters__title {
    display: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    margin: 0 0 8px 0;
}

@media (min-width: 1201px) {
    .lsdo-filters__title {
        display: block;
    }
}

.lsdo-filters__group {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Dashed separator between filter groups */
.lsdo-filters__group + .lsdo-filters__group {
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

.lsdo-filters__group-header {
    padding: 10px 0;
}

.lsdo-filters__group-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
}

/* Options list */
.lsdo-filters__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 6px;
}
.lsdo-filters__body[hidden] { display: none; }

.lsdo-filters__option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: rgba(30, 30, 30, 1);
}

/* Custom checkbox — filters */
.lsdo-filters__option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(180, 180, 180, 1);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.lsdo-filters__option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: -4px;
    width: 9px;
    height: 14px;
    border: 2px solid #222;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* =========================================================================
   Search bar — flexible checkbox option
   ========================================================================= */

.lsdo-search__flexible {
    display: flex;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .lsdo-search__flexible {
        justify-content: flex-end;
    }
}

.lsdo-search__flexible-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 10px;
    line-height: 125%;
    max-width: 167px;
    color: white;
}

/* Custom checkbox — flexible */
.lsdo-search__flexible-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(200, 200, 200, 1);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.lsdo-search__flexible-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 8px;
    height: 13px;
    border: 2px solid #222;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* =========================================================================
   Flatpickr — calendar (matches search bar design)
   ========================================================================= */

/* Container */
.flatpickr-calendar {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    border: 1px solid rgba(225, 225, 225, 1);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 12px;
    /*width: 308px;*/
}

/* Hide default triangle arrow */
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    display: none;
}

/* Month nav row */
.flatpickr-months {
    align-items: center;
    margin-bottom: 8px;
}

.flatpickr-month {
    background: none;
    color: inherit;
    height: auto;
    line-height: 1;
}

.flatpickr-current-month {
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    left: 0;
}

.flatpickr-monthDropdown-months {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
}

.numInputWrapper {
    width: auto;
}

.numInput.cur-year {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background: none;
    padding: 0;
    width: 52px;
    color: inherit;
}

/* Hide year spinner arrows */
.numInputWrapper span.arrowUp,
.numInputWrapper span.arrowDown {
    display: none;
}

/* Prev / next month buttons */
.flatpickr-prev-month,
.flatpickr-next-month {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    padding: 0;
    top: 12px; /* align with our padding */
    color: inherit;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(89, 179, 65, 0.08);
    border-color: rgba(89, 179, 65, 1);
    color: rgba(89, 179, 65, 1);
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.flatpickr-prev-month.flatpickr-disabled,
.flatpickr-next-month.flatpickr-disabled {
    opacity: 0.3;
    cursor: default;
}

.flatpickr-prev-month.flatpickr-disabled:hover,
.flatpickr-next-month.flatpickr-disabled:hover {
    background: none;
    border-color: rgba(225, 225, 225, 1);
    color: inherit;
}

/* Weekday headers */
.flatpickr-weekdays {
    background: none;
}

span.flatpickr-weekday {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: none;
}

/* Fix flatpickr hardcoded widths — make grid fill our padded container */
.flatpickr-days,
.dayContainer {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
}

.dayContainer {
    justify-content: flex-start !important;
}

/* Days */
.flatpickr-day {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid transparent;
    line-height: 36px;
    height: 36px;
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: rgba(89, 179, 65, 0.1);
    border-color: transparent;
    color: rgba(89, 179, 65, 1);
}

/* Today */
.flatpickr-day.today {
    border-color: rgba(89, 179, 65, 0.5);
    font-weight: 600;
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    background: rgba(89, 179, 65, 0.1);
    border-color: rgba(89, 179, 65, 0.5);
    color: rgba(89, 179, 65, 1);
}

/* Non-arrival days — visually dimmed, still hoverable for range selection */
.flatpickr-day.lsdo-day--no-arrival {
    opacity: 0.3;
}
.flatpickr-day.lsdo-day--no-arrival:hover,
.flatpickr-day.lsdo-day--no-arrival.inRange {
    opacity: 1;
}

/* Selected + range endpoints */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: rgba(89, 179, 65, 1);
    border-color: rgba(89, 179, 65, 1);
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

/* Single selection: keep round */
.flatpickr-day.selected.startRange.endRange {
    border-radius: 6px;
}

/* Range start: round left */
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
    border-radius: 6px 0 0 6px;
}

/* Range end: round right */
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
    border-radius: 0 6px 6px 0;
}

/* Range end directly after start on same row */
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
    box-shadow: -10px 0 0 rgba(89, 179, 65, 1);
}

/* In-range days */
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange {
    background: rgba(89, 179, 65, 0.12);
    border-color: transparent;
    border-radius: 0;
    box-shadow: -5px 0 0 rgba(89, 179, 65, 0.12), 5px 0 0 rgba(89, 179, 65, 0.12);
    color: inherit;
}

/* Disabled days */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #ccc;
    background: none;
    border-color: transparent;
    cursor: default;
}

/* Other-month days */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #ccc;
}

/* Submit button — green pill flush with the right edge */
.lsdo-search__submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 36px;
    background: rgba(89, 179, 65, 1);
    border: none;
    border-radius: 0 10px 10px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

/* Mobile search bar — stacked layout */
@media (max-width: 767px) {
    .lsdo-search__bar {
        flex-direction: column;
        gap: 12px;
        background: transparent;
        border-radius: 0;
    }

    .lsdo-search__field {
        background: #fff;
        border-radius: 10px;
        width: 100%;
    }

    .lsdo-search__field + .lsdo-search__field::before {
        display: none;
    }

    .lsdo-search__submit {
        border-radius: 10px;
        width: fit-content;
        justify-content: center;
        padding: 14px 36px;
    }
}

/* =========================================================================
   Login + Lost password forms
   ========================================================================= */

.lsdo-login__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(30, 30, 30, 1);
    margin: 0 0 16px 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lsdo-login__back-arrow {
    display: flex;
    align-items: center;
    color: rgba(30, 30, 30, 1);
    text-decoration: none;
}

/* Suppress injected ← pseudo-element and padding on the lost password title */
.lsdo-lostpassword .lsdo-login__title::before {
    content: none !important;
}

.lsdo-lostpassword .lsdo-login__title {
    padding-left: 0 !important;
    margin-bottom: 12px !important;
}

.lsdo-login input[type="email"],
.lsdo-login input[type="text"],
.lsdo-login input[type="password"] {
    margin-bottom: 0 !important;
}

.lsdo-login__back-arrow svg {
    width: 18px;
    height: 18px;
}

.lsdo-login label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(30, 30, 30, 1);
    margin-bottom: 8px !important;
}

.login-remember {
    padding-bottom: 8px;
}

.lsdo-login__forgot {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(30, 30, 30, 1) !important;
    margin: 4px 0 8px 0 !important;
}

.lsdo-login__forgot a {
    color: rgba(0, 95, 162, 1);
    text-decoration: none;
}

.lsdo-login #wp-submit,
.lsdo-btn-primary {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
    background: rgba(78, 162, 205, 1);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    width: fit-content !important;
}

.lsdo-login__info {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(30, 30, 30, 1);
    margin: 16px 0 0 0;
}


/* ==========================================================================
   Dashboard
   ========================================================================= */

.lsdo-dashboard__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
