/* ===================================
   ZanteLocals - Restaurants Page CSS
   =================================== */

/* Prevent horizontal overflow on mobile (stops drag + pinch-zoom-out) */
html, body { overflow-x: hidden; }
body { width: 100%; }
img, video { max-width: 100%; height: auto; }

/* ===================================
   Star Rating — filled gold (all sizes)
   =================================== */
.listing-rating svg {
    fill: #F59E0B;
    color: #F59E0B;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #F59E0B;
}

/* ===================================
   Desktop: Horizontal card layout
   =================================== */
@media (min-width: 1024px) {

    /* 2-column grid for horizontal cards */
    #listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Flip card to row */
    #listings-grid .listing-card {
        flex-direction: row;
        min-height: 200px;
    }

    /* Image: fixed width, full card height */
    #listings-grid .listing-image {
        width: 260px;
        flex-shrink: 0;
        height: auto;
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    }

    #listings-grid .listing-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* Content: fills remaining space */
    #listings-grid .listing-content {
        flex: 1;
        padding: 1.375rem 1.5rem 1.25rem;
        justify-content: space-between;
        min-width: 0;
    }

    /* Tighten description to 2 lines — card height drives length now */
    #listings-grid .listing-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }

    #listings-grid .listing-title {
        font-size: 1.15rem;
    }

    /* Highlights no longer need to push to bottom */
    #listings-grid .listing-highlights {
        margin-top: 0;
        padding-top: 0;
    }

    #listings-grid .listing-footer {
        padding-top: 0.625rem;
        align-items: center;
    }

    /* ===================================
       Cuisine-type colored left accent border
       =================================== */
    #listings-grid .listing-card[data-type="seafood"] .listing-content {
        border-left: 4px solid #0EA5E9;
    }

    #listings-grid .listing-card[data-type="greek"] .listing-content,
    #listings-grid .listing-card[data-type="traditional"] .listing-content {
        border-left: 4px solid #2D8B5F;
    }

    #listings-grid .listing-card[data-type="mediterranean"] .listing-content {
        border-left: 4px solid #FF8C42;
    }

    #listings-grid .listing-card[data-type="international"] .listing-content,
    #listings-grid .listing-card[data-type="fine-dining"] .listing-content {
        border-left: 4px solid #8B5CF6;
    }
}

/* =======================================================
   v2 — Pill filters, hero intents, planning, FAQ
   (shared pattern with beaches redesign)
   ======================================================= */

/* ── HERO INTENT CHIPS ──────────────────────────────── */
.bch-hero-intents {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: center;
    margin: 1.2rem auto 1.4rem;
    max-width: 720px;
}
.bch-hero-intent {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.bch-hero-intent svg { flex-shrink: 0; }
.bch-hero-intent:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}
@media (max-width: 480px) {
    .bch-hero-intents { gap: 0.4rem; }
    .bch-hero-intent { padding: 0.5rem 0.85rem; font-size: 0.76rem; }
    .bch-hero-intent svg { width: 14px; height: 14px; }
}

/* ── PILL FILTER CHIPS ──────────────────────────────── */
.bch-filters-v2 {
    background: #fff;
    padding: 1.25rem 0 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
}
.bch-chips-wrapper {
    display: flex; flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}
.bch-chips-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 0.85rem;
}
.bch-chips-label {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}
.bch-chips-scroll {
    display: flex; gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
}
.bch-chips-scroll::-webkit-scrollbar { display: none; }
.bch-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.48rem 0.95rem;
    background: #fff;
    color: #333;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.bch-chip:hover {
    background: #f8f8f6;
    border-color: rgba(0, 0, 0, 0.2);
}
.bch-chip.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.bch-filter-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.bch-filter-footer .results-count {
    font-size: 0.85rem; color: rgba(0, 0, 0, 0.55);
    font-weight: 500;
    text-align: left;
}
.bch-filter-footer #results-number {
    color: #2D8B5F;
    font-weight: 700;
}
.bch-filter-reset-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.bch-filter-reset-btn:hover {
    background: #effaf3;
    border-color: rgba(45, 139, 95, 0.35);
    color: #2D8B5F;
}
@media (max-width: 640px) {
    .bch-chips-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .bch-chips-label { opacity: 0.7; }
    .bch-chip { padding: 0.44rem 0.85rem; font-size: 0.78rem; }
}

/* ── PLANNING / SEO CONTENT BLOCK ──────────────────── */
.bch-planning {
    background: #fff;
    padding: 4rem 0 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.bch-planning-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}
.bch-planning-eyebrow {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: #2D8B5F;
    margin-bottom: 0.75rem;
}
.bch-planning-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 1.25rem;
    line-height: 1.1;
}
.bch-planning-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    color: #111;
    margin: 1.6rem 0 0.6rem;
}
.bch-planning-text p {
    font-size: 0.95rem; line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 0.9rem;
}
.bch-planning-text p strong { color: #111; }
.bch-planning-list {
    list-style: none;
    padding: 0; margin: 0.4rem 0 1rem;
    display: grid; gap: 0.6rem;
}
.bch-planning-list li {
    position: relative;
    padding: 0.75rem 0.95rem 0.75rem 1.2rem;
    background: #f5faf6;
    border-left: 3px solid #2D8B5F;
    border-radius: 0 10px 10px 0;
    font-size: 0.92rem; line-height: 1.55;
    color: rgba(0, 0, 0, 0.78);
}
.bch-planning-list li strong { color: #111; font-weight: 700; }
.bch-planning-tips {
    background: linear-gradient(155deg, #f0f9f3 0%, #fff 60%);
    border: 1px solid rgba(45, 139, 95, 0.18);
    border-radius: 18px;
    padding: 1.6rem 1.5rem;
    position: sticky; top: 120px;
}
.bch-planning-tips-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem; font-weight: 700;
    color: #111;
    margin: 0 0 0.85rem;
}
.bch-planning-tips ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 0.6rem;
}
.bch-planning-tips li {
    font-size: 0.88rem; line-height: 1.55;
    color: rgba(0, 0, 0, 0.75);
}
@media (max-width: 900px) {
    .bch-planning-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .bch-planning-tips { position: static; }
}

/* ── FAQ ───────────────────────────────────────────── */
.bch-faq {
    background: #faf8f4;
    padding: 4rem 0 4.5rem;
}
.bch-faq-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.25rem;
}
.bch-faq-eyebrow {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: #2D8B5F;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.bch-faq-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 0.6rem;
    line-height: 1.1;
}
.bch-faq-sub {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}
.bch-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid; gap: 0.6rem;
}
.bch-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.bch-faq-item[open] {
    border-color: rgba(45, 139, 95, 0.32);
    box-shadow: 0 6px 20px rgba(45, 139, 95, 0.08);
}
.bch-faq-item summary {
    list-style: none;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem; font-weight: 600;
    color: #111;
    transition: color 0.18s;
}
.bch-faq-item summary::-webkit-details-marker { display: none; }
.bch-faq-item summary:hover { color: #2D8B5F; }
.bch-faq-caret {
    width: 20px; height: 20px;
    color: rgba(0, 0, 0, 0.4);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1), color 0.22s;
    flex-shrink: 0;
}
.bch-faq-item[open] .bch-faq-caret {
    transform: rotate(-180deg);
    color: #2D8B5F;
}
.bch-faq-body { padding: 0 1.2rem 1.15rem; }
.bch-faq-body p {
    font-size: 0.92rem; line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}
.bch-faq-body strong, .bch-faq-body em { color: #111; }

