/* Business directory. MOBILE-FIRST. Builds on crime.css (hero, search, layout) and app.css. */

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .85rem; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .35rem .8rem;
    border: 1px solid #b8c9d2; border-radius: 2rem; background: #fff; color: var(--ll-ink, #17324d);
    font-size: .88rem; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"] { background: #0B2D5B; border-color: #0B2D5B; color: #fff; }
.chip .chip-dot { width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); flex: 0 0 auto; }
.chip .chip-n { opacity: .75; font-variant-numeric: tabular-nums; }
.chip:focus-visible { outline: 3px solid var(--lookout-teal); outline-offset: 2px; }

.biz-list { list-style: none; margin: 0 0 .85rem; padding: 0; display: grid; gap: .55rem; }
.biz-card { background: #f8fbfc; border: 1px solid #dbe6ea; border-radius: .5rem; padding: .7rem .8rem; display: grid; gap: .25rem; }
.biz-card.is-featured { background: #f3faf8; border-color: #8fd9cd; }
.biz-card h3 { font-size: 1rem; font-weight: 750; margin: 0; overflow-wrap: anywhere; }
.biz-card h3 a { color: var(--lookout-navy); text-decoration: none; }
.biz-card h3 a:hover { text-decoration: underline; }
.biz-meta { margin: 0; font-size: .85rem; color: #4a6272; overflow-wrap: anywhere; }
.biz-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.biz-actions { display: flex; gap: .75rem; align-items: center; }
.biz-actions .link-btn { min-height: 2.75rem; font-size: .88rem; }
.biz-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .35rem; vertical-align: baseline; border: 1px solid rgba(0,0,0,.2); }

.rate { display: inline-block; border-radius: 2rem; padding: .1rem .6rem; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.rate-good { background: #d7f2e5; color: #0b5a3a; }
.rate-ok   { background: #fff0c9; color: #6b4a00; }
.rate-poor { background: #fde0dd; color: #7a1c14; }
.rate-none { background: #e6ebef; color: #46586a; }
.tag-featured { display: inline-block; background: #0B2D5B; color: #fff; border-radius: 2rem; padding: .1rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.tag-claimed { display: inline-block; background: #e1ecfb; color: #0b3a66; border-radius: 2rem; padding: .1rem .6rem; font-size: .72rem; font-weight: 700; }

.biz-pin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.5); }
.biz-pin.is-featured { width: 28px; height: 28px; border-color: #0B2D5B; box-shadow: 0 0 0 3px #fff, 0 1px 6px rgba(0,0,0,.5); }
.biz-popup { min-width: 11rem; font-size: .88rem; color: #0B2D5B; display: grid; gap: .25rem; }
.biz-popup strong { font-size: 1rem; }
.biz-popup a { font-weight: 700; }

/* ---- business detail page ---- */
.biz-hero-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.biz-detail-map { height: 14rem; border-radius: .6rem; border: 1px solid #cfdde3; background: #dfe9ee; z-index: 0; }
.rating-box { display: grid; gap: .25rem; padding: .9rem 1rem; border-radius: .6rem; border: 1px solid #dbe6ea; background: #fff; }
.rating-box .rating-big { font-size: 1.35rem; font-weight: 800; }
.rating-box.rate-good { border-color: #a5dcc3; background: #f1faf5; }
.rating-box.rate-poor { border-color: #f2b8b2; background: #fdf4f3; }
.rating-box.rate-ok { border-color: #f0d58a; background: #fffaf0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.contact-list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; overflow-wrap: anywhere; }
.contact-list .k { color: #4f6676; font-weight: 600; }

@media (min-width: 768px) {
    .biz-detail-map { height: 18rem; }
}
