.branch-page { --branch-focus-glow: #3672de9e; background: #f2f5fa; }
.branch-hero { --branch-focus-glow: #b4d1ffbd; }
.branch-page .black-week { --branch-focus-glow: #ffdd89b3; }
.branch-hero .map-options { --branch-focus-glow: #3672de9e; }
.branch-page :focus-visible {
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: 0 0 6px 3px var(--branch-focus-glow);
}
.branch-page :is(a, summary, .planner-nearby, .campaign-toggle),
.branch-page :is(a, summary, .planner-nearby):hover,
.branch-page .campaign-summary:hover .campaign-toggle { text-decoration: none; }
.branch-page .site-header, .branch-page .site-footer { border: 0; background: var(--white); }

.branch-back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 750;
}

.branch-back { display: none; }
.branch-back a:hover { color: var(--ink); }

.branch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  margin-top: clamp(16px, 3vw, 34px);
  border-radius: 22px;
  color: var(--white);
  background: radial-gradient(ellipse at 15% 0%, #1c3f77, transparent 65%), #0b1a35;
  box-shadow: 0 14px 35px #142b5226;
}

.branch-heading {
  position: relative;
  isolation: isolate;
  align-self: center;
  padding: clamp(23px, 4.45vw, 58px);
}
.branch-heading::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 6% 5% 8% 23%;
  opacity: .09;
  pointer-events: none;
  background: #9cc6ff;
  mask: url('/assets/bomohsa-mark.webp') center / contain no-repeat;
}
.branch-place { margin-bottom: 10px; color: #bed5f5; font-size: .9375rem; font-weight: 750; }
.branch-heading h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.branch-focus { max-width: 38ch; margin-top: 14px; color: #dce8fa; font-size: clamp(1rem, 1.55vw, 1.125rem); line-height: 1.55; }

.branch-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin-top: 8px;
}
.branch-live .store-status { color: #d0dbef; }
.branch-live .store-status-light { background: #a1b2cc; }
.branch-live .store-status[data-open="true"] .store-status-label { color: #98f1c4; }
.branch-live .store-status[data-open="true"] .store-status-light { background: #63dfa3; box-shadow: 0 0 9px #63dfa3b0; }
.branch-live a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 9px; border-radius: 8px; color: #cee1ff; font-size: .875rem; font-weight: 750; }
.branch-live a:hover { color: var(--white); background: #ffffff17; }
.branch-heading .actions { gap: 8px; margin-top: 9px; }
.branch-heading .actions .button { border: 0; border-radius: 9px; }
.branch-heading .primary { color: var(--blue-dark); background: var(--white); }
.branch-heading .primary:hover { background: #e8f1ff; }
.branch-heading .maps-choice summary { color: #eaf2ff; background: #ffffff17; }
.branch-heading .maps-choice summary:hover { background: #ffffff2b; }

.branch-facade {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 355px;
  overflow: hidden;
  border-radius: 0 22px 22px 0;
  background: #111f38;
}
.branch-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.branch-facade-portrait img { object-fit: contain; object-position: center; }
.branch-facade:not(.branch-facade-portrait)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1a356b, transparent 28%); pointer-events: none; }
.branch-facade figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 15px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 3px 9px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #dce8fa;
  background: #0b1a35ed;
  font-size: .875rem;
}
.branch-facade figcaption a:hover { color: var(--white); background: #ffffff17; }

.branch-address-pair {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  align-self: center;
  margin: clamp(16px, 4vw, 48px) clamp(20px, 4.5vw, 58px) clamp(16px, 4vw, 48px) 0;
  padding: clamp(17px, 3vw, 32px);
  border-radius: 14px;
  background: #ffffff10;
}
.branch-address-pair > svg { margin-top: 2px; color: #c2daff; }
.branch-address-pair h2 { color: #c2daff; font-size: .9375rem; line-height: 1.3; font-weight: 750; }
.branch-address { display: grid; gap: 5px; max-width: 42ch; margin-top: 10px; line-height: 1.5; }
.branch-address strong { font-weight: 750; }
.branch-address span { color: var(--muted); }
.branch-address-pair .branch-address span { color: #d0dbef; }

.branch-visit { margin-top: clamp(28px, 5vw, 58px); }
.branch-solutions-grid, .branch-feature {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(20px, 5vw, 65px);
}

.branch-visit h2, .branch-solutions h2, .branch-feature h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.45vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  font-weight: 800;
  text-wrap: balance;
}
.branch-visit h2 { font-size: clamp(1.8rem, 3.35vw, 2.5rem); margin-bottom: clamp(13px, 2vw, 22px); }
.branch-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(17px, 2.5vw, 32px);
  padding: clamp(15px, 2.2vw, 28px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 7px 24px #1324440e;
}
.branch-panel { min-width: 0; }
.branch-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
}
.branch-panel-title svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  color: var(--blue-dark);
  background: #eaf1fc;
}
.branch-location-body {
  padding: 14px;
  border-radius: 12px;
  background: #edf3fc;
}
.branch-location .branch-address { gap: 4px; max-width: none; margin-top: 0; overflow-wrap: anywhere; }
.branch-visit .mini-map { height: 104px; margin-top: 12px; border: 0; border-radius: 8px; }
.branch-visit .map-attribution { margin-top: 3px; }
.branch-location .maps-choice { margin-top: 10px; }
.branch-location .visit-directions {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--white);
}
.branch-location .visit-directions:hover { background: #e2ebfb; }
.branch-location .map-options { border: 0; border-radius: 10px; }
.branch-hours { display: grid; gap: 6px; padding: 9px 11px; border-radius: 8px; background: #f4f7fc; }
.branch-hours > div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: baseline; gap: 3px 12px; }
.branch-hours dt { color: var(--muted); }
.branch-hours dd { font-weight: 800; font-variant-numeric: tabular-nums; }
.branch-hours-label { margin: 0 0 5px 1px; color: var(--muted); font-size: .875rem; font-weight: 750; }
.branch-special-hours { margin-top: 10px; }
.branch-special-hours .branch-hours-label { color: var(--blue-dark); }
.branch-special-hours .branch-hours { background: #edf3fc; }
.branch-contacts { display: grid; gap: 5px; }
.branch-contacts li { min-width: 0; }
.branch-contacts a, .branch-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 9px;
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.branch-contacts a { display: grid; grid-template-columns: 17px minmax(0, 1fr); width: 100%; padding-block: 7px; background: #f4f7fc; }
.branch-contacts a:hover, .branch-text-link:hover { background: #e7effb; }
.branch-contacts a svg { width: 17px; height: 17px; }
.branch-contacts small { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; line-height: 1.4; }

.branch-page .visit-planner { margin-top: clamp(15px, 2.2vw, 26px); border: 0; border-radius: 14px; background: var(--white); }
.branch-page .planner-summary { border-radius: 14px; }
.branch-page .black-week, .branch-page .campaign-hours { border: 0; }
.branch-page .black-week { border-radius: 12px; }

.branch-solutions { margin-top: clamp(35px, 5vw, 64px); }
.branch-feature { margin-top: clamp(46px, 8vw, 94px); }
.branch-solutions .branch-text-link { margin-top: 8px; }
.branch-offerings { display: flex; flex-wrap: wrap; gap: 8px; }
.branch-offerings li { display: flex; align-items: center; min-height: 44px; font-weight: 750; }
.branch-offerings li:not(:has(a)), .branch-offerings a { padding-inline: 12px; border-radius: 9px; background: var(--white); }
.branch-offerings a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); }
.branch-offerings a:hover { background: #e7effa; }

.branch-advice { margin-top: 7px; }
.branch-advice summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: fit-content;
  padding-inline: 8px;
  border-radius: 8px;
  color: var(--blue-dark);
  font-size: .9375rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.branch-advice summary::-webkit-details-marker { display: none; }
.branch-advice summary:hover { color: var(--blue); background: #e7effa; }
.branch-advice summary svg { width: 16px; height: 16px; }
.branch-advice[open] summary svg { transform: rotate(180deg); }
.branch-advice p { max-width: 62ch; color: var(--muted); line-height: 1.6; }

.branch-catalog { margin-top: clamp(28px, 5vw, 58px); }
.branch-catalog h3 { font-size: 1.25rem; font-weight: 800; }
.branch-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
  margin-top: 15px;
}

.branch-product-link { display: grid; gap: 5px; }
.branch-product-link strong { line-height: 1.35; }
.branch-product-link:hover strong { color: var(--blue-dark); }
.branch-product-link > span:not(.branch-product-image) { color: var(--muted); font-size: .875rem; }
.branch-product-image {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  overflow: hidden;
  aspect-ratio: 1.42;
  border-radius: 5px;
  background: #f3f6f9;
}

.branch-product-image img { width: 90%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.branch-feature { align-items: center; padding: clamp(18px, 3.5vw, 38px); border-radius: 16px; background: var(--white); }
.branch-feature p { max-width: 45ch; margin-top: 12px; color: var(--muted); line-height: 1.6; }
.branch-feature .actions { margin-top: 18px; gap: 15px; }
.branch-feature-image img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: contain; background: #f3f6f9; border-radius: 6px; }

@media (max-width: 900px) {
  .branch-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 611px) and (max-width: 840px) {
  .branch-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-location { grid-column: 1 / -1; }
  .branch-location-body:not(:has(.mini-map)) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 16px; }
  .branch-location-body:not(:has(.mini-map)) .maps-choice { margin-top: 0; margin-left: auto; }
  .branch-location-body:not(:has(.mini-map)) .map-options { right: 0; left: auto; }
}
@media (max-width: 760px) {
  .branch-hero { grid-template-columns: minmax(0, 1fr); }
  .branch-facade { min-height: clamp(190px, 47vw, 325px); border-radius: 0 0 22px 22px; }
  .branch-facade img { object-position: center; }
  .branch-facade figcaption { justify-content: start; }
  .branch-address-pair { margin: 0 20px 20px; }
}
@media (max-width: 680px) {
  .branch-back { display: block; padding-top: 6px; }
  .branch-hero { margin-top: 5px; }
  .branch-solutions-grid, .branch-feature { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .branch-heading h1 { font-size: clamp(2.2rem, 9.6vw, 3.3rem); }
  .branch-focus { margin-top: 10px; }
  .branch-heading .maps-choice { display: none; }
  .branch-page .mobile-actions { border: 0; box-shadow: 0 -4px 20px #13244422; }
  .branch-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 610px) {
  .branch-facts { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 390px) {
  .branch-hours { padding-inline: 8px; }
  .branch-hours > div { column-gap: 8px; }
  .branch-page .header-site span { white-space: normal; text-align: right; line-height: 1.25; }
  .branch-live { gap: 0 8px; }
  .branch-live a { padding-inline: 5px; }
  .branch-page .mobile-actions .button { gap: 5px; font-size: .875rem; white-space: nowrap; }
  .branch-page .mobile-actions .button svg { width: 16px; height: 16px; }
}
@media (forced-colors: active) {
  .branch-page :focus-visible { outline-color: Highlight; box-shadow: none; }
}
