.franchise-page {
  --franchise-red: #d9080c;
  --franchise-display: 'Barlow Condensed', Impact, sans-serif;
  color: #f7f4ef;
  background: #090909;
}
.franchise-page [hidden] { display: none !important; }
.franchise-wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }
.franchise-header { border-bottom: 1px solid #262626; }
.franchise-header .franchise-wrap {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.franchise-header a { display: inline-flex; align-items: center; min-height: 44px; }
.franchise-header img { width: 68px; height: auto; }
.franchise-header span { font-size: 14px; font-weight: 700; }
.franchise-hero { padding-block: 27px 32px; }
.franchise-hero-grid { display: grid; gap: 20px; }
.franchise-intro h1,
.franchise-process h2,
.franchise-inquiry h2 {
  margin: 0;
  font: 900 clamp(43px, 12.3vw, 80px)/.89 var(--franchise-display);
  text-transform: uppercase;
}
.franchise-intro h1 span { display: block; color: #ff2428; }
.franchise-intro p { margin: 13px 0 0; color: #dedad5; font-size: 16px; }
.franchise-map { position: relative; isolation: isolate; border: 1px solid #393939; }
.franchise-map > img { width: 100%; height: auto; }
.franchise-pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  display: flex;
  width: 44px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 0 5px;
  border: 0;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -91%);
}
.franchise-pin-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid #ff6466;
  border-radius: 50%;
  background: #d9080c url('/assets/franchise-pin.webp') center / 100% no-repeat;
}
.franchise-pin-icon::after {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top: 9px solid #ed090d;
  transform: translateX(-50%);
  content: '';
}
.franchise-pin-label {
  position: absolute;
  left: 38px;
  top: 10px;
  border: 1px solid #93908a;
  border-radius: 3px;
  padding: 2px 4px;
  color: #fff;
  background: #171717;
  font: 700 12px/1.1 var(--franchise-display);
  white-space: nowrap;
  pointer-events: none;
}
.franchise-pin:hover .franchise-pin-icon,
.franchise-pin[aria-expanded="true"] .franchise-pin-icon { outline: 2px solid #fff; outline-offset: 1px; }
.franchise-legend {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #696762;
  border-radius: 3px;
  color: #f7f4ef;
  background: #151515;
  font-size: 11px;
}
.franchise-legend span { width: 7px; height: 7px; border-radius: 50%; background: #ff3439; }
.franchise-store-results:has([data-franchise-panel]:not([hidden])) { margin-top: 12px; }
.franchise-store-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.franchise-store-choices button {
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid #6b6760;
  border-radius: 3px;
  color: inherit;
  background: #1b1b1b;
  font-size: 13px;
}
.franchise-store-choices button[aria-pressed="true"] { background: #f7f4ef; color: #111; border-color: #f7f4ef; }
.franchise-store-card {
  display: grid;
  grid-template-columns: minmax(88px, 31%) 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #4b4844;
  background: #171717;
}
.franchise-store-card img { width: 100%; height: 100%; min-height: 94px; max-height: 120px; object-fit: cover; }
.franchise-store-card h2 { margin: 0; font: 800 24px/1 var(--franchise-display); }
.franchise-store-card p { margin: 4px 0 0; color: #d2ceca; font-size: 13px; }
.franchise-store-card a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 13px; text-decoration: underline; }
.franchise-actions { display: grid; justify-items: center; gap: 5px; }
.franchise-primary {
  background: var(--franchise-red);
  color: #fff;
  font: 800 22px/1 var(--franchise-display);
}
.franchise-primary:hover { background: #b60004; }
.franchise-actions .franchise-primary { width: 100%; }
.franchise-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #f7f4ef;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.franchise-page :focus-visible { outline: 2px solid #ff696d; outline-offset: 3px; }
.franchise-process,
.franchise-inquiry { padding-block: clamp(42px, 7vw, 85px); scroll-margin-top: 12px; }
.franchise-process { color: #151515; background: #f6f3ee; }
.franchise-process h2,
.franchise-inquiry h2 { font-size: clamp(38px, 7.5vw, 62px); }
.franchise-process ol { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.franchise-process li { counter-increment: step; border-top: 1px solid #b1aaa3; padding-top: 13px; }
.franchise-process li::before { content: '0' counter(step); color: #ae0c0c; font-size: 13px; font-weight: 800; }
.franchise-process h3 { margin: 5px 0 4px; font: 800 26px/1.05 var(--franchise-display); text-transform: uppercase; }
.franchise-process p, .franchise-inquiry-grid > div p { margin: 0; font-size: 15px; line-height: 1.55; }
.franchise-inquiry-grid > div p { margin-top: 13px; color: #d2ceca; max-width: 44ch; }
.franchise-page #inquiries > .franchise-wrap > .inquiry-form {
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #484848;
  background: #171717;
}
.franchise-inquiry .legal-note { color: #bdbdbd; margin-bottom: 0; }
@media (min-width: 760px) {
  .franchise-wrap { width: min(100% - 64px, 1180px); }
  .franchise-header .franchise-wrap { min-height: 75px; }
  .franchise-header img { width: 82px; }
  .franchise-hero { padding-block: clamp(44px, 6vw, 82px); }
  .franchise-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); grid-template-rows: 1fr 1fr; gap: 26px 34px; }
  .franchise-intro { align-self: end; }
  .franchise-intro h1 { font-size: clamp(49px, 6.25vw, 98px); }
  .franchise-intro p { font-size: 19px; margin-top: 20px; }
  .franchise-footprint-map { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .franchise-actions { align-self: start; justify-items: start; }
  .franchise-actions .franchise-primary { width: auto; min-width: 248px; }
  .franchise-pin-label { font-size: 15px; padding-inline: 7px; }
  .franchise-process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .franchise-inquiry-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px 40px; }
  .franchise-inquiry-grid .inquiry-form { margin-top: 0; }
  .franchise-inquiry-grid .legal-note { grid-column: 2; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.franchise-page) { scroll-behavior: auto; }
  .franchise-page .btn { transition: none; }
}
