:root {
  --font-body: "Manrope", sans-serif;
  --font-display: "Manrope", sans-serif;
  --bg: #f7f3f2;
  --panel: #ffffff;
  --ink: #1f1f22;
  --muted: #5f5f66;
  --line: #e6d7d7;
  --accent: #d72f2a;
  --accent-2: #b92724;
  --brand-white: #ffffff;
  --brand-charcoal: #1f1f22;
  --side: #f6d858;
  --entree: #e06a3a;
  --app: #d65c80;
  --drink: #2f9e95;
  --sea: #4a9adf;
  --sauce: #7eb86a;
  --special: #8a6dc9;
  --dessert: #e59d4e;
  --panel-soft: #fff8f8;
  --shadow-soft: 0 10px 26px rgba(31, 31, 34, 0.08);
  --shadow-strong: 0 18px 40px rgba(31, 31, 34, 0.14);
  --text-2xs: 0.72rem;
  --text-xs: 0.8rem;
  --text-sm: 0.88rem;
  --text-md: 0.95rem;
  --text-base: 1rem;
  --text-lg: 1.1rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  background: radial-gradient(circle at 15% 20%, #f8e3e3, var(--bg) 42%), radial-gradient(circle at 85% 10%, #f3d7dd, transparent 45%), linear-gradient(180deg, #faf6f6 0%, #f5f1f1 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  min-height: 66vh;
  padding: 1.2rem 2rem 3rem;
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #fff;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar ul { display: flex; gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.topbar a { color: var(--brand-white); text-decoration: none; font-weight: 700; }
.logo { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.01em; font-weight: 800; }

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy .logo {
  font-size: 1.1rem;
  margin: 0;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-2xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-cta-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.hero-content { max-width: 720px; margin-top: 3.4rem; }
.tag { background: rgba(255,255,255,0.22); display: inline-block; padding: 0.35rem 0.8rem; border-radius: 100px; font-weight: 700; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 { font-family: var(--font-display); font-size: clamp(2rem, 7vw, 4.3rem); margin: 1rem 0; font-weight: 800; }
h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 3rem); font-weight: 700; }
h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; }
.cta { display: inline-block; margin-top: 1.2rem; background: var(--brand-charcoal); color: var(--brand-white); text-decoration: none; font-weight: 800; font-size: var(--text-sm); border-radius: 999px; padding: 0.8rem 1.35rem; }

.section { width: min(1140px, 92vw); margin: 4rem auto; }
.eyebrow { text-transform: uppercase; font-size: var(--text-xs); letter-spacing: 0.16em; color: var(--muted); font-weight: 800; }

.controls-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(196, 33, 63, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 245, 0.96) 100%);
  border: 1px solid #e4d8ce;
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(47, 34, 29, 0.08);
}

.controls-bar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.controls-bar-copy {
  max-width: 720px;
}

.controls-kicker {
  margin: 0 0 0.35rem;
  color: #6d86c5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.controls-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #171d34;
}

.controls-description {
  margin: 0.5rem 0 0;
  max-width: 62ch;
  color: #78695f;
  font-size: 0.98rem;
  line-height: 1.55;
}

.search-shell {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid #ddd2c8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
  border-radius: 20px;
  padding: 0.95rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(47, 34, 29, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-shell:focus-within {
  border-color: #c9ac97;
  box-shadow: 0 14px 28px rgba(112, 83, 64, 0.12);
  transform: translateY(-1px);
}

.search-icon {
  color: #9d8d80;
  font-size: 1.45rem;
  line-height: 1;
}

.search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #3d2f26;
  font-family: inherit;
  font-size: clamp(1rem, 1.05vw, 1.16rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.search-input::placeholder {
  color: #9c8f84;
}

.menu-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
}

.sort-shell {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-width: 220px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ddd2c8;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(47, 34, 29, 0.05);
}

.sort-shell-label {
  color: #8f8074;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sort-select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #3d2f26;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  padding-right: 1.4rem;
}

.menu-actions {
  display: block;
  width: 100%;
  min-width: 0;
}

.category-scroller {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(var(--category-count, 10), minmax(0, 1fr));
  gap: 0.35rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.category-btn {
  border: 0;
  background: transparent;
  color: #617089;
  border-radius: 22px;
  padding: 0.25rem 0.15rem 0.1rem;
  min-height: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.42rem;
  font-size: clamp(var(--text-xs), 0.95vw, var(--text-md));
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  line-height: 1.08;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.category-btn:hover {
  transform: translateY(-1px);
  color: #25314b;
}

.category-btn.active {
  color: #1e263c;
}

.category-btn-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(31, 31, 34, 0.12);
  background: #fff;
  flex-shrink: 0;
}

.category-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-btn.active .category-btn-icon {
  border-color: #ffffff;
  box-shadow:
    0 0 0 4px #4d8ce8,
    0 0 0 8px rgba(77, 140, 232, 0.18);
}

.category-btn-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.category-btn-label {
  display: block;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.category-btn.active .category-btn-label {
  color: #1e263c;
}

.clear-btn {
  border: 1px solid #d8ccc2;
  background: linear-gradient(180deg, #fffefc 0%, #f6efe8 100%);
  color: #372f37;
  padding: 0.72rem 1rem;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.clear-btn:hover {
  background: linear-gradient(180deg, #fff7f6 0%, #f2e8e4 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 34, 29, 0.1);
}

.calc-layout { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
.panel { background: var(--panel); border-radius: 18px; border: 1px solid var(--line); padding: 1rem; }
#selectedList { margin: 0; padding-left: 1rem; }
#selectedList li { margin-bottom: 0.45rem; }

.metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); gap: 0.55rem; }
.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
  box-shadow: 0 8px 18px rgba(31, 31, 34, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.metric:hover,
.metric:focus-within {
  transform: translateY(-2px);
  border-color: #d9bcc0;
  box-shadow: 0 16px 28px rgba(31, 31, 34, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fff3f3 100%);
}
.metric > span { display: block; font-size: var(--text-xs); color: var(--muted); }
.metric strong { font-size: 1.1rem; line-height: 1.05; }
.metric-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  line-height: 1.2;
  white-space: nowrap;
}
.metric-label-text {
  display: inline-block;
  min-width: 0;
}
.metric-icon {
  width: 1.05rem;
  text-align: center;
  font-size: var(--text-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.05rem;
}

.allergen-block p { font-weight: 700; margin-bottom: 0.55rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags span { border: 1px solid var(--ink); border-radius: 999px; padding: 0.2rem 0.65rem; font-size: var(--text-xs); font-weight: 700; }

.macro-share-panel {
  display: grid;
  gap: 0.8rem;
}

.macro-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.macro-share-head h3 {
  margin: 0;
}

.macro-share-head p {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.macro-share-total {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #e7d4c6;
  background: #fffaf4;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.macro-share-bar {
  display: flex;
  align-items: stretch;
  min-height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4e8dc;
  border: 1px solid #ead8cb;
}

.macro-segment {
  min-width: 0;
  transition: width 0.22s ease;
}

.macro-share-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.macro-share-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.macro-share-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f3 100%);
}

.macro-share-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
}

.macro-share-copy {
  display: grid;
  gap: 0.08rem;
}

.macro-share-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.macro-share-copy strong {
  font-size: 1rem;
  line-height: 1;
}

.macro-share-meta {
  font-size: 0.74rem;
  font-weight: 700;
  color: #7a6963;
  white-space: nowrap;
}

.menu-results-meta {
  margin: 0;
  color: #6f6057;
  font-size: 0.92rem;
  font-weight: 600;
}

.menu-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 1.35rem;
}

.menu-category-block {
  display: grid;
  gap: 0.9rem;
}

.menu-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0 0.2rem;
}

.menu-category-kicker {
  margin: 0;
  color: #8b7568;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-category-head h3 {
  margin: 0.18rem 0 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.02;
  color: #1d2035;
}

.menu-category-count {
  align-self: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  border: 1px solid #decfc3;
  background: linear-gradient(180deg, #fffdfa 0%, #f5ede5 100%);
  color: #6a5a52;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-card {
  background: linear-gradient(180deg, #fffefc 0%, #fbf4ed 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  opacity: 0;
  animation: fadeInCard 0.45s ease forwards;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  will-change: transform;
}

@media (min-width: 1441px) {
  .menu-card {
    padding: 0.88rem;
    gap: 0.88rem;
  }

  .menu-card-content {
    gap: 0.24rem;
  }

  .badge-row {
    gap: 0.42rem;
  }

  .menu-stat-cell {
    min-height: 2.8rem;
    padding: 0.32rem 0.24rem;
  }
}
.menu-card.in-cart {
  border-color: color-mix(in srgb, var(--card-accent) 45%, #ffffff 55%);
  box-shadow: 0 18px 36px rgba(92, 64, 42, 0.16);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(31, 31, 34, 0.16);
  border-color: #d4b2a2;
  background: linear-gradient(180deg, #ffffff 0%, #fff4ee 100%);
}
.menu-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(31, 31, 34, 0.16);
  border-color: #d4b2a2;
  background: linear-gradient(180deg, #ffffff 0%, #fff4ee 100%);
  outline: none;
}

@keyframes fadeInCard { to { opacity: 1; } }
.menu-card h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.03;
  letter-spacing: -0.03em;
  transition: transform 0.2s ease, letter-spacing 0.2s ease;
}
.menu-card-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  outline: 0;
  display: grid;
  place-items: start center;
  opacity: 1;
  background: transparent;
  background-image: none;
  box-shadow: none;
  filter: none;
  transition: transform 0.22s ease, filter 0.22s ease;
}
.menu-card-visual::after {
  content: none;
}
.menu-card-item-image {
  position: relative;
  width: auto;
  height: auto;
  max-width: calc(100% - 0.4rem);
  max-height: calc(100% - 0.4rem);
  object-fit: contain;
  object-position: top center;
  padding: 0;
  display: block;
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
  filter: none;
}

.menu-card--beverage .menu-card-item-image {
  width: auto;
  height: auto;
  max-width: 68%;
  max-height: 68%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  box-sizing: content-box;
}

.menu-card-item-image--powerade-mountain-berry-blast-large,
.menu-card-item-image--powerade-mountain-berry-blast-medium,
.menu-card-item-image--powerade-mountain-berry-blast-small,
.menu-card-item-image--powerade-mountain-berry-blast-kids {
  transform: translateY(0.45rem);
}

.menu-card-item-image--coca-cola-zero-sugar-large,
.menu-card-item-image--coca-cola-zero-sugar-medium,
.menu-card-item-image--coca-cola-zero-sugar-small,
.menu-card-item-image--coca-cola-zero-sugar-kids {
  transform: translateY(-0.72rem);
}
.menu-card-content {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(1.1rem, auto) auto 1fr;
  align-content: stretch;
  gap: 0.22rem;
  min-height: 100%;
}
.menu-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.menu-card-title {
  margin: 0;
  color: #211b1e;
  font-size: 1.125rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-card-action-zone {
  --control-btn-size: 32px;
  --control-shell-pad: 0.25rem;
  --control-gap: 0.28rem;
  --control-qty-width: 2.4rem;
  --control-reserved-width: calc(
    (var(--control-btn-size) * 2) +
    var(--control-qty-width) +
    (var(--control-gap) * 2) +
    (var(--control-shell-pad) * 2)
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--control-reserved-width);
  min-block-size: calc(var(--control-btn-size) + (var(--control-shell-pad) * 2));
  padding: 1rem 1.24rem 1.08rem 1.28rem;
  margin: -1rem -1.24rem -1.08rem -1.28rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.menu-card-subtitle {
  margin: 0;
  color: #8f7f73;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
  max-width: none;
  min-height: 0.72rem;
  display: flex;
  align-items: flex-start;
  transition: color 0.2s ease, transform 0.2s ease;
}
.menu-card-cub-meal-text {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-2) 25%, transparent);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.14em;
}
.menu-card-subtitle--empty {
  visibility: hidden;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
}
.badge {
  border-radius: 10px;
  font-size: 0.75rem;
  padding: 0.22rem 0.46rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-entree { background: var(--entree); }
.category-side { background: var(--side); color: #4e3b0a; }
.category-appetizer { background: var(--app); }
.category-seafood { background: var(--sea); }
.category-sauce { background: var(--sauce); color: #194115; }
.category-specialty { background: var(--special); }
.category-dessert { background: var(--dessert); color: #5a2c00; }
.category-tag { background: var(--brand-charcoal); color: var(--brand-white); }
.protein-tag {
  background: linear-gradient(180deg, #4e9f6e 0%, #2f7f4d 100%);
  color: #f7fff9;
}
.spicy-tag {
  background: linear-gradient(180deg, #ff8a52 0%, #e24d22 100%);
  color: #fff9f5;
}
.wok-tag {
  background: linear-gradient(180deg, #4f3a2b 0%, #2b211a 100%);
  color: #fff8ef;
}
.menu-card-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  justify-items: stretch;
  border: 1px solid #e6dad0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.menu-card-stats--full {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.12rem;
}
.menu-stat-cell {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.12rem;
  min-height: 2.7rem;
  padding: 0.3rem 0.22rem;
  text-align: center;
  justify-items: center;
  transition: transform 0.2s ease;
}
.menu-stat-cell + .menu-stat-cell {
  border-left: 1px solid #e6dad0;
}
.menu-stat-head {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.16rem;
  white-space: nowrap;
}
.menu-stat-label {
  color: #a29184;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  display: block;
  transition: color 0.2s ease;
}
.menu-stat-icon {
  font-size: 0.75rem;
  line-height: 1;
  align-self: baseline;
  transform: translateY(0.02em);
  transition: transform 0.2s ease;
}
.menu-stat-value {
  color: #261d18;
  font-size: 0.9375rem;
  line-height: 1.08;
  font-weight: 900;
  display: block;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
}
.allergen-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem 0.16rem;
  color: #6b5a4e;
  align-self: start;
  transition: transform 0.2s ease;
}
.allergen-line-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #928173;
}
.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  justify-content: flex-start;
}
.allergen-chip,
.allergen-empty {
  border-radius: 999px;
  padding: 0.22rem 0.46rem;
  font-size: 0.68rem;
  line-height: 1;
}
.allergen-chip {
  background: #f1ece7;
  color: #66584d;
  border: 1px solid #e2d6ca;
}
.allergen-empty {
  color: #9b8f85;
  font-style: italic;
}

.item-facts-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.item-facts-modal[hidden] {
  display: none;
}

.item-facts-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 18, 0.46);
  backdrop-filter: blur(6px);
}

.item-facts-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100vw - 1.2rem));
  overflow: visible;
  padding: 0;
}

.item-facts-shell {
  position: relative;
}

.item-facts-close {
  position: absolute;
  top: -0.85rem;
  right: -0.85rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #171d34;
  color: #fff;
  box-shadow: 0 18px 30px rgba(23, 29, 52, 0.24);
}

.item-facts-kicker {
  margin: 0;
  color: #8d7b6f;
}

.item-facts-title {
  margin: 0;
  color: #171d34;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  letter-spacing: -0.03em;
}

.nutrition-label-modal {
  max-width: 100%;
}

.nutrition-label {
  max-width: 400px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.nf-panel {
  border: 3px solid #000;
  background: #fff;
  color: #111;
  padding: .6rem .66rem .62rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .93rem;
  box-shadow: none;
}

.nf-title {
  margin: 0;
  font-size: 3.05rem;
  line-height: .88;
  font-weight: 900;
  letter-spacing: -.02em;
}

.nf-servings,
.nf-size,
.nf-amount,
.nf-dv-head,
.nf-foot,
.nf-meta {
  margin: 0;
}

.nf-servings {
  margin-top: .18rem;
  font-size: 1rem;
  font-weight: 500;
}

.nf-size {
  margin-top: .08rem;
  font-size: .96rem;
  line-height: 1.1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  font-weight: 900;
}

.nf-size strong {
  font-size: 2.45rem;
  line-height: .95;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.nf-size span {
  font-size: .95rem;
  font-weight: 700;
  text-align: right;
}

.nf-rule {
  border-top: 1.5px solid #000;
  margin: .2rem 0;
}

.nf-rule-thick {
  border-top: 15px solid #000;
  margin: .2rem 0;
}

.nf-rule-mid {
  border-top: 7px solid #000;
  margin: .17rem 0 .18rem;
}

.nf-amount {
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 0;
}

.nf-calories {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 900;
}

.nf-calories span {
  font-size: 2.65rem;
  line-height: 1;
  letter-spacing: -.02em;
  flex: 0 1 auto;
}

.nf-calories strong {
  font-size: clamp(3.6rem, 8.8vw, 4.45rem);
  line-height: .82;
  letter-spacing: -.03em;
  min-width: 0;
  flex: 0 1 auto;
  text-align: right;
}

.nf-dv-head {
  font-size: .98rem;
  font-weight: 800;
  text-align: right;
  margin-top: .06rem;
}

.nf-row {
  margin: 0;
  min-height: 27px;
  border-top: 1.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: 1.04rem;
  font-weight: 700;
}

.nf-left {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82%;
}

.nf-right {
  min-width: 3ch;
  text-align: right;
}

.nf-sub {
  font-size: .92rem;
  font-weight: 500;
  padding-left: 1.35rem;
}

.nf-sub2 {
  font-size: .89rem;
  font-weight: 500;
  padding-left: 2.05rem;
}

.nf-protein {
  border-top-width: 3.5px;
  font-size: 1.1rem;
}

.nf-micro {
  font-size: .91rem;
  min-height: 26px;
  font-weight: 500;
}

.nf-foot {
  margin-top: .22rem;
  padding-top: .22rem;
  font-size: .76rem;
  line-height: 1.12;
  font-weight: 500;
  border-top: 1.5px solid #000;
}

.nf-allergens {
  margin-top: .28rem;
  font-size: .74rem;
  line-height: 1.2;
  font-weight: 600;
}

.nf-meta {
  margin-top: .25rem;
  font-size: .66rem;
  line-height: 1.25;
  font-weight: 700;
}

.nutrition-label-modal .nf-panel {
  padding: 0.48rem 0.54rem 0.52rem;
  font-size: 0.78rem;
  box-shadow: 0 28px 52px rgba(18, 14, 16, 0.22);
}

.nutrition-label-modal .nf-title {
  font-size: 2.2rem;
}

.nutrition-label-modal .nf-servings {
  font-size: 0.82rem;
}

.nutrition-label-modal .nf-size {
  font-size: 0.8rem;
}

.nutrition-label-modal .nf-size strong {
  font-size: 1.85rem;
}

.nutrition-label-modal .nf-size span {
  font-size: 0.8rem;
}

.nutrition-label-modal .nf-rule-thick {
  border-top-width: 11px;
}

.nutrition-label-modal .nf-rule-mid {
  border-top-width: 5px;
}

.nutrition-label-modal .nf-amount {
  font-size: 0.66rem;
}

.nutrition-label-modal .nf-calories span {
  font-size: 2rem;
}

.nutrition-label-modal .nf-calories strong {
  font-size: 3.15rem;
}

.nutrition-label-modal .nf-dv-head {
  font-size: 0.82rem;
}

.nutrition-label-modal .nf-row {
  min-height: 21px;
  font-size: 0.84rem;
  gap: 0.36rem;
}

.nutrition-label-modal .nf-sub {
  font-size: 0.76rem;
  padding-left: 1rem;
}

.nutrition-label-modal .nf-protein {
  font-size: 0.9rem;
}

.nutrition-label-modal .nf-micro {
  min-height: 20px;
  font-size: 0.72rem;
}

.nutrition-label-modal .nf-foot,
.nutrition-label-modal .nf-allergens,
.nutrition-label-modal .nf-meta {
  font-size: 0.62rem;
  line-height: 1.15;
}

@media (max-width: 540px) {
  .item-facts-dialog {
    width: min(320px, calc(100vw - 0.85rem));
  }

  .item-facts-close {
    top: -0.7rem;
    right: -0.2rem;
    width: 2.1rem;
    height: 2.1rem;
  }

  .nutrition-label-modal .nf-panel {
    padding: 0.44rem 0.48rem 0.48rem;
  }

  .nutrition-label-modal .nf-title {
    font-size: 1.95rem;
  }

  .nutrition-label-modal .nf-size strong {
    font-size: 1.65rem;
  }

  .nutrition-label-modal .nf-calories span {
    font-size: 1.8rem;
  }

  .nutrition-label-modal .nf-calories strong {
    font-size: 2.7rem;
  }
}
.controls {
  margin-top: 0;
  display: inline-grid;
  grid-template-columns: var(--control-btn-size) var(--control-qty-width) var(--control-btn-size);
  align-items: center;
  justify-items: center;
  column-gap: var(--control-gap);
  border: 1px solid #decfc1;
  border-radius: 999px;
  padding: var(--control-shell-pad);
  inline-size: var(--control-reserved-width);
  min-inline-size: var(--control-reserved-width);
  min-block-size: calc(var(--control-btn-size) + (var(--control-shell-pad) * 2));
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: padding 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.controls:not(.controls-collapsed) {
  padding-inline: calc(var(--control-shell-pad) + 0.12rem);
  inline-size: calc(var(--control-reserved-width) + 0.24rem);
  min-inline-size: calc(var(--control-reserved-width) + 0.24rem);
}
.controls.controls-collapsed {
  padding-inline: calc(var(--control-shell-pad) + 0.12rem);
  padding-block: var(--control-shell-pad);
  inline-size: calc(var(--control-reserved-width) + 0.24rem);
  min-inline-size: calc(var(--control-reserved-width) + 0.24rem);
  min-block-size: calc(var(--control-btn-size) + (var(--control-shell-pad) * 2));
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.qty {
  font-weight: 800;
  min-width: var(--control-qty-width);
  width: 100%;
  text-align: center;
  color: #59473b;
  padding: 0;
  font-size: 0.96rem;
  transition: opacity 0.18s ease, max-width 0.18s ease, margin 0.18s ease, padding 0.18s ease;
}
.qty.active {
  color: var(--brand-charcoal);
}
.controls .btn {
  border: 0;
  color: #fff;
  width: var(--control-btn-size);
  height: var(--control-btn-size);
  min-width: var(--control-btn-size);
  min-height: var(--control-btn-size);
  max-width: var(--control-btn-size);
  max-height: var(--control-btn-size);
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  flex: 0 0 var(--control-btn-size);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.controls .btn { transition: transform 0.18s ease, filter 0.18s ease; }
.controls .btn:hover { transform: scale(1.05); filter: brightness(1.03); }
.plus-btn { background: #8ea581; }
.plus-btn:hover { background: #789268; }
.minus-btn { background: #d8cbc0; color: #fffaf3; }
.minus-btn.enabled { background: #b48b67; color: #fff; }
.minus-btn.enabled:hover { background: #996f4d; }
.controls.controls-collapsed .minus-btn,
.controls.controls-collapsed .qty {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.controls.controls-collapsed .plus-btn {
  width: var(--control-btn-size);
  height: var(--control-btn-size);
  border: 0;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 4px #d9cbbd;
}

.donut-wrap { display: grid; gap: 1rem; grid-template-columns: 150px 1fr; align-items: center; }
.donut { width: 150px; height: 150px; border-radius: 50%; background: #f0e1d2; position: relative; }
.donut::after { content: ""; position: absolute; inset: 22px; background: var(--panel); border-radius: 50%; border: 1px solid var(--line); }
.legend p { margin: 0.35rem 0; }
.disclaimer { color: var(--muted); font-size: var(--text-sm); }

.diagram-card { background: #251f22; color: var(--brand-white); border-radius: 20px; padding: 1rem; border: 1px solid #4b3f45; overflow: hidden; }
.flow { width: 100%; max-width: 100%; height: auto; display: block; }
.node rect { fill: #31292d; stroke: #6c5b62; stroke-width: 2; }
.node text { fill: #fff; font-size: 20px; font-family: var(--font-display); font-weight: 700; text-anchor: middle; }
.node text.small { font-size: 13px; font-family: var(--font-body); }
.node.active rect { stroke: url(#flowGradient); filter: drop-shadow(0 0 10px rgba(255, 111, 31, 0.6)); }
.connector { stroke: #7d6659; stroke-width: 6; stroke-linecap: round; }
.pulse { fill: #7d6659; transition: fill 0.25s; }
.pulse.on { fill: var(--accent); }
.step-copy { margin-top: 0.8rem; color: #f0d8dd; }
.site-footer-pro {
  margin-top: 3rem;
  background: linear-gradient(180deg, #1f1f22 0%, #19191b 100%);
  color: #e9e9ed;
  border-top: 1px solid #3a3a3f;
}

.footer-wrap {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 2.1rem 0 1.4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand p {
  margin-top: 0.5rem;
  color: #cfd0d6;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-head {
  margin: 0;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fa2ad;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.58rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #ececf2;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  width: min(1140px, 92vw);
  margin: 0 auto;
  border-top: 1px solid #36363b;
  padding: 0.9rem 0 1.3rem;
}

.footer-bottom p {
  margin: 0;
  color: #a8abb5;
  font-size: var(--text-xs);
}

.item-page .item-hero {
  min-height: 56vh;
}

.item-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.item-stat h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.item-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1rem;
}

.item-list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
}

.item-list li {
  margin-bottom: 0.5rem;
  font-size: var(--text-md);
}

.item-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: var(--text-sm);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-table th,
.nutrition-table td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.nutrition-table th {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.item-cta {
  margin-top: 1rem;
}

.menu-detail-link {
  display: inline-block;
  margin-top: 0.45rem;
  color: #7b5e4d;
  font-weight: 700;
  font-size: 0.82rem;
}

.locator-v2-card-head span,
.locator-v2-card-tags span,
.locator-v2-details p,
.locator-v2-loadmore,
.locator-v2-page,
.locator-v2-meta-row .disclaimer,
.locator-v2-top-hint,
.state-chip,
.locator-stat-card p,
.store-toggle-meta,
.store-card p,
.store-hours li,
.selected-items .assistant-note,
.store-modal-services-list span,
.store-modal-muted {
  font-size: var(--text-xs);
}

.calc-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1.35rem;
  z-index: 55;
  border: 0;
  background: var(--brand-charcoal);
  color: var(--brand-white);
  border-radius: 14px;
  padding: 0.78rem 1rem;
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(42, 25, 17, 0.24);
}
.calc-toggle.attention-buzz {
  animation: calc-toggle-buzz 0.72s ease-in-out;
  box-shadow: 0 0 0 6px rgba(255, 138, 0, 0.18), 0 14px 28px rgba(42, 25, 17, 0.3);
}

@keyframes calc-toggle-buzz {
  0%, 100% { transform: translateX(0); }
  12% { transform: translateX(-3px) rotate(-1deg); }
  24% { transform: translateX(4px) rotate(1deg); }
  36% { transform: translateX(-3px) rotate(-1deg); }
  48% { transform: translateX(3px) rotate(1deg); }
  60% { transform: translateX(-2px); }
  72% { transform: translateX(2px); }
  84% { transform: translateX(-1px); }
}

.calc-toggle span {
  background: var(--accent);
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  font-size: 0.78rem;
  line-height: 1;
}

.scroll-up-glass {
  position: fixed;
  right: 1.15rem;
  bottom: 6.9rem;
  z-index: 58;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(27, 29, 35, 0.68) 0%, rgba(16, 18, 23, 0.78) 100%);
  color: rgba(255, 252, 247, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 32px rgba(17, 18, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.scroll-up-glass:hover {
  box-shadow:
    0 18px 36px rgba(17, 18, 24, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(32, 35, 43, 0.78) 0%, rgba(18, 20, 26, 0.86) 100%);
}

.scroll-up-glass:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.scroll-up-glass.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-up-glass span {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
  transform: translateY(-1px);
}

.calculator-drawer {
  position: fixed;
  right: 1rem;
  bottom: 6rem;
  height: min(74vh, 680px);
  width: min(430px, 94vw);
  background: #fff9f9;
  border: 1px solid var(--line);
  border-radius: 18px;
  z-index: 61;
  padding: 0;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  overflow: visible;
  box-shadow: 0 24px 52px rgba(44, 26, 18, 0.28);
}

.calculator-drawer.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.drawer-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 1rem;
  border-radius: inherit;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.drawer-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 2.6rem;
}

.drawer-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eadfd6;
}

.download-pdf-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  height: 34px;
  padding: 0 0.75rem;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

.download-pdf-btn:hover {
  background: #f8efef;
}

.drawer-clear-btn {
  background: linear-gradient(180deg, #fffefc 0%, #f6efe8 100%);
}

.drawer-download-btn {
  min-width: 136px;
}

.download-pdf-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.drawer-close {
  border: 0;
  background: var(--brand-charcoal);
  color: var(--brand-white);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-close-floating {
  position: absolute;
  top: -0.65rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(30, 21, 18, 0.18);
  z-index: 2;
}

.selected-items .assistant-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0.3rem 0 0.7rem;
}

#selectedList {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

#selectedList li {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  padding: 0.38rem 0.44rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
  min-width: 0;
}

.cart-item-main {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}

.cart-item-name {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: #30272b;
  flex: 1 1 auto;
}

.cart-item-meta {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8b7672;
  flex: 0 0 auto;
}

.cart-empty {
  justify-content: flex-start;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #6d5c5e;
}

.cart-remove-btn {
  border: 1px solid #d8a7a0;
  background: #faece9;
  color: #8f2d24;
  border-radius: 999px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-remove-btn:hover {
  background: #f4dcd7;
}

.locator-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.8rem;
}

.locator-controls label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.locator-controls select,
.locator-controls input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
}

.locator-count {
  margin: 0.35rem 0 0;
  font-weight: 700;
  color: var(--ink);
}

.locator-intro {
  margin: 0.2rem 0 0.7rem;
  color: #413437;
  font-weight: 600;
}

.state-chips {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.state-chip {
  border: 1px solid var(--line);
  background: #f5ecec;
  color: #473a3d;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.state-chip:hover {
  background: #efe1e2;
}

.state-chip.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.locator-stats {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 0.7rem;
}

.locator-stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfb;
  padding: 0.65rem 0.72rem;
}

.locator-stat-card p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.locator-stat-card strong {
  display: block;
  margin-top: 0.32rem;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.locator-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.2fr);
  gap: 1rem;
}

.locator-map-panel,
.locator-list-panel {
  min-height: 620px;
}

.store-map {
  width: 100%;
  height: 560px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.store-list {
  display: grid;
  gap: 0.8rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 0.25rem;
}

.store-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fffdfb;
  box-shadow: 0 6px 16px rgba(31, 31, 34, 0.06);
}

.store-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
}

.store-toggle-main {
  display: grid;
  gap: 0.2rem;
}

.store-toggle-main strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.store-toggle-main small {
  color: var(--muted);
  font-size: 0.8rem;
}

.store-toggle-meta {
  font-size: 0.76rem;
  font-weight: 700;
  color: #7b3a2a;
  background: #f8e9e5;
  border: 1px solid #eccdc4;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}

.store-details {
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}

.store-card h4 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.store-card p {
  margin: 0.22rem 0;
  font-size: 0.83rem;
  color: #3f3537;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.store-hours {
  margin-top: 0.45rem;
}

.store-hours ul {
  margin: 0.2rem 0 0;
  padding-left: 1rem;
}

.store-hours li {
  margin-bottom: 0.18rem;
  font-size: 0.82rem;
}

.store-note {
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid #ead5d7;
  background: #fef2f3;
  color: #8d2f31;
}

.locator-pagination {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.locator-v2 {
  margin-top: 3.2rem;
}

.locator-v2-hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  background: rgba(255, 252, 248, 0.98);
  border: 1px solid #e4d8ce;
  box-shadow: 0 20px 40px rgba(47, 34, 29, 0.08);
}

.locator-v2-hero::after {
  content: none;
}

.locator-v2-head {
  text-align: left;
  max-width: 760px;
}

.locator-v2-head .eyebrow {
  margin: 0;
  color: #6d86c5;
}

.locator-v2-head .locator-intro {
  max-width: 62ch;
  margin: 0.55rem 0 0;
  color: #78695f;
  line-height: 1.55;
}

.locator-v2-controls {
  position: relative;
  overflow: hidden;
  margin-top: 1.6rem;
  border-radius: 24px;
  padding: 1.15rem;
  border: 1px solid #e4d8ce;
  background: #fffaf5;
  box-shadow: 0 18px 34px rgba(47, 34, 29, 0.07);
}

.locator-v2-controls::before {
  content: none;
}

.locator-v2-search-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.locator-v2-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #ebdddd;
  background: #ffffff;
  border-radius: 18px;
  min-height: 54px;
  padding: 0 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 10px 22px rgba(31, 31, 34, 0.06);
}

.locator-v2-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.2);
}

.locator-v2-search-icon {
  color: #9a7f7f;
  font-size: 1.1rem;
  font-weight: 800;
}

.locator-v2-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #30282b;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
}

.locator-v2-search input::placeholder {
  color: #a38686;
}

.locator-v2-near-btn {
  border: 0;
  min-height: 54px;
  border-radius: 16px;
  background: #2f2b31;
  color: #fff;
  padding: 0 1.15rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(77, 35, 35, 0.25);
}

.locator-v2-near-btn:hover {
  filter: brightness(1.04);
}

.locator-v2-near-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.locator-v2-cities {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: auto minmax(180px, 280px);
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}

.locator-v2-cities label {
  color: #6e5a5e;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.locator-v2-cities select {
  border: 1px solid #e5d7d8;
  background: #fff;
  color: #433a3e;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.locator-v2-state-row {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  align-items: start;
}

.locator-v2-state-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.55rem;
}

.locator-v2 .state-chip {
  width: 100%;
  min-height: 54px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #d8e3ef;
  background: #ffffff;
  color: #1f324a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: left;
  line-height: 1.2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.locator-v2 .state-chip:hover {
  border-color: #c2d2e2;
  box-shadow: 0 8px 16px rgba(22, 38, 56, 0.08);
  transform: translateY(-1px);
  background: #f6f9fc;
}

.locator-v2 .state-chip.active {
  background: #fff3f4;
  border-color: #c8464b;
  color: #9f1d26;
  box-shadow: 0 0 0 1px rgba(202, 32, 39, 0.25), 0 10px 20px rgba(169, 30, 43, 0.12);
}

.locator-v2-meta-row {
  margin-top: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.locator-v2-meta-row .locator-count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.locator-v2-meta-row .disclaimer {
  margin: 0;
  font-size: 0.76rem;
}

.locator-v2-top-hint {
  margin: 0.65rem 0 0;
  color: #8f1d26;
  font-size: 0.8rem;
  font-weight: 700;
}

.locator-v2-stats {
  margin-top: 0.8rem;
}

.locator-v2-stats .locator-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e7dbd1;
  background: #fffdf9;
  box-shadow: 0 10px 22px rgba(31, 31, 34, 0.06);
  padding: 0.58rem 0.68rem;
}

.locator-v2-stats .locator-stat-card::after {
  content: none;
}

.locator-v2-stats .locator-stat-card p {
  color: #8f8074;
  letter-spacing: 0.08em;
}

.locator-v2-stats .locator-stat-card strong {
  color: #171d34;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.locator-v2-cards-wrap {
  margin-top: 0.82rem;
}

.locator-v2-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 0.78rem;
  align-items: stretch;
}

.locator-v2-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #eaded4;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 10px 24px rgba(31, 31, 34, 0.07);
  padding: 0.68rem 0.72rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.locator-v2-card::before {
  content: none;
}

.locator-v2-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(31, 31, 34, 0.12);
  border-color: #d7c4b7;
  background: #fffaf5;
}

.locator-v2-card:focus-visible {
  outline: 2px solid #c8102e;
  outline-offset: 2px;
}

.locator-v2-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.38rem;
}

.locator-v2-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  line-height: 1.12;
  min-height: 2.08em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.locator-v2-card-head span {
  flex: 0 0 auto;
  min-width: 2rem;
  text-align: center;
  color: #76595a;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid #e1d2c5;
  background: linear-gradient(180deg, #fffdf9 0%, #f7ede3 100%);
  padding: 0.24rem 0.4rem;
}

.locator-v2-card-state {
  margin: 0.08rem 0 0;
  color: #7e666c;
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 1.15em;
}

.locator-v2-card-address {
  margin: 0.34rem 0 0;
  color: #3b3135;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.3;
  min-height: 2.38em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.locator-v2-card-tags {
  margin-top: auto;
  padding-top: 0.46rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.72rem;
}

.locator-v2-card-tags span {
  border: 1px solid #e0d3c6;
  background: #f8f1ea;
  color: #67584c;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}

.locator-v2-details {
  margin-top: 0.42rem;
  padding-top: 0.4rem;
  border-top: 1px dashed #e7d9db;
}

.locator-v2-details p {
  margin: 0.18rem 0;
  font-size: 0.72rem;
  color: #3f3337;
  line-height: 1.24;
}

.locator-v2-loadmore-wrap {
  margin-top: 1rem;
  text-align: center;
}

.locator-v2-loadmore {
  border: 2px solid #c8102e;
  color: #c8102e;
  background: #fff;
  border-radius: 12px;
  min-height: 40px;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.locator-v2-loadmore:hover {
  background: #fdf0f2;
}

.locator-v2-loadmore:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.locator-v2-page {
  margin-top: 0.55rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

body.modal-open {
  overflow: hidden;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
}

.store-modal[hidden] {
  display: none;
}

.store-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 20, 0.68);
  backdrop-filter: blur(8px);
}

.store-modal-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 1.2rem));
  max-height: calc(100vh - 1.2rem);
  background: linear-gradient(180deg, #fffefc 0%, #fbf4ed 100%);
  border-radius: 24px;
  border: 1px solid #e5d9cf;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(18, 14, 16, 0.5);
  display: grid;
  grid-template-rows: auto 320px 1fr;
}

.store-modal-head {
  background: linear-gradient(135deg, #171d34 0%, #5a3d33 48%, #c8102e 100%);
  color: #fff;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.store-modal-head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-family: var(--font-display);
}

.store-modal-head p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
}

.store-modal-close {
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.store-modal-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.store-modal-body {
  overflow: auto;
  padding: 1.1rem 1.25rem 1.25rem;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(109, 134, 197, 0.06), transparent 24%),
    linear-gradient(180deg, #fffefc 0%, #fbf4ed 100%);
}

.store-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.9rem;
}

.store-modal-info-grid article {
  border: 1px solid #e7dbd1;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: 0 10px 22px rgba(31, 31, 34, 0.06);
}

.store-modal-info-grid h4 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-display);
  color: #171d34;
}

.store-modal-info-grid p {
  margin: 0.45rem 0 0;
  color: #3f3538;
  font-size: 0.95rem;
  line-height: 1.45;
}

.store-modal-muted {
  color: #7f7074;
  font-size: 0.8rem;
}

.store-modal-actions,
.store-modal-order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.7rem;
}

.store-modal-actions a,
.store-modal-actions button,
.store-modal-order-actions a {
  min-height: 50px;
  border-radius: 16px;
  border: 0;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.store-modal-actions a {
  background: linear-gradient(135deg, #2f7e52 0%, #5fa66d 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 126, 82, 0.2);
}

.store-modal-actions button {
  background: linear-gradient(135deg, #171d34 0%, #36241f 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 29, 52, 0.18);
}

.store-modal-actions button.open {
  background: #1f1f22;
}

.store-modal-extra {
  border-top: 1px solid #e7dbd1;
  padding-top: 0.9rem;
}

.store-modal-extra p {
  margin: 0.28rem 0;
  color: #3f3438;
  font-size: 0.86rem;
}

.store-modal-order,
.store-modal-services {
  border-top: 1px solid #e7dbd1;
  padding-top: 0.95rem;
}

.store-modal-order h4,
.store-modal-services h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #171d34;
}

.store-modal-order-actions a {
  border: 1px solid #decfc3;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
  color: #3d3237;
  box-shadow: 0 10px 22px rgba(31, 31, 34, 0.06);
}

.store-modal-order-actions a:first-child {
  border-color: #c8102e;
  color: #8f1705;
}

.store-modal-services-list {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-modal-services-list span {
  border: 1px solid #e0d3c6;
  background: linear-gradient(180deg, #fffdf9 0%, #f7eee6 100%);
  color: #5d4c3f;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
}

.store-modal a.disabled {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 980px) {
  .controls-bar {
    padding: 1rem;
  }

  .controls-bar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toolbar {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .menu-actions { align-items: stretch; }
  .search-shell { padding: 0.8rem 0.92rem; }
  .sort-shell { min-width: 0; padding: 0.72rem 0.88rem; }
  .sort-select { font-size: 0.92rem; }
  .search-icon { font-size: 1.05rem; }
  .category-buttons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
  .category-btn { padding: 0.2rem 0.12rem 0.05rem; }
  .clear-btn { align-self: flex-start; }
  .topbar { flex-direction: column; gap: 0.62rem; align-items: flex-start; }
  .topbar ul { flex-wrap: wrap; gap: 0.75rem 0.95rem; }
  .nav-cta-btn { min-height: 34px; padding: 0 0.72rem; font-size: var(--text-xs); }
  .brand-copy .logo { font-size: 1rem; }
  .brand-copy small { font-size: var(--text-2xs); }
  .hero { padding: 1.2rem 1rem 2.2rem; }
  .flow { min-width: 0; }
  .metrics-grid { gap: 0.5rem; }
  .metric { padding: 0.5rem; }
  .diagram-card { overflow: hidden; }
  .item-columns { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 0 1rem; }
  .footer-bottom { padding: 0.75rem 0 1rem; }
  .locator-controls { grid-template-columns: 1fr; }
  .locator-stats { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .locator-v2-controls { padding: 0.9rem; border-radius: 18px; }
  .locator-v2-search-row { grid-template-columns: 1fr; }
  .locator-v2-search { min-height: 46px; }
  .locator-v2-near-btn { min-height: 42px; }
  .locator-v2-cities { grid-template-columns: 1fr; justify-items: start; }
  .locator-v2-cities select { width: 100%; }
  .locator-v2-state-row { grid-template-columns: 1fr; }
  .locator-v2-meta-row { align-items: flex-start; }
  .locator-v2-card-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.7rem; }
  .locator-v2-card { padding: 0.82rem 0.86rem; border-radius: 14px; }
  .locator-v2-card-head h3 { font-size: 1rem; }
  .locator-v2-card-address { font-size: 0.83rem; min-height: 2.4em; }
  .store-modal-dialog {
    width: calc(100vw - 0.5rem);
    max-height: calc(100vh - 0.5rem);
    border-radius: 14px;
    grid-template-rows: auto 240px 1fr;
  }
  .store-modal-head {
    padding: 0.75rem 0.85rem;
  }
  .store-modal-body {
    padding: 0.75rem 0.85rem 0.9rem;
  }
  .store-modal-info-grid,
  .store-modal-actions,
  .store-modal-order-actions {
    grid-template-columns: 1fr;
  }
  .locator-grid { grid-template-columns: 1fr; }
  .locator-map-panel,
  .locator-list-panel { min-height: auto; }
  .store-map { height: 380px; }
  .store-list { max-height: 460px; }
  .store-toggle { flex-direction: column; align-items: flex-start; }
  .drawer-actions { flex-direction: row; }
  .download-pdf-btn { padding: 0 0.55rem; font-size: var(--text-xs); }
  .calculator-drawer {
    width: calc(100vw - 1rem);
    right: 0.5rem;
    bottom: 5.15rem;
    height: min(68vh, 600px);
  }
}

@media (max-width: 1180px) {
  .menu-card-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .section,
  .footer-bottom,
  .locator-state-shell,
  .locator-state-spotlight {
    width: min(1240px, calc(100vw - 3rem));
  }

  .controls-bar {
    padding: 1.15rem;
    gap: 0.9rem;
  }

  .menu-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }

  .category-buttons {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.46rem;
  }

  .menu-category-grid {
    gap: 0.9rem;
  }

  .menu-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.82rem;
  }

  .menu-card-title {
    font-size: 1.14rem;
  }

  .menu-card-subtitle {
    font-size: 0.74rem;
  }

  .calculator-drawer {
    width: min(470px, calc(100vw - 2rem));
    right: 1rem;
    bottom: 5.2rem;
    height: min(74vh, 760px);
  }

  .drawer-scroll {
    padding: 0.95rem;
  }

  .locator-grid {
    grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.15fr);
  }

  .locator-map-panel,
  .locator-list-panel {
    min-height: 560px;
  }

  .store-map {
    height: 500px;
  }

  .store-list {
    max-height: 500px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section {
    width: min(1140px, calc(100vw - 2rem));
    margin: 3rem auto;
  }

  .menu-section,
  .diagram-section {
    margin-left: auto;
    margin-right: auto;
  }

  .menu-section .section-head,
  .diagram-section .section-head,
  .menu-section > .disclaimer {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .menu-section .controls-bar,
  .menu-section .menu-grid,
  .diagram-section .diagram-card {
    margin-left: auto;
    margin-right: auto;
  }

  .controls-bar {
    padding: 1.05rem;
  }

  .controls-bar-head {
    gap: 0.9rem;
  }

  .menu-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: stretch;
  }

  .menu-actions {
    gap: 0.7rem;
  }

  .category-buttons {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.46rem;
  }

  .category-btn {
    padding: 0.18rem 0.08rem 0.02rem;
  }

  .menu-category-grid {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .menu-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.72rem;
  }

  .menu-card-content {
    gap: 0.2rem;
  }

  .badge-row {
    gap: 0.34rem;
  }

  .menu-card-title {
    font-size: 0.98rem;
  }

  .menu-card-subtitle {
    font-size: 0.72rem;
  }

  .menu-card-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .controls {
    align-self: flex-start;
    margin-left: auto;
  }

  .menu-card-stats--full {
    margin-top: 0.1rem;
  }

  .menu-stat-cell {
    min-height: 2.56rem;
    padding: 0.26rem 0.18rem;
  }

  .calculator-drawer {
    width: min(540px, calc(100vw - 2rem));
    right: 1rem;
    bottom: 5.25rem;
    height: min(72vh, 760px);
  }

  .drawer-scroll {
    padding: 0.95rem;
  }

  .calc-layout {
    gap: 0.85rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .locator-grid {
    grid-template-columns: 1fr;
  }

  .locator-map-panel,
  .locator-list-panel {
    min-height: auto;
  }

  .store-map {
    height: 440px;
  }

  .store-list {
    max-height: 420px;
  }
}

@media (max-width: 980px) {
  .menu-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.66rem;
    padding: 0.66rem;
  }

  .menu-card h3 {
    font-size: 1.24rem;
  }

  .menu-card-visual {
    padding: 0;
  }

  .menu-card-title {
    font-size: 0.96rem;
  }

  .menu-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.38rem;
  }

  .controls {
    align-self: flex-end;
  }

  .menu-card-content {
    gap: 0.18rem;
  }

  .badge-row {
    gap: 0.32rem;
  }

  .menu-stat-cell {
    min-height: 2.48rem;
    padding: 0.24rem 0.18rem;
  }
}

@media (max-width: 720px) {
  .controls-title {
    font-size: 1.45rem;
  }

  .controls-description {
    font-size: 0.92rem;
  }

  .sort-shell {
    gap: 0.28rem;
    padding: 0.68rem 0.8rem;
    border-radius: 18px;
  }

  .sort-shell-label {
    font-size: 0.64rem;
  }

  .sort-select {
    font-size: 0.88rem;
  }

  .menu-category-head {
    align-items: flex-start;
  }

  .menu-category-count {
    align-self: flex-start;
  }

  .menu-category-grid {
    grid-template-columns: 1fr;
  }

  .category-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.46rem 0.3rem;
  }

  .category-btn {
    gap: 0.3rem;
    padding: 0.12rem 0.05rem 0;
  }

  .category-btn-icon {
    width: 42px;
    height: 42px;
  }

  .category-btn-label {
    font-size: 0.6rem;
    line-height: 1.08;
  }

  .menu-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.6rem;
    border-radius: 20px;
  }

  .menu-card h3 {
    font-size: 1rem;
  }

  .menu-card-visual {
    padding: 0;
    border-radius: 0;
  }

  .menu-card-title {
    font-size: 1rem;
  }

  .menu-card-subtitle {
    font-size: 0.8125rem;
    line-height: 1.28;
  }

  .menu-card-content {
    gap: 0.18rem;
  }

  .menu-card-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.28rem;
  }

  .badge {
    padding: 0.2rem 0.4rem;
    font-size: 0.6875rem;
    border-radius: 9px;
  }

  .controls {
    align-self: flex-start;
    margin-left: auto;
    flex-shrink: 0;
    --control-btn-size: 28px;
    --control-shell-pad: 0.18rem;
    --control-gap: 0.18rem;
    --control-qty-width: 1.8rem;
    padding: var(--control-shell-pad);
  }

  .menu-card-action-zone {
    --control-btn-size: 28px;
    --control-shell-pad: 0.18rem;
    --control-gap: 0.18rem;
    --control-qty-width: 1.8rem;
  }

  .qty {
    min-width: 1.8rem;
    font-size: 0.88rem;
  }

  .controls .btn {
    width: var(--control-btn-size);
    height: var(--control-btn-size);
    font-size: 0.95rem;
    padding: 0;
    min-height: var(--control-btn-size);
  }

  .menu-card-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    align-items: start;
  }

  .menu-stat-label {
    font-size: 0.625rem;
    letter-spacing: 0.03em;
  }

  .menu-stat-value {
    font-size: 0.8125rem;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .menu-stat-cell {
    gap: 0.1rem;
    min-height: 2.38rem;
    padding: 0.22rem 0.16rem;
  }

  .menu-stat-icon {
    font-size: 0.6875rem;
  }

  .allergen-line {
    gap: 0.12rem 0.18rem;
  }

  .allergen-line-label {
    font-size: 0.54rem;
  }

  .allergen-chip,
  .allergen-empty {
    padding: 0.14rem 0.3rem;
    font-size: 0.54rem;
  }

  .calc-toggle {
    right: 0.82rem;
    bottom: 1.08rem;
    padding: 0.64rem 0.8rem;
    border-radius: 12px;
    gap: 0.48rem;
    font-size: 0.86rem;
  }

  .calc-toggle span {
    padding: 0.2rem 0.42rem;
    font-size: 0.72rem;
  }

  .scroll-up-glass {
    right: 0.92rem;
    bottom: 5.8rem;
    width: 48px;
    height: 48px;
  }

  .scroll-up-glass span {
    font-size: 1.22rem;
  }

  .drawer-scroll {
    padding: 0.85rem;
  }

  .drawer-head {
    margin-bottom: 0.55rem;
  }

  .drawer-head .eyebrow {
    margin-bottom: 0.18rem;
    font-size: 0.64rem;
  }

  .drawer-head h3 {
    font-size: 1.12rem;
  }

  .calc-layout {
    gap: 0.75rem;
  }

  .panel {
    padding: 0.85rem;
  }

  .selected-items .assistant-note {
    display: none;
  }

  .totals h3,
  .selected-items h3,
  .macro-share-head h3,
  .macro-breakdown h3 {
    font-size: 1.1rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .metric {
    border-radius: 10px;
    padding: 0.48rem;
    gap: 0.2rem;
  }

  .metric span {
    font-size: 0.66rem;
  }

  .metric strong {
    font-size: 0.98rem;
  }

  .macro-share-head {
    gap: 0.65rem;
  }

  .macro-share-head p {
    font-size: 0.76rem;
  }

  .macro-share-total {
    min-height: 30px;
    padding: 0.32rem 0.62rem;
    font-size: 0.7rem;
  }

  .macro-share-legend {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .macro-share-item {
    padding: 0.48rem 0.54rem;
  }
}

@media (max-width: 520px) {
  .category-buttons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.38rem 0.18rem;
  }

  .category-btn-icon {
    width: 36px;
    height: 36px;
  }

  .category-btn-label {
    font-size: 0.54rem;
    line-height: 1.04;
  }

  .sort-shell {
    padding: 0.64rem 0.72rem;
  }

  .sort-select {
    font-size: 0.82rem;
  }

  .calc-toggle {
    right: 0.72rem;
    bottom: 0.92rem;
    padding: 0.58rem 0.72rem;
    border-radius: 11px;
    gap: 0.42rem;
    font-size: 0.78rem;
    box-shadow: 0 10px 22px rgba(42, 25, 17, 0.22);
  }

  .calc-toggle span {
    padding: 0.16rem 0.36rem;
    font-size: 0.66rem;
  }

  .scroll-up-glass {
    right: 0.78rem;
    bottom: 5.45rem;
    width: 44px;
    height: 44px;
  }

  .scroll-up-glass span {
    font-size: 1.12rem;
  }

  .calculator-drawer {
    width: calc(100vw - 1rem);
    right: 0.5rem;
    bottom: 5rem;
    height: min(64vh, 560px);
    border-radius: 16px;
  }

  .drawer-scroll {
    padding: 0.78rem;
  }

  .drawer-actions {
    gap: 0.35rem;
  }

  .download-pdf-btn {
    height: 32px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }

  .drawer-close-floating {
    top: -0.75rem;
    right: 0.7rem;
    width: 36px;
    height: 36px;
  }

  .panel {
    padding: 0.72rem;
  }

  .metrics-grid {
    gap: 0.4rem;
  }

  .metric {
    padding: 0.42rem;
  }

  .metric-label {
    line-height: 1.15;
  }

  .metric strong {
    font-size: 0.94rem;
  }

  .macro-share-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .macro-share-total {
    align-self: flex-start;
  }

  .macro-share-bar {
    min-height: 14px;
  }

  .macro-share-item {
    grid-template-columns: auto 1fr;
  }

  .macro-share-meta {
    grid-column: 2;
  }

  .menu-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.52rem;
    padding: 0.52rem;
  }

  .menu-card h3 {
    font-size: 0.88rem;
  }

  .menu-card-visual {
    padding: 0;
  }

  .menu-card-title {
    font-size: 0.9375rem;
    line-height: 1.08;
  }

  .menu-card-subtitle {
    font-size: 0.75rem;
    line-height: 1.22;
  }

  .menu-card-content {
    gap: 0.16rem;
  }

  .menu-card-header {
    gap: 0.22rem;
  }

  .badge-row {
    gap: 0.22rem;
  }

  .badge {
    padding: 0.18rem 0.34rem;
    font-size: 0.625rem;
  }

  .menu-card-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    align-items: start;
  }

  .menu-stat-label {
    font-size: 0.5625rem;
    letter-spacing: 0.02em;
  }

  .menu-stat-value {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .menu-stat-cell {
    gap: 0.08rem;
    min-height: 2.26rem;
    padding: 0.18rem 0.12rem;
  }

  .menu-stat-icon {
    font-size: 0.625rem;
  }

  .controls {
    --control-btn-size: 24px;
    --control-shell-pad: 0.12rem;
    --control-gap: 0.12rem;
    --control-qty-width: 1.4rem;
    padding: var(--control-shell-pad);
  }

  .menu-card-action-zone {
    --control-btn-size: 24px;
    --control-shell-pad: 0.12rem;
    --control-gap: 0.12rem;
    --control-qty-width: 1.4rem;
  }

  .controls:not(.controls-collapsed) {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }

  .controls .btn {
    width: var(--control-btn-size);
    height: var(--control-btn-size);
    min-height: var(--control-btn-size);
    font-size: 0.82rem;
  }

  .controls.controls-collapsed .plus-btn {
    box-shadow:
      0 0 0 2px #ffffff,
      0 0 0 3px #d9cbbd;
  }

  .qty {
    min-width: 1.4rem;
    font-size: 0.78rem;
  }

  .controls.controls-collapsed {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }
}

@media (max-width: 380px) {
  .menu-card-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .menu-stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.01em;
  }

  .menu-stat-value {
    font-size: 0.6875rem;
  }

  .menu-stat-cell {
    gap: 0.06rem;
    min-height: 2.08rem;
    padding: 0.16rem 0.1rem;
  }

  .controls {
    --control-btn-size: 26px;
    --control-shell-pad: 0.14rem;
    --control-gap: 0.14rem;
    --control-qty-width: 1.55rem;
    padding: var(--control-shell-pad);
  }

  .menu-card-action-zone {
    --control-btn-size: 26px;
    --control-shell-pad: 0.14rem;
    --control-gap: 0.14rem;
    --control-qty-width: 1.55rem;
  }

  .controls:not(.controls-collapsed) {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }

  .controls .btn {
    width: var(--control-btn-size);
    height: var(--control-btn-size);
    min-height: var(--control-btn-size);
    font-size: 0.88rem;
  }

  .controls.controls-collapsed .plus-btn {
    box-shadow:
      0 0 0 2px #ffffff,
      0 0 0 3px #d9cbbd;
  }

  .qty {
    min-width: 1.55rem;
    font-size: 0.82rem;
  }

  .controls.controls-collapsed {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }

}

@media (max-width: 420px) {
  .section {
    width: calc(100vw - 0.8rem);
    margin: 2.25rem auto;
  }

  .controls-bar {
    padding: 0.82rem;
    border-radius: 20px;
  }

  .category-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem 0.18rem;
  }

  .category-btn {
    gap: 0.24rem;
    padding: 0.16rem 0.08rem 0.02rem;
  }

  .category-btn-icon {
    width: 38px;
    height: 38px;
  }

  .category-btn-label {
    font-size: 0.6rem;
    line-height: 1.08;
  }

  .sort-shell {
    padding: 0.58rem 0.62rem;
    border-radius: 16px;
  }

  .menu-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 0.46rem;
    padding: 0.46rem;
  }

  .menu-card-title {
    font-size: 0.875rem;
  }

  .menu-card-subtitle {
    font-size: 0.72rem;
  }

  .menu-card-content {
    gap: 0.14rem;
  }

  .menu-card-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .menu-stat-cell {
    gap: 0.06rem;
    min-height: 2.14rem;
    padding: 0.16rem 0.1rem;
  }

  .menu-stat-label {
    font-size: 0.52rem;
  }

  .menu-stat-value {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .allergen-line {
    gap: 0.1rem 0.14rem;
  }

  .allergen-chip,
  .allergen-empty {
    font-size: 0.5rem;
  }

  .controls {
    --control-btn-size: 24px;
    --control-shell-pad: 0.12rem;
    --control-gap: 0.12rem;
    --control-qty-width: 1.4rem;
    padding: var(--control-shell-pad);
  }

  .menu-card-action-zone {
    --control-btn-size: 24px;
    --control-shell-pad: 0.12rem;
    --control-gap: 0.12rem;
    --control-qty-width: 1.4rem;
  }

  .controls:not(.controls-collapsed) {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }

  .controls .btn {
    width: var(--control-btn-size);
    height: var(--control-btn-size);
    min-height: var(--control-btn-size);
    font-size: 0.82rem;
  }

  .controls.controls-collapsed .plus-btn {
    box-shadow:
      0 0 0 2px #ffffff,
      0 0 0 3px #d9cbbd;
  }

  .qty {
    min-width: 1.4rem;
    font-size: 0.76rem;
  }

  .controls.controls-collapsed {
    padding-block: calc(var(--control-shell-pad) + 0.04rem);
    padding-inline: calc(var(--control-shell-pad) + 0.08rem);
    inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-inline-size: calc(var(--control-reserved-width) + 0.16rem);
    min-block-size: calc(var(--control-btn-size) + ((var(--control-shell-pad) + 0.04rem) * 2));
  }

  .calculator-drawer {
    width: calc(100vw - 0.6rem);
    right: 0.3rem;
    bottom: 4.7rem;
    height: min(70vh, 520px);
    border-radius: 14px;
  }

  .drawer-scroll {
    padding: 0.7rem;
  }

  .calc-toggle {
    right: 0.55rem;
    bottom: 0.72rem;
  }

  .scroll-up-glass {
    right: 0.62rem;
    bottom: 5.1rem;
  }
}

@media (max-width: 360px) {
  .menu-card-title {
    font-size: 1rem;
  }

}


.locator-state-spotlight {
  margin-top: 1.8rem;
}

.locator-state-shell {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background: #fffaf5;
  border: 1px solid #e4d8ce;
  box-shadow: 0 18px 34px rgba(47, 34, 29, 0.07);
}

.locator-state-shell::before {
  content: none;
}

.locator-state-shell::after {
  content: none;
}

.locator-state-head {
  text-align: left;
}

.locator-state-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #171d34;
}

.locator-state-head p {
  margin: 0.5rem 0 0;
  max-width: 64ch;
  color: #78695f;
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}

.locator-state-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(165px, 1fr));
  gap: 0.72rem;
}

.locator-state-card {
  overflow: hidden;
  border: 1px solid #e7dbd1;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 10px 24px rgba(31, 31, 34, 0.07);
  padding: 0.8rem 0.84rem;
  position: relative;
  min-height: 114px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.locator-state-card::before {
  content: none;
}

.locator-state-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(31, 31, 34, 0.11);
  border-color: #d7c4b7;
  background: #fff8f2;
}

.locator-state-card:focus-visible {
  outline: 2px solid #c8102e;
  outline-offset: 2px;
}

.locator-state-rank {
  position: absolute;
  top: 0.58rem;
  right: 0.58rem;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: #f8eee5;
  color: #8c5b3d;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.locator-state-card h3 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #1c233e;
  max-width: calc(100% - 3.2rem);
}

.locator-state-count {
  margin: 0.38rem 0 0;
  color: #8f1705;
  font-weight: 700;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.locator-state-label {
  margin: 0.16rem 0 0;
  color: #7b6a61;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locator-state-summary {
  margin-top: 0.9rem;
  border-radius: 18px;
  border: 1px solid #e7dbd1;
  background: #fffdf9;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 0.62rem;
}

.locator-state-summary-item {
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(231, 219, 209, 0.92);
  padding: 0.64rem 0.5rem;
}

.locator-state-summary-item strong {
  display: block;
  color: #8f1705;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 0.98;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.locator-state-summary-item span {
  display: block;
  margin-top: 0.2rem;
  color: #776b67;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .locator-state-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .locator-state-summary {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

@media (max-width: 640px) {
  .locator-state-grid,
  .locator-state-summary {
    grid-template-columns: 1fr;
  }
}
