/* AL BADI — EXCURSIONS CATALOG V2 */
/* Scoped exclusively to Zanzibar Excursions */

.ab-exc-v2 {
    --exc-ink:#17342e;
    --exc-muted:#70817c;
    --exc-orange:#f47735;
    --exc-line:#e5eae7;
    --exc-surface:#fff;
    display:block;
    max-width:1540px;
    margin:0 auto;
    padding:32px 32px 72px;
    color:var(--exc-ink);
    background:#f7f8f6;
}

.ab-exc-v2 *,
.ab-exc-v2 *::before,
.ab-exc-v2 *::after {
    box-sizing:border-box;
}

.ab-exc-v2__banner {
    min-height:205px;
    border-radius:18px;
    padding:42px 48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    background:
        linear-gradient(110deg,rgba(8,42,38,.95),rgba(9,60,56,.86)),
        url('/media/hero/zanzibar-main.jpg') center/cover;
    color:white;
    margin-bottom:26px;
}

.ab-exc-v2__eyebrow,
.ab-exc-v2__banner-meta span {
    display:block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.18em;
    color:#f9b080;
    margin-bottom:12px;
}

.ab-exc-v2__banner h1 {
    font-size:clamp(32px,4vw,58px);
    line-height:1.08;
    letter-spacing:-.045em;
    color:#fff;
    margin:0 0 12px;
    font-weight:850;
}

.ab-exc-v2__banner h1 em {
    color:#ffae7c;
    font-family:Georgia,serif;
    font-weight:400;
}

.ab-exc-v2__banner p {
    color:#e1eae6;
    max-width:600px;
    line-height:1.6;
    margin:0;
    font-size:15px;
}

.ab-exc-v2__banner-meta {
    text-align:right;
    flex-shrink:0;
}

.ab-exc-v2__banner-meta strong {
    font-size:19px;
    color:#fff;
}

.ab-exc-v2__layout {
    display:grid;
    grid-template-columns:258px minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.ab-exc-v2__sidebar {
    background:#fff;
    border:1px solid var(--exc-line);
    border-radius:14px;
    padding:22px;
    position:sticky;
    top:110px;
    box-shadow:0 5px 24px rgba(24,47,40,.035);
}

.ab-exc-v2__sidebar-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
}

.ab-exc-v2__sidebar-heading small,
.ab-exc-v2__results-count small {
    display:block;
    font-size:10px;
    font-weight:850;
    letter-spacing:.13em;
    color:#ed7940;
    margin-bottom:7px;
}

.ab-exc-v2__sidebar-heading h2 {
    margin:0;
    font-size:25px;
    font-weight:800;
    letter-spacing:-.04em;
    color:var(--exc-ink);
}

#excCloseFilters {
    display:none;
}

.ab-exc-v2__filter-block {
    border-top:1px solid var(--exc-line);
    padding:21px 0;
}

.ab-exc-v2__filter-block h3 {
    font-size:13px;
    font-weight:800;
    margin:0 0 16px;
    color:var(--exc-ink);
}

.ab-exc-v2__filter-block label {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    color:#465b55;
    margin:0 0 14px;
    cursor:pointer;
    line-height:1.45;
}

.ab-exc-v2__filter-block input[type=checkbox],
.ab-exc-v2__filter-block input[type=radio] {
    accent-color:#f47735;
    width:16px;
    height:16px;
    flex-shrink:0;
}

#excSearch {
    width:100%;
    min-width:0;
    border:1px solid #dfe6e2;
    border-radius:9px;
    padding:13px 12px;
    background:#fafbfa;
    color:var(--exc-ink);
    font-size:13px;
    outline:none;
}

#excSearch:focus {
    border-color:#f47735;
    box-shadow:0 0 0 3px rgba(244,119,53,.1);
}

.ab-exc-v2__hint {
    display:block;
    color:#89958f;
    line-height:1.5;
    font-size:11px;
}

.ab-exc-v2__reset {
    width:100%;
    background:#173e36;
    color:white;
    border:0;
    border-radius:9px;
    padding:14px;
    cursor:pointer;
    font-size:13px;
    font-weight:800;
}

.ab-exc-v2__results {
    min-width:0;
}

.ab-exc-v2__toolbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    background:#fff;
    border:1px solid var(--exc-line);
    border-radius:12px;
    padding:19px 22px;
    margin-bottom:20px;
}

.ab-exc-v2__results-count strong {
    font-size:18px;
    font-weight:800;
    color:var(--exc-ink);
}

.ab-exc-v2__toolbar-actions {
    display:flex;
    align-items:center;
    gap:12px;
}

.ab-exc-v2__toolbar-actions label {
    color:#71807b;
    font-size:12px;
    white-space:nowrap;
}

#excSort {
    border:1px solid #e0e7e2;
    border-radius:8px;
    padding:12px 32px 12px 12px;
    background:#fff;
    color:#243c35;
    font-size:13px;
    cursor:pointer;
}

.ab-exc-v2__mobile-filter {
    display:none;
}

.ab-exc-v2__grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.ab-exc-v2__card {
    min-width:0;
    background:#fff;
    border:1px solid #e5eae6;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(20,46,38,.045);
    transition:transform .25s ease,box-shadow .25s ease;
    display:flex;
    flex-direction:column;
}

.ab-exc-v2__card:hover {
    transform:translateY(-5px);
    box-shadow:0 16px 38px rgba(20,46,38,.11);
}

.ab-exc-v2__card[hidden] {
    display:none!important;
}

.ab-exc-v2__photo {
    display:block;
    position:relative;
    aspect-ratio:1.43;
    overflow:hidden;
    background:#e9efeb;
}

.ab-exc-v2__photo img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.ab-exc-v2__card:hover .ab-exc-v2__photo img {
    transform:scale(1.055);
}

.ab-exc-v2__photo-label {
    position:absolute;
    top:14px;
    left:14px;
    background:rgba(12,52,46,.91);
    color:white;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    border-radius:5px;
    padding:9px 11px;
}

.ab-exc-v2__card-body {
    padding:19px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.ab-exc-v2__card-topline {
    display:flex;
    flex-wrap:wrap;
    gap:7px 12px;
    color:#788781;
    font-size:11px;
    margin-bottom:11px;
}

.ab-exc-v2__card h3 {
    margin:0 0 10px;
    font-size:18px;
    line-height:1.28;
    letter-spacing:-.025em;
    font-weight:800;
    color:#18362f;
}

.ab-exc-v2__card h3 a {
    color:inherit;
    text-decoration:none;
}

.ab-exc-v2__card-body > p {
    font-size:12px;
    line-height:1.7;
    color:#7c8983;
    margin:0 0 18px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ab-exc-v2__card-bottom {
    border-top:1px solid #edf0ed;
    padding-top:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:auto;
}

.ab-exc-v2__price small {
    display:block;
    font-size:9px;
    font-weight:800;
    letter-spacing:.1em;
    color:#89948e;
}

.ab-exc-v2__price strong {
    display:block;
    color:#ec7135;
    font-size:18px;
    font-weight:850;
    white-space:nowrap;
}

.ab-exc-v2__price span {
    display:block;
    font-size:10px;
    color:#929b96;
}

.ab-exc-v2__details {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#f47735;
    border-radius:7px;
    padding:11px 13px;
    color:white!important;
    text-decoration:none;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
}

.ab-exc-v2__details:hover {
    background:#d85e22;
}

.ab-exc-v2__add {
    width:100%;
    margin-top:13px;
    padding:12px;
    background:#f2f7f4;
    border:1px solid #e0e9e3;
    color:#1e5949;
    border-radius:7px;
    cursor:pointer;
    font-size:12px;
    font-weight:800;
}

.ab-exc-v2__add:hover {
    background:#e5f0e9;
}

.ab-exc-v2__pagination {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:7px;
    margin-top:30px;
}

.ab-exc-v2__pagination button {
    min-width:39px;
    height:39px;
    padding:0 12px;
    border:1px solid #dce5de;
    background:#fff;
    color:#345047;
    border-radius:7px;
    cursor:pointer;
    font-size:12px;
    font-weight:800;
}

.ab-exc-v2__pagination button[aria-current=page] {
    background:#f47735;
    border-color:#f47735;
    color:white;
}

.ab-exc-v2__pagination button:disabled {
    opacity:.4;
    cursor:not-allowed;
}

.ab-exc-v2__empty,
.ab-exc-v2__no-results {
    background:#fff;
    border:1px solid #e4ebe5;
    border-radius:12px;
    padding:45px 25px;
    text-align:center;
}

.ab-exc-v2__no-results[hidden] {
    display:none!important;
}

.ab-exc-v2__no-results button {
    background:#f47735;
    color:#fff;
    border:0;
    padding:12px 20px;
    border-radius:7px;
    cursor:pointer;
}

.ab-exc-v2__bottom-banner {
    margin-top:48px;
    padding:35px 42px;
    border-radius:14px;
    background:#123b33;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.ab-exc-v2__bottom-banner small {
    font-size:10px;
    letter-spacing:.15em;
    color:#f7a77c;
    font-weight:800;
}

.ab-exc-v2__bottom-banner h2 {
    color:white;
    font-size:25px;
    margin:9px 0;
}

.ab-exc-v2__bottom-banner p {
    color:#c7d8d1;
    font-size:13px;
    margin:0;
}

.ab-exc-v2__bottom-banner a {
    background:#f47735;
    color:white;
    padding:15px 20px;
    border-radius:8px;
    font-weight:800;
    font-size:12px;
    text-decoration:none;
    white-space:nowrap;
}

.ab-exc-v2__backdrop[hidden] {
    display:none!important;
}

@media(max-width:1150px) {
    .ab-exc-v2__grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:767px) {
    .ab-exc-v2 {
        padding:14px 14px 42px;
    }

    .ab-exc-v2__banner {
        min-height:170px;
        padding:26px 22px;
        border-radius:13px;
        margin-bottom:15px;
    }

    .ab-exc-v2__banner h1 {
        font-size:35px;
    }

    .ab-exc-v2__banner p {
        font-size:12px;
    }

    .ab-exc-v2__banner-meta {
        display:none;
    }

    .ab-exc-v2__layout {
        display:block;
    }

    .ab-exc-v2__toolbar {
        padding:16px;
        flex-wrap:wrap;
        gap:13px;
    }

    .ab-exc-v2__results-count {
        width:100%;
    }

    .ab-exc-v2__toolbar-actions {
        width:100%;
        justify-content:space-between;
    }

    .ab-exc-v2__mobile-filter {
        display:inline-flex;
        background:#173e36;
        color:white;
        border:0;
        border-radius:8px;
        padding:12px 15px;
        font-size:12px;
        font-weight:800;
    }

    .ab-exc-v2__toolbar-actions label {
        display:none;
    }

    #excSort {
        max-width:55%;
        min-width:0;
    }

    .ab-exc-v2__grid {
        grid-template-columns:minmax(0,1fr);
        gap:17px;
    }

    .ab-exc-v2__photo {
        aspect-ratio:1.55;
    }

    .ab-exc-v2__sidebar {
        display:block;
        position:fixed;
        top:0;
        bottom:0;
        left:0;
        width:min(340px,88vw);
        height:100dvh;
        overflow-y:auto;
        z-index:99999;
        border-radius:0 15px 15px 0;
        transform:translateX(-105%);
        transition:transform .25s ease;
        box-shadow:12px 0 45px rgba(0,0,0,.18);
    }

    .ab-exc-v2__sidebar.is-open {
        transform:translateX(0);
    }

    #excCloseFilters {
        display:block;
        border:0;
        background:#edf3ee;
        color:#183b32;
        width:35px;
        height:35px;
        border-radius:7px;
        font-size:25px;
        cursor:pointer;
    }

    .ab-exc-v2__backdrop:not([hidden]) {
        display:block;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.5);
        z-index:99998;
    }

    .ab-exc-v2__bottom-banner {
        margin-top:30px;
        padding:27px 22px;
        display:block;
    }

    .ab-exc-v2__bottom-banner h2 {
        font-size:22px;
    }

    .ab-exc-v2__bottom-banner a {
        display:inline-block;
        margin-top:20px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .ab-exc-v2__card,
    .ab-exc-v2__photo img,
    .ab-exc-v2__sidebar {
        transition:none;
    }
}
