/* Filiali: elenco con mappa e scheda della singola filiale */
.branches { display: grid; gap: 18px; }
.branches__panel { display: contents; }
.branches__tools { order: 1; display: grid; gap: 14px; }
.branches__map { order: 2; position: relative; }
.branch-list { order: 3; display: grid; gap: 10px; }
.empty-note { order: 4; display: flex; gap: 10px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--white); border: 1px dashed var(--line); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip small { opacity: .6; font-weight: 600; }
.chip--near { background: var(--lime); border-color: var(--lime); color: var(--green-950); }
@media (hover: hover) { .chip--near:hover { background: var(--lime-600); border-color: var(--lime-600); } }
.branches__count { color: var(--muted); font-size: .9rem; } .branches__count b { color: var(--ink); }
.bl { display: grid; gap: 4px; padding: 6px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.bl.is-active { border-color: var(--green-700); box-shadow: var(--shadow-md); }
.bl[hidden] { display: none; }
@media (hover: hover) { .bl:hover { border-color: var(--green-200); } }
.bl__main { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 12px 12px 6px; border: 0; background: transparent; text-align: left; border-radius: 16px; }
.bl__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--green-900); color: var(--lime); }
.bl.is-active .bl__ic { background: var(--lime); color: var(--green-950); }
.bl__txt { display: grid; gap: 3px; min-width: 0; flex: 1; line-height: 1.3; }
.bl__txt strong { font: 650 1.05rem/1.25 var(--font-display); letter-spacing: -.015em; } .bl__txt small { color: var(--muted); font-size: .86rem; }
.bl__dist { flex: none; font: 650 .85rem/1 var(--font-body); padding: 6px 10px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
.bl__act { display: flex; align-items: center; gap: 16px; padding: 4px 12px 10px 72px; flex-wrap: wrap; }
.map--lg { height: clamp(340px, 62vw, 520px); border-radius: var(--r-xl); border: 1px solid var(--line-2); box-shadow: var(--shadow-md); }
.map--md { height: clamp(300px, 42vw, 400px); border-radius: var(--r-lg); box-shadow: none; border: 1px solid var(--line-2); }
.map-credit { margin-top: 8px; font-size: .78rem; color: var(--muted); } .map-credit a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1024px) {
  .branches { grid-template-columns: 440px minmax(0, 1fr); gap: 28px; align-items: start; }
  .branches__panel { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-space) + 8px); max-height: calc(100svh - var(--header-space) - 24px); }
  .branches__tools, .branch-list, .empty-note { order: 0; }
  .branch-list { overflow: auto; padding: 4px 6px 4px 2px; margin-right: -6px; overscroll-behavior: contain; scrollbar-width: thin; }
  .branches__map { position: sticky; top: calc(var(--header-space) + 8px); }
  .map--lg { height: calc(100svh - var(--header-space) - 56px); min-height: 520px; max-height: 760px; }
}
.user-dot { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37, 99, 235, .25); }

/* scheda filiale */
.branch-head { padding-top: calc(var(--header-space) + 8px); display: grid; gap: 18px; }
.branch-hero { display: grid; gap: 22px; align-items: center; }
@media (min-width: 1000px) { .branch-hero { grid-template-columns: 1.05fr 1fr; gap: 44px; } }
.branch-hero__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--green-800); }
.branch-hero__media img { width: 100%; height: 100%; object-fit: cover; } .branch-hero__media .ph { border-radius: 0; background: linear-gradient(135deg, var(--green-700), var(--green-950)); }
.branch-hero__tag { position: absolute; left: 16px; top: 16px; }
.branch-hero__info { display: grid; gap: 16px; align-content: center; }
.branch-hero__info h1 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.4rem); line-height: 1.02; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; line-height: 1.45; } .contact-list .i { color: var(--green-600); margin-top: 2px; }
.contact-list a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--green-200); text-underline-offset: 3px; }
.branch-bar { margin-block: clamp(20px, 3vw, 36px); position: relative; z-index: 6; }
.branch-grid { display: grid; gap: 32px; align-items: start; padding-bottom: clamp(16px, 3vw, 32px); }
@media (min-width: 1000px) { .branch-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; } }
.branch-main { display: grid; gap: clamp(32px, 4vw, 48px); min-width: 0; }
.branch-side { display: grid; gap: 18px; }
.hours { padding: 22px 24px; display: grid; gap: 14px; }
.hours h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; } .hours h2 .i { color: var(--green-600); }
.hours table th { text-align: left; font-weight: 500; color: var(--muted); padding: 9px 0; width: 42%; } .hours table td { text-align: right; font-weight: 600; padding: 9px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px dashed var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green-700); font-weight: 700; }
.hours__note { font-size: .86rem; color: var(--muted); }
.plain { display: grid; gap: 8px; font-size: .94rem; color: var(--ink-2); list-style: disc; padding-left: 1.2em; }
.branch-cards { display: grid; gap: 18px; } @media (min-width: 800px) { .branch-cards { grid-template-columns: repeat(3, 1fr); } }
