:root {
  --verde-claro: #c5da75;
  --verde-medio: #8ea754;
  --verde-oscuro: #32572c;
  --verde-profundo: #294a28;
  --crema: #ebf9b2;
  --vino: #761f18;
  --negro: #1d2b18;
  --linea: rgba(76, 98, 45, .20);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--verde-oscuro);
  color: var(--negro);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
button, a { font: inherit; }

/* ===== PORTADA: composición calcada de la referencia ===== */
.hero {
  position: relative;
  background: var(--verde-claro);
  overflow: hidden;
}
.hero__stage {
  position: relative;
  width: 100%;
  height: clamp(390px, 84.5vw, 620px);
  overflow: hidden;
  isolation: isolate;
  background: var(--verde-claro);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .31;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 52px, var(--linea) 53px 54px, transparent 55px 106px),
    repeating-linear-gradient(-45deg, transparent 0 52px, rgba(76,98,45,.14) 53px 54px, transparent 55px 106px);
}
.hero__logo-blob {
  position: absolute;
  z-index: 2;
  top: -7%;
  left: 17%;
  width: 82%;
  height: 42%;
  background: rgba(235, 243, 158, .76);
  border-radius: 45% 55% 53% 47% / 58% 48% 52% 42%;
  transform: rotate(1deg);
}
.hero__right-blob {
  position: absolute;
  z-index: 2;
  top: 23.5%;
  right: -7%;
  width: 48%;
  height: 76%;
  background: var(--verde-medio);
  border-radius: 55% 45% 48% 52% / 40% 47% 53% 60%;
  transform: rotate(-7deg);
}
.hero__palm,
.hero__leaf,
.hero__logo,
.hero__main-illustration,
.hero__small-character {
  object-fit: contain;
}
.hero__palm {
  position: absolute;
  z-index: 6;
  top: 0%;
  left: -1%;
  width: 20.5%;
  transform: scale(1.20, .94);
  transform-origin: top left;
  height: auto;
  object-position: top left;
}
.hero__leaf {
  position: absolute;
  z-index: 6;
  top: 7.5%;
  right: -3.5%;
  width: 14.5%;
  height: auto;
  object-position: top right;
}
.hero__logo-wrap {
  position: absolute;
  z-index: 7;
  top: 1%;
  left: 21.5%;
  width: 60%;
  height: auto;
}
.hero__logo {
  width: 100%;
  height: auto;
}
.hero__copy {
  position: absolute;
  z-index: 7;
  top: 43.5%;
  left: 1.75%;
  width: 47%;
}
.hero__title {
  margin: 0;
  color: #283719;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 6.08vw, 45px);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.035em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__main-illustration {
  position: absolute;
  z-index: 7;
  top: 32.8%;
  right: 0%;
  width: 39%;
  height: auto;
}
.hero__small-character {
  position: absolute;
  z-index: 7;
  top: 72.8%;
  left: 28%;
  width: 22%;
  transform: scaleX(-1);
  transform-origin: center;
  height: auto;
}
.hero__beans {
  position: absolute;
  z-index: 7;
  top: 67.5%;
  right: 5.2%;
  width: 28%;
  height: 13%;
  pointer-events: none;
}
.hero__beans span {
  position: absolute;
  width: 8px;
  height: 23px;
  border-radius: 50%;
  background: #4b1717;
  transform: rotate(-8deg);
}
.hero__beans span::after {
  content: "";
  position: absolute;
  left: 50%; top: 2px; bottom: 2px;
  width: 1px;
  background: rgba(197, 218, 117, .48);
  transform: translateX(-50%) rotate(7deg);
}
.hero__beans span:nth-child(1) { left: 3%; top: 8%; transform: rotate(7deg); }
.hero__beans span:nth-child(2) { left: 42%; top: 39%; transform: rotate(-4deg); }
.hero__beans span:nth-child(3) { left: 71%; top: 6%; transform: rotate(8deg); }
.hero__beans span:nth-child(4) { left: 96%; top: 50%; transform: rotate(-11deg); }
.hero__wave {
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 17%;
  color: var(--verde-oscuro);
}
.hero__wave path { fill: currentColor; }

/* ===== BIENVENIDA ===== */
.welcome {
  position: relative;
  z-index: 11;
  margin-top: -1px;
  overflow: visible;
  background: var(--verde-oscuro);
}
.welcome__top-wave,
.welcome__bottom-wave {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(38px, 8.2vw, 60px);
  color: var(--crema);
}
.welcome__top-wave {
  margin-top: clamp(-27px, -3.8vw, -18px);
}
.welcome__top-wave path { fill: currentColor; }
.welcome__band {
  position: relative;
  min-height: clamp(84px, 14.8vw, 112px);
  margin-top: -2px;
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome__copy {
  position: relative;
  z-index: 4;
  text-align: center;
  transform: translateY(10px);
}
.welcome__title {
  margin: 0 0 4px;
  transform: translateX(16px);
  color: var(--vino);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 5.65vw, 42px);
  font-weight: 700;
  line-height: 1;
}
.welcome__cta {
  color: #161d13;
  font-size: clamp(16px, 3.45vw, 25px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.welcome__petals {
  position: absolute;
  z-index: 3;
  left: 13%;
  top: -108%;
  width: 17%;
  height: auto;
  object-fit: contain;
  opacity: .65;
  transform: translateY(28px) rotate(-18deg);
}
.welcome__character {
  position: absolute;
  z-index: 4;
  right: 10.3%;
  top: 25%;
  width: 16.5%;
  height: auto;
  object-fit: contain;
}
.welcome__bottom-wave {
  margin-top: -2px;
  background: var(--crema);
  color: var(--verde-oscuro);
}
.welcome__bottom-wave path { fill: currentColor; }

/* Accessibility focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--crema); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 430px) {
  .hero__stage { height: max(390px, 84.5vw); }
  .hero__title { font-size: clamp(24px, 7.9vw, 34px); }
  .welcome__title { font-size: clamp(27px, 8vw, 34px); }
  .welcome__cta { font-size: clamp(15px, 4.5vw, 19px); }
}

/* =========================================================
   MENÚ
   Se deja limpio y editorial para no competir con el hero.
========================================================= */
.menu {
  min-height: 520px;
  background: var(--verde-oscuro);
  color: #fff;
  padding: 130px 18px 72px;
}

.menu__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.menu__title {
  margin: 0;
  color: var(--crema);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  text-align: center;
}

.menu__intro {
  margin: 8px auto 22px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.menu__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.menu__categories button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 4px;
  background: transparent;
  color: var(--crema);
  font-weight: 800;
  cursor: pointer;
}

.menu__categories button:hover,
.menu__categories button:focus-visible {
  border-bottom-color: var(--crema);
  outline: none;
}

.menu__products {
  margin-top: 40px;
}

.order-summary {
  display: none;
  width: min(100%, 620px);
  margin: 34px auto 0;
}

.order-summary h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

.order-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.25);
}

/* =========================================================
   CARRUSEL NATIVO DEL MENÚ
   Sin Swiper ni librerías externas.
========================================================= */
.menu-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 86px 0 26px;
}

.menu-carousel::-webkit-scrollbar {
  display: none;
}

.menu-track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 4vw, 28px);
  width: max-content;
  padding-inline: max(18px, calc((100vw - min(86vw, 330px)) / 2));
}

.dish-slide {
  width: min(86vw, 330px);
  flex: 0 0 min(86vw, 330px);
  scroll-snap-align: center;
  opacity: 0.45;
  transform: scale(0.93);
  transition: opacity 260ms ease, transform 260ms ease;
}

.dish-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.dish-card {
  position: relative;
  min-height: 410px;
  padding: 145px 22px 24px;
  border: 1px solid rgba(238, 247, 168, 0.35);
  border-radius: 34px;
  background: rgba(238, 247, 168, 0.10);
  color: #fff;
}

.dish-card__image-wrap {
  position: absolute;
  top: -78px;
  left: 50%;
  width: 218px;
  height: 218px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--crema);
  border: 5px solid var(--crema);
  overflow: hidden;
  box-shadow: 0 15px 26px rgba(0, 0, 0, 0.22);
}

.dish-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dish-card__title {
  margin: 0 0 6px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}

.dish-card__description {
  min-height: 42px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.4;
}

.dish-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.dish-card__price-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
}

.dish-card__price {
  color: var(--crema);
  font-size: 1.32rem;
  font-weight: 900;
}

.dish-card__button {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--crema);
  padding: 11px 6px 9px;
  background: transparent;
  color: var(--crema);
  font-weight: 900;
  cursor: pointer;
}

.dish-card__button:hover,
.dish-card__button:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
  outline: none;
}

.menu-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: -2px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(238, 247, 168, 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--crema);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: var(--crema);
  color: var(--verde-oscuro);
  outline: none;
}

.category-button.is-active {
  border-bottom-color: var(--crema);
}

/* =========================================================
   CARRITO
========================================================= */
.order-summary[hidden] {
  display: none !important;
}

.order-summary {
  display: block;
  padding-top: 28px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.order-item__top,
.order-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-item__name {
  margin: 0;
  font-weight: 900;
}

.order-item__options {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.8rem;
}

.order-item__unit {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
}

.order-item__remove,
.quantity-button {
  border: 0;
  background: transparent;
  color: var(--crema);
  cursor: pointer;
}

.order-item__remove {
  font-size: 1.5rem;
}

.order-item__bottom {
  margin-top: 12px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.quantity-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(238, 247, 168, 0.55);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}

.quantity-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity-value {
  min-width: 20px;
  text-align: center;
  font-weight: 900;
}

.order-item__subtotal {
  text-align: right;
}

.order-item__subtotal span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.action-link {
  border: 0;
  border-bottom: 2px solid rgba(238, 247, 168, 0.7);
  padding: 9px 4px;
  background: transparent;
  color: var(--crema);
  font-weight: 900;
  cursor: pointer;
}

.action-link--primary {
  color: #fff;
  border-bottom-color: #fff;
}

/* =========================================================
   DIALOGOS NATIVOS
========================================================= */
.app-dialog {
  width: min(92vw, 430px);
  max-height: min(88vh, 720px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--negro);
}

.app-dialog::backdrop {
  background: rgba(17, 31, 16, 0.72);
}

.app-dialog__panel {
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 22px;
  background: var(--crema);
  border-radius: 28px;
}

.app-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.app-dialog__header h2 {
  margin: 0 0 3px;
  color: var(--verde-profundo);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.app-dialog__header p {
  margin: 0;
  color: rgba(23, 32, 21, 0.72);
}

.dialog-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--verde-profundo);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.option-group + .option-group {
  margin-top: 18px;
}

.option-group__title {
  margin: 0 0 8px;
  color: var(--verde-profundo);
  font-weight: 900;
}

.option-group__hint {
  margin-left: 5px;
  font-size: 0.72rem;
  opacity: 0.65;
}

.option-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(49, 87, 44, 0.17);
  cursor: pointer;
}

.option-choice__main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--verde-oscuro);
}

.option-choice__price {
  color: var(--verde-oscuro);
  font-size: 0.83rem;
  font-weight: 900;
}

.dialog-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(49, 87, 44, 0.22);
}

.dialog-confirm {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-bottom: 2px solid var(--verde-oscuro);
  padding: 12px 4px 10px;
  background: transparent;
  color: var(--verde-oscuro);
  font-weight: 900;
  cursor: pointer;
}

.dialog-confirm:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.bank-data {
  margin: 0;
}

.bank-data > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(49, 87, 44, 0.15);
}

.bank-data dt {
  font-weight: 900;
}

.bank-data dd {
  margin: 0;
}

/* =========================================================
   TOAST
========================================================= */
.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 24px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--crema);
  color: var(--verde-profundo);
  font-weight: 800;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  .menu-track {
    padding-inline: 7vw;
  }

  .dish-slide {
    width: 86vw;
    flex-basis: 86vw;
  }

  .dish-card {
    min-height: 400px;
    padding-top: 143px;
  }

  .dish-card__image-wrap {
    width: 210px;
    height: 210px;
  }

  .menu-carousel__controls {
    display: none;
  }

  .order-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* =========================================================
   FORMAS DE PAGO
   Añadido debajo del menú sin modificar la portada.
========================================================= */
.payments {
  width: min(100%, 760px);
  margin: 72px auto 0;
  padding-top: 38px;
  border-top: 1px solid rgba(238, 247, 168, 0.22);
}

.payments__heading {
  max-width: 520px;
  margin: 0 auto 28px;
  text-align: center;
}

.payments__eyebrow {
  margin: 0 0 5px;
  color: rgba(238, 247, 168, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payments__heading h2 {
  margin: 0;
  color: var(--crema);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.payments__heading > p:last-child {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.payments__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.payment-method {
  min-width: 0;
}

.payment-method--bank {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 26px 6px 26px 0;
}

.payment-method__kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--crema);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-method__copy h3 {
  margin: 0 0 7px;
  color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
}

.payment-method__copy p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.payment-text-button {
  border: 0;
  border-bottom: 2px solid var(--crema);
  padding: 8px 0 6px;
  background: transparent;
  color: var(--crema);
  font-weight: 900;
  cursor: pointer;
}

.payment-text-button:hover,
.payment-text-button:focus-visible {
  border-bottom-color: #fff;
  color: #fff;
  outline: none;
}

.deuna-stand {
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, #5b238a 0%, #471a6e 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.deuna-header-text {
  margin-bottom: 2px;
  color: #e2d1f7;
  font-size: 0.86rem;
}

.deuna-logo-title {
  margin-bottom: 14px;
  color: #2bd9c6;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.deuna-qr-container {
  position: relative;
  width: min(100%, 230px);
  margin: 0 auto;
  padding: 13px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.deuna-qr-img {
  display: block;
  width: 100%;
  height: auto;
}

.deuna-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5b238a;
  color: #00f5d4;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  line-height: 31px;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
}

.deuna-instructions {
  margin-top: 14px;
  text-align: left;
}

.deuna-instructions p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 6px 0 0;
  color: #f0e6ff;
  font-size: 0.78rem;
  line-height: 1.4;
}

.deuna-instructions span {
  flex: 0 0 auto;
  color: #ffd166;
}

/* =========================================================
   ANIMACIONES SUAVES
   No cambian la posición final del diseño pixel-perfect.
========================================================= */
@keyframes porterFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes porterFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.is-ready .hero__logo-wrap {
  animation: porterFadeUp 760ms ease-out both;
}

body.is-ready .hero__copy {
  animation: porterFadeUp 820ms 90ms ease-out both;
}

body.is-ready .hero__main-illustration {
  animation: porterFadeIn 850ms 120ms ease-out both;
}

body.is-ready .hero__small-character {
  animation: porterFadeUp 760ms 170ms ease-out both;
}

body.is-ready .welcome__copy,
body.is-ready .welcome__character {
  animation: porterFadeUp 760ms 190ms ease-out both;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.dish-slide {
  animation: porterFadeUp 420ms ease-out both;
}

.app-dialog[open] .app-dialog__panel {
  animation: porterFadeUp 220ms ease-out both;
}

@media (max-width: 680px) {
  .payments {
    margin-top: 58px;
  }

  .payments__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .payment-method--bank {
    justify-content: center;
    padding: 8px 0 20px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-ready .hero__logo-wrap,
  body.is-ready .hero__copy,
  body.is-ready .hero__main-illustration,
  body.is-ready .hero__small-character,
  body.is-ready .welcome__copy,
  body.is-ready .welcome__character,
  .dish-slide,
  .app-dialog[open] .app-dialog__panel {
    animation: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   AJUSTES MOBILE-FIRST DE USABILIDAD
   Mantienen intacta la portada aprobada y afinan menú,
   carrito, diálogos y pagos para teléfonos.
========================================================= */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
a,
label,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

#menu {
  scroll-margin-top: 12px;
}

.menu-carousel {
  touch-action: pan-x pan-y;
}

.dish-card__button,
.action-link,
.payment-text-button,
.dialog-confirm {
  min-height: 46px;
}

.order-item__remove,
.dialog-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-dialog,
.app-dialog__panel {
  overscroll-behavior: contain;
}

.app-dialog {
  max-height: calc(100dvh - 24px);
}

.app-dialog__panel {
  max-height: calc(100dvh - 24px);
}

.bank-data dd {
  overflow-wrap: anywhere;
}

.toast {
  bottom: max(20px, env(safe-area-inset-bottom));
}

@media (max-width: 680px) {
  /* La portada permanece sin cambios. Desde aquí se compacta el contenido funcional. */
  .menu {
    min-height: 0;
    padding: 64px 14px max(62px, calc(48px + env(safe-area-inset-bottom)));
  }

  .menu__inner {
    width: 100%;
  }

  .menu__title {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .menu__intro {
    max-width: 310px;
    margin: 8px auto 18px;
    padding-inline: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Categorías en una sola línea desplazable: evita 3 filas en pantallas estrechas. */
  .menu__categories {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    margin-inline: -14px;
    padding: 0 14px 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .menu__categories::-webkit-scrollbar {
    display: none;
  }

  .menu__categories button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 2px 6px;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.92rem;
  }

  .menu__products {
    margin-top: 24px;
  }

  .menu-carousel {
    margin-inline: -14px;
    padding: 84px 0 22px;
  }

  .menu-track {
    gap: 14px;
    padding-inline: 7vw;
  }

  .dish-slide {
    width: 86vw;
    flex-basis: 86vw;
  }

  .dish-card {
    min-height: 392px;
    padding: 140px 18px 20px;
    border-radius: 30px;
  }

  .dish-card__image-wrap {
    top: -74px;
    width: clamp(196px, 55vw, 220px);
    height: clamp(196px, 55vw, 220px);
    border-width: 4px;
  }

  .dish-card__title {
    font-size: clamp(1.35rem, 6vw, 1.55rem);
  }

  .dish-card__description {
    min-height: 38px;
    margin-bottom: 14px;
    font-size: 0.86rem;
  }

  .dish-card__price-row {
    margin-bottom: 14px;
  }

  .dish-card__button {
    padding-block: 11px;
  }

  .menu-carousel__controls {
    display: none;
  }

  /* Carrito: botones táctiles de al menos 44px. */
  .order-summary {
    width: 100%;
    margin-top: 28px;
    padding-top: 20px;
  }

  .order-summary h3 {
    margin-bottom: 12px;
    font-size: 1.55rem;
  }

  .order-item {
    padding: 14px 0 16px;
  }

  .order-item__top {
    align-items: flex-start;
  }

  .order-item__remove {
    width: 44px;
    height: 44px;
    margin-top: -6px;
    font-size: 1.65rem;
  }

  .quantity-control {
    gap: 8px;
  }

  .quantity-button {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .order-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 20px;
  }

  .action-link {
    width: 100%;
    text-align: center;
  }

  /* Diálogos cómodos para una mano y sin salirse del viewport. */
  .app-dialog {
    width: min(calc(100vw - 24px), 430px);
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }

  .app-dialog__panel {
    max-height: calc(100dvh - 24px);
    padding: 18px;
    border-radius: 22px;
  }

  .app-dialog__header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .app-dialog__header h2 {
    font-size: 1.55rem;
  }

  .dialog-close {
    width: 44px;
    height: 44px;
    margin: -8px -8px 0 0;
  }

  .option-choice {
    min-height: 48px;
    padding: 11px 0;
  }

  .option-choice input {
    width: 20px;
    height: 20px;
  }

  .dialog-price {
    margin-top: 16px;
  }

  .dialog-confirm {
    min-height: 48px;
    margin-top: 14px;
  }

  /* Pagos apilados y centrados. */
  .payments {
    width: 100%;
    margin-top: 48px;
    padding-top: 30px;
  }

  .payments__heading {
    margin-bottom: 20px;
    padding-inline: 8px;
  }

  .payments__heading h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .payments__heading > p:last-child {
    font-size: 0.9rem;
  }

  .payments__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .payment-method--bank {
    justify-content: center;
    padding: 4px 0 18px;
    text-align: center;
  }

  .payment-method__copy {
    max-width: 310px;
  }

  .payment-method__copy h3 {
    font-size: 1.6rem;
  }

  .deuna-stand {
    width: min(100%, 310px);
    padding: 19px 14px 16px;
    border-radius: 24px;
  }

  .deuna-qr-container {
    width: min(100%, 214px);
    padding: 11px;
    border-radius: 17px;
  }

  .deuna-instructions {
    max-width: 240px;
    margin: 13px auto 0;
  }
}

@media (max-width: 380px) {
  .menu {
    padding-inline: 12px;
    padding-top: 56px;
  }

  .menu__categories {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .menu-carousel {
    margin-inline: -12px;
  }

  .dish-card {
    min-height: 382px;
    padding-inline: 16px;
  }

  .dish-card__description {
    font-size: 0.82rem;
  }

  .order-item__bottom {
    gap: 8px;
  }

  .bank-data > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 9px 0;
  }

  .bank-data dd {
    color: rgba(23, 32, 21, 0.78);
  }

  .deuna-stand {
    width: 100%;
  }
}

/* =========================================================
   AJUSTE VISUAL FINAL
   Portada sin cuadrícula y tarjetas inspiradas en la
   referencia móvil suministrada.
========================================================= */

.hero__pattern {
  display: none;
}

.menu {
  padding-top: clamp(76px, 10vw, 118px);
  background:
    radial-gradient(circle at 50% 13%, rgba(235, 249, 178, .12), transparent 31rem),
    var(--verde-oscuro);
}

.menu__intro {
  max-width: 420px;
}

.menu__categories {
  margin-top: 10px;
}

.menu__categories button {
  border: 1px solid rgba(235, 249, 178, .34);
  border-radius: 999px;
  padding: 10px 16px;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.menu__categories button:hover,
.menu__categories button:focus-visible,
.category-button.is-active {
  border-color: var(--crema);
  background: var(--crema);
  color: var(--verde-profundo);
}

.menu__products {
  margin-top: 30px;
}

.menu-carousel {
  padding: 20px 0 28px;
}

.menu-track {
  gap: clamp(18px, 4vw, 34px);
  padding-inline: max(18px, calc((100vw - min(88vw, 390px)) / 2));
}

.dish-slide {
  width: min(88vw, 390px);
  flex-basis: min(88vw, 390px);
  opacity: .58;
  transform: scale(.965);
}

.dish-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 54px;
  background: linear-gradient(160deg, #f0ece9 0%, #ded9d5 100%);
  color: #0b0b0b;
  box-shadow: 0 26px 58px rgba(11, 24, 10, .38), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.dish-card__toolbar {
  position: absolute;
  z-index: 4;
  top: 27px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.dish-card__nav {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  color: #171717;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.dish-card__nav--more {
  flex-direction: column;
  gap: 3px;
}

.dish-card__nav--more span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.dish-card__image-wrap {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 378px;
  flex: 0 0 378px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e9e4e0;
  box-shadow: none;
  transform: none;
}

.dish-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, rgba(222, 217, 213, .96));
  pointer-events: none;
}

.dish-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
}

.dish-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 28px 28px;
}

.dish-card__title {
  margin: 0 0 4px;
  color: #090909;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(1.72rem, 7vw, 2.15rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.dish-card__description {
  min-height: 0;
  margin: 0 0 20px;
  color: #282828;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.3;
}

.dish-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: auto 0 20px;
}

.dish-card__price-label {
  color: #111;
  font-size: 1rem;
  font-weight: 900;
}

.dish-card__price {
  color: #090909;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.dish-card__button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 24px;
  padding: 12px 18px;
  background: #050505;
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.dish-card__button:hover,
.dish-card__button:focus-visible {
  border: 0;
  background: var(--verde-profundo);
  color: #fff;
  outline: 3px solid rgba(50, 87, 44, .24);
  outline-offset: 2px;
}

.dish-card__plus {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.order-summary {
  padding: 24px;
  border: 1px solid rgba(235, 249, 178, .25);
  border-radius: 28px;
  background: rgba(24, 51, 24, .45);
}

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

.action-link,
.payment-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 16px;
  padding: 11px 14px;
  text-align: center;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.action-link:hover,
.action-link:focus-visible,
.payment-action:hover,
.payment-action:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-2px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.action-link img,
.payment-action img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.action-link--whatsapp,
.payment-action--whatsapp {
  background: #21b954;
  color: #fff;
}

.action-link--bank,
.payment-action--bank {
  background: #ffdd00;
  color: #111;
}

.action-link--bank img {
  width: 82px;
  height: auto;
}

.action-link--deuna,
.payment-action--deuna {
  background: #5a2388;
  color: #fff;
}

.deuna-wordmark {
  color: #2bd9c6;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.payments {
  width: min(100%, 1000px);
}

.payments__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.payment-method--whatsapp,
.payment-method--bank {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .075);
  text-align: center;
}

.payment-method__brand--whatsapp {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.payment-method__bank-logo {
  width: min(100%, 190px);
  height: auto;
  margin: 0 auto 24px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #ffdd00;
}

.payment-method__copy h3 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 900;
}

.payment-action {
  width: 100%;
  margin-top: auto;
}

.deuna-stand {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.payment-action--deuna {
  margin-top: 16px;
}

.bank-dialog__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-dialog__heading > img {
  width: 92px;
  height: auto;
  padding: 8px;
  border-radius: 10px;
  background: #ffdd00;
}

.bank-copy-button {
  border: 0;
  border-radius: 16px;
  background: var(--verde-profundo);
  color: #fff;
}

@media (max-width: 780px) {
  .payments__grid {
    grid-template-columns: 1fr;
  }

  .payment-method--whatsapp,
  .payment-method--bank {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .hero__stage {
    height: 84.5vw;
  }

  .hero__title {
    font-size: 6.08vw;
  }

  .welcome__top-wave,
  .welcome__bottom-wave {
    height: 8.2vw;
  }

  .welcome__band {
    min-height: 14.8vw;
  }

  .welcome__title {
    font-size: 5.65vw;
  }

  .welcome__cta {
    font-size: 3.45vw;
  }

  .menu {
    padding-top: 62px;
  }

  .menu__categories {
    gap: 10px;
  }

  .menu__categories button {
    padding: 10px 14px;
  }

  .menu__products {
    margin-top: 18px;
  }

  .menu-carousel {
    padding: 12px 0 22px;
  }

  .menu-track {
    gap: 14px;
    padding-inline: 6vw;
  }

  .dish-slide {
    width: 88vw;
    flex-basis: 88vw;
  }

  .dish-card {
    min-height: clamp(560px, 158vw, 650px);
    border-radius: clamp(36px, 11vw, 50px);
  }

  .dish-card__toolbar {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .dish-card__nav {
    width: 42px;
    height: 42px;
  }

  .dish-card__image-wrap {
    height: clamp(300px, 92vw, 378px);
    flex-basis: clamp(300px, 92vw, 378px);
  }

  .dish-card__body {
    padding: 18px 22px 24px;
  }

  .dish-card__description {
    margin-bottom: 14px;
  }

  .dish-card__price-row {
    margin-bottom: 16px;
  }

  .dish-card__button {
    min-height: 58px;
    border-radius: 21px;
  }

  .order-summary {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .order-actions {
    grid-template-columns: 1fr;
  }

  .action-link {
    width: 100%;
  }

  .payment-method--bank {
    padding: 26px 20px;
  }
}

@media (max-width: 380px) {
  .dish-card {
    min-height: 550px;
  }

  .dish-card__image-wrap {
    height: 292px;
    flex-basis: 292px;
  }

  .dish-card__body {
    padding-inline: 18px;
  }

  .dish-card__title {
    font-size: 1.55rem;
  }

  .dish-card__description,
  .dish-card__price-label {
    font-size: .86rem;
  }

  .dish-card__price {
    font-size: 1.35rem;
  }
}

/* =========================================================
   AJUSTE RESPONSIVE DEL HERO — ESCRITORIO + MÓVIL
   Mantiene la composición aprobada, alinea logo/mancha,
   saca el follaje hacia los bordes y añade profundidad suave.
========================================================= */

.hero__logo,
.hero__palm,
.hero__leaf,
.hero__main-illustration,
.hero__small-character {
  filter: drop-shadow(0 9px 10px rgba(28, 48, 22, .17));
}

.hero__title {
  text-shadow: 0 4px 7px rgba(38, 60, 27, .16);
}

.welcome__title {
  text-shadow: 0 3px 6px rgba(65, 31, 22, .14);
}

.welcome__character,
.welcome__petals {
  filter: drop-shadow(0 7px 8px rgba(31, 55, 27, .15));
}

.welcome__top-wave {
  filter: drop-shadow(0 -7px 9px rgba(25, 47, 24, .12));
}

.welcome__bottom-wave {
  filter: drop-shadow(0 7px 9px rgba(25, 47, 24, .12));
}

@keyframes porterFadeUpMirror {
  from { opacity: 0; transform: scaleX(-1) translateY(16px); }
  to { opacity: 1; transform: scaleX(-1) translateY(0); }
}

body.is-ready .hero__small-character {
  animation: porterFadeUpMirror 760ms 170ms ease-out both;
}

/* Escritorio: composición amplia sin deformar ni superponer elementos. */
@media (min-width: 900px) {
  .hero__stage {
    width: min(100%, 1440px);
    height: clamp(650px, 52vw, 760px);
    margin-inline: auto;
  }

  .hero__logo-blob {
    top: -5%;
    left: 26%;
    width: 48%;
    height: 36%;
    border-radius: 46% 54% 52% 48% / 60% 49% 51% 40%;
  }

  .hero__right-blob {
    top: 24%;
    right: -5%;
    width: 45%;
    height: 74%;
  }

  .hero__palm {
    top: -10%;
    left: -5.5%;
    width: 23%;
    transform: scale(1.08, .96);
  }

  .hero__leaf {
    top: 2%;
    right: -4.5%;
    width: 16%;
  }

  .hero__logo-wrap {
    top: 0;
    left: 32%;
    width: 36%;
  }

  .hero__copy {
    top: 39%;
    left: 4.5%;
    width: 37%;
  }

  .hero__title {
    font-size: clamp(36px, 3.35vw, 51px);
    line-height: .98;
  }

  .hero__main-illustration {
    top: 29%;
    right: 3.5%;
    width: 34%;
  }

  .hero__small-character {
    top: 69%;
    left: 31%;
    width: 17%;
  }

  .hero__beans {
    top: 66%;
    right: 7%;
    width: 26%;
  }

  .hero__wave {
    height: 16%;
  }

  .welcome__top-wave,
  .welcome__bottom-wave {
    height: 68px;
  }

  .welcome__top-wave {
    margin-top: -25px;
  }

  .welcome__band {
    min-height: 142px;
  }

  .welcome__copy {
    transform: none;
  }

  .welcome__title {
    transform: none;
    font-size: 42px;
  }

  .welcome__cta {
    font-size: 24px;
  }

  .welcome__petals {
    top: -72%;
    left: 15%;
    width: 15%;
  }

  .welcome__character {
    right: 15%;
    top: 20%;
    width: 13%;
  }
}

/* Tabletas: transición proporcional entre ambas composiciones. */
@media (min-width: 681px) and (max-width: 899px) {
  .hero__stage {
    height: clamp(570px, 76vw, 650px);
  }

  .hero__logo-blob {
    left: 16%;
    width: 68%;
    height: 40%;
  }

  .hero__logo-wrap {
    left: 24%;
    width: 52%;
  }

  .hero__palm {
    top: -6%;
    left: -7%;
    width: 27%;
  }

  .hero__leaf {
    top: 2%;
    right: -6%;
    width: 20%;
  }

  .hero__copy {
    top: 43%;
    left: 3.5%;
    width: 44%;
  }

  .hero__main-illustration {
    top: 34%;
    right: -1%;
    width: 42%;
  }
}

/* Móvil: logo y mancha comparten centro; follaje sale del encuadre. */
@media (max-width: 680px) {
  .hero__stage {
    height: 84.5vw;
    min-height: 280px;
    max-height: 365px;
  }

  .hero__logo-blob {
    top: -8%;
    left: 13%;
    width: 74%;
    height: 46%;
    border-radius: 46% 54% 52% 48% / 60% 49% 51% 40%;
  }

  .hero__logo-wrap {
    top: 0;
    left: 20.5%;
    width: 59%;
  }

  .hero__palm {
    top: -7%;
    left: -10.5%;
    width: 29%;
    transform: scale(1.12, .95);
  }

  .hero__leaf {
    top: -1%;
    right: -8%;
    width: 22%;
  }

  .hero__copy {
    top: 42%;
    left: 1.8%;
    width: 48%;
  }

  .hero__title {
    font-size: clamp(19px, 6.08vw, 26px);
    line-height: .98;
  }

  .hero__main-illustration {
    top: 32%;
    right: -1.5%;
    width: 42%;
  }

  .hero__small-character {
    top: 73%;
    left: 28%;
    width: 22%;
  }

  .hero__beans {
    top: 67%;
    right: 4%;
    width: 29%;
  }

  .welcome__top-wave,
  .welcome__bottom-wave {
    height: 32px;
  }

  .welcome__top-wave {
    margin-top: -13px;
  }

  .welcome__band {
    min-height: 78px;
  }

  .welcome__copy {
    transform: none;
  }

  .welcome__title {
    transform: none;
    margin-bottom: 6px;
    font-size: clamp(22px, 6.2vw, 27px);
  }

  .welcome__cta {
    font-size: clamp(14px, 4vw, 17px);
  }

  .welcome__petals {
    top: -66%;
    left: 13%;
    width: 18%;
    transform: rotate(-18deg);
  }

  .welcome__character {
    top: 20%;
    right: 9%;
    width: 17%;
  }
}

@media (max-width: 360px) {
  .hero__stage {
    min-height: 294px;
  }

  .hero__title {
    font-size: 19px;
  }

  .welcome__band {
    min-height: 74px;
  }
}

/* Ajuste fino de portada: elementos anclados a los bordes y mayor respiro. */
@media (min-width: 900px) {
  .hero__logo-wrap {
    top: -6%;
  }

  .hero__logo-blob {
    top: -11%;
  }

  .hero__palm {
    top: -16%;
    left: -11%;
    width: 26%;
    transform: rotate(9deg) scale(1.08, .96);
    transform-origin: left top;
  }

  .hero__leaf {
    top: -4%;
    right: -8%;
    width: 18%;
    transform: rotate(-11deg);
    transform-origin: right top;
  }

  .welcome {
    padding-top: 58px;
  }

  .welcome__top-wave {
    margin-top: 0;
  }
}

@media (min-width: 681px) and (max-width: 899px) {
  .hero__logo-wrap {
    top: -5%;
  }

  .hero__logo-blob {
    top: -13%;
  }

  .hero__palm {
    top: -13%;
    left: -12%;
    width: 30%;
    transform: rotate(9deg) scale(1.1, .96);
    transform-origin: left top;
  }

  .hero__leaf {
    top: -5%;
    right: -10%;
    width: 22%;
    transform: rotate(-11deg);
    transform-origin: right top;
  }

  .welcome {
    padding-top: 48px;
  }

  .welcome__top-wave {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .hero__logo-wrap {
    top: -6%;
  }

  .hero__logo-blob {
    top: -14%;
  }

  .hero__palm {
    top: -13%;
    left: -15%;
    width: 32%;
    transform: rotate(9deg) scale(1.12, .95);
    transform-origin: left top;
  }

  .hero__leaf {
    top: -5%;
    right: -12%;
    width: 24%;
    transform: rotate(-12deg);
    transform-origin: right top;
  }

  .welcome {
    padding-top: 44px;
  }

  .welcome__top-wave {
    margin-top: 0;
  }
}

@media (max-width: 360px) {
  .welcome {
    padding-top: 38px;
  }
}

/* =========================================================
   MENÚ COMPACTO + PROFUNDIDAD DEL CARRUSEL
   La tarjeta central gana escala y enfoque; las vecinas
   permanecen visibles, más pequeñas y desenfocadas.
========================================================= */
.menu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(238, 247, 168, .11), transparent 24rem),
    radial-gradient(circle at 88% 62%, rgba(144, 169, 85, .17), transparent 31rem),
    linear-gradient(180deg, #31572c 0%, #294f29 100%);
}

.menu::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../img/menu-fondo-referencia.png") center bottom / min(900px, 100%) auto no-repeat;
  opacity: .1;
  pointer-events: none;
}

.menu::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 38, 17, .1), transparent 20%, transparent 80%, rgba(14, 38, 17, .1));
  pointer-events: none;
}

.menu__inner {
  position: relative;
  z-index: 1;
}

.menu__title {
  text-shadow: 0 7px 18px rgba(8, 28, 10, .38);
}

.menu__intro {
  text-shadow: 0 3px 8px rgba(6, 24, 8, .32);
}

.menu__categories button {
  box-shadow: inset 0 0 0 1px rgba(238, 247, 168, .1), 0 5px 12px rgba(8, 29, 10, .08);
}

.menu__categories button:hover,
.menu__categories button:focus-visible,
.category-button.is-active {
  box-shadow: 0 10px 22px rgba(9, 28, 10, .3), inset 0 1px 0 rgba(255, 255, 255, .65);
  transform: translateY(-2px);
}

.menu-track {
  --dish-width: clamp(300px, 28vw, 360px);
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  padding-inline: max(18px, calc((min(100vw, 1100px) - var(--dish-width)) / 2));
}

.dish-slide {
  width: var(--dish-width);
  flex-basis: var(--dish-width);
  opacity: .42;
  filter: blur(3.5px) saturate(.72);
  transform: scale(.88) translateY(12px);
  transform-origin: center center;
  transition: opacity 430ms ease, filter 430ms ease, transform 430ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform, filter, opacity;
}

.dish-slide.is-before {
  transform: scale(.88) translateX(10px) translateY(12px);
}

.dish-slide.is-after {
  transform: scale(.88) translateX(-10px) translateY(12px);
}

.dish-slide.is-active {
  z-index: 2;
  opacity: 1;
  filter: blur(0) saturate(1);
  transform: scale(1.025) translateY(-5px);
}

.dish-card {
  box-shadow:
    0 32px 72px rgba(8, 25, 9, .44),
    0 8px 20px rgba(8, 25, 9, .2),
    inset 0 1px 0 rgba(255, 255, 255, .88);
}

.dish-slide.is-active .dish-card {
  box-shadow:
    0 38px 82px rgba(5, 20, 7, .5),
    0 13px 28px rgba(5, 20, 7, .24),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}

.dish-card__nav {
  box-shadow: 0 8px 20px rgba(22, 22, 22, .15), inset 0 1px 0 rgba(255, 255, 255, .75);
}

.dish-card__button,
.action-link,
.payment-action,
.dialog-confirm {
  box-shadow: 0 13px 27px rgba(6, 20, 7, .22), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.order-summary,
.payment-method,
.deuna-stand {
  box-shadow: 0 24px 54px rgba(7, 24, 9, .34), inset 0 1px 0 rgba(255, 255, 255, .13);
}

/* Cierre decorativo basado en la referencia suministrada. */
.menu-ending {
  position: relative;
  height: clamp(340px, 38vw, 480px);
  margin: clamp(58px, 8vw, 96px) auto -72px;
  overflow: hidden;
  pointer-events: none;
}

.menu-ending__blob {
  position: absolute;
  background: rgba(231, 247, 163, .82);
  filter: drop-shadow(0 16px 25px rgba(8, 25, 9, .2));
}

.menu-ending__blob--left {
  top: 2%;
  left: -10%;
  width: 39%;
  height: 92%;
  border-radius: 38% 62% 48% 52% / 22% 35% 65% 78%;
  transform: rotate(-6deg);
}

.menu-ending__blob--right {
  right: -9%;
  bottom: -8%;
  width: 34%;
  height: 74%;
  border-radius: 58% 42% 32% 68% / 42% 31% 69% 58%;
  transform: rotate(7deg);
}

.menu-ending__art {
  position: absolute;
  z-index: 2;
  display: block;
  max-width: none;
  opacity: 0;
  filter: drop-shadow(0 10px 13px rgba(10, 29, 10, .25));
  transition: opacity 420ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.menu-ending__art.is-loaded {
  opacity: .9;
}

.menu-ending__bananas {
  top: 7%;
  left: -4%;
  width: clamp(180px, 27%, 300px);
  transform: rotate(-8deg);
}

.menu-ending__tongue {
  top: 4%;
  right: 4%;
  width: clamp(74px, 10%, 120px);
  transform: rotate(7deg);
}

.menu-ending__happy {
  left: 22%;
  bottom: 8%;
  width: clamp(82px, 12%, 135px);
  transform: rotate(-5deg);
}

.menu-ending__house {
  right: 8%;
  bottom: 43%;
  width: clamp(72px, 9%, 108px);
  transform: rotate(3deg);
}

.menu-ending__cup {
  right: 15%;
  bottom: 8%;
  width: clamp(80px, 10%, 120px);
  transform: rotate(9deg);
}

@media (max-width: 680px) {
  .menu::before {
    background-size: 100% auto;
    opacity: .12;
  }

  .menu-track {
    --dish-width: clamp(260px, 72vw, 310px);
    gap: 18px;
    padding-inline: calc((100vw - var(--dish-width)) / 2);
  }

  .menu-carousel {
    padding: 24px 0 34px;
  }

  .dish-slide,
  .dish-slide.is-before,
  .dish-slide.is-after {
    opacity: .36;
    filter: blur(4px) saturate(.66);
    transform: scale(.84) translateY(12px);
  }

  .dish-slide.is-before {
    transform: scale(.84) translateX(9px) translateY(12px);
  }

  .dish-slide.is-after {
    transform: scale(.84) translateX(-9px) translateY(12px);
  }

  .dish-slide.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1.025) translateY(-4px);
  }

  .dish-card {
    min-height: 480px;
    border-radius: 32px;
  }

  .dish-card__image-wrap {
    height: clamp(225px, 62vw, 255px);
    flex-basis: clamp(225px, 62vw, 255px);
  }

  .dish-card__body {
    padding: 15px 17px 18px;
  }

  .dish-card__title {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }

  .dish-card__description {
    margin-bottom: 10px;
    font-size: .83rem;
  }

  .dish-card__price-row {
    margin-bottom: 12px;
  }

  .dish-card__price-label {
    font-size: .86rem;
  }

  .dish-card__price {
    font-size: 1.35rem;
  }

  .dish-card__button {
    min-height: 52px;
    border-radius: 18px;
    padding: 9px 12px;
    font-size: .88rem;
  }

  .dish-card__toolbar {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .dish-card__nav {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .menu-ending {
    height: 330px;
    margin-top: 58px;
    margin-bottom: max(-62px, calc(-48px - env(safe-area-inset-bottom)));
  }

  .menu-ending__blob--left {
    left: -23%;
    width: 58%;
  }

  .menu-ending__blob--right {
    right: -20%;
    width: 54%;
  }

  .menu-ending__bananas {
    left: -16%;
    width: 58%;
  }

  .menu-ending__tongue {
    right: 4%;
    width: 18%;
  }

  .menu-ending__happy {
    left: 18%;
    width: 20%;
  }

  .menu-ending__house {
    right: 8%;
    width: 17%;
  }

  .menu-ending__cup {
    right: 17%;
    width: 18%;
  }
}

@media (max-width: 360px) {
  .menu-track {
    --dish-width: 260px;
  }

  .dish-card {
    min-height: 462px;
  }

  .dish-card__image-wrap {
    height: 220px;
    flex-basis: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dish-slide,
  .menu-ending__art,
  .menu__categories button {
    transition: none !important;
  }
}

/* Ajuste final: arte integrado al fondo de pagos y tarjetas apenas menores. */
.menu-track {
  --dish-width: clamp(290px, 26vw, 340px);
}

.dish-card {
  min-height: 610px;
}

.dish-card__image-wrap {
  height: 350px;
  flex-basis: 350px;
}

.payments {
  position: relative;
  isolation: isolate;
  padding-bottom: 24px;
}

.payments__heading,
.payments__grid {
  position: relative;
  z-index: 2;
}

.payments .menu-ending {
  position: absolute;
  z-index: 0;
  top: -42px;
  left: 50%;
  width: 100vw;
  max-width: 1440px;
  height: calc(100% + 84px);
  margin: 0;
  overflow: hidden;
  transform: translateX(-50%);
}

.payments .menu-ending__blob {
  opacity: .48;
  filter: drop-shadow(0 14px 22px rgba(8, 25, 9, .14));
}

.payments .menu-ending__art.is-loaded {
  opacity: .38;
}

.payment-method {
  position: relative;
  z-index: 1;
}

@media (max-width: 680px) {
  .menu-track {
    --dish-width: clamp(250px, 68vw, 292px);
  }

  .dish-card {
    min-height: 450px;
  }

  .dish-card__image-wrap {
    height: clamp(208px, 57vw, 238px);
    flex-basis: clamp(208px, 57vw, 238px);
  }

  .dish-card__body {
    padding: 14px 16px 17px;
  }

  .payments {
    padding-bottom: 0;
  }

  .payments .menu-ending {
    top: -26px;
    height: calc(100% + 52px);
  }

  .payments .menu-ending__blob {
    opacity: .56;
  }

  .payments .menu-ending__art.is-loaded {
    opacity: .42;
  }

  .payments .menu-ending__bananas {
    top: 9%;
    left: -12%;
    width: 52%;
  }

  .payments .menu-ending__tongue {
    top: 4%;
    right: 4%;
    width: 17%;
  }

  .payments .menu-ending__happy {
    bottom: 7%;
  }

  .payments .menu-ending__house {
    bottom: 36%;
  }

  .payments .menu-ending__cup {
    bottom: 7%;
  }

  .menu {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .menu-track {
    --dish-width: 248px;
  }

  .dish-card {
    min-height: 438px;
  }

  .dish-card__image-wrap {
    height: 202px;
    flex-basis: 202px;
  }
}

/* =========================================================
   APERTURA ONDULADA + ÚLTIMOS AJUSTES DE DENSIDAD VISUAL
========================================================= */
.page-opening {
  position: relative;
  z-index: 2;
  height: clamp(52px, 6.5vw, 78px);
  margin-bottom: -5px;
  overflow: hidden;
  background: var(--verde-oscuro);
}

.page-opening svg {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  display: block;
  width: 100%;
  height: calc(clamp(30px, 4.5vw, 48px) + 6px);
  filter: drop-shadow(0 -5px 8px rgba(16, 45, 17, .18));
}

.page-opening path {
  fill: var(--verde-claro);
  stroke: var(--verde-claro);
  stroke-width: 4px;
  paint-order: stroke fill;
}

/* El solape elimina la costura subpíxel entre la onda y la portada. */
.hero {
  position: relative;
  z-index: 1;
}

/* Profundidad adicional sin endurecer la composición. */
.hero__logo {
  filter: drop-shadow(0 12px 14px rgba(21, 48, 19, .29));
}

.hero__palm,
.hero__leaf {
  filter: drop-shadow(0 10px 11px rgba(30, 42, 21, .24));
}

.hero__main-illustration {
  filter: drop-shadow(0 13px 15px rgba(31, 48, 24, .24));
}

.hero__small-character {
  filter: drop-shadow(0 9px 10px rgba(29, 44, 23, .22));
}

.hero__logo-blob,
.hero__right-blob {
  filter: drop-shadow(0 12px 18px rgba(39, 65, 29, .13));
}

.hero__title {
  text-shadow: 0 6px 10px rgba(33, 54, 25, .24);
}

.welcome__title {
  text-shadow: 0 5px 9px rgba(65, 31, 22, .22);
}

.welcome__character,
.welcome__petals {
  filter: drop-shadow(0 9px 10px rgba(29, 48, 24, .22));
}

.welcome__top-wave {
  filter: drop-shadow(0 -9px 12px rgba(20, 43, 21, .18));
}

.welcome__bottom-wave {
  filter: drop-shadow(0 9px 12px rgba(20, 43, 21, .18));
}

.menu__categories button {
  box-shadow:
    inset 0 0 0 1px rgba(238, 247, 168, .15),
    0 8px 16px rgba(8, 29, 10, .18);
}

/* Botones de acción finales compactos, sin perder área táctil. */
.payment-action,
.action-link {
  width: min(100%, 238px);
  min-height: 44px;
  margin-right: auto;
  margin-left: auto;
  padding: 9px 16px;
  font-size: .8rem;
}

.payment-action--deuna {
  margin-top: 13px;
}

.order-actions {
  justify-items: center;
}

/* La base de los plátanos se construye como una mancha con varios lóbulos. */
.payments .menu-ending__blob--left {
  top: auto;
  bottom: -34px;
  left: -8%;
  width: clamp(300px, 43vw, 490px);
  height: clamp(300px, 34vw, 410px);
  overflow: visible;
  border-radius: 43% 57% 36% 64% / 58% 38% 62% 42%;
  transform: rotate(-13deg);
}

.payments .menu-ending__blob--left::before,
.payments .menu-ending__blob--left::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: inherit;
  border-radius: 50%;
}

.payments .menu-ending__blob--left::before {
  top: -18%;
  right: -15%;
  width: 68%;
  height: 58%;
  transform: rotate(18deg);
}

.payments .menu-ending__blob--left::after {
  bottom: -12%;
  left: 19%;
  width: 63%;
  height: 57%;
  transform: rotate(-11deg);
}

.payments .menu-ending__bananas {
  top: auto;
  bottom: 1%;
  left: -5%;
  width: clamp(190px, 28%, 310px);
}

@media (max-width: 680px) {
  .page-opening {
    height: clamp(58px, 16vw, 74px);
  }

  .page-opening svg {
    height: clamp(30px, 9vw, 40px);
  }

  /* Casi tres categorías visibles y margen limpio a ambos lados. */
  .menu__categories {
    gap: 6px;
    margin-inline: 6px;
    padding: 0 0 9px;
  }

  .menu__categories button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: clamp(.7rem, 3vw, .8rem);
  }

  .payment-action,
  .action-link {
    width: min(82%, 225px);
    min-height: 44px;
    padding: 8px 14px;
    font-size: .78rem;
  }

  .payments .menu-ending__blob--left {
    bottom: -28px;
    left: -23%;
    width: clamp(270px, 76vw, 350px);
    height: clamp(280px, 84vw, 380px);
  }

  .payments .menu-ending__bananas {
    top: auto;
    bottom: 1%;
    left: -15%;
    width: 55%;
  }
}

@media (max-width: 360px) {
  .menu__categories {
    margin-inline: 3px;
  }

  .menu__categories button {
    padding-inline: 8px;
    font-size: .69rem;
  }
}

/* Tarjetas de platos compactas en teléfono: centro completo y laterales visibles. */
@media (max-width: 680px) {
  .menu-carousel {
    padding: 18px 0 28px;
  }

  .menu-track {
    --dish-width: clamp(164px, 42vw, 188px);
    gap: clamp(10px, 3vw, 14px);
    padding-inline: calc((100vw - var(--dish-width)) / 2);
  }

  .dish-slide,
  .dish-slide.is-before,
  .dish-slide.is-after {
    opacity: .5;
    filter: blur(3px) saturate(.72);
    transform: scale(.86) translateY(8px);
  }

  .dish-slide.is-before {
    transform: scale(.86) translateX(5px) translateY(8px);
  }

  .dish-slide.is-after {
    transform: scale(.86) translateX(-5px) translateY(8px);
  }

  .dish-slide.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1.025) translateY(-3px);
  }

  .dish-card {
    min-height: 345px;
    border-radius: 24px;
  }

  .dish-card__image-wrap {
    height: clamp(154px, 41vw, 178px);
    flex-basis: clamp(154px, 41vw, 178px);
  }

  .dish-card__toolbar {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .dish-card__nav {
    width: 31px;
    height: 31px;
    font-size: 1.35rem;
  }

  .dish-card__nav--more {
    gap: 2px;
  }

  .dish-card__nav--more span {
    width: 4px;
    height: 4px;
  }

  .dish-card__body {
    padding: 10px 11px 12px;
  }

  .dish-card__title {
    margin-bottom: 3px;
    font-size: clamp(1rem, 4.3vw, 1.15rem);
    line-height: 1.04;
  }

  .dish-card__description {
    margin-bottom: 7px;
    font-size: .7rem;
    line-height: 1.24;
  }

  .dish-card__price-row {
    gap: 6px;
    margin-bottom: 8px;
  }

  .dish-card__price-label {
    font-size: .68rem;
  }

  .dish-card__price {
    font-size: 1.02rem;
  }

  .dish-card__button {
    min-height: 44px;
    gap: 7px;
    border-radius: 14px;
    padding: 6px 8px;
    font-size: .69rem;
    line-height: 1.08;
  }

  .dish-card__plus {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .menu-track {
    --dish-width: 160px;
  }

  .dish-card {
    min-height: 336px;
  }

  .dish-card__image-wrap {
    height: 150px;
    flex-basis: 150px;
  }
}

/* Vista móvil tipo escritorio: tres tarjetas del menú dentro del ancho útil. */
@media (max-width: 680px) {
  .menu-carousel {
    margin-inline: -14px;
    padding: 16px 0 24px;
  }

  .menu-track {
    --dish-width: clamp(104px, 30.5vw, 128px);
    gap: 8px;
    padding-inline: calc((100vw - var(--dish-width)) / 2);
  }

  .dish-slide,
  .dish-slide.is-before,
  .dish-slide.is-after {
    opacity: .58;
    filter: blur(2.2px) saturate(.78);
    transform: scale(.92) translateY(5px);
  }

  .dish-slide.is-before {
    transform: scale(.92) translateX(2px) translateY(5px);
  }

  .dish-slide.is-after {
    transform: scale(.92) translateX(-2px) translateY(5px);
  }

  .dish-slide.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1.02) translateY(-2px);
  }

  .dish-card {
    min-height: 265px;
    border-radius: 19px;
  }

  .dish-card__image-wrap {
    height: clamp(104px, 30vw, 126px);
    flex-basis: clamp(104px, 30vw, 126px);
  }

  .dish-card__toolbar {
    top: 7px;
    right: 7px;
    left: 7px;
  }

  .dish-card__nav {
    width: 25px;
    height: 25px;
    font-size: 1.05rem;
  }

  .dish-card__nav--more span {
    width: 3px;
    height: 3px;
  }

  .dish-card__body {
    padding: 8px 8px 9px;
  }

  .dish-card__title {
    margin-bottom: 2px;
    font-size: clamp(.76rem, 3.2vw, .88rem);
    line-height: 1.03;
    letter-spacing: -.025em;
  }

  .dish-card__description {
    margin-bottom: 5px;
    font-size: .57rem;
    line-height: 1.18;
  }

  .dish-card__price-row {
    gap: 4px;
    margin-bottom: 6px;
  }

  .dish-card__price-label {
    font-size: .55rem;
    line-height: 1.1;
  }

  .dish-card__price {
    font-size: .86rem;
  }

  .dish-card__button {
    min-height: 42px;
    gap: 4px;
    border-radius: 11px;
    padding: 5px 5px;
    font-size: .56rem;
    line-height: 1.05;
  }

  .dish-card__plus {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    font-size: .82rem;
  }

  /* Pagos como tarjetas compactas y llamativas. */
  .payments__grid {
    gap: 11px;
  }

  .payment-method--whatsapp,
  .payment-method--bank {
    display: grid;
    min-height: 0;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    justify-content: initial;
    padding: 14px;
    border-radius: 20px;
    text-align: left;
  }

  .payment-method__brand--whatsapp {
    width: 50px;
    height: 50px;
    margin: 0 auto;
  }

  .payment-method__bank-logo {
    width: 66px;
    margin: 0;
    padding: 7px 6px;
    border-radius: 10px;
  }

  .payment-method__copy {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .payment-method__kicker {
    margin-bottom: 2px;
    font-size: .61rem;
    letter-spacing: .07em;
  }

  .payment-method__copy h3 {
    margin-bottom: 3px;
    font-size: 1.08rem;
    line-height: 1.05;
  }

  .payment-method__copy p {
    display: none;
  }

  .payment-method .payment-action {
    width: auto;
    min-width: 138px;
    min-height: 40px;
    margin: 7px 0 0;
    padding: 7px 12px;
    border-radius: 13px;
    font-size: .72rem;
  }

  .payment-method .payment-action img {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .deuna-stand {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 136px minmax(0, 1fr);
    grid-template-areas:
      "qr header"
      "qr logo"
      "qr instructions"
      "qr action";
    gap: 4px 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    text-align: left;
  }

  .deuna-header-text {
    grid-area: header;
    margin: 0;
    font-size: .68rem;
  }

  .deuna-logo-title {
    grid-area: logo;
    margin: 0 0 3px;
    font-size: 1.42rem;
  }

  .deuna-qr-container {
    grid-area: qr;
    width: 136px;
    margin: 0;
    padding: 7px;
    border-radius: 14px;
  }

  .deuna-center-badge {
    width: 27px;
    height: 27px;
    font-size: .74rem;
    line-height: 23px;
  }

  .deuna-instructions {
    grid-area: instructions;
    max-width: none;
    margin: 0;
  }

  .deuna-instructions p {
    gap: 4px;
    margin-top: 3px;
    font-size: .58rem;
    line-height: 1.25;
  }

  .deuna-stand .payment-action--deuna {
    grid-area: action;
    width: auto;
    min-width: 126px;
    min-height: 40px;
    margin: 5px 0 0;
    padding: 7px 10px;
    border-radius: 13px;
    font-size: .7rem;
  }
}

@media (max-width: 360px) {
  .menu-carousel {
    margin-inline: -12px;
  }

  .menu-track {
    --dish-width: 101px;
    gap: 6px;
  }

  .dish-card {
    min-height: 254px;
  }

  .dish-card__image-wrap {
    height: 101px;
    flex-basis: 101px;
  }

  .deuna-stand {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 3px 9px;
    padding: 12px;
  }

  .deuna-qr-container {
    width: 118px;
  }
}


/* === Flujo de retiro / domicilio integrado al diseño existente === */
.app-dialog__panel--delivery{width:min(100%,620px)}
.delivery-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.delivery-option{position:relative;display:grid;min-height:92px;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:13px 14px;border:1px solid rgba(49,87,44,.16);border-radius:18px;background:rgba(255,255,255,.72);color:#172015;cursor:pointer;transition:transform 160ms ease,border-color 160ms ease,background 160ms ease,box-shadow 160ms ease}
.delivery-option:hover,.delivery-option:focus-within{transform:translateY(-1px);border-color:rgba(49,87,44,.4)}
.delivery-option.is-selected{border-color:rgba(49,87,44,.65);background:#eef7a8;box-shadow:inset 0 0 0 1px rgba(49,87,44,.14),0 8px 18px rgba(23,32,21,.08)}
.delivery-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.delivery-option__icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:13px;background:#31572c;color:#fff;font-size:1.3rem;font-weight:900}
.delivery-option strong,.delivery-option small{display:block}.delivery-option strong{margin-bottom:3px;font-size:.92rem;line-height:1.15}.delivery-option small{color:rgba(23,32,21,.72);font-size:.72rem;line-height:1.3}
.delivery-pickup-note{margin:12px 2px 2px;color:rgba(23,32,21,.72);font-size:.78rem;line-height:1.45}.delivery-fields{margin-top:14px}.delivery-fields[hidden],.delivery-pickup-note[hidden]{display:none!important}
.delivery-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delivery-field{display:grid;gap:6px;margin-top:10px}.delivery-field>span{color:#172015;font-size:.76rem;font-weight:900}
.delivery-field input,.delivery-field textarea{width:100%;border:1px solid rgba(49,87,44,.2);border-radius:14px;background:rgba(255,255,255,.82);color:#172015;font:inherit;font-size:.82rem;outline:none;transition:border-color 160ms ease,box-shadow 160ms ease,background 160ms ease}.delivery-field input{min-height:46px;padding:10px 12px}.delivery-field textarea{min-height:78px;padding:11px 12px;resize:vertical;line-height:1.4}.delivery-field input:focus,.delivery-field textarea:focus{border-color:#31572c;background:#fff;box-shadow:0 0 0 3px rgba(49,87,44,.11)}
.delivery-location{display:grid;gap:9px;margin-top:12px;padding:13px;border:1px dashed rgba(49,87,44,.32);border-radius:16px;background:rgba(238,247,168,.28)}.delivery-location__copy strong,.delivery-location__copy span{display:block}.delivery-location__copy strong{color:#172015;font-size:.82rem}.delivery-location__copy span{margin-top:2px;color:rgba(23,32,21,.68);font-size:.7rem}
.delivery-location__button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:7px;border:0;border-radius:13px;padding:9px 13px;background:#31572c;color:#fff;font:inherit;font-size:.78rem;font-weight:900;cursor:pointer;transition:transform 160ms ease,filter 160ms ease,opacity 160ms ease}.delivery-location__button:hover,.delivery-location__button:focus-visible{filter:brightness(1.06);transform:translateY(-1px);outline:2px solid #31572c;outline-offset:2px}.delivery-location__button:disabled{cursor:progress;opacity:.72;transform:none}.delivery-location__status{margin:0;color:rgba(23,32,21,.68);font-size:.7rem;line-height:1.35}.delivery-location__status.is-success{color:#245020;font-weight:800}.delivery-location__status.is-error{color:#8b2d24;font-weight:800}.delivery-confirm{width:100%;background:#21b954;color:#fff}
@media(max-width:680px){.app-dialog__panel--delivery{padding:17px}.delivery-options{grid-template-columns:1fr;gap:8px}.delivery-option{min-height:76px;grid-template-columns:38px minmax(0,1fr);padding:10px 12px;border-radius:15px}.delivery-option__icon{width:38px;height:38px;border-radius:11px;font-size:1.1rem}.delivery-field-grid{grid-template-columns:1fr;gap:0}.delivery-location{padding:11px}.delivery-location__button,.delivery-confirm{width:100%}}


/* Nota discreta del cargo de envases para pedidos fuera del local. */
.order-summary__packaging-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(238, 247, 168, .18);
  border-radius: 14px;
  background: rgba(238, 247, 168, .08);
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  line-height: 1.42;
}

.order-summary__packaging-note strong {
  color: var(--crema);
  font-weight: 900;
}

.order-summary__packaging-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crema);
  color: var(--verde-profundo);
  font-size: .8rem;
  font-weight: 900;
  line-height: 1;
}


/* === Ubicación de El Porteñito: acceso visible antes del menú + retiro en local === */
.restaurant-location {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 840px);
  margin: 0 auto 56px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(235, 249, 178, .42);
  border-radius: 26px;
  background: rgba(235, 249, 178, .96);
  box-shadow: 0 20px 42px rgba(12, 37, 15, .24), inset 0 1px 0 rgba(255, 255, 255, .68);
  color: var(--verde-profundo);
}

.restaurant-location::before,
.restaurant-location::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.restaurant-location::before {
  width: 138px;
  height: 138px;
  right: -74px;
  top: -82px;
  border: 20px solid rgba(142, 167, 84, .18);
}

.restaurant-location::after {
  width: 82px;
  height: 82px;
  left: 36%;
  bottom: -68px;
  border: 15px solid rgba(118, 31, 24, .08);
}

.restaurant-location__pin {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  background: var(--verde-profundo);
  box-shadow: 0 9px 18px rgba(41, 74, 40, .2);
}

.restaurant-location__pin svg {
  width: 29px;
  height: 29px;
  fill: var(--crema);
}

.restaurant-location__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.restaurant-location__eyebrow {
  margin: 0 0 2px;
  color: var(--vino);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.restaurant-location__copy h2 {
  margin: 0;
  color: var(--verde-profundo);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.02;
}

.restaurant-location__address {
  margin: 6px 0 0;
  color: rgba(29, 43, 24, .82);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
}

.restaurant-location__address span {
  display: block;
  margin-top: 1px;
  color: rgba(29, 43, 24, .57);
  font-size: .73rem;
  font-weight: 700;
}

.restaurant-location__map {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(41, 74, 40, .18);
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--verde-profundo);
  box-shadow: 0 8px 18px rgba(41, 74, 40, .18);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.restaurant-location__map svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.restaurant-location__map:hover,
.restaurant-location__map:focus-visible {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(41, 74, 40, .24);
  outline: 2px solid var(--crema);
  outline-offset: 3px;
}

/* Se reduce el aire superior porque ahora la tarjeta de ubicación abre el menú. */
.menu {
  padding-top: clamp(48px, 6vw, 72px);
}

/* Retiro en local: la dirección aparece solo al seleccionar “Para llevar”. */
.delivery-pickup-note {
  display: grid;
  gap: 10px;
  margin: 12px 2px 2px;
  padding: 12px;
  border: 1px solid rgba(49, 87, 44, .2);
  border-radius: 17px;
  background: rgba(238, 247, 168, .34);
  color: rgba(23, 32, 21, .76);
  font-size: .78rem;
  line-height: 1.42;
}

.pickup-location {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.pickup-location__pin {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--verde-profundo);
}

.pickup-location__pin svg {
  width: 21px;
  height: 21px;
  fill: var(--crema);
}

.pickup-location__copy span,
.pickup-location__copy strong,
.pickup-location__copy small {
  display: block;
}

.pickup-location__eyebrow {
  margin-bottom: 2px;
  color: var(--vino);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pickup-location__copy strong {
  color: #172015;
  font-size: .8rem;
  line-height: 1.25;
}

.pickup-location__copy small {
  margin-top: 3px;
  color: rgba(23, 32, 21, .65);
  font-size: .68rem;
  line-height: 1.32;
}

.pickup-location__map {
  display: inline-flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(49, 87, 44, .24);
  border-radius: 12px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .65);
  color: var(--verde-profundo);
  font-size: .71rem;
  font-weight: 900;
  text-decoration: none;
}

.pickup-location__map:hover,
.pickup-location__map:focus-visible {
  background: #fff;
  outline: 2px solid rgba(49, 87, 44, .25);
  outline-offset: 2px;
}

.pickup-location__packaging {
  margin: -1px 1px 0;
  color: rgba(23, 32, 21, .61);
  font-size: .68rem;
}

@media (max-width: 680px) {
  .menu {
    padding-top: 38px;
  }

  .restaurant-location {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 46px;
    padding: 15px;
    border-radius: 22px;
  }

  .restaurant-location__pin {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .restaurant-location__pin svg {
    width: 24px;
    height: 24px;
  }

  .restaurant-location__eyebrow {
    font-size: .61rem;
  }

  .restaurant-location__copy h2 {
    font-size: clamp(1.35rem, 6.8vw, 1.7rem);
  }

  .restaurant-location__address {
    font-size: .76rem;
  }

  .restaurant-location__address span {
    font-size: .66rem;
  }

  .restaurant-location__map {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
    margin-top: 1px;
    padding: 9px 14px;
  }
}

@media (max-width: 360px) {
  .restaurant-location {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
  }

  .restaurant-location__pin {
    width: 42px;
    height: 42px;
  }
}
