:root {
  /* Paleta tomada del borrador de Stitch (espresso / oro / crema) */
  --espresso-950: #0c0b0a;
  --espresso-900: #121110;
  --espresso-850: #181615;
  --espresso-800: #211e1c;
  --espresso-700: #2d2926;
  --gold-300: #e5ca8b;
  --gold-400: #d4af37;
  --gold-500: #c5a059;
  --gold-600: #9d7c38;
  --cream-50: #faf8f5;
  --cream-100: #f5f0e8;
  --cream-200: #e6ded3;
  --cream-muted: #b9ae9f;
  --wa: #1f8f4e;

  --line: rgba(197, 160, 89, 0.28);
  --line-soft: rgba(197, 160, 89, 0.14);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --gutter: 20px;
  --topbar-h: 56px;
  --nav-h: 54px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--espresso-950);
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

.shell {
  max-width: 428px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 40% at 50% 0%, rgba(212, 175, 55, 0.10), transparent 70%),
    var(--espresso-900);
  box-shadow: 0 0 0 1px var(--line-soft);
  padding-bottom: 96px;
  overflow-x: clip;
}

:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 4px; }

/* Monograma tipográfico (no hay logo real) */
.mono {
  display: inline-grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid var(--gold-500);
  background: linear-gradient(135deg, var(--espresso-800), var(--espresso-950));
}
.mono > span {
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: -0.02em;
}
.mono--sm { width: 26px; height: 26px; }
.mono--sm > span { font-size: 11px; }
.mono--lg {
  width: 74px; height: 74px;
  outline: 1px solid var(--line);
  outline-offset: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mono--lg > span { font-size: 28px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(18, 17, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.topbar__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--cream-50); }
.topbar__tag {
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--gold-500);
}

/* Aviso de demo */
.demo-note {
  margin: 12px var(--gutter) 0;
  padding: 8px 12px;
  border: 1px dashed var(--gold-600);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gold-300);
  background: rgba(157, 124, 56, 0.10);
  text-align: center;
}

/* Hero */
.hero { text-align: center; padding: 40px var(--gutter) 32px; }
.hero .mono--lg { margin-bottom: 26px; }
.hero__eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-muted);
}
.hero__eyebrow i { font-family: var(--font-display); color: var(--gold-500); letter-spacing: 0; text-transform: none; font-size: 14px; }
.hero__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 13vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--gold-300);
  text-shadow: 0 2px 24px rgba(212, 175, 55, 0.18);
}
.hero__title em { font-weight: 400; font-size: 0.6em; color: var(--cream-100); }
.hero__quote {
  margin-top: 18px;
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--cream-200);
}

/* Nav de categorías */
.cats {
  position: sticky; top: var(--topbar-h); z-index: 20;
  background: rgba(18, 17, 16, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.cats__list {
  display: flex; gap: 8px;
  height: var(--nav-h); align-items: center;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cats__list::-webkit-scrollbar { display: none; }
.pill {
  display: inline-block; white-space: nowrap;
  scroll-snap-align: start;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  color: var(--cream-200);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.pill:hover { border-color: var(--gold-500); color: var(--gold-300); }
.pill:active { transform: scale(0.96); }
.pill.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--espresso-950); font-weight: 700; }

/* Secciones */
.sec {
  padding: 40px var(--gutter) 8px;
  scroll-margin-top: calc(var(--topbar-h) + var(--nav-h) + 4px);
}
.sec__head { position: relative; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sec__num {
  display: block;
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--gold-500);
  letter-spacing: 0.1em;
}
.sec__title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 27px; line-height: 1.15;
  color: var(--cream-50);
}
.sec__sub { margin-top: 4px; font-size: 13px; color: var(--cream-muted); }

/* Pasteles: presentaciones */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size {
  display: grid; gap: 4px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--espresso-850);
}
.size--whole {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.14), var(--espresso-850) 60%);
}
.size__label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-200); }
.size__price { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--gold-300); }
.size__desc { font-size: 12px; color: var(--cream-muted); line-height: 1.4; }

.flav__title {
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-500);
}
.flav__title::before, .flav__title::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

.flav { display: flex; flex-wrap: wrap; gap: 8px; }
.flav li {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--espresso-800);
  border: 1px solid var(--espresso-700);
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--cream-100);
}
.flav li.is-fav { border-color: var(--gold-600); color: var(--gold-300); }
.flav li.is-fav::before { content: "✦ "; font-size: 11px; color: var(--gold-400); }
.legend { margin-top: 12px; font-size: 12px; color: var(--cream-muted); }
.legend .star { color: var(--gold-400); }

/* Panadería */
.vitrina {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 60px 16px;
  background: var(--espresso-850);
  color: var(--cream-200);
  font-size: 14px;
}
.vitrina__title { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-300); margin-bottom: 8px; }

/* Lista de productos estilo carta */
.items { display: grid; gap: 18px; }
.item__row { display: flex; align-items: baseline; gap: 8px; }
.item__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 18px; line-height: 1.25;
  color: var(--cream-50);
  min-width: 0;
}
.item__name small {
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px; color: var(--cream-muted);
  margin-left: 4px; white-space: nowrap;
}
.item__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--gold-600); transform: translateY(-4px); }
.item__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gold-300); white-space: nowrap; }
.item__desc { margin-top: 3px; font-size: 13px; color: var(--cream-muted); }
.item__opts {
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--gold-600);
  font-size: 12.5px; line-height: 1.55;
  color: var(--cream-200);
}

.note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--cream-200);
}
.note__title { font-weight: 700; color: var(--gold-300); margin-bottom: 2px; }

/* Extras */
.extras { display: grid; gap: 0; }
.extras li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px; color: var(--cream-100);
}
.extras b { font-family: var(--font-display); color: var(--gold-300); }

/* Footer */
.foot { text-align: center; padding: 48px var(--gutter) 24px; }
.foot__quote { margin-top: 18px; font-family: var(--font-display); font-style: italic; color: var(--gold-300); }
.foot__small { margin-top: 10px; font-size: 11px; color: var(--cream-muted); }

/* CTA sticky WhatsApp */
.cta {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(388px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5ca8b, #c5a059 60%, #9d7c38);
  color: var(--espresso-950);
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);
}
.cta:hover { filter: brightness(1.06); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.cta:active { transform: translateX(-50%) scale(0.97); }
.cta:focus-visible { outline-color: var(--cream-50); }
.cta__icon { width: 20px; height: 20px; color: var(--espresso-950); }
