/* ============================================================
   Accommodations Listing  [sd_accommodations]
   Sidebar (25%) + row cards (75%)
   ============================================================ */

@font-face {
    font-family: "Queens Air";
    src: url("../fonts/queens-air-_a6gDC1u.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Founders Grotesk";
    src: url("../fonts/founders-grotesk-light-wKgoEzRK.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Founders Grotesk";
    src: url("../fonts/founders-grotesk-medium-9SxxZFbR.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Carrie";
    src: url("../fonts/carrie-regular-EV4Khv9h.woff2") format("woff2");
    font-display: swap;
}


/* Wrapper */

.sd-al-wrap {
    box-sizing: border-box;
    width: 100%;
    /* Page builder compatibility */
    overflow-x: hidden;
    max-width: 100%;
    font-family: var(--sd-font-body, "Founders Grotesk", system-ui, sans-serif);
    font-weight: 300;
    color: #1c1208;
}

.sd-al-wrap *,
.sd-al-wrap *::before,
.sd-al-wrap *::after {
    box-sizing: inherit;
}


/* Section heading */

.sd-al-heading {
    font-family: var(--sd-font-heading, "Queens Air", serif);
    font-size: var(--sd-size-h2, clamp(32px, 3vw, 48px));
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0 0 clamp(28px, 4vw, 48px);
    line-height: 1.1;
}


/* Two-column layout ─────────────────────────────────────────────── */

.sd-al-layout {
    display: flex;
    align-items: flex-start;
}

.sd-al-sidebar {
    flex: 0 0 25%;
    width: 25%;
    padding-right: 20px;
}

.sd-al-cards {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}


/* Sidebar ───────────────────────────────────────────────────────── */

.sd-al-filter-group {
    margin-bottom: 32px;
}

.sd-al-filter-title {
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1c1208;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 1.5px solid #e5ddd2;
}

.sd-al-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.sd-al-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3e3228;
    line-height: 1;
    user-select: none;
}


/* Hide native checkbox */

.sd-al-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}


/* Custom square checkbox */

.sd-al-checkbox-box {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border: 1.5px solid #b8a898;
    background: #fff;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.sd-al-checkbox:checked+.sd-al-checkbox-box {
    background: #1c1208;
    border-color: #1c1208;
}

.sd-al-checkbox:checked+.sd-al-checkbox-box::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.sd-al-filter-label:hover .sd-al-checkbox-box {
    border-color: #1c1208;
}


/* Clear button */

.sd-al-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a89070;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.sd-al-clear-btn:hover {
    color: #1c1208;
}


/* Row cards ─────────────────────────────────────────────────────── */

.sd-al-cards {
    gap: 16px;
}

.sd-al-card {
    display: flex;
    flex-direction: row;
    background: transparent;
    border: 1px solid #e5ddd2;
    overflow: hidden;
    transition: background 0.2s, box-shadow 0.2s;
}

.sd-al-card:hover {
    background: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.sd-al-card--hidden {
    display: none !important;
}


/* Image panel – 40% width, 350px height */

.sd-al-card__img-panel {
    position: relative;
    flex-shrink: 0;
    width: 40%;
    height: 350px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.sd-al-card__img {
    position: absolute;
    inset: 0;
    background: #c9b69a center / cover no-repeat;
    transition: transform 0.5s ease;
}

.sd-al-card:hover .sd-al-card__img {
    transform: scale(1.04);
}

.sd-al-card__img--placeholder {
    background: linear-gradient(135deg, #cbbfa8, #a89070);
}


/* Favourite icon – top LEFT corner */

.sd-al-fav {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #b8a898;
    font-size: 17px;
    line-height: 1;
    transition: color 0.2s, background 0.2s, transform 0.15s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    padding: 0;
}

.sd-al-fav:hover {
    color: #c0392b;
    background: #fff;
    transform: scale(1.1);
}

.sd-al-fav.is-saved {
    color: #c0392b;
}


/* Type badge – bottom right of image */

.sd-al-card__type-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 5px 12px;
    line-height: 1;
}


/* Details panel */

.sd-al-card__details {
    flex: 1;
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: #fff;
}


/* Meta row */

.sd-al-card__meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sd-al-card__park {
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a89070;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sd-al-card__cat {
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 3px 10px;
    line-height: 1;
    border: 1px solid;
}

.sd-al-card__cat--luxury {
    color: #8a6a28;
    border-color: #c9a34e;
}

.sd-al-card__cat--mid_range {
    color: #3a6b50;
    border-color: #5a9e72;
}

.sd-al-card__cat--budget {
    color: #4a6080;
    border-color: #7096b4;
}

.sd-al-card__cat--tented_camp {
    color: #6a4e3a;
    border-color: #a07858;
}


/* Title */

.sd-al-card__title-link {
    text-decoration: none;
    color: inherit;
}

.sd-al-card__title {
    font-family: var(--sd-font-heading, "Queens Air", serif);
    font-size: var(--sd-size-h3, clamp(22px, 2.2vw, 32px));
    font-weight: 400;
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #1c1208;
    transition: color 0.2s;
}

.sd-al-card__title-link:hover .sd-al-card__title {
    color: #a06428;
}


/* Stars */

.sd-al-card__stars {
    display: flex;
    gap: 3px;
    color: #d4a030;
    font-size: 13px;
}

.sd-al-card__stars .la-star-o {
    color: #d4c4a8;
}


/* Brief */

.sd-al-card__brief {
    font-size: var(--sd-size-h5, 19px);
    font-weight: 300;
    line-height: 1.7;
    color: #5e5040;
    margin: 0;
    max-width: 55ch;
}


/* CTA */

.sd-al-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sd-font-accent, "Carrie", cursive);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1c1208;
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.2s, color 0.2s;
}

.sd-al-card__cta:hover {
    color: #a06428;
    gap: 12px;
}


/* Empty / no-results */

.sd-al-no-results,
.sd-al-empty {
    font-size: 15px;
    color: #888;
    padding: 32px 0;
    margin: 0;
}


/* Responsive */

@media (max-width: 900px) {
    .sd-al-layout {
        flex-direction: column;
        gap: 32px;
    }
    .sd-al-sidebar {
        flex: none;
        width: 100%;
        padding-right: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }
    .sd-al-filter-group {
        flex: 1 1 200px;
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .sd-al-card {
        flex-direction: column;
    }
    .sd-al-card__img-panel {
        width: 100%;
        height: 240px;
    }
}


/* ============================================================
   Responsive – Mobile & Tablet heading overrides
   ============================================================ */


/* Tablet (≤ 768px) */

@media (max-width: 768px) {
    .sd-al-page-title {
        font-size: clamp(24px, 5.5vw, 36px);
    }
    .sd-al-card__title {
        font-size: clamp(18px, 3vw, 24px);
    }
}


/* Mobile (≤ 480px) */

@media (max-width: 480px) {
    .sd-al-page-title {
        font-size: clamp(20px, 7vw, 28px);
    }
    .sd-al-card__title {
        font-size: clamp(16px, 4.5vw, 20px);
    }
}