﻿:root {
  --ink: #2a1814;
  --ink-soft: rgba(42, 24, 20, 0.72);
  --brand: #6a2017;
  --brand-2: #a13a25;
  --brand-light: #f7d9c8;
  --paper: #fff8f3;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(42, 24, 20, 0.12);
  --line-strong: rgba(42, 24, 20, 0.2);
  --ok: #1f9f5d;
  --shadow-soft: 0 14px 34px rgba(42, 24, 20, 0.1);
  --shadow-strong: 0 24px 46px rgba(42, 24, 20, 0.16);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(920px 420px at 8% -4%, rgba(247, 217, 200, 0.65), transparent 62%),
    radial-gradient(760px 360px at 96% -2%, rgba(106, 32, 23, 0.18), transparent 64%),
    linear-gradient(180deg, #fff9f6 0%, #fff4ef 100%);
  line-height: 1.48;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(106, 32, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 32, 23, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  z-index: -1;
}

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

strong {
  font-weight: 800;
}

.container {
  width: min(100% - 26px, var(--maxw));
  margin: 0 auto;
}

.muted {
  color: var(--ink-soft);
}

.mt12 {
  margin-top: 12px;
}

.mt16 {
  margin-top: 16px;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 247, 242, 0.88);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  transition: min-height 0.24s var(--ease);
}

.topbar--compact .topbar__inner {
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand__logo img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand__logo--fallback {
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__tag {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.iconbtn:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .iconbtn:hover {
    box-shadow: var(--shadow-strong);
    background: #fff7f1;
  }
}

.iconbtn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

/* Nav panel */
.navOverlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 10, 9, 0.44);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.navPanel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(88vw, 360px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 14px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(500px 300px at 84% 12%, rgba(247, 217, 200, 0.2), transparent 60%),
    linear-gradient(180deg, #6a2017, #3d1812);
  transform: translateX(108%);
  transition: transform 0.24s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.28);
}

.navPanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px 12px;
}

.navPanel__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
}

.navPanel__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.navLink {
  display: block;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease);
}

.navLink:active {
  transform: scale(0.985);
}

@media (hover: hover) {
  .navLink:hover {
    background: rgba(255, 255, 255, 0.16);
  }
}

.navLink--active {
  background: rgba(247, 217, 200, 0.2);
  border-color: rgba(247, 217, 200, 0.34);
}

.navPanel__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.navPanel__mini {
  font-size: 13px;
  opacity: 0.95;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .navOverlay {
  opacity: 1;
}

body.nav-open .navPanel {
  transform: translateX(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.btn:active {
  transform: scale(0.985);
}

.btn--primary {
  background: linear-gradient(145deg, var(--brand), #4a170f);
  color: #ffe9df;
  border-color: rgba(255, 233, 223, 0.2);
  box-shadow: 0 16px 32px rgba(106, 32, 23, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(42, 24, 20, 0.08);
}

.btn--wide {
  width: 100%;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.actions .btn {
  width: 100%;
}

.topbar__inner .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.topbar__inner .actions .btn {
  width: auto;
}

/* Catálogo (mobile) - acciones rápidas fuera del header */
.catQuickActions {
  display: none;
  margin-top: 14px;
  gap: 10px;
}

.catQuickActions__wa {
  grid-column: 1 / -1;
}

/* Botón “chocolate” sutil (WhatsApp) */
.btn--choco {
  position: relative;
  overflow: hidden;
}

.btn--choco::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: -8px;
  height: 16px;
  background-image: radial-gradient(circle at 10px 2px, rgba(255, 233, 223, 0.55) 0 6px, transparent 7px);
  background-size: 24px 16px;
  background-repeat: repeat-x;
  opacity: 0.32;
  pointer-events: none;
}

@keyframes chocoDrip {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 24px 0;
  }
}

@media (hover: hover) {
  .btn--choco:hover::after {
    animation: chocoDrip 2.6s linear infinite;
  }
}

.btn--choco:active::after {
  animation: chocoDrip 1.2s linear infinite;
}

/* Botón flotante "gooey" (gotas reales cayendo) */
.waGoo {
  position: relative;
  overflow: visible;
  filter: url(#goo);
}

.waGoo__label {
  position: relative;
  z-index: 2;
}

.waGoo__drops {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 38px;
  pointer-events: none;
  z-index: 1;
}

.waDrop {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(74, 23, 15, 0.92);
  transform: translateY(-10px);
  opacity: 0;
  animation: waDropFall 2.1s ease-in-out infinite;
}

.waDrop--1 { left: calc(22% + var(--tilt-x, 0px) * 0.5); animation-delay: 0s; }
.waDrop--2 { left: calc(52% + var(--tilt-x, 0px) * 0.35); width: 14px; height: 14px; animation-delay: 0.45s; opacity: 0; }
.waDrop--3 { left: calc(78% + var(--tilt-x, 0px) * 0.5); animation-delay: 1.05s; }

@keyframes waDropFall {
  0% { opacity: 0; transform: translateY(-12px) scale(0.85); }
  18% { opacity: 0.9; transform: translateY(-4px) scale(1); }
  58% { opacity: 0.65; transform: translateY(22px) scale(0.95); }
  85% { opacity: 0; transform: translateY(34px) scale(0.9); }
  100% { opacity: 0; transform: translateY(34px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .waDrop { animation: none; opacity: 0; }
}

/* Derrame “screen wipe” (sutil) */
.chocoSpill {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0;
}

.chocoSpill.is-active {
  animation: chocoWipe 2.8s ease-out forwards;
}

@keyframes chocoWipe {
  0% {
    opacity: 0;
    background: radial-gradient(160px 60px at 70% 0%, rgba(74, 23, 15, 0.55), transparent 70%);
    transform: translateY(-18px);
  }
  20% {
    opacity: 0.72;
  }
  65% {
    opacity: 0.34;
    background: linear-gradient(180deg, rgba(74, 23, 15, 0.30), rgba(74, 23, 15, 0) 62%);
    transform: translateY(18px);
  }
  100% {
    opacity: 0;
    transform: translateY(36px);
  }
}

/* Botón flotante (mobile) */
.waFloat {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(66, 24, 18, 0.35);
  transform: translateY(calc(16px + var(--tilt-y, 0px)))
    translateX(var(--tilt-x, 0px))
    rotate(var(--tilt-rot, 0deg));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  letter-spacing: 0.2px;
}

.waFloat.is-visible {
  opacity: 1;
  transform: translateY(calc(0px + var(--tilt-y, 0px)))
    translateX(var(--tilt-x, 0px))
    rotate(var(--tilt-rot, 0deg));
  pointer-events: auto;
}

/* Llama atención cuando aparece (hasta que gyro se active) */
.waFloat.is-visible:not(.gyro-on) {
  animation: waFloatBob 3.2s ease-in-out infinite;
}

@keyframes waFloatBob {
  0% { transform: translateY(calc(0px + var(--tilt-y, 0px))) translateX(var(--tilt-x, 0px)) rotate(var(--tilt-rot, 0deg)); }
  50% { transform: translateY(calc(-4px + var(--tilt-y, 0px))) translateX(var(--tilt-x, 0px)) rotate(var(--tilt-rot, 0deg)); }
  100% { transform: translateY(calc(0px + var(--tilt-y, 0px))) translateX(var(--tilt-x, 0px)) rotate(var(--tilt-rot, 0deg)); }
}

/* Content cards */
main.container {
  padding-top: 18px;
  padding-bottom: 8px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.card + .card {
  margin-top: 14px;
}

.card--inner {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.pageTitle {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.06;
}

.pageDesc {
  margin: 10px 0 0;
  color: var(--ink-soft);
  max-width: 72ch;
}

.aboutPageHero {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

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

.card__title {
  margin: 0;
  font-size: 18px;
  font-family: var(--serif);
}

.card__text {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

/* Hero section */
.heroCard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-strong);
  padding: 20px;
}

.heroCard__bg {
  position: absolute;
  inset: -36%;
  pointer-events: none;
  background:
    radial-gradient(760px 360px at 8% 10%, rgba(247, 217, 200, 0.95), transparent 64%),
    radial-gradient(640px 360px at 95% 8%, rgba(106, 32, 23, 0.24), transparent 64%);
}

.heroCard__content {
  position: relative;
  z-index: 2;
}

.heroPill {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 32, 23, 0.18);
  background: rgba(106, 32, 23, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.dot {
  opacity: 0.5;
}

.miniTag {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.heroTitle {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 7.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.3px;
}

.quote {
  color: var(--brand);
}

.heroDesc {
  margin: 12px 0 0;
  color: var(--ink-soft);
  max-width: 64ch;
}

.heroActions {
  margin-top: 16px;
}

.heroMeta {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.heroMeta__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(42, 24, 20, 0.08);
  padding: 12px;
}

.heroMeta__icon {
  font-size: 19px;
  margin-bottom: 6px;
}

.heroMeta__k {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 800;
}

.heroMeta__v {
  margin-top: 3px;
  font-weight: 900;
}

/* Cacao block */
.cacaoCard {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  background: rgba(255, 255, 255, 0.92);
}

.cacaoCard__media {
  position: relative;
  min-height: 230px;
  background-image: var(--bgimg, url('/assets/img/cacao.jpg'));
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.cacaoCard__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    radial-gradient(900px 300px at 12% 2%, rgba(247, 217, 200, 0.2), transparent 64%);
}

.cacaoCard__badgeRow {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: rgba(106, 32, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge--cacao2 {
  background: rgba(38, 23, 19, 0.8);
}

.cacaoCard__titleWrap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.cacaoCard__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 5vw, 34px);
  color: #fff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.cacaoCard__subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.cacaoCard__body {
  padding: 16px;
}

.storyGrid {
  display: grid;
  gap: 10px;
}

.storyItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  padding: 12px;
}

.storyIcon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(106, 32, 23, 0.12);
  background: rgba(247, 217, 200, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.storyTitle {
  font-weight: 900;
  font-size: 14px;
}

.storyText {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.cacaoSeal,
.cacaoCTA {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  padding: 14px;
}

.cacaoSeal {
  background:
    radial-gradient(620px 240px at 20% 0, rgba(247, 217, 200, 0.7), transparent 72%),
    rgba(255, 255, 255, 0.92);
}

.cacaoSeal__top {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}

.cacaoSeal__mid {
  margin-top: 2px;
  font-weight: 800;
}

.cacaoSeal__bot {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.cacaoCTATitle {
  font-weight: 900;
}

.cacaoCTAText {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* About strip (home) */
.aboutStrip {
  margin-top: 14px;
}

.aboutStrip__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(760px 280px at 18% 0, rgba(247, 217, 200, 0.72), transparent 70%),
    rgba(255, 255, 255, 0.9);
  padding: 18px;
}

.aboutStrip__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aboutStrip__icon {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), rgba(247, 217, 200, 0.62));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 18px 30px rgba(42, 24, 20, 0.2),
    0 0 0 7px rgba(255, 255, 255, 0.56);
  flex: 0 0 auto;
  font-size: 30px;
}

.aboutStrip__icon::before {
  content: "";
  position: absolute;
  inset: -62% -95%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.84) 50%, transparent 58%);
  transform: translateX(-132%) rotate(8deg);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.aboutStrip__icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-radius: 50%;
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.04);
}

.aboutStrip__icon--hero {
  width: 210px;
  height: 210px;
}

.aboutStrip__icon--hero img {
  object-position: center 38%;
}

@media (hover: hover) {
  .aboutStrip__icon img {
    transition: transform 0.26s var(--ease), filter 0.26s var(--ease);
  }

  .aboutStrip__icon {
    transition: box-shadow 0.26s var(--ease), transform 0.26s var(--ease);
  }

  .aboutStrip__icon:hover img {
    transform: scale(1.09);
    filter: saturate(1.1) contrast(1.06);
  }

  .aboutStrip__icon:hover {
    transform: translateY(-1px);
    box-shadow:
      0 24px 34px rgba(42, 24, 20, 0.24),
      0 0 0 8px rgba(255, 255, 255, 0.62),
      0 0 28px rgba(255, 224, 165, 0.42);
  }

  .aboutStrip__icon:hover::before {
    opacity: 1;
    animation: manuGlowSweep 1.05s var(--ease) 1;
  }
}

@keyframes manuGlowSweep {
  0% {
    transform: translateX(-132%) rotate(8deg);
  }

  100% {
    transform: translateX(132%) rotate(8deg);
  }
}

.aboutStrip__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
}

.aboutStrip__sub {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.aboutStrip__bullets {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.aboutBullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
}

.aboutBullet__i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(106, 32, 23, 0.14);
  background: rgba(247, 217, 200, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.aboutBullet__t {
  font-weight: 700;
  color: var(--ink-soft);
}

/* Menu page */
.menuGrid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.menuItem {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-soft);
}

.menuItem__media {
  position: relative;
  min-height: 188px;
  background-color: #efe3de;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.menuItem__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    radial-gradient(680px 260px at 10% 2%, rgba(247, 217, 200, 0.18), transparent 65%);
}

.menuItem__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.menuItem__titleWrap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.menuItem__title {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.menuItem__subtitle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.menuItem__body {
  padding: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  appearance: none;
  border: 1px solid rgba(106, 32, 23, 0.16);
  border-radius: 999px;
  background: rgba(247, 217, 200, 0.48);
  color: #4a1b14;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.chip:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .chip:hover {
    transform: translateY(-1px);
    background: rgba(247, 217, 200, 0.65);
    box-shadow: 0 10px 18px rgba(42, 24, 20, 0.12);
  }
}

.menuNote {
  margin-top: 11px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 900;
}

/* Catalog page (dinámico desde la app) */
.catControls {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.catControlRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.catControl {
  flex: 1 1 240px;
  min-width: 220px;
}

.catLabel {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.catInput,
.catSelect {
  width: 100%;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  color: var(--ink);
  outline: none;
}

.catInput:focus,
.catSelect:focus {
  border-color: rgba(106, 32, 23, 0.35);
  box-shadow: 0 12px 22px rgba(42, 24, 20, 0.12);
}

.catToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  font-size: 13px;
  color: var(--ink-soft);
  user-select: none;
}

.catReload {
  white-space: nowrap;
  padding-left: 14px;
  padding-right: 14px;
}

.catStatus {
  font-size: 12px;
  font-weight: 800;
}

.catalogGrid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.catEmpty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  color: var(--ink-soft);
}

.catCard .menuItem__body {
  display: grid;
  gap: 10px;
}

.catMeta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.catPrice {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand);
}

.catStock {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink-soft);
}

.catDetails {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
}

.catInfo {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink-soft);
}

.catInfo p {
  margin: 0;
}

.catInfo p + p {
  margin-top: 6px;
}

.catChips {
  gap: 8px;
}

.chip--tag {
  cursor: default;
  pointer-events: none;
  opacity: 0.95;
}

.badge--muted {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Contact page */
.contactProGrid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.contactProCard {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

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

.contactProIcon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(106, 32, 23, 0.14);
  background: rgba(247, 217, 200, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.contactProLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contactProValue {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 900;
}

/**** Footer ****/
.footer {
  margin-top: 18px;
  padding: 18px 0 28px;
  color: var(--ink-soft);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__muted {
  font-size: 13px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (min-width: 720px) {
  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .cacaoBottom {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    align-items: stretch;
  }

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

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .aboutStrip__icon {
    width: 128px;
    height: 128px;
  }

  .aboutStrip__icon img {
    width: 100%;
    height: 100%;
  }

  .aboutStrip__icon--hero {
    width: 270px;
    height: 270px;
  }
}

@media (max-width: 719px) {
  /* En móvil, los botones del header molestan: se pasan al card */
  .topbar__inner .actions {
    display: none;
  }

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

  .waFloat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .aboutStrip__icon {
    width: 88px;
    height: 88px;
  }

  .aboutStrip__icon img {
    width: 100%;
    height: 100%;
  }

  .aboutStrip__icon--hero {
    width: 220px;
    height: 220px;
  }
}

@media (min-width: 1024px) {
  .topbar__inner {
    min-height: 84px;
  }

  .heroCard {
    padding: 26px;
  }

  .pageTitle {
    font-size: clamp(36px, 3.2vw, 52px);
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
