/* Two verified branch locations, styled within the established Shater identity. */
.branches-section {
  margin-block: 48px 34px;
  padding-block-start: 38px;
  border-block-start: 1px solid var(--line);
  scroll-margin-block-start: 120px;
}
.branches-heading { max-width: 720px; margin-block-end: 27px; }
.branches-heading .eyebrow { margin-block-end: 12px; }
.branches-heading h2 { color: var(--navy); font-size: clamp(25px, 3vw, 35px); line-height: 1.6; margin-block-end: 12px; }
.branches-heading > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 2; }
.branch-explorer {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: start;
}
.branch-selector { min-width: 0; }
.branch-choices { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.branch-option {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 12px;
  padding: 23px 20px;
  min-height: 126px;
  border: 1px solid #d8ccbf;
  border-radius: 12px;
  background: #fffdfa;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.branch-option:hover { border-color: var(--copper); background: #f2e8dc; }
.branch-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}
.branch-option:has(input:checked) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fffdfa;
  box-shadow: 0 9px 24px #071c2c12;
}
.branch-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.branch-option-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #b879525c;
  color: var(--copper-ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.branch-option input:checked + .branch-option-number { border-color: #e7b58b75; color: var(--copper-light); background: #b8795214; }
.branch-option-copy { display: block; min-width: 0; }
.branch-option-copy strong { display: block; font-size: 18px; line-height: 1.7; margin-block-end: 6px; }
.branch-option-copy small { display: block; font-size: 13px; line-height: 1.9; color: var(--muted); overflow-wrap: anywhere; }
.branch-option input:checked ~ .branch-option-copy small { color: #d0d7d9; }
.branch-option > span:last-child:not(.branch-option-copy) { color: var(--copper-ink); font-size: 20px; padding-block-start: 4px; }
.branch-option input:checked ~ span:last-child:not(.branch-option-copy) { color: var(--copper-light); }
.branch-map-panel { min-width: 0; border: 1px solid #d8ccbf; border-radius: 14px; overflow: hidden; background: #fffdfa; box-shadow: 0 16px 38px #071c2c07; }
.branch-map-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 17px 22px; border-block-end: 1px solid var(--line); }
.branch-map-topline p { color: var(--navy); font-size: 13px; line-height: 1.7; margin: 0; }
.branch-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex: 0 0 auto; }
.branch-provider { margin-inline-start: auto; color: var(--muted); font-size: 11px; font-family: Arial, sans-serif; direction: ltr; }
.branch-map-stage { position: relative; height: 400px; background: #f0ebe3; overflow: hidden; }
.branch-map-placeholder { position: absolute; z-index: 1; inset: 0; display: grid; justify-items: center; align-content: center; gap: 15px; padding: 28px; text-align: center; background: radial-gradient(ellipse at 50% 35%, #fffdfa, #ebe2d6); }
.branch-map-placeholder > img { display: block; width: 72px; height: 72px; object-fit: contain; margin-block-end: 2px; }
.branch-map-placeholder > strong { color: var(--navy); font-size: 23px; line-height: 1.5; }
.branch-map-placeholder > p { max-width: 380px; color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.branch-map-placeholder > button { margin-block-start: 4px; }
.branch-map-canvas, .branch-map-canvas iframe { width: 100%; height: 100%; }
.branch-map-canvas iframe { display: block; border: 0; background: #f0ebe3; }
.branches-section [hidden] { display: none !important; }
.branch-map-detail { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 22px 14px; }
.branch-address-copy { min-width: 0; }
.branch-address-copy h3 { margin-block: 0 6px; font-size: 20px; color: var(--navy); line-height: 1.7; }
.branch-address-copy p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.branch-actions { display: grid; gap: 8px; justify-items: start; flex: 0 0 auto; }
.branches-section .button-dark { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border: 1px solid var(--navy); background: var(--navy); color: #fffdfa; font-size: 13px; text-decoration: none; padding: 12px 20px; border-radius: 7px; }
.branches-section .button-dark:hover { background: #12384c; border-color: #12384c; color: #fffdfa; }
.branches-section .button-dark:is(:disabled, [aria-disabled="true"]) { opacity: .7; cursor: wait; }
.branches-section :is(a, button):focus-visible { outline: 3px solid var(--focus, #b87952); outline-offset: 4px; }
.branches-section .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.branch-status { min-height: 25px; margin: 0; padding: 0 22px 14px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.branch-map-note { color: var(--muted); font-size: 12px; line-height: 1.9; margin-block: 16px 0; }
.branch-static-links { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
.branch-static-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; color: var(--copper-ink); border: 1px solid #d8ccbf; border-radius: 6px; text-decoration: underline; text-underline-offset: 4px; }
.branches-section[data-map-state="loading"] .branch-map-placeholder > img { opacity: .7; }
@supports not selector(:has(*)) {
  .branch-option input:checked + .branch-option-number { background: var(--navy); color: var(--copper-light); }
  .branch-option input:checked ~ .branch-option-copy strong { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; }
  .branch-option input:checked ~ .branch-option-copy small { color: var(--muted); }
  .branch-option input:focus-visible + .branch-option-number { outline: 3px solid var(--focus); outline-offset: 4px; }
}
@media (max-width: 1000px) {
  .branch-explorer { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); gap: 18px; }
  .branch-option { padding: 20px 16px; grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 10px; }
  .branch-option-number { width: 34px; height: 34px; }
  .branch-map-detail { align-items: start; flex-direction: column; gap: 18px; }
  .branch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
}
@media (max-width: 760px) {
  .branches-section { margin-block: 34px 25px; padding-block-start: 30px; scroll-margin-block-start: 100px; }
  .branches-heading { margin-block-end: 22px; }
  .branches-heading > p:not(.eyebrow) { font-size: 14px; }
  .branch-explorer { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .branch-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .branch-option { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; min-height: 132px; padding: 18px 16px; }
  .branch-option-copy { width: 100%; }
  .branch-option-copy strong { font-size: 17px; }
  .branch-option-copy small { font-size: 12px; }
  .branch-option > span:last-child:not(.branch-option-copy) { position: absolute; inset-inline-end: 16px; top: 22px; }
  .branch-map-stage { height: 330px; }
  .branch-map-topline { padding: 14px 18px; }
  .branch-map-detail { padding: 20px 18px 10px; }
  .branch-status { padding-inline: 18px; }
  .branch-map-placeholder { gap: 12px; padding: 22px; }
  .branch-map-placeholder > img { width: 60px; height: 60px; }
  .branch-map-placeholder > strong { font-size: 21px; }
}
@media (max-width: 400px) {
  .branch-choices { grid-template-columns: minmax(0, 1fr); }
  .branch-option { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; min-height: 105px; align-items: start; }
  .branch-option-copy { width: auto; }
  .branch-option > span:last-child:not(.branch-option-copy) { position: static; padding-block-start: 4px; }
  .branch-map-topline { gap: 7px; padding-inline: 15px; }
  .branch-map-topline p { font-size: 12px; }
  .branch-provider { font-size: 10px; }
  .branch-actions { width: 100%; }
  .branch-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .branch-option, .branches-section .button { transition: none; }
}
@media print {
  .branches-section { border-color: #ccc; margin-block: 25px; padding-block-start: 20px; }
  .branch-explorer { display: block; }
  .branch-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-option, .branch-option:has(input:checked) { background: #fff; color: #000; border-color: #ccc; box-shadow: none; break-inside: avoid; }
  .branch-option input:checked ~ .branch-option-copy small { color: #333; }
  .branch-map-panel { display: none; }
  .branch-map-note { color: #333; }
}
