/* Hummus & Garlic — location pages (pages/<store>.html, built by toast-sync/build-locations.py).
   Loaded after style.css. Sections: hours + map, menu picks, ways to order, FAQ. */

.lp-sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--paper); }
.lp-sec.is-wash { background: var(--wash); }

.lp-head { margin: 0 0 clamp(1.8rem, 4vw, 2.8rem); max-width: 46rem; }
.lp-head h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 0.92; margin: 0; }
.lp-head h2 .ac { color: var(--green); }
.lp-head p { margin: 0.9rem 0 0; color: var(--muted-warm); font-size: 1rem; line-height: 1.65; }

/* ---- Hours + map ---- */
.lp-visit { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.lp-hours {
    background: var(--white);
    border: 1px solid var(--line-warm);
    border-radius: 18px;
    padding: clamp(1.3rem, 3vw, 2.2rem);
}
.lp-hours h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 0.9rem; }
.lp-hours table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.lp-hours th, .lp-hours td { padding: 0.62rem 0; border-bottom: 1px solid var(--line-warm); text-align: left; font-weight: 400; }
.lp-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.lp-hours tr:last-child th, .lp-hours tr:last-child td { border-bottom: 0; }
.lp-hours th { font-weight: 600; color: var(--ink); }
.lp-hours tr.is-today th, .lp-hours tr.is-today td { color: var(--green); font-weight: 700; }
.lp-hours tr.is-today th::after {
    content: "Today";
    margin-left: 0.55rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: var(--wash);
    color: var(--green);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    vertical-align: 0.12em;
}
.lp-contact { list-style: none; margin: 1.3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line-warm); display: grid; gap: 0.2rem; }
.lp-contact li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.lp-contact i { color: var(--green); width: 1rem; margin-top: 0.3rem; text-align: center; flex: none; }
.lp-contact a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.lp-contact a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.lp-contact span { padding: 0.35rem 0; }

.lp-map {
    position: relative;
    margin: 0;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line-warm);
    background: var(--off-white);
}
.lp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

@media (min-width: 900px) {
    .lp-visit { grid-template-columns: minmax(340px, 0.85fr) 1.15fr; }
    .lp-map { min-height: 100%; }
}

/* ---- On the menu: six real menu items ---- */
.lp-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem); }
.lp-dish {
    background: var(--white);
    border: 1px solid var(--line-warm);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.lp-dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }
.lp-dish div { padding: 0.9rem 1rem 1.1rem; border-top: 1px solid var(--line-warm); }
.lp-dish h3 { font-size: clamp(1.2rem, 3.6vw, 1.55rem); margin: 0; line-height: 1; }
.lp-dish p { margin: 0.45rem 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--muted-warm); }
.lp-menu-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
@media (min-width: 900px) { .lp-menu { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .lp-dish div { padding: 1.1rem 1.3rem 1.3rem; } }

/* ---- Ways to order ---- */
.lp-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(0.8rem, 2vw, 1.2rem); }
.lp-way {
    background: var(--white);
    border: 1px solid var(--line-warm);
    border-radius: 16px;
    padding: clamp(1.2rem, 3vw, 1.7rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.lp-way i { font-size: 1.25rem; color: var(--green); }
.lp-way h3 { font-size: 1.6rem; margin: 0.3rem 0 0; }
.lp-way p { margin: 0; color: var(--muted-warm); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.lp-way a { font-weight: 700; color: var(--green); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 0.4rem; }
.lp-way a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .lp-ways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lp-ways { grid-template-columns: repeat(4, 1fr); } }

/* ---- FAQ ---- */
.lp-faq { max-width: 860px; margin: 0 auto; }
.lp-faq .lp-head { text-align: center; margin-left: auto; margin-right: auto; }
.lp-faq details { border-bottom: 1px solid var(--line-warm); }
.lp-faq details:first-of-type { border-top: 1px solid var(--line-warm); }
.lp-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: "+";
    flex: none;
    width: 2rem; height: 2rem;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-warm);
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.2s ease;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.lp-faq details p { margin: 0 0 1.2rem; color: var(--muted-warm); line-height: 1.7; max-width: 46rem; }
.lp-faq details a { color: var(--green); font-weight: 600; }

/* venue cut-outs: a wrap or a tray is wider than a bowl, keep it from towering */
.venue-image.is-cutout.is-wide img { max-width: 92%; margin: 0 auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* shows only if the Google map can't load; the iframe covers it otherwise */
.lp-map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; color: var(--green); text-decoration: none; }
.lp-map iframe { z-index: 1; }

/* green pill outside the home page (home.css carries the same rule) */
.btn-pill.is-green, .btn-pill.is-green:hover { background: var(--green-marble); border-color: transparent; color: #fff; }

/* tablets: the address and the buttons side by side squeeze the address into a sliver */
@media (min-width: 760px) and (max-width: 1099px) {
    .loc-card-body { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 639px) {
    .lp-menu-actions .btn-pill { flex: 1 1 100%; justify-content: center; }
}
