@import url("variables.css?v=20260817a");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dc-ink);
  background: var(--dc-paper);
  min-height: 100vh;
  padding-bottom: calc(var(--cart-bar-h) + var(--safe-bottom) + 28px);
  -webkit-font-smoothing: antialiased;
}

/* Manchas de acuarela, como la carta impresa. Si hay foto de fondo, esa imagen las reemplaza. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-color: var(--dc-paper);
  background-image:
    radial-gradient(ellipse 90% 42% at 8% 6%, rgba(42, 157, 143, 0.28), transparent 70%),
    radial-gradient(ellipse 70% 36% at 96% 16%, rgba(232, 149, 90, 0.22), transparent 68%),
    radial-gradient(ellipse 80% 40% at 12% 46%, rgba(123, 107, 158, 0.2), transparent 72%),
    radial-gradient(ellipse 78% 38% at 92% 70%, rgba(90, 138, 90, 0.2), transparent 70%),
    radial-gradient(ellipse 64% 32% at 36% 94%, rgba(212, 160, 23, 0.16), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html.has-fondo-img body::before {
  background-image: var(--dc-fondo-img);
  background-position: top center;
  background-size: cover;
  opacity: var(--dc-fondo-img-opacidad, 1);
}

/* Velo claro para legibilidad del menú (por encima de la imagen de fondo) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--dc-paper) 55%, transparent) 0%,
    color-mix(in srgb, var(--dc-paper) 72%, transparent) 45%,
    color-mix(in srgb, var(--dc-paper) 88%, transparent) 100%
  );
}

html:not(.has-fondo-img) body::after {
  opacity: 0;
}

html.has-fondo-img body::after {
  opacity: calc(1 - var(--dc-fondo-img-opacidad, 1));
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(247, 248, 249, 0.72);
  border-bottom: 1px solid var(--dc-line);
  padding: 12px 14px 10px;
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.header-actions[hidden] {
  display: none !important;
}

.header-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 6px 4px;
  border: 1px solid rgba(42, 157, 143, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--dc-navy);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.header-action:hover:not(:disabled) {
  background: #fff;
  border-color: var(--dc-teal);
  transform: translateY(-1px);
}

.header-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.header-action.is-sent {
  border-color: var(--dc-teal);
  color: var(--dc-teal-deep);
  background: rgba(42, 157, 143, 0.12);
}

.header-action--mozo:not(:disabled):not(.is-sent) {
  border-color: rgba(212, 160, 23, 0.55);
  background: rgba(212, 160, 23, 0.12);
}

.header-action__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--dc-teal);
}

.header-action--mozo .header-action__icon {
  color: #9a7208;
}

.header-action__text {
  text-align: center;
}

.header-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
}

.header-top__spacer {
  display: block;
}

.brand {
  text-align: center;
  animation: brandIn 0.7s ease both;
}

.brand__home {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.brand__logo-img[hidden] {
  display: none !important;
}

.brand__logo {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--dc-teal);
}

.brand__tag {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-navy);
  font-weight: 600;
}

.btn-reset-pantalla {
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(42, 157, 143, 0.4);
  border-radius: 50%;
  background: #fff;
  color: var(--dc-teal-deep);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 28, 46, 0.08);
}

.btn-reset-pantalla:hover {
  background: rgba(42, 157, 143, 0.12);
  border-color: var(--dc-teal);
}

.btn-reset-pantalla[hidden],
body.is-staff-mode .btn-reset-pantalla {
  display: none !important;
}

.btn-reset-pantalla svg {
  display: block;
}

.deli-dialog[hidden] {
  display: none !important;
}

.deli-dialog {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  overflow: hidden;
}

.deli-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.45);
}

.deli-dialog__panel {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  max-height: 100%;
  margin: 0 auto;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.18);
  overflow-wrap: anywhere;
}

.deli-dialog__panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--dc-navy);
}

.deli-dialog__panel p {
  margin: 0 0 18px;
  color: var(--dc-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.deli-dialog__extra {
  min-width: 0;
  max-width: 100%;
}

.deli-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.deli-dialog__actions .btn-desk {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 767px) {
  .deli-dialog__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .deli-dialog__actions .btn-desk {
    width: 100%;
  }
}

.btn-desk {
  border: 0;
  border-radius: 25px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}

.btn-desk--primary {
  background: var(--dc-teal);
  color: #fff;
}

.btn-desk--ghost {
  background: var(--dc-surface);
  color: var(--dc-navy);
}

.btn-desk--danger {
  background: rgba(214, 69, 69, 0.12);
  color: #b42318;
}

.modo-alt {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.modo-alt[hidden] {
  display: none !important;
}

.modo-alt a {
  color: #c56a1a;
  text-decoration: none;
}

.modo-alt a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pedido-status {
  position: relative;
  z-index: 25;
  margin: 0;
  padding: 14px 16px 16px;
  background:
    linear-gradient(135deg, rgba(42, 157, 143, 0.14) 0%, rgba(90, 156, 186, 0.12) 45%, rgba(123, 107, 158, 0.1) 100%),
    rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(42, 157, 143, 0.22);
  animation: statusIn 0.45s ease both;
}

.pedido-status[hidden] {
  display: none !important;
}

.pedido-status__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pedido-status__eyebrow {
  margin: 0 0 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-muted);
}

.pedido-status.is-gracias {
  background:
    linear-gradient(135deg, rgba(42, 157, 143, 0.2) 0%, rgba(212, 160, 23, 0.14) 55%, rgba(123, 107, 158, 0.1) 100%),
    rgba(251, 250, 247, 0.94);
}

.pedido-status.is-gracias .pedido-status__eyebrow {
  display: none;
}

.pedido-status.is-gracias .pedido-status__msg {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.pedido-status.is-gracias .pedido-status__steps,
.pedido-status.is-gracias .pedido-status__meta,
.pedido-status.is-gracias .pedido-status__clock {
  display: none;
}

.pedido-status__msg {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dc-navy);
  line-height: 1.35;
}

.pedido-status.is-gracias .pedido-status__msg {
  color: var(--dc-teal-deep);
}

.pedido-status__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 8px;
}

.pedido-status__meta[hidden] {
  display: none !important;
}

.pedido-status__nombre {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dc-navy);
  letter-spacing: 0.01em;
}

.pedido-status__nombre[hidden] {
  display: none !important;
}

.pedido-status__codigo {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 61, 58, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.28);
  color: var(--dc-teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.pedido-status__codigo[hidden] {
  display: none !important;
}

.pedido-status__clock {
  margin: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--dc-teal-deep);
}

.pedido-status__clock::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center 3px / 1.5px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 7px 6px / 4px 1.5px no-repeat;
}

.pedido-status__clock[hidden] {
  display: none !important;
}

.pedido-status__steps {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.pedido-status__steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 18px;
  height: 3px;
  background: rgba(27, 58, 92, 0.14);
  z-index: 0;
  border-radius: 99px;
}

.pedido-status__steps::after {
  content: "";
  position: absolute;
  left: 12%;
  width: calc(76% * var(--progress, 0));
  top: 18px;
  height: 3px;
  background: var(--dc-teal);
  z-index: 0;
  border-radius: 99px;
  transition: width 0.35s ease;
}

.pedido-status__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--dc-muted);
  opacity: 0.72;
}

.pedido-status__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(27, 58, 92, 0.22);
  background: #fff;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.pedido-status__dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
}

.pedido-status__label {
  max-width: none;
  width: 100%;
  padding: 0 2px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pedido-status__step.is-done {
  opacity: 1;
  color: var(--dc-navy);
  font-weight: 600;
}

.pedido-status__step.is-done:not(.is-current) .pedido-status__dot {
  border-color: var(--dc-teal);
  background: var(--dc-teal);
  color: #fff;
}

.pedido-status__step.is-done:not(.is-current) .pedido-status__dot::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) translate(1px, -1px);
}

.pedido-status__step.is-current {
  opacity: 1;
  color: var(--dc-teal-deep);
  font-weight: 700;
}

.pedido-status__step.is-current .pedido-status__dot {
  border-color: var(--dc-teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.18);
  transform: scale(1.08);
}

.pedido-status__step.is-current .pedido-status__dot::after {
  background: var(--dc-teal);
}

.pedido-status__hora {
  display: none;
}

@keyframes statusIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mesa-chip {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}

.mesa-chip[hidden] {
  display: none !important;
}

.mesa-chip label {
  font-size: 0.78rem;
  color: var(--dc-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

    .mesa-chip select {
        border: 1px solid var(--dc-line);
        background: var(--dc-white);
        border-radius: 25px;
        padding: 6px 12px;
        color: var(--dc-navy);
        min-width: 96px;
    }

.staff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(15, 61, 58, 0.08);
  border-bottom: 1px solid rgba(15, 61, 58, 0.12);
  color: var(--dc-navy);
}

.staff-bar[hidden] {
  display: none !important;
}

.staff-bar__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.staff-bar__back {
  color: var(--dc-teal-deep, #1f8a7d);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
}

.staff-bar__back:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.takeaway-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #f4e3c4;
  border-bottom: 2px solid #c56a1a;
  color: #6b3d0e;
}

.takeaway-bar[hidden] {
  display: none !important;
}

.compartir {
  position: relative;
  justify-self: start;
  z-index: 5;
}

.compartir[hidden],
body.is-staff-mode .compartir {
  visibility: hidden;
  pointer-events: none;
}

.compartir__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(42, 157, 143, 0.4);
  border-radius: 50%;
  background: #fff;
  color: var(--dc-teal-deep);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 28, 46, 0.08);
}

.compartir__btn[aria-expanded="true"],
.compartir__btn:hover {
  background: rgba(42, 157, 143, 0.12);
  border-color: var(--dc-teal);
}

.compartir__opciones {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6;
  display: grid;
  gap: 6px;
  width: 168px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 28, 46, 0.14);
}

.compartir__opciones[hidden] {
  display: none !important;
}

.compartir__op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--dc-line);
  background: #fff;
  color: var(--dc-navy);
  font-weight: 750;
  font-size: 0.95rem;
  cursor: pointer;
}

.compartir__op svg {
  color: var(--dc-teal-deep);
  flex: 0 0 auto;
}

.compartir__op small {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--dc-muted);
}

.qr-carta__box {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 8px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: 12px;
}

.qr-carta__box img,
.qr-carta__box canvas,
.qr-carta__box table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
}

.qr-carta__url {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--dc-muted);
  word-break: break-all;
}

.takeaway-bar__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.takeaway-bar__alt {
  color: #8a4b12;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}

.takeaway-bar__alt:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ig-carrusel {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.is-staff-mode .ig-carrusel,
.ig-carrusel[hidden] {
  display: none !important;
}

.ig-carrusel__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  background: #1a3d38;
  aspect-ratio: 16 / 9;
  max-height: min(48vw, 360px);
}

.ig-carrusel__track {
  position: absolute;
  inset: 0;
}

.ig-carrusel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.ig-carrusel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.ig-carrusel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ig-carrusel__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 61, 58, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.ig-carrusel__badge:hover {
  background: rgba(42, 157, 143, 0.92);
}

.ig-carrusel__dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 5px;
}

.ig-carrusel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.ig-carrusel__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

@media (min-width: 720px) {
  .ig-carrusel__frame {
    max-height: min(32vw, 420px);
  }
}

.pedido-status.is-takeaway {
  background:
    linear-gradient(135deg, rgba(197, 106, 26, 0.16) 0%, rgba(42, 157, 143, 0.1) 55%, rgba(244, 227, 196, 0.5) 100%),
    rgba(251, 250, 247, 0.94);
  border-bottom-color: rgba(197, 106, 26, 0.35);
}

body.is-staff-mode .app-header {
  padding-bottom: 8px;
}

.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: rgba(251, 250, 247, 0.72);
  border-bottom: 1px solid var(--dc-line);
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
  display: none;
}

.personas-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--dc-line);
}

.personas-bar[hidden],
.confirm-personas[hidden] {
  display: none !important;
}

.personas-bar__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dc-navy);
}

.personas-bar__hint {
  font-size: 0.82rem;
  color: var(--dc-muted);
  font-weight: 600;
}

.personas-bar__qty {
  flex: 0 0 auto;
}

.confirm-personas .personas-bar__qty {
  margin-top: 4px;
}

.confirm-personas__req {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a7208;
}

body.is-takeaway .personas-bar,
body.is-takeaway .confirm-personas {
  display: none !important;
}

.cat-nav__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--dc-line);
    background: rgba(255, 255, 255, 0.75);
    color: var(--dc-navy);
    border-radius: 16px;
    padding: 4px 12px 4px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cat-nav__foto {
  width: 48px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e8eef0;
  overflow: hidden;
}

img.cat-nav__foto {
  display: block;
}

span.cat-nav__foto {
  display: inline-grid;
  place-items: center;
}

.cat-nav__foto.is-empty {
  color: var(--dc-navy);
}

.cat-nav__foto svg {
  width: 18px;
  height: 18px;
}

.cat-nav__btn.is-active {
  background: var(--dc-navy);
  color: #fff;
  border-color: var(--dc-navy);
  transform: translateY(-1px);
}

.cat-nav__btn.is-active .cat-nav__foto.is-empty {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.menu {
  position: relative;
  z-index: 1;
  padding: 8px 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-section {
  margin: 0 0 18px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + var(--nav-h) + 8px);
  animation: sectionIn 0.55s ease both;
  padding: 8px 6px 2px;
  border-radius: 18px;
  background: var(--section-wash, transparent);
}

.menu-section__head {
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 8px;
  padding: 14px 14px 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-section__head.has-foto {
  padding: 10px 14px 10px 10px;
}

.menu-section__foto {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(15, 61, 58, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--dc-navy);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.menu-section__foto.is-empty svg {
  width: 32px;
  height: 32px;
}

img.menu-section__foto {
  display: block;
}

.menu-section__tit {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.menu-section__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-wash, var(--dc-wash-teal));
  opacity: 0.9;
}

.menu-section__title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dc-navy);
}

.menu-section__hint {
  position: relative;
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--dc-muted);
}

.product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--dc-line);
  transition: background 0.2s ease;
  min-width: 0;
  align-content: start;
}

.product.is-selected {
  grid-column: 1 / -1;
  background: rgba(42, 157, 143, 0.06);
  border-radius: var(--radius-sm);
  padding-left: 8px;
  padding-right: 8px;
}

.product__check {
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 4px;
}

.product__check input {
  width: 22px;
  height: 22px;
  accent-color: var(--dc-teal);
  cursor: pointer;
}

.product__main {
  min-width: 0;
}

.product__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.product__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dc-navy);
}

.product.is-agotado {
  opacity: 0.55;
}

.product.is-agotado .product__controls {
  pointer-events: none;
}

.product__badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--dc-nuevo);
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.product__price {
  margin: 0;
  font-weight: 700;
  color: var(--dc-navy);
  white-space: nowrap;
}

.product__desc {
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--dc-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product__controls {
  grid-column: 2;
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.product.is-selected .product__controls {
  display: flex;
  animation: fadeUp 0.25s ease both;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--dc-line);
    border-radius: 25px;
    background: #fff;
    overflow: hidden;
}

.qty button {
  border: 0;
  background: transparent;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--dc-navy);
  font-size: 1.1rem;
}

.qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--dc-navy);
}

.variant-select,
.obs-input {
  border: 1px solid var(--dc-line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: var(--dc-ink);
}

.variant-select {
  min-width: 120px;
}

.obs-input {
  flex: 1 1 160px;
  min-width: 140px;
}

.cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--dc-navy);
  border: 1px solid var(--dc-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--dc-shadow-lg);
  font-family: var(--font-body);
}

.cart-bar__info {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cart-bar__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dc-muted);
}

.cart-bar__amounts {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.cart-bar__total {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dc-navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cart-bar__meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dc-muted);
}

.cart-bar__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--dc-navy);
  border: 1px solid var(--dc-line);
}

.btn--ghost:hover:not(:disabled) {
  border-color: rgba(42, 157, 143, 0.45);
  background: rgba(42, 157, 143, 0.06);
}

.btn--primary {
  background: var(--dc-btn);
  color: var(--dc-btn-text);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--dc-btn) 28%, transparent);
}

.btn--primary:hover:not(:disabled) {
  background: var(--dc-teal-deep);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 40, 0.45);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  max-height: min(82vh, 720px);
  background: var(--dc-paper);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--dc-shadow);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
}

.sheet.is-open {
  transform: translateY(0);
}

.sheet__handle {
    width: 42px;
    height: 4px;
    border-radius: 25px;
    background: rgba(27, 58, 92, 0.2);
    margin: 10px auto 6px;
}

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 12px;
  border-bottom: 1px solid var(--dc-line);
}

.sheet__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--dc-navy);
  letter-spacing: 0.01em;
}

.sheet__title .dc-ico {
  color: var(--dc-teal-deep);
  flex: 0 0 auto;
}

.sheet__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dc-line);
  border-radius: 50%;
  background: #fff;
  color: var(--dc-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.sheet__body {
  overflow: auto;
  padding: 8px 16px 16px;
}

.cart-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--dc-line);
  border-radius: 14px;
}

.cart-item--extra {
  margin-top: -2px;
  background: #f3faf8;
}

.cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item__id {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.cart-item__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--dc-teal-deep);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.cart-item__name {
  margin: 0;
  font-weight: 750;
  color: var(--dc-navy);
  font-size: 0.92rem;
  line-height: 1.25;
}

.cart-item__meta {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--dc-muted);
  line-height: 1.35;
}

.cart-item__price {
  margin: 0;
  font-weight: 750;
  color: var(--dc-navy);
  white-space: nowrap;
  font-size: 0.95rem;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-item__remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--dc-nuevo);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 2px;
}

.cart-addons {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.cart-addons__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--dc-teal-deep);
}

.addon-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--dc-line);
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--dc-navy);
  font: inherit;
}

.addon-chip__ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--dc-paper);
  color: var(--dc-teal-deep);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.addon-chip__name {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.25;
}

.addon-chip__price {
  font-weight: 750;
  font-size: 0.8rem;
  white-space: nowrap;
}

.addon-chip.is-on {
  border-color: var(--dc-teal);
  background: rgba(42, 157, 143, 0.1);
}

.addon-chip.is-on .addon-chip__ico {
  background: var(--dc-teal);
  color: #fff;
}

.sheet__empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--dc-muted);
  padding: 28px 12px;
}

.sheet__empty .dc-ico {
  color: var(--dc-teal-deep);
}

.sheet__foot {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--dc-line);
  background: rgba(255, 255, 255, 0.7);
}

.sheet-modo {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--dc-navy);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.sheet-modo[hidden] {
  display: none !important;
}

.confirm-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.confirm-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--dc-navy);
  font-weight: 650;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-label__text {
  line-height: 1.2;
}

.field-ico {
  flex: 0 0 auto;
  color: var(--dc-teal-deep);
}

.sheet-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sheet-total__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dc-navy);
  font-weight: 750;
  font-size: 0.95rem;
}

.sheet-total__label svg {
  color: var(--dc-teal-deep);
}

.sheet-total strong {
  color: var(--dc-navy);
  font-size: 1.35rem;
}

.btn-enviar {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.qty button svg {
  display: block;
}

.confirm-form input,
.confirm-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--dc-line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--dc-ink);
  text-transform: none;
  letter-spacing: 0;
}

.toast {
  position: fixed;
  left: 0;
  right: 0;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  bottom: calc(var(--cart-bar-h) + 18px + var(--safe-bottom));
  transform: translateY(12px);
  z-index: 90;
  box-sizing: border-box;
  background: var(--dc-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Footer de contacto (debajo del menú, arriba de la barra de pedido) */
.site-footer {
  position: relative;
  z-index: 1;
  margin: 28px 16px calc(var(--cart-bar-h) + 20px + var(--safe-bottom));
}

.site-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(42, 157, 143, 0.18);
  box-shadow: 0 10px 28px rgba(27, 58, 92, 0.06);
  backdrop-filter: blur(8px);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.site-footer__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid rgba(42, 157, 143, 0.25);
  background: #fff;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dc-navy);
  line-height: 1.1;
}

.site-footer__handle {
  color: var(--dc-teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer__handle:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--dc-ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.site-footer__list a {
  color: var(--dc-navy);
  font-weight: 650;
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--dc-teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--dc-teal);
  display: inline-flex;
}

.site-footer__muted {
  color: var(--dc-muted);
  font-weight: 500;
}

.site-footer__hours.is-today {
  color: var(--dc-teal-deep);
  font-weight: 800;
}

.site-footer__sep {
  color: var(--dc-muted);
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__btn {
  flex: 1 1 auto;
  min-width: 96px;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.84rem;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 157, 143, 0.3);
  background: #fff;
  color: var(--dc-teal-deep);
}

.site-footer__btn:hover {
  background: rgba(42, 157, 143, 0.08);
}

.site-footer [hidden] {
  display: none !important;
}

.site-footer__btn--wa {
  background: #25d366;
  border-color: #1ebe57;
  color: #fff;
}

.site-footer__btn--wa:hover {
  background: #1ebe57;
  color: #fff;
}

@media (max-width: 640px) {
  .site-footer {
    margin-left: 12px;
    margin-right: 12px;
  }

  .site-footer__actions {
    flex-direction: column;
  }

  .site-footer__btn {
    width: 100%;
  }
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  text-align: center;
  padding: 48px 16px;
  color: var(--dc-muted);
}

/* Cortina de carga sutil */
.dc-loading {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(247, 248, 249, 0.42);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.dc-loading.is-on {
  opacity: 1;
  pointer-events: auto;
}

.dc-loading[hidden] {
  display: none !important;
}

.dc-loading.is-on[hidden] {
  display: grid !important;
}

.dc-loading__panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(42, 157, 143, 0.18);
  box-shadow: 0 12px 32px rgba(21, 41, 62, 0.08);
}

.dc-loading__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  animation: dc-loading-pulse 1.4s ease-in-out infinite;
}

.dc-loading__text {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--dc-navy);
}

.dc-loading__clock {
  width: 14px;
  height: 14px;
  border: 1.6px solid var(--dc-teal);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.dc-loading__clock::before,
.dc-loading__clock::after {
  content: "";
  position: absolute;
  background: var(--dc-teal);
  left: 50%;
  top: 50%;
  transform-origin: bottom center;
  border-radius: 1px;
}

.dc-loading__clock::before {
  width: 1.5px;
  height: 4px;
  margin-left: -0.75px;
  margin-top: -4px;
  animation: dc-loading-hand 1.2s linear infinite;
}

.dc-loading__clock::after {
  width: 1.5px;
  height: 3px;
  margin-left: -0.75px;
  margin-top: -3px;
  animation: dc-loading-hand 6s linear infinite;
}

@keyframes dc-loading-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.88;
  }
}

@keyframes dc-loading-hand {
  to {
    transform: rotate(360deg);
  }
}

.dc-net-toast {
  position: fixed;
  left: 0;
  right: 0;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  bottom: calc(var(--cart-bar-h) + 16px + var(--safe-bottom));
  z-index: 140;
  box-sizing: border-box;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 28px rgba(21, 41, 62, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-wrap: anywhere;
}

.dc-net-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dc-net-toast.is-off {
  background: #b42318;
}

.dc-net-toast.is-on {
  background: #1b7a4d;
}

.dc-net-toast[hidden] {
  display: none !important;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sectionIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .sheet,
  .cart-bar,
  .overlay {
    max-width: 100%;
  }

  .sheet {
    left: 0;
    right: 0;
    width: auto;
    overflow-x: hidden;
  }

  .cart-bar {
    left: 8px;
    right: 8px;
    width: auto;
    box-sizing: border-box;
  }

  .cart-bar__actions {
    flex-shrink: 1;
    min-width: 0;
  }

  .variant-select {
    min-width: 0;
    max-width: 100%;
  }

  body::before {
    background-attachment: scroll;
  }

  html.has-fondo-img body::before {
    background-size: cover;
  }

  .menu {
    padding: 6px 10px 20px;
  }

  .menu-section {
    margin: 0 0 14px;
    column-gap: 8px;
  }

  .menu-section__head {
    margin-bottom: 6px;
    padding: 10px 10px 8px;
  }

  .menu-section__foto {
    width: 72px;
    height: 54px;
    border-radius: 12px;
  }

  .menu-section__title {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .menu-section__hint {
    font-size: 0.68rem;
  }

  .product {
    gap: 6px 8px;
    padding: 8px 2px;
  }

  .product.is-selected {
    padding-left: 4px;
    padding-right: 4px;
  }

  .product__check {
    margin-top: 2px;
  }

  .product__check input {
    width: 18px;
    height: 18px;
  }

  .product__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .product__name {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .product__price {
    font-size: 0.72rem;
  }

  .product__desc {
    font-size: 0.62rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .product__controls {
    gap: 6px;
  }

  .qty button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .variant-select,
  .obs-input {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .obs-input {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Tablet / desktop */
@media (min-width: 768px) {
  body {
    padding-bottom: 32px;
  }

  .app-header {
    padding-inline: 28px;
  }

  .menu {
    padding-inline: 28px;
  }

  .menu-section {
    margin: 0 0 24px;
    column-gap: 16px;
  }

  .menu-section__head {
    margin-bottom: 10px;
  }

  .menu-section__foto {
    width: 120px;
    height: 88px;
    border-radius: 16px;
  }

  .menu-section__foto.is-empty svg {
    width: 40px;
    height: 40px;
  }

  .cat-nav__foto {
    width: 52px;
    height: 40px;
  }

  .cat-nav {
    padding-inline: 28px;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    top: auto;
    position: sticky;
  }

  .product {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }

  .product__check {
    grid-row: auto;
  }

  .product__controls {
    grid-column: 1 / -1;
    padding-left: 34px;
  }

  .cart-bar {
    left: 50%;
    right: auto;
    bottom: 24px;
    width: min(520px, calc(100% - 48px));
    transform: translateX(-50%);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
  }

  .sheet {
    left: 50%;
    right: auto;
    width: min(520px, calc(100% - 32px));
    transform: translate(-50%, 110%);
    border-radius: 22px;
    bottom: 24px;
  }

  .sheet.is-open {
    transform: translate(-50%, 0);
  }
}

@media (min-width: 1100px) {
  .menu-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
  }
}
