:root {
  --blue: #2e91cf;
  --blue-dark: #176fa7;
  --blue-deep: #0f527d;
  --gold: #c6a24a;
  --ink: #29333a;
  --muted: #66727a;
  --paper: #f7f7f2;
  --line: rgba(41, 51, 58, 0.12);
  --white: rgba(255, 255, 255, 0.94);
  --soft-blue: rgba(46, 145, 207, 0.08);
  --shadow: 0 8px 24px rgba(28, 49, 62, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background-color: #eeeeea;
  background-image: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.82)), url("assets/fondo.jpg");
  background-size: 420px auto;
  line-height: 1.42;
  padding-bottom: 84px;
}

body.sheet-open {
  overflow: hidden;
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 10px;
}

.brand-wrap {
  display: flex;
  justify-content: center;
  padding: 2px 0 16px;
}

.brand-logo {
  width: min(430px, 92vw);
  height: auto;
  display: block;
}

.hero-panel,
.category-overview,
.menu-category,
.video-band,
.info-band {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  color: var(--ink);
  border-top: 3px solid var(--gold);
  padding: 18px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.section-title,
.overview-card strong {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-size: 2.28rem;
  line-height: 1;
}

.hero-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .98rem;
}

.search-box {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: var(--blue-deep);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(15, 82, 125, 0.22);
  border-radius: 4px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.03);
}

.category-strip {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px max(14px, calc((100vw - 760px) / 2));
  background: rgba(247,247,242,.96);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.category-strip a,
.menu-rail a {
  white-space: nowrap;
  text-decoration: none;
  border-radius: 4px;
  color: var(--blue-deep);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(46,145,207,.18);
  font-weight: 800;
}

.category-strip a {
  padding: 8px 11px;
  font-size: .9rem;
}

.page-shell {
  width: min(760px, calc(100% - 28px));
  margin: 16px auto 34px;
  display: grid;
  gap: 18px;
}

.menu-rail {
  display: none;
}

.content-area {
  display: grid;
  gap: 18px;
}

.category-overview,
.video-band,
.info-band {
  padding: 18px;
}

.category-overview h2,
.video-band h2,
.info-band h2 {
  margin-bottom: 0;
  color: var(--blue-deep);
  font-size: 1.55rem;
  line-height: 1.08;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.overview-card {
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  isolation: isolate;
}

.overview-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,25,38,.06), rgba(7,31,48,.68));
}

.overview-card span {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 12px;
}

.overview-card strong {
  font-size: 1.24rem;
  line-height: 1;
}

.overview-card small {
  color: #f0d982;
  font-size: .76rem;
  font-weight: 900;
}

.menu-category {
  scroll-margin-top: 70px;
}

.category-hero {
  display: grid;
  grid-template-columns: 1fr 104px;
  min-height: 118px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-copy {
  padding: 16px;
  border-top: 3px solid var(--gold);
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-title {
  margin: 0;
  color: var(--blue-deep);
  font-size: 2rem;
  line-height: .98;
}

.category-copy p:not(.section-kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.category-image {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}

.items {
  display: grid;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border-top: 1px solid rgba(41,51,58,.08);
  background: rgba(255,255,255,.76);
}

.menu-item:first-child {
  border-top: 0;
}

.item-main {
  min-width: 0;
}

.item-name-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.code {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 900;
}

.name {
  color: #30383d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.desc {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.item-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.price {
  color: var(--blue-deep);
  font-size: .98rem;
  font-weight: 900;
  white-space: nowrap;
}

.menu-stepper,
.choice-stepper {
  display: grid;
  grid-template-columns: 28px 26px 28px;
  align-items: center;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid rgba(15,82,125,.18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15,42,58,.06);
}

.menu-stepper.is-active,
.choice-stepper {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-color: transparent;
}

.menu-stepper button,
.choice-stepper button {
  width: 28px;
  height: 32px;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
}

.menu-stepper:not(.is-active) button,
.menu-stepper:not(.is-active) span {
  color: var(--blue-deep);
}

.menu-stepper span,
.choice-stepper span {
  display: grid;
  place-items: center;
  min-width: 26px;
  font-size: .78rem;
  font-weight: 900;
}

.meta-line {
  margin: 0;
  padding: 13px 14px 16px;
  color: var(--muted);
  font-size: .86rem;
  border-top: 1px solid rgba(41,51,58,.08);
  background: var(--soft-blue);
}

.video-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.video-band,
#overview-title {
  scroll-margin-top: 66px;
}

.video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  background: #dcdcd7;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.info-band {
  color: var(--muted);
}

.info-band p {
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-links img {
  width: 25px;
  height: 25px;
}

.bottom-app-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(15,82,125,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(15,42,58,.18);
  backdrop-filter: blur(12px);
}

.bottom-app-bar a,
.bottom-app-bar button {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  text-decoration: none;
  color: var(--blue-deep);
  background: transparent;
  font-size: .78rem;
  font-weight: 900;
}

.bottom-app-bar span {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: .68rem;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: end;
  background: rgba(23,36,43,.32);
}

.sheet.is-open {
  display: flex;
}

.sheet-card {
  width: 100%;
  max-height: min(82vh, 660px);
  overflow: auto;
  padding: 18px;
  border-radius: 12px 12px 0 0;
  background: var(--paper);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -16px 42px rgba(0,0,0,.22);
}

.sheet-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sheet-head h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.6rem;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-deep);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice-helper {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(198,162,74,.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(46,145,207,.08));
}

.choice-helper strong {
  color: var(--blue-deep);
}

.choice-helper p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.choice-row strong {
  display: block;
  color: var(--ink);
  text-transform: uppercase;
}

.choice-row small {
  color: var(--muted);
}

.choice-side {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.choice-side > strong {
  color: var(--blue-deep);
  white-space: nowrap;
}

.remove-choice {
  border: 0;
  color: var(--blue-deep);
  background: transparent;
  font-size: .78rem;
  font-weight: 900;
}

.choice-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-radius: 8px;
  color: #fff;
  background: #1d2b34;
}

.choice-summary span {
  color: rgba(255,255,255,.72);
  font-size: .86rem;
}

.empty-list {
  margin: 0;
  padding: 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
}

.ghost-button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(15,82,125,.22);
  border-radius: 5px;
  color: var(--blue-deep);
  background: #fff;
  font-weight: 900;
}

.game-status {
  margin: 0 0 13px;
  color: rgba(255,255,255,.72);
  font-weight: 900;
}

.tic-grid {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(46,145,207,.18), rgba(198,162,74,.12)),
    #17232c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.game-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.game-score span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.08);
  font-weight: 900;
}

.game-score strong {
  color: #fff;
}

.tic-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tic-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  font-size: clamp(2.1rem, 18vw, 4.2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(46,145,207,.5);
}

.tic-cell.is-filled {
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 0 0 1px rgba(198,162,74,.42), 0 10px 26px rgba(0,0,0,.18);
}

#game-sheet .sheet-card {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(46,145,207,.24), transparent 34%),
    linear-gradient(180deg, #1d2b34, #111a21);
  border-top-color: var(--gold);
}

#game-sheet .sheet-head h2 {
  color: #fff;
}

#game-sheet .icon-button,
#game-sheet .ghost-button {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.is-hidden {
  display: none !important;
}

@media (min-width: 720px) {
  body {
    padding-bottom: 92px;
  }

  .site-header,
  .page-shell {
    width: min(920px, calc(100% - 40px));
  }

  .hero-panel,
  .category-overview,
  .video-band,
  .info-band {
    padding: 24px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-hero {
    grid-template-columns: 1fr 220px;
    min-height: 154px;
  }

  .category-image {
    min-height: 154px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid video {
    aspect-ratio: 16 / 10;
  }

  .sheet {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .sheet-card {
    max-width: 460px;
    border-radius: 10px;
  }

  .bottom-app-bar {
    left: 50%;
    right: auto;
    width: min(520px, calc(100% - 24px));
    transform: translateX(-50%);
  }
}

@media (min-width: 1100px) {
  .page-shell {
    grid-template-columns: 190px minmax(0, 1fr);
    width: min(1050px, calc(100% - 48px));
  }

  .menu-rail {
    display: block;
    position: sticky;
    top: 68px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-rail p {
    margin: 0 0 8px;
    color: var(--blue-deep);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
  }

  #rail-links {
    display: grid;
    gap: 6px;
  }

  .menu-rail a {
    padding: 7px 9px;
    font-size: .82rem;
  }
}

@media (max-width: 430px) {
  .site-header,
  .page-shell {
    width: calc(100% - 18px);
  }

  .brand-logo {
    width: min(350px, 92vw);
  }

  .hero-panel,
  .category-overview,
  .video-band,
  .info-band {
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .overview-card {
    min-height: 98px;
  }

  .overview-card strong {
    font-size: 1.08rem;
  }

  .category-hero {
    grid-template-columns: 1fr 88px;
  }

  .section-title {
    font-size: 1.72rem;
  }

  .menu-item {
    padding: 12px 11px;
  }
}

/* Digital mobile direction */
:root {
  --font-ui: "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --digital-bg: #f2f5f6;
  --surface: rgba(255, 255, 255, .82);
  --surface-strong: #ffffff;
  --dark: #17232c;
  --orange-gold: #d4a742;
  --app-shadow: 0 12px 30px rgba(20, 40, 52, .10);
}

body {
  color: #1c2730;
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 0% 0%, rgba(46,145,207,.18), transparent 34%),
    linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.9)),
    url("assets/fondo.jpg");
  background-size: auto, auto, 360px auto;
}

.site-header {
  width: min(520px, calc(100% - 22px));
  padding: 12px 0 8px;
}

.brand-wrap {
  padding: 2px 0 10px;
}

.brand-logo {
  width: min(316px, 84vw);
  filter: drop-shadow(0 8px 18px rgba(15, 82, 125, .12));
}

.hero-panel {
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 10px 26px rgba(20,40,52,.08);
  backdrop-filter: blur(14px);
}

.search-box {
  margin: 0;
  gap: 8px;
  color: var(--blue-deep);
}

.search-box span {
  padding-left: 4px;
  font-size: .82rem;
  letter-spacing: .02em;
}

.search-box input {
  min-height: 49px;
  border: 1px solid rgba(15,82,125,.12);
  border-radius: 8px;
  padding: 0 15px;
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 20px rgba(17,42,58,.06);
  font-weight: 700;
}

.category-strip {
  top: 0;
  gap: 9px;
  padding: 9px max(11px, calc((100vw - 520px) / 2));
  background: rgba(242,245,246,.86);
  border: 0;
  box-shadow: 0 8px 22px rgba(16, 32, 44, .08);
}

.category-strip a {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--blue-deep);
  background: rgba(255,255,255,.86);
  box-shadow: 0 6px 16px rgba(18,42,58,.06);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.category-strip a:active {
  transform: scale(.94);
  color: #fff;
  background: var(--blue-deep);
}

.page-shell {
  width: min(520px, calc(100% - 22px));
  margin-top: 14px;
}

.content-area {
  gap: 16px;
}

.category-overview,
.menu-category,
.video-band,
.info-band {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(12px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.category-overview h2,
.video-band h2,
.info-band h2 {
  font-family: var(--font-display);
  font-size: 1.46rem;
  letter-spacing: -.02em;
}

.overview-grid {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  margin-inline: -15px;
  padding: 15px 15px 3px;
  scroll-snap-type: x proximity;
}

.overview-card {
  flex: 0 0 138px;
  min-height: 148px;
  border-radius: 8px;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(17,42,58,.12);
  transform-style: preserve-3d;
  transition: transform .22s ease, box-shadow .22s ease;
}

.overview-card:active {
  transform: rotateY(8deg) scale(.97);
  box-shadow: 0 4px 14px rgba(17,42,58,.18);
}

.overview-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(13,37,52,.84));
}

.overview-card span {
  padding: 13px;
}

.overview-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.overview-card small {
  color: #f3d98b;
}

.category-hero {
  grid-template-columns: 1fr;
  min-height: 0;
  border-bottom: 0;
  background: transparent;
}

.category-copy {
  padding: 17px 15px 12px;
  border-top: 0;
}

.category-image {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  color: #182936;
  font-size: 1.72rem;
  letter-spacing: -.035em;
}

.items {
  gap: 9px;
  padding: 0 10px 12px;
}

.menu-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(20,50,66,.06);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 18px rgba(20,40,52,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.menu-item.choice-pop {
  animation: choicePop .42s ease;
  border-color: rgba(46,145,207,.35);
}

.item-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #e9eceb;
}

.item-name-line {
  display: grid;
  gap: 3px;
}

.code {
  font-size: .68rem;
  letter-spacing: .04em;
}

.name {
  color: #202b33;
  font-size: .88rem;
  line-height: 1.08;
  letter-spacing: .01em;
}

.desc {
  margin-top: 5px;
  color: #728089;
  font-size: .78rem;
  line-height: 1.2;
}

.price {
  font-size: .86rem;
  color: var(--dark);
}

.menu-stepper,
.choice-stepper {
  grid-template-columns: 27px 24px 27px;
  min-height: 30px;
  border: 0;
  background: #edf3f6;
  box-shadow: none;
}

.menu-stepper.is-active,
.choice-stepper {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 18px rgba(46,145,207,.22);
  animation: stepperGlow .34s ease;
}

.menu-stepper button,
.choice-stepper button {
  height: 30px;
}

.menu-stepper span,
.choice-stepper span {
  font-size: .76rem;
}

.meta-line {
  margin: 0 10px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(46,145,207,.07);
}

.bottom-app-bar {
  left: 12px;
  right: 12px;
  bottom: 12px;
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(20,40,52,.18);
}

.bottom-app-bar a,
.bottom-app-bar button {
  border-radius: 7px;
  transition: transform .18s ease, background .18s ease;
}

.bottom-app-bar a:active,
.bottom-app-bar button:active {
  transform: translateY(2px) scale(.96);
  background: rgba(46,145,207,.1);
}

.bottom-app-bar span.is-pulsing {
  animation: countPulse .42s ease;
}

.sheet {
  background: rgba(15, 27, 36, .38);
  backdrop-filter: blur(8px);
}

.sheet-card {
  border-radius: 18px 18px 0 0;
  border-top: 0;
  background: rgba(248,250,250,.94);
  animation: sheetRise .25s ease;
}

.choice-helper {
  border: 0;
  background: linear-gradient(135deg, #fff, rgba(46,145,207,.08));
  box-shadow: 0 8px 20px rgba(20,40,52,.07);
}

.choice-row {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20,40,52,.06);
}

#game-sheet .sheet-card {
  background:
    radial-gradient(circle at 80% 0%, rgba(198,162,74,.18), transparent 30%),
    radial-gradient(circle at 20% 15%, rgba(46,145,207,.26), transparent 38%),
    #121b23;
}

.tic-grid {
  background:
    linear-gradient(135deg, rgba(46,145,207,.22), rgba(198,162,74,.13)),
    #172631;
}

.tic-cell {
  border-radius: 8px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.tic-cell:active {
  transform: scale(.94) rotate(-2deg);
}

.tic-cell.is-winning {
  color: #fff;
  background: linear-gradient(145deg, var(--orange-gold), var(--blue));
  animation: winGlow .8s ease infinite alternate;
}

@keyframes choicePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes stepperGlow {
  0% { transform: scale(.94); }
  65% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@keyframes sheetRise {
  from { transform: translateY(24px); opacity: .75; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes winGlow {
  from { box-shadow: 0 0 0 rgba(198,162,74,0); transform: scale(1); }
  to { box-shadow: 0 0 28px rgba(198,162,74,.55); transform: scale(1.025); }
}

@media (max-width: 430px) {
  .site-header,
  .page-shell {
    width: calc(100% - 18px);
  }

  .category-overview,
  .video-band,
  .info-band {
    padding: 15px;
  }
}

/* Lighter mobile pass */
:root {
  --font-ui: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-weight: 400;
  letter-spacing: 0;
}

img,
video {
  max-width: 100%;
}

.site-header,
.page-shell,
.hero-panel,
.category-overview,
.menu-category,
.video-band,
.info-band,
.sheet-card,
.choice-row,
.menu-item {
  max-width: 100%;
}

.site-header,
.page-shell {
  width: min(520px, calc(100% - 20px));
}

.brand-logo {
  width: min(288px, 78vw);
}

.search-box span,
.category-strip a,
.bottom-app-bar a,
.bottom-app-bar button,
.ghost-button,
.code,
.price,
.menu-stepper span,
.choice-stepper span {
  font-weight: 600;
}

.search-box input {
  font-weight: 500;
}

.category-overview h2,
.video-band h2,
.info-band h2,
.section-title,
.overview-card strong,
.sheet-head h2,
.choice-summary strong,
.game-score strong {
  font-weight: 650;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker,
.choice-helper strong,
.game-status,
.game-score span,
.menu-rail p,
.remove-choice {
  font-weight: 600;
  letter-spacing: .02em;
}

.section-title {
  font-size: clamp(1.34rem, 7vw, 1.64rem);
}

.section-kicker,
.code {
  letter-spacing: .03em;
}

.name {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.18;
  text-transform: none;
}

.desc {
  font-weight: 400;
  line-height: 1.32;
}

.category-strip {
  width: 100%;
  max-width: 100vw;
  padding-left: 10px;
  padding-right: 10px;
  overscroll-behavior-x: contain;
}

.category-strip a {
  white-space: nowrap;
}

.overview-grid {
  max-width: 100%;
  margin-inline: 0;
  padding: 12px 0 2px;
  overscroll-behavior-x: contain;
}

.overview-card {
  flex-basis: clamp(118px, 37vw, 138px);
}

.menu-item {
  min-width: 0;
  overflow: hidden;
}

.item-main,
.item-name-line,
.desc {
  min-width: 0;
}

.item-actions {
  min-width: max-content;
}

.bottom-app-bar {
  width: auto;
  max-width: calc(100vw - 20px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: none;
}

.bottom-app-bar a,
.bottom-app-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.menu-stepper button,
.choice-stepper button,
.icon-button {
  font-weight: 600;
}

.bottom-app-bar span {
  flex: 0 0 auto;
  margin-left: 0;
}

.choice-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.choice-row strong,
.choice-row small {
  min-width: 0;
}

.choice-row strong {
  font-weight: 600;
  text-transform: none;
}

@media (max-width: 520px) {
  .site-header,
  .page-shell {
    width: calc(100% - 18px);
  }

  .hero-panel,
  .category-overview,
  .menu-category,
  .video-band,
  .info-band {
    border-radius: 8px;
  }

  .category-overview,
  .video-band,
  .info-band {
    padding: 14px;
  }

  .items {
    padding-inline: 8px;
  }

  .menu-item {
    position: relative;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    padding: 10px 10px 47px;
  }

  .item-thumb {
    width: 54px;
    height: 54px;
  }

  .item-actions {
    position: absolute;
    right: 10px;
    bottom: 9px;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 8px;
  }

  .price {
    font-size: .82rem;
  }

  .menu-stepper,
  .choice-stepper {
    grid-template-columns: 28px 25px 28px;
  }

  .bottom-app-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bottom-app-bar a,
  .bottom-app-bar button {
    min-width: 0;
    padding-inline: 4px;
    font-size: .64rem;
  }

  .choice-row {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .choice-side {
    grid-template-columns: auto auto 1fr;
    width: 100%;
  }

  .remove-choice {
    justify-self: end;
  }
}

@media (max-width: 360px) {
  .site-header,
  .page-shell {
    width: calc(100% - 14px);
  }

  .brand-logo {
    width: min(252px, 74vw);
  }

  .category-strip {
    gap: 7px;
    padding-inline: 7px;
  }

  .category-strip a {
    padding: 8px 10px;
    font-size: .72rem;
  }

  .menu-item {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 9px 9px 45px;
  }

  .item-thumb {
    width: 48px;
    height: 48px;
  }

  .name {
    font-size: .84rem;
  }

  .desc {
    font-size: .74rem;
  }
}

/* Herr Daniel mobile menu refresh: category photo, text-only dishes */
:root {
  --font-ui: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --app-bg: #eef2f4;
  --card-bg: #ffffff;
  --ink-strong: #162531;
  --ink-soft: #64717a;
  --brand-blue: #0f527d;
  --brand-blue-2: #2e91cf;
  --brand-gold: #c6a24a;
  --soft-shadow: 0 12px 28px rgba(28, 49, 62, .07);
}

body {
  min-width: 0;
  color: var(--ink-strong);
  font-family: var(--font-ui);
  font-weight: 400;
  background: var(--app-bg);
  background-image: none;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

.site-header,
.page-shell {
  width: min(520px, calc(100% - 18px));
}

.site-header {
  padding: 12px 0 8px;
}

.brand-wrap {
  justify-content: flex-start;
  padding: 0 6px 10px;
}

.brand-logo {
  width: min(230px, 58vw);
  filter: none;
}

.hero-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.search-box {
  display: block;
  margin: 0;
  font-weight: 500;
}

.search-box span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.search-box input {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink-strong);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 22px rgba(28,49,62,.06);
  font-size: .95rem;
  font-weight: 400;
}

.search-box input:focus {
  outline: 2px solid rgba(198,162,74,.32);
  outline-offset: 2px;
}

.category-strip {
  position: sticky;
  top: 0;
  z-index: 12;
  width: 100%;
  max-width: 100vw;
  gap: 9px;
  padding: 10px max(9px, calc((100vw - 520px) / 2));
  background: rgba(238,242,244,.92);
  border: 0;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.category-strip a {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--brand-blue);
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 18px rgba(28,49,62,.06);
  font-size: .78rem;
  font-weight: 500;
}

.category-strip a:active {
  color: #fff;
  background: var(--brand-blue);
  transform: scale(.96);
}

.page-shell {
  display: block;
  margin-top: 8px;
}

.menu-rail {
  display: none;
}

.content-area {
  gap: 18px;
}

.category-overview,
.menu-category,
.video-band,
.info-band {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.category-overview,
.video-band,
.info-band {
  padding: 0 6px;
}

.section-heading {
  display: grid;
  align-items: start;
  justify-content: stretch;
  gap: 2px;
}

.eyebrow,
.section-kicker {
  color: var(--brand-gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.category-overview h2,
.video-band h2,
.info-band h2,
.section-title,
.overview-card strong,
.sheet-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.category-overview h2,
.video-band h2,
.info-band h2 {
  color: var(--ink-strong);
  font-size: 1.34rem;
}

.overview-grid {
  display: flex;
  max-width: 100%;
  gap: 10px;
  margin: 10px -3px 0;
  padding: 0 3px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.overview-card {
  flex: 0 0 86px;
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 10px 8px;
  border: 0;
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: var(--soft-shadow);
  scroll-snap-align: start;
  text-align: center;
}

.overview-card::after {
  display: none;
}

.overview-card img {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  object-fit: cover;
  filter: none;
}

.overview-card span {
  position: static;
  display: grid;
  gap: 1px;
  padding: 0;
  width: 100%;
}

.overview-card strong {
  color: var(--ink-strong);
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.08;
}

.overview-card small {
  color: var(--brand-gold);
  font-size: .63rem;
  font-weight: 500;
}

.menu-sections {
  gap: 22px;
}

.menu-category {
  scroll-margin-top: 74px;
  overflow: visible;
}

.category-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  margin: 0 0 12px;
  border: 0;
  background: transparent;
}

.category-copy {
  order: 1;
  padding: 0 6px;
  border: 0;
}

.section-title {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.72rem, 9vw, 2.2rem);
  line-height: 1.04;
}

.category-copy p:not(.section-kicker) {
  max-width: 34em;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.35;
}

.category-image {
  order: 2;
  display: block !important;
  width: 100%;
  height: clamp(132px, 38vw, 176px);
  min-height: 0;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
}

.items {
  display: grid;
  gap: 9px;
  padding: 0;
}

.menu-item {
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 24px rgba(28,49,62,.055);
  overflow: visible;
}

.item-thumb {
  display: none !important;
}

.item-name-line {
  display: grid;
  gap: 3px;
  align-items: start;
}

.code {
  color: var(--brand-blue-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.name {
  color: var(--ink-strong);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
}

.desc {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.28;
}

.item-actions {
  position: static;
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.price {
  color: var(--brand-gold);
  font-size: .84rem;
  font-weight: 700;
}

.menu-stepper,
.choice-stepper {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  min-height: 36px;
  gap: 3px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.menu-stepper.is-active,
.choice-stepper {
  color: var(--brand-blue);
  background: transparent;
  box-shadow: none;
}

.menu-stepper button,
.choice-stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--brand-blue);
  background: #e7eef3;
  font-size: 1.05rem;
  font-weight: 700;
}

.menu-stepper button:last-child,
.choice-stepper button:last-child {
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 9px 18px rgba(15,82,125,.2);
}

.menu-stepper.is-active button:last-child,
.choice-stepper button:last-child {
  background: var(--brand-gold);
  box-shadow: 0 9px 18px rgba(198,162,74,.26);
}

.menu-stepper span,
.choice-stepper span {
  display: grid;
  place-items: center;
  min-width: 28px;
  color: var(--ink-strong);
  font-size: .86rem;
  font-weight: 700;
}

.meta-line {
  margin: 10px 6px 0;
  padding: 12px 13px;
  border: 0;
  border-radius: 16px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.72);
}

.bottom-app-bar {
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: auto;
  max-width: calc(100vw - 20px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  border: 0;
  border-radius: 24px;
  background: var(--brand-blue);
  box-shadow: 0 16px 34px rgba(15,82,125,.24);
  transform: none;
}

.bottom-app-bar a,
.bottom-app-bar button {
  min-width: 0;
  min-height: 42px;
  padding: 0 4px;
  border-radius: 18px;
  color: rgba(255,255,255,.86);
  background: transparent;
  font-size: .66rem;
  font-weight: 500;
}

.bottom-app-bar a:active,
.bottom-app-bar button:active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.bottom-app-bar span {
  min-width: 20px;
  height: 20px;
  color: var(--brand-blue);
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
}

.sheet-card {
  border-radius: 24px 24px 0 0;
}

.choice-helper,
.choice-row,
.choice-summary {
  border-radius: 18px;
}

@media (max-width: 380px) {
  .site-header,
  .page-shell {
    width: calc(100% - 14px);
  }

  .category-strip {
    padding-inline: 7px;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 8px;
    padding: 11px 10px;
  }

  .name {
    font-size: .88rem;
  }

  .desc {
    font-size: .74rem;
  }

  .menu-stepper,
  .choice-stepper {
    grid-template-columns: 31px 25px 31px;
    gap: 2px;
  }

  .menu-stepper button,
  .choice-stepper button {
    width: 31px;
    height: 31px;
  }

  .bottom-app-bar a,
  .bottom-app-bar button {
    font-size: .61rem;
  }
}

/* Scroll-following navigation and edge-to-edge mobile media */
:root {
  --blue: #008ec6;
  --blue-dark: #008ec6;
  --blue-deep: #008ec6;
  --brand-blue: #008ec6;
  --brand-blue-2: #008ec6;
  --edge-gutter: 14px;
  --edge-span: 28px;
}

.content-area,
.category-overview,
.menu-category,
.category-hero {
  overflow: visible;
}

.category-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px max(8px, calc((100vw - 392px) / 2));
  border-radius: 0 0 18px 18px;
  background: rgba(238, 242, 244, .96);
  box-shadow: 0 10px 28px rgba(22, 37, 49, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-110%);
  transition: opacity .22s ease, transform .28s ease, visibility .22s ease;
}

.category-strip.is-following {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.category-strip a {
  color: #008ec6;
}

.category-strip a.is-active {
  color: #fff;
  background: #008ec6;
  box-shadow: 0 7px 18px rgba(0, 142, 198, .22);
}

.overview-grid {
  box-sizing: border-box;
  width: calc(100% + var(--edge-span));
  max-width: none;
  margin-right: 0;
  margin-left: calc(-1 * var(--edge-gutter));
  padding: 0 max(7px, calc((min(100vw, 430px) - 416px) / 2)) 10px;
  scroll-padding-inline: 7px;
}

.overview-card:first-child {
  scroll-margin-left: 7px;
}

.category-image {
  box-sizing: border-box;
  width: calc(100% + var(--edge-span));
  max-width: none;
  height: clamp(158px, 50vw, 208px);
  margin-top: 0;
  margin-left: calc(-1 * var(--edge-gutter));
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 28px rgba(22, 37, 49, .1);
}

.menu-category {
  scroll-margin-top: 72px;
}

.bottom-app-bar {
  background: #008ec6;
  box-shadow: 0 16px 34px rgba(0, 142, 198, .24);
}

.bottom-app-bar span {
  color: #008ec6;
}

.menu-stepper button,
.choice-stepper button {
  color: #008ec6;
  background: rgba(0, 142, 198, .1);
}

.menu-stepper button:last-child {
  background: #008ec6;
  box-shadow: 0 9px 18px rgba(0, 142, 198, .2);
}

.code {
  color: #008ec6;
}

@media (min-width: 720px) {
  .category-strip {
    padding-inline: max(14px, calc((100vw - 430px) / 2));
  }
}

@media (max-width: 380px) {
  :root {
    --edge-gutter: 11px;
    --edge-span: 22px;
  }
}

@media (min-width: 720px) {
  .site-header,
  .page-shell {
    width: min(620px, calc(100% - 44px));
  }

  .category-strip {
    padding-inline: max(18px, calc((100vw - 620px) / 2));
  }

  .bottom-app-bar {
    left: 50%;
    right: auto;
    width: min(520px, calc(100% - 32px));
    transform: translateX(-50%);
  }
}

@media (min-width: 1100px) {
  .page-shell {
    display: block;
    width: min(620px, calc(100% - 48px));
  }
}

/* Responsive width lock */
:root {
  --phone-shell: min(430px, calc(100% - 24px));
}

html,
body {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header,
.page-shell,
.category-strip {
  width: var(--phone-shell);
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding-top: 14px;
}

.brand-wrap {
  justify-content: center;
  padding: 2px 0 14px;
}

.brand-logo {
  width: min(318px, 78vw);
  max-width: 100%;
}

.category-strip {
  left: auto;
  right: auto;
  padding: 10px 0;
  border-radius: 0 0 22px 22px;
}

.category-overview,
.video-band,
.info-band {
  padding-left: 0;
  padding-right: 0;
}

.overview-grid {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.menu-category,
.category-hero,
.category-image,
.items,
.menu-item,
.meta-line {
  width: 100%;
  max-width: 100%;
}

.category-copy {
  padding-left: 2px;
  padding-right: 2px;
}

.menu-item {
  grid-template-columns: minmax(0, 1fr) 104px;
  overflow: hidden;
}

.item-actions {
  justify-self: end;
}

.bottom-app-bar {
  left: 50%;
  right: auto;
  width: var(--phone-shell);
  max-width: 430px;
  transform: translateX(-50%);
}

@media (max-width: 380px) {
  :root {
    --phone-shell: calc(100% - 18px);
  }

  .brand-logo {
    width: min(286px, 76vw);
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) 94px;
  }
}

/* Mobile containment repair */
:root {
  --phone-shell: min(392px, calc(100% - 28px));
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body > * {
  flex: 0 0 auto;
  max-width: 100%;
}

.site-header,
.page-shell,
.category-strip {
  width: var(--phone-shell);
  max-width: 392px;
}

.brand-logo {
  width: min(352px, 84vw);
}

.content-area,
.menu-sections,
.category-overview,
.menu-category,
.video-band,
.info-band,
.category-hero,
.items {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.category-strip,
.overview-grid {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.overview-grid::-webkit-scrollbar {
  display: none;
}

.category-strip {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.category-strip a {
  flex: 0 0 auto;
}

.overview-grid {
  justify-content: flex-start;
}

.overview-card {
  flex: 0 0 82px;
}

.category-image {
  width: 100%;
  max-width: 100%;
  height: clamp(126px, 36vw, 158px);
  border-radius: 18px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
}

.item-main {
  width: 100%;
  max-width: 100%;
}

.item-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-self: stretch;
  gap: 12px;
}

.price {
  flex: 0 0 auto;
  font-size: .9rem;
}

.menu-stepper {
  flex: 0 0 auto;
  grid-template-columns: 36px 30px 36px;
}

.menu-stepper button {
  width: 36px;
  height: 36px;
}

.menu-stepper span {
  min-width: 30px;
}

.bottom-app-bar {
  width: var(--phone-shell);
  max-width: 392px;
}

@media (max-width: 380px) {
  :root {
    --phone-shell: calc(100% - 22px);
  }

  .brand-logo {
    width: min(322px, 84vw);
  }

  .menu-item {
    padding: 13px;
  }

  .overview-card {
    flex-basis: 78px;
  }
}

/* Final mobile navigation and full-bleed media overrides */
:root {
  --blue: #008ec6;
  --blue-dark: #008ec6;
  --blue-deep: #008ec6;
  --brand-blue: #008ec6;
  --brand-blue-2: #008ec6;
}

.content-area,
.category-overview,
.menu-category,
.category-hero {
  overflow: visible;
}

.category-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px max(8px, calc((100vw - 392px) / 2));
  border-radius: 0 0 18px 18px;
  background: rgba(238, 242, 244, .96);
  box-shadow: 0 10px 28px rgba(22, 37, 49, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-110%);
  transition: opacity .22s ease, transform .28s ease, visibility .22s ease;
}

.category-strip.is-following {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.category-strip a {
  color: #008ec6;
}

.category-strip a.is-active {
  color: #fff;
  background: #008ec6;
  box-shadow: 0 7px 18px rgba(0, 142, 198, .22);
}

.overview-grid {
  box-sizing: border-box;
  width: min(100vw, 430px);
  max-width: none;
  margin-right: 0;
  margin-left: calc(50% - min(50vw, 215px));
  padding: 0 7px 10px;
  scroll-padding-inline: 7px;
}

.overview-card:first-child {
  scroll-margin-left: 7px;
}

.category-image {
  box-sizing: border-box;
  width: min(100vw, 430px);
  max-width: none;
  height: clamp(158px, 50vw, 208px);
  margin-top: 0;
  margin-left: calc(50% - min(50vw, 215px));
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 28px rgba(22, 37, 49, .1);
}

.menu-category {
  scroll-margin-top: 72px;
}

.bottom-app-bar {
  background: #008ec6;
  box-shadow: 0 16px 34px rgba(0, 142, 198, .24);
}

.bottom-app-bar span {
  color: #008ec6;
}

.menu-stepper button,
.choice-stepper button {
  color: #008ec6;
  background: rgba(0, 142, 198, .1);
}

.menu-stepper button:last-child {
  background: #008ec6;
  box-shadow: 0 9px 18px rgba(0, 142, 198, .2);
}

.code {
  color: #008ec6;
}

@media (min-width: 720px) {
  .category-strip {
    padding-inline: max(14px, calc((100vw - 430px) / 2));
  }
}

/* Viewport-safe edge alignment */
.overview-grid,
.category-image {
  width: calc(100% + 28px);
  margin-left: -14px;
}

@media (max-width: 380px) {
  .overview-grid,
  .category-image {
    width: calc(100% + 22px);
    margin-left: -11px;
  }
}

.content-area,
.category-overview,
.menu-sections,
.menu-category,
.category-hero {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.content-area {
  display: block;
}

/* Draft beers: logo-led cards with a separate counter for every format. */
#birre-spina .items {
  display: grid;
  gap: 12px;
}

#birre-spina .beer-item {
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-areas:
    "logo copy"
    "variants variants";
  gap: 12px;
  padding: 14px;
}

.beer-logo-wrap {
  grid-area: logo;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 6px;
  border: 1px solid rgba(0, 142, 198, .12);
  border-radius: 8px;
  background: #f7fafb;
}

.beer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.beer-copy {
  grid-area: copy;
  align-self: center;
}

.beer-copy .name {
  display: block;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.2;
}

.beer-copy .desc {
  margin: 6px 0 0;
  line-height: 1.35;
}

.beer-variants {
  grid-area: variants;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.beer-variant {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 6px 7px 6px 11px;
  border: 1px solid rgba(22, 37, 49, .06);
  border-radius: 8px;
  background: #f1f5f6;
}

.beer-variant-label {
  display: grid;
  min-width: 0;
}

.beer-variant-label strong {
  font-size: .88rem;
  line-height: 1.15;
}

.beer-variant-label small {
  margin-top: 2px;
  color: #6c7880;
  font-size: .67rem;
}

.beer-variant-price {
  color: #172531;
  font-size: .86rem;
  white-space: nowrap;
}

#birre-spina .menu-stepper {
  grid-template-columns: 32px 25px 32px;
}

#birre-spina .menu-stepper button {
  width: 32px;
  height: 32px;
}

#birre-spina .menu-stepper span {
  min-width: 25px;
}

@media (max-width: 350px) {
  #birre-spina .beer-item {
    grid-template-columns: 66px minmax(0, 1fr);
    padding: 11px;
  }

  .beer-logo-wrap {
    width: 66px;
    height: 66px;
  }

  .beer-variant {
    grid-template-columns: minmax(66px, 1fr) auto auto;
    gap: 6px;
    padding-left: 8px;
  }

  #birre-spina .menu-stepper {
    grid-template-columns: 29px 23px 29px;
  }

  #birre-spina .menu-stepper button {
    width: 29px;
    height: 32px;
  }

  #birre-spina .menu-stepper span {
    min-width: 23px;
  }
}

/* Bottled beers: product photo with one price and one quantity control. */
#birre-bottiglia .items {
  display: grid;
  gap: 12px;
}

#birre-bottiglia .bottle-item {
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-areas:
    "bottle copy"
    "bottle actions";
  align-items: center;
  gap: 9px 13px;
  padding: 13px 14px;
}

.bottle-image-wrap {
  grid-area: bottle;
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 78px;
  min-height: 116px;
  padding: 7px;
  border: 1px solid rgba(0, 142, 198, .1);
  border-radius: 8px;
  background: #f7fafb;
}

.bottle-image {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: contain;
}

.bottle-copy {
  grid-area: copy;
  align-self: end;
}

.bottle-copy .name {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.22;
}

#birre-bottiglia .bottle-actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

#birre-bottiglia .bottle-actions .price {
  color: #172531;
  font-size: .9rem;
}

@media (max-width: 350px) {
  #birre-bottiglia .bottle-item {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 11px;
  }

  .bottle-image-wrap {
    width: 66px;
    min-height: 105px;
    padding: 5px;
  }

  .bottle-image {
    height: 97px;
  }
}

/* Featured special sandwiches with their original product photography. */
#panini-special .special-item,
#specialita .special-item,
#carni .special-item {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "photo"
    "copy"
    "actions";
  gap: 0;
  padding: 0;
  border-radius: 8px;
}

.special-item-image {
  grid-area: photo;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.special-copy {
  grid-area: copy;
  padding: 13px 14px 8px;
}

.special-copy .name {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.2;
}

#panini-special .special-actions,
#specialita .special-actions,
#carni .special-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 14px 13px;
}

#panini-special .special-actions .price,
#specialita .special-actions .price,
#carni .special-actions .price {
  color: #172531;
  font-size: .92rem;
}

@media (max-width: 350px) {
  .special-copy {
    padding: 11px 11px 7px;
  }

  #panini-special .special-actions,
  #specialita .special-actions,
  #carni .special-actions {
    padding: 0 11px 11px;
  }
}

.item-group-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 30px 0 8px;
  padding: 3px 0 3px 12px;
  border-left: 3px solid #008ec6;
  color: var(--ink-strong);
  background: transparent;
  box-shadow: none;
}

.items > .item-group-title:first-child {
  margin-top: 18px;
}

.item-group-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.item-group-title span {
  color: #008ec6;
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.item-group-title strong {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.15;
}

.item-group-title.has-photo {
  display: block;
  width: calc(100% + 28px);
  margin-left: -14px;
  padding: 0;
  border-left: 0;
}

.item-group-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  object-fit: cover;
}

.item-group-title.has-photo .item-group-copy {
  margin: 11px 14px 0;
  padding: 3px 0 3px 12px;
  border-left: 3px solid #008ec6;
}

.menu-category + .menu-category {
  margin-top: 50px;
}

@media (max-width: 380px) {
  .item-group-title.has-photo {
    width: calc(100% + 22px);
    margin-left: -11px;
  }
}

/* Final content bands: videos, notes and social links. */
.menu-sections + .video-band {
  margin-top: 68px;
}

.video-band .eyebrow {
  margin-bottom: 8px;
}

.video-band h2 {
  margin: 0;
  line-height: 1.12;
}

.video-band .video-grid {
  margin-top: 24px;
}

.info-band {
  margin-top: 46px;
}

.notes-panel {
  padding: 18px 17px;
  border-radius: 8px;
  color: #172531;
  background: #c6a24a;
}

.notes-panel h2 {
  margin: 0 0 8px;
  color: #172531;
}

.notes-panel p {
  margin: 0;
  color: #172531;
  line-height: 1.55;
}

.contact-line {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.social-block {
  margin-top: 30px;
  text-align: center;
}

.social-title {
  margin: 0 0 13px;
  color: #c6a24a;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.social-links {
  justify-content: center;
  margin-top: 0;
}

.social-links img {
  width: 32px;
  height: 32px;
}

#carni .special-item-image {
  aspect-ratio: 1200 / 635;
}
