/* ============================================================
   MOZZAFIATO — Menú Digital
   El Placer del Buen Café
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap');

/* Baskerville — uses system font stack with web fallbacks */

:root {
  --bg:        #ede8dc;
  --bg2:       #e5dfd0;
  --gold:      #8b7a52;
  --gold-dark: #5e4f30;
  --gold-light:#c4ad82;
  --text:      #3a3020;
  --text-soft: #6b5d3f;
  --footer-bg: #3a3020;
  --footer-text:#d4c49a;
  --white:     #faf8f3;
  --sepia-filter: sepia(60%) brightness(0.92) contrast(1.08) saturate(0.7);
  --sidebar-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
/* ── SIDEBAR — floating glass ── */
.sidebar {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 220px;
  max-height: calc(100dvh - 20px);
  background: rgba(30,20,10,.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(196,173,130,.2);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  transform: scale(.88) translateY(-8px);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
}

.sidebar.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.sidebar-logo {
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(196,173,130,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-logo img {
  width: 90px;
  filter: brightness(0) invert(1) sepia(1) hue-rotate(5deg) saturate(.3) brightness(1.8);
}

.sidebar-close {
  background: none;
  border: none;
  color: rgba(196,173,130,.6);
  font-size: .85rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s;
}
.sidebar-close:hover { color: #ede8dc; }

.sidebar nav {
  flex: 1;
  padding: 6px 0;
  overflow-y: auto;
}

.sidebar nav a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  color: rgba(237,232,220,.6);
  text-decoration: none;
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: .93rem;
  letter-spacing: .01em;
  transition: background .2s, color .2s;
  border-left: 2px solid transparent;
  text-align: left;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(196,173,130,.1);
  color: #ede8dc;
  border-left-color: rgba(196,173,130,.7);
}

.sidebar-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(196,173,130,.1);
  font-size: .75rem;
  color: rgba(196,173,130,.5);
  line-height: 1.6;
  font-style: italic;
}

/* ── HAMBURGER ── */
.hamburger {
  display: flex;
  position: fixed;
  top: 14px; left: 14px;
  z-index: 201;
  background: rgba(237,232,220,.12);
  border: 1px solid rgba(196,173,130,.25);
  border-radius: 10px;
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.hamburger:hover { background: rgba(237,232,220,.2); }
.hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: #c4ad82;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
}
.sidebar-overlay.open { display: block; }

/* ══════════════════════════════
   MAIN CONTENT
══════════════════════════════ */
.main {
  margin-left: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 40px 30px;
  border-bottom: 1px solid rgba(139,122,82,.25);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.header-logo {
  width: 130px;
  filter: var(--sepia-filter) brightness(0.5) sepia(1) hue-rotate(-10deg);
  margin-bottom: 10px;
}

.page-title {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--gold-dark);
  letter-spacing: .01em;
  line-height: 1.1;
  text-align: center;
}

.page-subtitle {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

/* ── BOTANICAL CORNER DECO ── */
.deco-corner {
  position: absolute;
  opacity: .13;
  pointer-events: none;
}
.deco-corner.tl { top: 0; left: 0; width: 120px; transform: none; }
.deco-corner.tr { top: 0; right: 0; width: 120px; transform: scaleX(-1); }

/* ── CONTENT AREA ── */
.content {
  padding: 36px 48px 40px;
  flex: 1;
}

/* ── SECTION BLOCK ── */
.section-block {
  margin-bottom: 44px;
}

.section-heading {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(139,122,82,.3);
  padding-bottom: 8px;
  margin-bottom: 22px;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 60px; height: 2px;
  background: var(--gold);
}

/* ── HOURS TAG ── */
.hours-tag {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 36px; }

/* ── DISH CARD ── */
.dish-card {
  display: flex;
  flex-direction: column;
}

.dish-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.dish-name.bold-title {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.dish-desc {
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.dish-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold-dark);
}

/* ── ILLUSTRATED DISH — image+text side by side ── */
.dish-illustrated {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.dish-illustrated.reverse { direction: rtl; }
.dish-illustrated.reverse > * { direction: ltr; }

/* ── FOOD IMAGE (sepia + hover zoom) ── */
.food-img-wrap {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.food-img-wrap img {
  width: 100%;
  display: block;
  filter: var(--sepia-filter);
  transition: transform .5s cubic-bezier(.4,0,.2,1), filter .4s;
  transform-origin: center;
}

.food-img-wrap:hover img {
  transform: scale(1.06);
  filter: sepia(40%) brightness(0.96) contrast(1.12) saturate(0.75);
}

/* ── FOTO REAL LABEL ── */
.foto-real-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--gold-dark);
  background: rgba(237,232,220,.92);
  padding: 5px 16px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s;
}

.food-img-wrap:hover .foto-real-label { opacity: 1; }

@media (hover: none) {
  .foto-real-label { opacity: 1; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,14,8,.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; animation: lbFadeIn .25s ease; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  filter: none !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: lbZoomIn .3s cubic-bezier(.4,0,.2,1);
}
@keyframes lbFadeIn { from { opacity:0 } to { opacity:1 } }
@keyframes lbZoomIn { from { transform:scale(.85); opacity:0 } to { transform:scale(1); opacity:1 } }

/* ── PRICE ROW (for simple price lists) ── */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(139,122,82,.2);
  font-size: .9rem;
}
.price-row:last-child { border-bottom: none; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid rgba(139,122,82,.25);
  margin: 32px 0;
  position: relative;
}
.divider::after {
  content: '✦';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 12px;
  color: var(--gold-light);
  font-size: .75rem;
}

/* ── PASO/STEP (for pastas) ── */
.paso-heading {
  font-family: 'Great Vibes', cursive;
  font-style: normal;
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
  margin: 20px 0 16px;
  letter-spacing: .01em;
}

/* ── GRID IMAGE GALLERY (postres) ── */
.postre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.postre-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.postre-item .food-img-wrap {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 10px;
}

.postre-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--gold-dark);
  line-height: 1.4;
  margin-bottom: 2px;
}

.postre-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: .9rem;
  color: var(--gold);
  font-weight: 700;
}

/* ── PRICE BADGE ── */
.price-badge {
  display: inline-block;
  background: var(--gold-dark);
  color: var(--footer-text);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  padding: 2px 12px;
  letter-spacing: .06em;
}

/* ── NOTE ── */
.note {
  font-style: italic;
  font-size: .82rem;
  color: var(--gold);
  margin-top: 6px;
}

/* ── BEVERAGE GRID ── */
.bev-col {
  border-left: 2px solid rgba(139,122,82,.3);
  padding-left: 20px;
}

.bev-col:first-child { border-left: none; padding-left: 0; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 18px 32px;
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  letter-spacing: .04em;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--gold-light);
  text-decoration: none;
}

footer .footer-brand {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 2px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ── WHATSAPP FLOAT ── */
.wa-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 300;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }

/* ── PAGE ENTER ANIMATION ── */
.main { animation: pageIn .5s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .main { margin-left: 0; }
  .content { padding: 24px 20px 32px; }
  .page-header { padding: 60px 24px 24px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .dish-illustrated { grid-template-columns: 1fr; }
  .dish-illustrated.reverse { direction: ltr; }
  .postre-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .postre-grid { grid-template-columns: 1fr 1fr; }
  .page-title { font-size: 2rem; }
}


/* ══════════════════════════════
   CARRITO DE PEDIDO
══════════════════════════════ */

/* ── Botón + junto al nombre ── */
.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 8px;
  vertical-align: middle;
  transition: background .2s, color .2s, transform .15s;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--gold-dark); color: var(--footer-text); }
.add-btn.added { background: var(--gold); color: #fff; transform: scale(1.25); }

/* ── FAB botón flotante ── */
#carrito-fab {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 300;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(0,0,0,.28);
  transition: transform .2s, box-shadow .2s;
}
#carrito-fab:hover { transform: scale(1.08); box-shadow: 0 5px 22px rgba(0,0,0,.35); }
#carrito-fab svg { width: 22px; height: 22px; color: var(--footer-text); stroke: var(--footer-text); }

#carrito-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c0392b;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: .68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Feedback toast ── */
#carrito-feedback {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gold-dark);
  color: var(--footer-text);
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .88rem;
  padding: 7px 20px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 400;
}
#carrito-feedback.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Overlay ── */
#carrito-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 350;
}
#carrito-overlay.open { display: block; }

/* ── Panel flotante glass ── */
#carrito-panel {
  position: fixed;
  top: 66px;
  right: 10px;
  width: 300px;
  max-width: calc(100vw - 20px);
  max-height: calc(100dvh - 80px);
  background: rgba(30,20,10,.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(196,173,130,.2);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  z-index: 360;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#carrito-panel.open {
  display: flex;
  animation: cartSlideIn .25s cubic-bezier(.4,0,.2,1);
}
@keyframes cartSlideIn {
  from { opacity:0; transform:translateY(-10px) scale(.96); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* ── Header del panel ── */
.carrito-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(196,173,130,.12);
  background: transparent;
  flex-shrink: 0;
  position: relative;
}
.carrito-logo {
  width: 36px;
  filter: brightness(0) invert(1) sepia(1) brightness(1.8);
}
.carrito-title {
  font-family: 'Great Vibes', cursive;
  font-size: 1.55rem;
  color: #ede8dc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.carrito-close {
  background: none;
  border: none;
  color: rgba(196,173,130,.7);
  font-size: .9rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s;
}
.carrito-close:hover { color: #ede8dc; }

/* ── Vacío ── */
.carrito-empty {
  padding: 32px 20px;
  text-align: center;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  color: rgba(237,232,220,.65);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Lista de items ── */
.carrito-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  min-height: 0;
}
.carrito-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px dashed rgba(196,173,130,.1);
}
.carrito-row:last-child { border-bottom: none; }
.carrito-row-name {
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .93rem;
  color: rgba(237,232,220,.9);
  flex: 1;
  line-height: 1.4;
}
.carrito-row-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.carrito-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(196,173,130,.35);
  background: transparent;
  color: rgba(237,232,220,.8);
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.carrito-qty-btn:hover { background: rgba(196,173,130,.2); }
.carrito-qty {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: .9rem;
  color: #ede8dc;
  min-width: 18px;
  text-align: center;
}
.carrito-remove {
  background: none;
  border: none;
  color: rgba(196,173,130,.4);
  font-size: .72rem;
  cursor: pointer;
  padding: 2px 4px;
  transition: color .2s;
}
.carrito-remove:hover { color: rgba(192,57,43,.8); }

/* ── Acciones ── */
.carrito-actions {
  flex-direction: column;
  gap: 7px;
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
  border-top: 1px solid rgba(196,173,130,.1);
  flex-shrink: 0;
  background: transparent;
}
.carrito-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: rgba(37,211,102,.85);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .88rem;
  transition: background .2s;
}
.carrito-btn-wa:hover { background: rgba(37,211,102,1); }
.carrito-btn-clear {
  width: 100%;
  padding: 8px;
  background: rgba(237,232,220,.08);
  color: rgba(196,173,130,.85);
  border: 1px solid rgba(196,173,130,.2);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  transition: background .2s;
}
.carrito-btn-clear:hover { background: rgba(237,232,220,.15); }

/* ── Tisana type picker modal ── */
#tisana-picker, #generic-picker {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  animation: lbFadeIn .2s ease;
}
.tisana-picker-box {
  background: var(--bg);
  padding: 28px 24px 20px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.tisana-picker-title {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.tisana-picker-sub {
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.tisana-picker-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.tisana-picker-btns button {
  flex: 1;
  padding: 12px 8px;
  border: 1px solid rgba(139,122,82,.3);
  background: transparent;
  cursor: pointer;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-size: .88rem;
  color: var(--gold-dark);
  transition: background .2s, color .2s;
  line-height: 1.5;
}
.tisana-picker-btns button span {
  font-size: .75rem;
  color: var(--gold);
}
.tisana-picker-btns button:hover {
  background: var(--gold-dark);
  color: var(--footer-text);
}
.tisana-picker-btns button:hover span { color: var(--gold-light); }
.tisana-picker-cancel {
  background: none;
  border: none;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  color: var(--text-soft);
  cursor: pointer;
  padding: 4px 12px;
}

/* ── bev-item list style ── */
li[data-bev-item], .cafe-item[data-bev-item], .price-row[data-bev-item] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Pasta label clickable ── */
.pasta-label[data-pasta-tipo] {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* ── Pasta armar button ── */
.pasta-armar-btn {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--footer-text);
  background: var(--gold-dark);
  border: none;
  padding: 12px 32px;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.pasta-armar-btn:hover { background: var(--gold); transform: translateY(-1px); }

/* ── Pasta modal steps ── */
.pasta-modal-step { display:none; }
.pasta-modal-step.active { display:block; }
.pasta-options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 55vh;
  overflow-y: auto;
  margin: 12px 0;
}
.pasta-option-btn {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid rgba(139,122,82,.25);
  background: transparent;
  cursor: pointer;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  color: var(--gold-dark);
  transition: background .2s, color .2s;
  width: 100%;
}
.pasta-option-btn .opt-name {
  font-style: italic;
  font-size: .95rem;
  font-weight: bold;
  display: block;
}
.pasta-option-btn .opt-desc {
  font-size: .78rem;
  color: var(--text-soft);
  line-height: 1.4;
  margin-top: 2px;
  display: block;
}
.pasta-option-btn:hover { background: var(--gold-dark); color: var(--footer-text); }
.pasta-option-btn:hover .opt-desc { color: var(--gold-light); }
.pasta-option-btn.selected { background: rgba(139,122,82,.15); border-color: var(--gold); }
.pasta-step-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pasta-step-nav button {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(139,122,82,.3);
  background: transparent;
  cursor: pointer;
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-size: .88rem;
  color: var(--gold-dark);
  transition: background .2s;
}
.pasta-step-nav button.primary { background: var(--gold-dark); color: var(--footer-text); border-color: var(--gold-dark); }
.pasta-step-nav button:hover { opacity: .85; }
.pasta-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.pasta-progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(139,122,82,.25);
  transition: background .3s;
}
.pasta-progress-dot.active { background: var(--gold-dark); }
.pasta-summary {
  font-family: 'Baskerville', 'Baskerville Old Face', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  color: var(--gold);
  text-align: center;
  min-height: 18px;
  margin-bottom: 8px;
}

/* ══════════════════════════════
   MODO ACTIVO — botones + ocultos por defecto
══════════════════════════════ */
.add-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .2s, color .2s, transform .15s;
}

body.carrito-active .add-btn {
  opacity: 1;
  pointer-events: auto;
}

/* ── Mode toggle switch ── */
.carrito-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.carrito-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.carrito-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(139,122,82,.25);
  border-radius: 26px;
  cursor: pointer;
  transition: background .3s;
}

.carrito-toggle input:checked + .carrito-toggle-track {
  background: var(--gold-dark);
}

.carrito-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.carrito-toggle input:checked + .carrito-toggle-track .carrito-toggle-thumb {
  transform: translateX(20px);
}

/* ── Mode FAB (floating toggle) ── */
#mode-fab {
  position: fixed;
  bottom: 90px;
  right: 16px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
#mode-fab-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(237,232,220,.92);
  border: 1px solid rgba(139,122,82,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: background .25s, border-color .25s;
}
#mode-fab.mode-active #mode-fab-circle {
  background: #5e4f30;
  border-color: #5e4f30;
}
#mode-fab-label {
  font-family: 'Baskerville','Baskerville Old Face',Georgia,serif;
  font-style: italic;
  font-size: .62rem;
  color: #8b7a52;
  white-space: nowrap;
  transition: color .25s;
}
#mode-fab.mode-active #mode-fab-label { color: #5e4f30; }

/* ── Tutorial play button ── */
#tutorial-play-btn {
  position: fixed;
  bottom: 140px;
  right: 16px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
#tutorial-play-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(237,232,220,.92);
  border: 1px solid rgba(139,122,82,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: background .2s;
}
#tutorial-play-btn:hover #tutorial-play-circle { background: rgba(139,122,82,.18); }
#tutorial-play-label {
  font-family: 'Baskerville','Baskerville Old Face',Georgia,serif;
  font-style: italic;
  font-size: .62rem;
  color: #8b7a52;
  white-space: nowrap;
}

/* ── Tutorial tooltips ── */
@keyframes tutSlideIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════
   BUSCADOR FLOTANTE (pill draggable)
══════════════════════════════ */

#buscador-pill {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(237,232,220,.88);
  border: 1px solid rgba(139,122,82,.35);
  border-radius: 32px;
  padding: 10px 18px;
  cursor: grab;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 310;
  box-shadow: 0 3px 16px rgba(0,0,0,.15);
  transition: box-shadow .2s, background .2s, padding .3s cubic-bezier(.4,0,.2,1), gap .3s cubic-bezier(.4,0,.2,1), width .3s cubic-bezier(.4,0,.2,1), height .3s cubic-bezier(.4,0,.2,1), border-radius .3s cubic-bezier(.4,0,.2,1);
  user-select: none;
  touch-action: none;
  overflow: hidden;
}
#buscador-pill:active { cursor: grabbing; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
#buscador-pill.open { background: rgba(94,79,48,.92); }
#buscador-pill.collapsed {
  padding: 0;
  gap: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}
#buscador-pill-icon { color: #8b7a52; font-size: 17px; flex-shrink: 0; pointer-events: none; }
#buscador-pill.open #buscador-pill-icon { color: #ede8dc; }
#buscador-pill-text {
  font-family: 'Baskerville','Baskerville Old Face','Libre Baskerville',Georgia,serif;
  font-style: italic;
  font-size: .82rem;
  color: #8b7a52;
  pointer-events: none;
  max-width: 200px;
  transition: color .2s, max-width .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
#buscador-pill.collapsed #buscador-pill-text {
  max-width: 0;
  opacity: 0;
}
#buscador-pill.open #buscador-pill-text { color: #ede8dc; }

/* Panel */
#buscador-panel {
  position: fixed;
  background: var(--bg);
  border: 1px solid rgba(139,122,82,.25);
  border-radius: 12px;
  padding: 10px 12px;
  z-index: 309;
  display: none;
  width: min(320px, calc(100vw - 24px));
  box-shadow: 0 6px 28px rgba(0,0,0,.14);
}
#buscador-panel.open { display: block; animation: tutSlideIn .2s ease; }

#buscador-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(139,122,82,.2);
  padding-bottom: 8px;
  margin-bottom: 6px;
}
#buscador-field {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Baskerville','Baskerville Old Face',Georgia,serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--text);
  outline: none;
}
#buscador-field::placeholder { color: var(--gold); opacity: .65; }
#buscador-close-btn {
  background: none; border: none;
  color: var(--gold); cursor: pointer;
  font-size: .85rem; padding: 0;
  opacity: .7; transition: opacity .2s;
}
#buscador-close-btn:hover { opacity: 1; }

#buscador-results-list { max-height: 240px; overflow-y: auto; }

.buscador-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 9px 4px; gap: 10px;
  border-bottom: 1px dashed rgba(139,122,82,.15);
  cursor: pointer;
  transition: background .15s;
}
.buscador-row:last-child { border-bottom: none; }
.buscador-row:hover { background: rgba(139,122,82,.06); }
.buscador-row-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.buscador-row-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: .88rem;
  color: var(--gold-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.buscador-row-name mark {
  background: rgba(139,122,82,.18);
  color: var(--gold-dark); border-radius: 2px; padding: 0 1px;
}
.buscador-row-cat {
  font-family: 'Baskerville','Baskerville Old Face',Georgia,serif;
  font-size: .72rem; color: var(--gold); font-style: italic; margin-top: 1px;
}
.buscador-add-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: transparent;
  color: var(--gold-dark); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, color .2s, transform .15s;
}
.buscador-add-btn:hover { background: var(--gold-dark); color: #fff; }
.buscador-add-btn.added { background: var(--gold); color: #fff; transform: scale(1.2); }
.buscador-hint {
  font-family: 'Baskerville','Baskerville Old Face',Georgia,serif;
  font-style: italic; font-size: .78rem;
  color: var(--gold); opacity: .7;
  text-align: center; padding: 6px 0;
}

/* ── Carrito FAB bounce on add ── */
@keyframes fabBounce {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.28) rotate(-8deg); }
  50%  { transform: scale(1.18) rotate(6deg); }
  70%  { transform: scale(1.08) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

#carrito-fab.fab-bounce {
  animation: fabBounce .45s cubic-bezier(.4,0,.2,1);
}
