/* One layout for every store. Shared rows keep every card aligned. */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.location-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 22px 130px 58px 84px auto 48px 40px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #06e6ef04, transparent 65%);
  scroll-margin-top: 120px;
}
.location-card:target { border-color: var(--accent); }
.location-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.location-card__number {
  color: var(--muted);
  font: 10px/1.6 Mono, monospace;
  letter-spacing: .05em;
  white-space: nowrap;
}
.location-card .live-status {
  font: 10px/1.6 Mono, monospace;
  text-align: right;
  letter-spacing: 0;
  white-space: nowrap;
}
.location-card__identity { padding-top: 15px; min-width: 0; }
.location-card__brand {
  margin: 0 0 7px;
  color: var(--accent);
  font: 11px/1.4 Mono, monospace;
  letter-spacing: .08em;
}
.location-card__identity h3 {
  margin: 0;
  color: var(--fg);
  font: 800 clamp(34px, 3vw, 44px)/1 Barlow, Impact, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.location-card__district {
  display: block;
  margin-top: 5px;
  font: 600 15px/1.3 Space, Arial, sans-serif;
  letter-spacing: .13em;
}
.location-card__affiliation {
  margin: 6px 0 0;
  color: var(--muted);
  font: 11px/1.5 Mono, monospace;
}
.location-card__address {
  margin: 0;
  padding-top: 6px;
  color: var(--fg);
  font: normal 15px/1.65 Space, Arial, sans-serif;
}
.location-card__availability {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-rows: 42px 30px;
  padding-bottom: 11px;
}
.location-card__today {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 13px/1.4 Space, Arial, sans-serif;
}
.location-card__today-label { display: flex; gap: 9px; align-items: center; color: var(--muted); }
.location-card__today-label svg { width: 17px; height: 17px; color: var(--accent); }
.location-card__today strong { font-weight: 600; white-space: nowrap; }
.location-card__amenities { display: flex; align-items: center; justify-content: flex-end; }
.drive-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #56665e;
  border-radius: 4px;
  color: #91a398;
  font: 10px/1.4 Mono, monospace;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.drive-indicator svg { width: 17px; height: 17px; flex-shrink: 0; }
.drive-indicator.is-open {
  color: #58ff9a;
  border-color: #42da7d;
  background: #39ee7c09;
  box-shadow: 0 0 10px #39ee7c25, inset 0 0 8px #39ee7c0d;
  text-shadow: 0 0 7px #39ee7c55;
}
.location-card__week {
  align-self: start;
  width: 100%;
  margin: 0 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.location-card__week summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 45px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}
.location-card__week summary::-webkit-details-marker { display: none; }
.location-card__week summary span { color: var(--accent); font-size: 22px; }
.location-card__week[open] summary span { transform: rotate(45deg); }
.location-card__week dl { margin: 0 0 12px; }
.location-card__week dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.location-card__week dt { color: var(--muted); font: 10px/1.5 Mono, monospace; }
.location-card__week dd { margin: 0; font-size: 12px; }
.location-card__week p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.location-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.location-card__actions .button { min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 13px; }
.location-card__review {
  display: flex;
  align-items: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font: 10px/1.5 Mono, monospace;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.location-card__review:hover { color: var(--fg); }
.location-card a:focus-visible, .location-card summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1150px) {
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-card__identity h3 { font-size: 42px; }
}
@media (max-width: 700px) {
  .location-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .location-card { padding: 22px; scroll-margin-top: 100px; }
  .location-card__identity h3 { font-size: 42px; }
  .location-card__review { font-size: 11px; }
}
@media (max-width: 380px) {
  .location-card { padding: 18px; }
  .location-card__number, .location-card .live-status { font-size: 9px; }
  .location-card__today { font-size: 12px; }
  .location-card__review { font-size: 10px; }
}
@media print {
  .location-grid { display: block; }
  .location-card { break-inside: avoid; border-color: #777; margin-bottom: 16px; background: white; }
  .location-card__identity h3, .location-card__brand, .location-card__address { color: black; }
  .drive-indicator.is-open { box-shadow: none; text-shadow: none; }
}
