/* === Joe Chapin — /booking listing page === */

.booking-page-body { background: #fff; }

/* Title bar */
.booking-title-bar {
    padding: calc(var(--nav-h, 80px) + 32px) 0 24px;
    background: #f8f6f1;
    text-align: center;
    border-bottom: 1px solid #ece8df;
}
.booking-title-bar h1 {
    font-family: var(--font-body, 'Cormorant Garamond', serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green, #0b3b3a);
    margin: 0 0 8px;
    font-weight: 600;
}
.booking-title-bar p {
    font-family: var(--font-sans, 'Jost', sans-serif);
    color: #555;
    margin: 0;
    font-size: 1rem;
}

/* Two-column main */
.booking-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 64px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sticky sidebar */
.booking-sidebar {
    position: sticky;
    top: calc(var(--nav-h, 80px) + 16px);
    background: #fff;
    border: 1px solid #ece8df;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(11, 59, 58, 0.04);
}
.booking-sidebar h3 {
    font-family: var(--font-body, 'Cormorant Garamond', serif);
    font-size: 1.5rem;
    color: var(--green, #0b3b3a);
    margin: 0 0 16px;
    border-bottom: 1px solid var(--green, #0b3b3a);
    padding-bottom: 8px;
}
.booking-filter-group { margin-bottom: 16px; }
.booking-filter-group label {
    display: block;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    margin-bottom: 6px;
}
.booking-filter-group input,
.booking-filter-group select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #222;
    background: #fff;
}
.booking-filter-group input:focus,
.booking-filter-group select:focus {
    outline: 2px solid var(--gold, #c9a44c);
    outline-offset: 2px;
}
.booking-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.booking-actions { display: flex; gap: 8px; margin-top: 20px; }
.booking-actions button,
.booking-actions a {
    flex: 1;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.booking-actions__apply {
    background: var(--gold, #c9a44c);
    color: #fff;
}
.booking-actions__apply:hover { background: #b08e3a; }
.booking-actions__reset {
    background: #f7f7f7;
    color: var(--green, #0b3b3a);
    border: 1px solid #ece8df;
}
.booking-actions__reset:hover { background: #efece6; }

/* Result count + grid */
.booking-results-meta {
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 16px;
}
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Unified card */
.booking-card {
    background: #fff;
    border: 1px solid #ece8df;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
}
.booking-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 59, 58, 0.08);
}
.booking-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.booking-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.booking-card__type-badge,
.booking-card__price-badge {
    position: absolute;
    top: 12px;
    padding: 4px 10px;
    border-radius: 16px;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}
.booking-card__type-badge {
    left: 12px;
    background: rgba(11, 59, 58, 0.85);
}
.booking-card__price-badge {
    right: 12px;
    background: var(--gold, #c9a44c);
}
.booking-card__body { padding: 16px 18px 20px; }
.booking-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 6px;
}
.booking-card__title {
    font-family: var(--font-body, 'Cormorant Garamond', serif);
    font-size: 1.4rem;
    color: var(--green, #0b3b3a);
    margin: 0 0 4px;
    font-weight: 600;
}
.booking-card__subtitle {
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 10px;
}
.booking-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.82rem;
    color: #555;
    margin: 8px 0 12px;
}
.booking-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.booking-card__amenity {
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.72rem;
    color: var(--green, #0b3b3a);
    background: #f3efe5;
    padding: 3px 9px;
    border-radius: 12px;
}
.booking-card__btn {
    display: inline-block;
    padding: 9px 20px;
    background: var(--green, #0b3b3a);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-sans, 'Jost', sans-serif);
    font-size: 0.9rem;
    transition: background 0.15s;
}
.booking-card__btn:hover { background: #0e4a48; color: #fff; }

/* Empty state */
.booking-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    background: #f8f6f1;
    border: 1px dashed #d6d0c4;
    border-radius: 12px;
    color: #555;
}
.booking-empty p { margin: 0 0 12px; font-family: var(--font-sans, 'Jost', sans-serif); }
.booking-empty a {
    color: var(--gold, #c9a44c);
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .booking-main {
        grid-template-columns: 1fr;
        padding: 16px 16px 48px;
        gap: 16px;
    }
    .booking-sidebar {
        position: static;
        top: auto;
    }
}
