/* =====================================================
   AL BADI — ABX V11
   Isolated premium Zanzibar experience cards
   ===================================================== */

.abx11-slider,
.abx11-grid,
.abx11-card,
.abx11-card * {
    box-sizing: border-box;
}

.abx11-slider {
    width: 100%;
    margin-top: 32px;
}

.abx11-slider__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 18px;
}

.abx11-slider__count {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.abx11-slider__count span {
    color: #d77d31;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.abx11-slider__count strong {
    color: #173348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
}

.abx11-slider__controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.abx11-arrow {
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid #dfe5e7;
    border-radius: 50%;
    background: #fff;
    color: #173348;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 17px;
    box-shadow: 0 8px 25px rgba(22, 49, 67, .07);
    transition:
        transform .18s ease,
        border-color .18s ease,
        opacity .18s ease;
}

.abx11-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: #cbd5da;
}

.abx11-arrow:disabled {
    opacity: .28;
    cursor: default;
}

.abx11-rail {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    padding: 2px 2px 20px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.abx11-rail::-webkit-scrollbar {
    display: none;
}

.abx11-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
}

.abx11-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    background: #fff;
    color: #173348;
    border: 1px solid rgba(20, 49, 68, .09);
    border-radius: 23px;
    box-shadow:
        0 18px 45px rgba(20, 45, 62, .065),
        0 3px 9px rgba(20, 45, 62, .025);
}

.abx11-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: #e9edef;
    text-decoration: none;
}

.abx11-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform .45s ease;
}

.abx11-card:hover .abx11-card__image img {
    transform: scale(1.035);
}

.abx11-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 40, .07) 0%,
            rgba(7, 27, 40, 0) 45%,
            rgba(7, 27, 40, .08) 100%
        );
    pointer-events: none;
}

.abx11-card__category {
    position: absolute;
    z-index: 3;
    top: 15px;
    left: 15px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 41, 59, .94);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(0,0,0,.10);
}

.abx11-card__open {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #173348;
    font-size: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.11);
}

.abx11-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 19px 19px 17px;
}

.abx11-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-bottom: 9px;
    color: #73818a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.abx11-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.abx11-card__meta b {
    color: #df8232;
    font-size: 12px;
    font-weight: 500;
}

.abx11-card__title {
    margin: 0;
    color: #112e42;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 1.55vw, 26px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.abx11-card__title a {
    color: inherit;
    text-decoration: none;
}

.abx11-card__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 57px;
    margin: 10px 0 16px;
    color: #66757e;
    font-size: 11.5px;
    line-height: 1.58;
}

.abx11-card__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf0f1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.abx11-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.abx11-price small {
    margin-bottom: 2px;
    color: #849097;
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.abx11-price strong {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #df7f2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.abx11-price strong span {
    font-size: 11px;
    font-weight: 700;
}

.abx11-price em {
    margin-top: 4px;
    color: #929ca2;
    font-size: 8.5px;
    font-style: normal;
    line-height: 1;
}

.abx11-price .abx11-price__request {
    font-size: 17px;
}

.abx11-details {
    min-height: 42px;
    padding: 0 15px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #e98732;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 9px 20px rgba(226, 127, 43, .18);
    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.abx11-details:hover {
    background: #d97726;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(226,127,43,.24);
}

.abx11-details span {
    font-size: 14px;
}

.abx11-add {
    width: 100%;
    min-height: 39px;
    margin-top: 11px;
    padding: 0 14px;
    border: 1px solid #dfe5e8;
    border-radius: 999px;
    background: #fff;
    color: #173348;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    transition:
        background .18s ease,
        border-color .18s ease;
}

.abx11-add:hover {
    background: #f7f9f9;
    border-color: #cbd5da;
}

.abx11-add b {
    color: #e98732;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .abx11-rail {
        grid-auto-columns: calc((100% - 20px) / 2);
        gap: 20px;
    }

    .abx11-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

@media (max-width: 700px) {
    .abx11-slider {
        margin-top: 24px;
    }

    .abx11-slider__top {
        align-items: center;
        margin-bottom: 14px;
    }

    .abx11-slider__count strong {
        font-size: 17px;
    }

    .abx11-slider__controls {
        display: none;
    }

    .abx11-rail {
        grid-auto-columns: 87%;
        gap: 14px;
        padding: 2px 16px 18px 0;
    }

    .abx11-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .abx11-card {
        border-radius: 20px;
    }

    .abx11-card__content {
        padding: 17px 17px 16px;
    }

    .abx11-card__title {
        font-size: 23px;
    }

    .abx11-card__desc {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .abx11-card__image img,
    .abx11-details,
    .abx11-arrow {
        transition: none !important;
    }

    .abx11-rail {
        scroll-behavior: auto !important;
    }
}
