:root {
  --ink: #1d1d1b;
  --paper: #f7f4ec;
  --white: #ffffff;
  --red: #e30613;
  --red-dark: #9f1216;
  --blue: #2daae1;
  --green: #178447;
  --line: #d7d0c3;
  --muted: #6b6258;
  --shadow: 0 14px 36px rgba(29, 29, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 244, 236, 0.92), rgba(247, 244, 236, 0.92)),
    url("assets/papel.jpg");
  font-family: "Fira Sans Extra Condensed", Arial, sans-serif;
  font-size: 18px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.menu-header {
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.95), rgba(29, 29, 27, 0.62)),
    url("assets/wood-background.svg") center / cover;
  color: var(--white);
  padding: 18px 18px 20px;
}

.brand-strip {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.brand-logo {
  display: block;
  width: 96px;
  min-width: 96px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-header .eyebrow {
  color: var(--blue);
}

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

h1 {
  margin-bottom: 0;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 1180px;
  margin: 18px auto 0;
}

.search-field {
  display: grid;
  gap: 0;
}

.search-field span {
  font-weight: 800;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
}

.sauce-button,
.category-button,
.modal-close {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sauce-button {
  align-self: end;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(29, 29, 27, 0.08);
}

.category-track {
  display: flex;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-button {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--ink);
  background: #f2eee5;
}

.category-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.menu-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 38px;
}

.promo-carousel {
  margin-bottom: 22px;
}

.carousel-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-slide {
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  background: var(--white);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(68vh, 675px);
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

.carousel-button {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(29, 29, 27, 0.82);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--line);
}

.carousel-dot[aria-current="true"] {
  background: var(--red);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

.section-heading h2 {
  margin-bottom: 8px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.05;
  text-transform: uppercase;
}

.promotions {
  margin-top: 30px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promo-card,
.menu-card,
.sauce-card {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.promo-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 14px;
}

.birthday-promo {
  overflow: hidden;
}

.birthday-promo:hover,
.birthday-promo:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.birthday-burst {
  animation: birthday-pop 0.38s ease;
}

.confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-layer span {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--confetti-color);
  animation: confetti-fall 1.35s ease-out var(--delay) forwards;
}

.promo-day {
  display: inline-flex;
  width: fit-content;
  border-radius: 6px;
  padding: 3px 8px;
  color: var(--white);
  background: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 17px;
  text-transform: uppercase;
}

.promo-card strong {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.promo-price {
  white-space: nowrap;
}

.promo-card p {
  margin-bottom: 0;
}

@keyframes birthday-pop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-3px) scale(1.02);
  }
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 160px, 0) rotate(calc(var(--spin) + 540deg));
  }
}

.image-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.image-button {
  background: var(--red);
}

.result-summary {
  min-height: 28px;
  color: var(--muted);
  font-weight: 700;
}

.category-section {
  margin-top: 22px;
}

.menu-page {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.9)),
    url("assets/papel.jpg");
  box-shadow: var(--shadow);
}

.menu-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
}

.menu-page-header .eyebrow {
  color: var(--red);
}

.menu-page-header h3 {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 46px;
  line-height: 1;
  text-transform: uppercase;
}

.menu-page-header p {
  margin-bottom: 0;
  font-weight: 800;
}

.menu-page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.product-panel {
  min-width: 0;
  padding: 18px;
}

.sauce-panel {
  padding-right: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.category-title::after {
  content: "";
  height: 3px;
  flex: 1;
  background: var(--red);
}

.category-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.group-block {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.group-title {
  width: fit-content;
  margin: 0 0 6px;
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-panel .items-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.menu-card:hover {
  background: transparent;
}

.menu-card.kids-combo {
  position: relative;
}

.menu-card:not(.has-image) {
  grid-template-columns: minmax(0, 1fr);
}

.menu-card:not(.has-image) .item-photo {
  display: none;
}

.item-photo {
  width: 118px;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  background: #ece7dc;
}

.item-body {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 12px 0;
}

.item-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.item-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.price {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.kids-star {
  display: inline-block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: #f4c430;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 2px 0 var(--ink));
  animation: kids-star 0.95s ease-in-out infinite;
}

.item-meta {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.item-description {
  margin: 0;
  color: #3d3934;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

@keyframes kids-star {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg) scale(1);
  }

  50% {
    transform: translateY(-4px) rotate(12deg) scale(1.12);
  }
}

.photo-hint {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.empty-state {
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.locations {
  padding: 22px 18px 32px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("assets/papel.jpg");
  border-top: 4px solid var(--ink);
}

.made-by {
  margin: 0;
  padding: 20px 0 20px 16px;
  background: var(--paper);
  text-align: left;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.made-heart {
  color: #a0324a;
  font-size: 0.85em;
}

.made-brand {
  color: #b8882a;
  font-weight: 700;
}

.locations h2 {
  max-width: 1180px;
  margin: 0 auto 14px;
  font-family: "Oswald", Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.location-grid article {
  display: grid;
  justify-items: center;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.location-grid h3 {
  margin-bottom: 10px;
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-link {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.social-link svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.social-link.maps {
  color: #d62d2d;
}

.social-link.instagram {
  color: #e4405f;
}

.social-link.tiktok {
  color: var(--ink);
}

.social-link.facebook {
  color: #1877f2;
}

.social-link.whatsapp {
  color: #0fa958;
}

.social-link.maps:hover {
  color: #d62d2d;
  background: transparent;
}

.social-link.instagram:hover {
  background: #e4405f;
}

.social-link.tiktok:hover {
  background: var(--ink);
}

.social-link.facebook:hover {
  background: #1877f2;
}

.social-link.whatsapp:hover {
  background: #0fa958;
}

.item-modal {
  width: min(92vw, 880px);
  max-height: 90vh;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.item-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  color: var(--white);
  background: var(--red);
}

.modal-content {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.modal-content img {
  width: 100%;
  max-height: 58vh;
  border-radius: 8px;
  object-fit: contain;
  background: #f2eee5;
}

.product-modal-content {
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
  align-items: start;
}

.modal-product-image {
  height: 420px;
  object-fit: cover;
  object-position: top;
}

.modal-note {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  padding: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.delivery-modal {
  width: min(90vw, 420px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.delivery-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.delivery-close {
  width: 100%;
  color: var(--white);
  background: var(--red);
}

.delivery-menu {
  display: grid;
  gap: 12px;
  padding: 22px;
  text-align: center;
}

.delivery-menu h2 {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.delivery-menu p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.delivery-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.delivery-actions a {
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--white);
  background: var(--blue);
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.sauce-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.inline-sauces {
  margin-top: 14px;
}

.sauce-list {
  display: grid;
  gap: 10px;
}

.sauce-list h3 {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.sauce-list article {
  border-left: 5px solid var(--red);
  padding-left: 10px;
}

.sauce-card {
  --heat-color: var(--red);
  position: relative;
  border-left: 8px solid var(--heat-color);
  padding: 12px;
}

.hottest-sauce {
  overflow: hidden;
  outline: 0;
}

.hottest-sauce::before,
.hottest-sauce::after {
  position: absolute;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.hottest-sauce::before {
  inset: auto -12px -28px;
  height: 72px;
  background:
    radial-gradient(ellipse at 8% 100%, #ffcf33 0 14%, #ff6b00 15% 28%, transparent 30%),
    radial-gradient(ellipse at 23% 100%, #fff06a 0 10%, #ff7a00 11% 26%, transparent 28%),
    radial-gradient(ellipse at 39% 100%, #ffd445 0 16%, #ff4200 17% 34%, transparent 36%),
    radial-gradient(ellipse at 56% 100%, #fff06a 0 12%, #ff7a00 13% 30%, transparent 32%),
    radial-gradient(ellipse at 73% 100%, #ffcf33 0 15%, #ff4200 16% 32%, transparent 34%),
    radial-gradient(ellipse at 91% 100%, #fff06a 0 11%, #ff6b00 12% 27%, transparent 29%);
  filter: blur(0.2px);
  transform: translateY(36px);
}

.hottest-sauce::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 45%, rgba(255, 104, 0, 0.2) 75%, rgba(217, 24, 18, 0.28) 100%),
    radial-gradient(circle at 20% 82%, rgba(255, 207, 51, 0.32), transparent 22%),
    radial-gradient(circle at 74% 76%, rgba(255, 74, 0, 0.24), transparent 24%);
  mix-blend-mode: multiply;
}

.hottest-sauce:hover,
.hottest-sauce:focus-visible,
.hottest-sauce:active {
  animation: sauce-heat-shake 0.32s ease-in-out infinite;
  border-color: #ff4a00;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 238, 207, 0.98)),
    var(--white);
  box-shadow:
    0 0 0 2px rgba(255, 104, 0, 0.35),
    0 0 22px rgba(255, 74, 0, 0.5),
    0 16px 34px rgba(217, 24, 18, 0.38);
}

.hottest-sauce:hover::before,
.hottest-sauce:hover::after,
.hottest-sauce:focus-visible::before,
.hottest-sauce:focus-visible::after,
.hottest-sauce:active::before,
.hottest-sauce:active::after {
  opacity: 1;
}

.hottest-sauce:hover::before,
.hottest-sauce:focus-visible::before,
.hottest-sauce:active::before {
  animation: fire-wall 0.55s ease-in-out infinite alternate;
}

.hottest-sauce:hover::after,
.hottest-sauce:focus-visible::after,
.hottest-sauce:active::after {
  animation: heat-glow 0.7s ease-in-out infinite alternate;
}

.hottest-sauce > * {
  position: relative;
  z-index: 1;
}

.sauce-card.heat-1 {
  --heat-color: #20a965;
}

.sauce-card.heat-2 {
  --heat-color: #c5a91d;
}

.sauce-card.heat-3 {
  --heat-color: #df7a1c;
}

.sauce-card.heat-4 {
  --heat-color: #d93924;
}

.sauce-card.heat-5 {
  --heat-color: #a90f18;
}

.sauce-card strong {
  display: inline-flex;
  align-items: center;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.sauce-title-row {
  display: block;
}

.doritos-logo {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border-radius: 4px;
  object-fit: cover;
}

.heat-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: min(150px, 100%);
  margin: 8px 0 5px;
}

.heat-meter span {
  height: 8px;
  border-radius: 8px;
  background: #ddd7cc;
}

.heat-meter span.active {
  background: var(--heat-color);
}

.heat-label {
  margin-bottom: 6px;
  color: var(--heat-color);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.sauce-card p {
  margin-bottom: 0;
}

@keyframes fire-wall {
  from {
    transform: translateY(10px) scaleY(0.88) skewX(-3deg);
  }

  to {
    transform: translateY(-8px) scaleY(1.12) skewX(3deg);
  }
}

@keyframes heat-glow {
  from {
    opacity: 0.55;
  }

  to {
    opacity: 0.95;
  }
}

@keyframes sauce-heat-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-1px);
  }

  70% {
    transform: translateX(1px);
  }
}

.sauce-list strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.sauce-list p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .promo-grid,
  .items-grid,
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-page-body,
  .product-modal-content {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .brand-strip {
    grid-template-columns: 74px 1fr;
  }

  .brand-logo {
    width: 74px;
    min-width: 74px;
  }

  h1 {
    font-size: 34px;
  }

  .toolbar,
  .promo-grid,
  .items-grid,
  .location-grid,
  .sauce-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .menu-page-header h3 {
    font-size: 32px;
  }

  .menu-page-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-panel,
  .sauce-panel {
    padding: 14px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 74px;
    height: 74px;
  }

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

  .item-photo {
    width: 100%;
    height: 170px;
    min-height: 170px;
  }

  .item-body {
    max-width: none;
  }

  .modal-product-image {
    height: 360px;
  }

  .item-name {
    font-size: 20px;
  }

  .item-title-row {
    align-items: baseline;
    flex-direction: row;
    gap: 10px;
  }

  .price {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .menu-header {
    padding: 14px 12px 16px;
  }

  .category-track {
    padding: 8px 12px;
  }

  .menu-shell {
    padding: 16px 12px 28px;
  }

  .section-heading {
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .menu-page-header {
    padding: 14px 12px;
  }

  .menu-page-header h3 {
    font-size: 28px;
  }

  .menu-page-header p {
    font-size: 15px;
  }

  .product-panel,
  .sauce-panel {
    padding: 12px;
  }

  .promo-card {
    min-height: 0;
    padding: 12px;
  }

  .promo-day {
    font-size: 14px;
  }

  .promo-card strong {
    font-size: 24px;
  }

  .item-name {
    font-size: 18px;
  }

  .item-title-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 10px;
  }

  .price {
    margin-left: auto;
    font-size: 20px;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .carousel-button.prev {
    left: 6px;
  }

  .carousel-button.next {
    right: 6px;
  }

  .carousel-slide img {
    max-height: 56vh;
  }

  .item-modal {
    width: 96vw;
  }

  .modal-content {
    padding: 12px;
  }

  .modal-content img {
    max-height: 50vh;
  }

  .delivery-modal {
    width: 94vw;
  }

  .delivery-menu {
    padding: 16px 14px;
  }

  .delivery-menu h2 {
    font-size: 32px;
  }

  .delivery-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .floating-whatsapp {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: 64px;
    height: 64px;
    border-width: 2px;
  }

  .locations {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  body {
    font-size: 16px;
  }

  .brand-strip {
    grid-template-columns: 64px 1fr;
    gap: 10px;
  }

  .brand-logo {
    width: 64px;
    min-width: 64px;
  }

  h1 {
    font-size: 30px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .menu-page-header h3 {
    font-size: 24px;
  }

  .promo-card strong {
    font-size: 21px;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
  }
}
