/* listing.css — shell layout */

.lst-main {
    grid-column: 3 / 11;
    min-width: 0;
    overflow: hidden;
    padding: 1.75rem 0 5rem;
    font-family: 'Inter', sans-serif;
    color: var(--antologa-dark);
}

.lst-body {
    display: grid;
    grid-template-columns: 1fr 22.5rem;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
    min-width: 0;
}

.lst-content {
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.lst-booking-col {
    min-width: 0;
}

.lst-booking-sticky {
    position: sticky;
    top: 1.5rem;
}

/* ── Section dividers (wrapped around each type-specific component) ────────── */
.lst-section {
    scroll-margin-top: 4rem; /* offset for sticky nav */
}

/* ── Mobile booking bottom bar ─────────────────────────────────────────────── */
.lst-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--antologa-white);
    border-top: 1px solid var(--antologa-light-gray);
    padding: 0.75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -4px 16px rgba(40, 40, 40, 0.1);
}

.lst-mobile-bar__info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.lst-mobile-bar__price {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--antologa-secondary);
    line-height: 1;
}

.lst-mobile-bar__rating {
    font-size: 0.75rem;
    color: var(--antologa-gray);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lst-mobile-bar__star {
    color: var(--antologa-contrast) !important;
}

.lst-mobile-bar__btn {
    flex-shrink: 0;
    height: 2.625rem !important;
    background: var(--antologa-primary) !important;
    color: var(--antologa-white) !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    padding: 0 1.5rem !important;
}

.lst-mobile-bar__btn:hover {
    background: var(--antologa-secondary) !important;
}

/* ── Breakpoints ────────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .lst-body {
        grid-template-columns: 1fr 20rem;
        gap: 1.5rem;
    }
}

@media (max-width: 1100px) {
    .lst-main {
        grid-column: 1 / 13;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 61.25rem) {
    .lst-body {
        grid-template-columns: 1fr;
    }

    .lst-booking-col {
        display: none; /* hidden on mobile — use bottom bar instead */
    }

    .lst-booking-sticky {
        position: static;
    }

    .lst-mobile-bar {
        display: flex;
    }

    /* Extra padding so content doesn't hide behind the bottom bar */
    .lst-main {
        padding-bottom: 6rem;
    }
}

@media (max-width: 48rem) {
    .lst-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
