/* ===== Reset ===== */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;background:#2f2f2f}

/* ===== Tokens ===== */
:root{
  --black:#000;
  --bg-coffee:#000;
  --panel:#000;
  --text:#111;
  --text-inv:#fff;
  --shadow:0 6px 18px rgba(0,0,0,.25);
  --radius-cta:28px;

  --price:#ffffff;
  --muted:#e7d9c6;
  --border:#e2c9a3;

  /* 🎨 Color acento configurable (rojo principal Rashu) */
  --accent:#d12b2b;  /* cambia este valor si quieres otro tono */

  /* Alturas dinámicas */
  --topbar-h: 56px;
  --tabs-h: 44px;
  --anchor-offset: calc(var(--topbar-h) + var(--tabs-h) + 8px);
}

html{ scroll-padding-top: var(--anchor-offset); }

/* ===== App shell ===== */
.mobile-app{min-height:100vh; display:flex; flex-direction:column; align-items:stretch; width:100%}

/* ===== Topbar ===== */
.topbar{
  width:100%; height:56px; background:var(--black); color:#fff;
  display:flex; align-items:center; justify-content:space-between; padding:0 14px; box-shadow:var(--shadow);
  position:sticky; top:0; z-index:1000;
}
.topbar__left{font-weight:700; font-style:italic}
.topbar__right{display:flex; align-items:center; gap:12px}

.topbar a{
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.lang-group{display:flex; gap:8px}
.lang-flag{display:flex; align-items:center; gap:6px; cursor:pointer; background:#111; color:#fff; border:1px solid #333; padding:6px 10px; border-radius:12px; opacity:.8}
.lang-flag.active{opacity:1; background:#181818; color:#111; background-color:var(--accent);  border-color:#777}

/* ===== Home hero ===== */
.hero{width:100%; background:var(--bg-coffee); min-height:calc(100vh - var(--topbar-h)); padding:26px 18px 32px; display:flex; flex-direction:column; align-items:center}
.menu-buttons{width:100%; max-width:480px; display:flex; flex-direction:column; gap:18px; margin-top:10px}
.btn-cta{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:64px; text-decoration:none;
  background:var(--accent); color:var(--text);
  font-weight:800; letter-spacing:.6px; border-radius:var(--radius-cta);
  box-shadow:0 2px 0 rgba(0,0,0,.18); text-transform:uppercase
}
.btn-cta:active{transform:translateY(1px)}
@media (min-width:480px){ .logo-big{font-size:72px} }

/* ===== Social FABs ===== */
.social-fabs{position:fixed; right:16px; bottom:16px; display:flex; flex-direction:column; gap:12px; z-index:9999}
.fab{width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; position:relative; box-shadow:0 8px 20px rgba(0,0,0,.30); transition:transform .15s ease, box-shadow .15s ease, filter .15s ease; border:0}
.fab svg{width:26px; height:26px; fill:#fff}
.fab-ig{background:radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%)}
.fab-tt{background:#121212}
.fab-tip{position:absolute; right:66px; top:50%; transform:translateY(-50%); background:#111; color:#fff; padding:6px 10px; border-radius:8px; font-size:.8rem; white-space:nowrap; opacity:0; pointer-events:none; border:1px solid #2d2d2d; transition:opacity .15s ease, transform .15s ease}
.fab:hover .fab-tip{opacity:1; transform:translateY(-50%) scale(1)}
.fab-tip::after{content:""; position:absolute; right:-6px; top:50%; transform:translateY(-50%); border-left:6px solid #111; border-top:6px solid transparent; border-bottom:6px solid transparent}

/* ===== Tabs ===== */
.tabs{
  position:sticky; top:var(--topbar-h); z-index:900;
  display:flex; gap:12px; align-items:center; overflow:auto;
  background:#000; color:#fff; padding:10px 16px; border-bottom:1px solid #2a2a2a;
}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto; color:#fff; text-decoration:none; font-weight:600; opacity:.85; padding:8px 12px; border-radius:999px; border:1px solid #333; background:#101010}
.tab.active{opacity:1; background:var(--accent); color:#111; border-color:#777}

/* ===== Secciones ===== */
.section{
  background:var(--bg-coffee); padding:18px 16px;
  scroll-margin-top: var(--anchor-offset);
}
.section-title{
  color:#fff; font-size:1.4rem; font-weight:900; letter-spacing:.04em;
  margin:6px 0 14px; text-transform:uppercase;
}

/* ===== Card de plato ===== */
.dish-card{
  background:var(--panel); border:1px solid var(--border);
  border-radius:16px; display:grid; grid-template-columns: 1fr 120px; gap:12px;
  padding:14px; align-items:stretch;
}
.dish-info{display:flex; flex-direction:column; gap:6px}
.dish-title{margin:0; font-size:1.05rem; font-weight:800; color:var(--accent); text-transform:uppercase}

.dish-desc{
  margin:0; color:#cfa97c; font-size:.92rem; line-height:1.35;
  max-height:none; overflow:visible; display:block;
}

.dish-price{margin-top:6px; color:var(--price); font-weight:800; font-size:1.05rem}

.icons{display:flex; gap:6px; margin-top:6px}
.icon{font-size:.78rem; background:#f1e5d2; border:1px solid #e6d5bd; color:#5a4a3a; padding:2px 6px; border-radius:999px}
.ic-vg::before{content:"VG "}
.ic-gf::before{content:"GF "}

.dish-media{position:relative}
.dish-img{width:100%; height:100%; object-fit:cover; border-radius:12px}

.fav{display:none !important}
.fav.active{display:none !important}

.spacer{height:14px}

/* ===== Botón Volver ===== */
.fab-back{
  position:fixed; left:16px; bottom:16px; z-index:60;
  width:48px; height:48px; border-radius:50%; text-decoration:none;
  color:#fff; background:#000; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 20px rgba(0,0,0,.35); font-size:22px
}

/* ===== Loader ===== */
.page-loader{
  position:fixed; inset:0; z-index:2000;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.6);
  backdrop-filter:saturate(120%) blur(2px);
}
.page-loader.hidden{ display:none; }
.loader-box{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.spinner{
  width:56px; height:56px; border-radius:50%;
  border:4px solid rgba(255,255,255,.25); border-top-color:#fff;
  animation:spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.loader-text{ color:#fff; font-weight:800; letter-spacing:.04em; }

html.is-loading, body.is-loading{ overflow: hidden; }

/* ==== Imágenes de productos ==== */
.dish-card .dish-media{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}
.dish-card .dish-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
}
@supports not (aspect-ratio: 1 / 1) {
  .dish-card .dish-media{ height: 120px; }
  .dish-card .dish-img{ width: auto; height: 100%; object-fit: contain; }
}

/* === Botón "Inicio" === */
.topbar__left{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px; background:var(--accent);
  color:var(--text); border:1px solid #a52727;
  border-radius:999px; font-weight:800; text-transform:uppercase;
  line-height:1; text-decoration:none; box-shadow:0 2px 0 rgba(0,0,0,.18);
  transition:filter .15s ease, transform .1s ease, box-shadow .15s ease;
}
.topbar__left::before{ content:"🏠"; font-size:1rem; }
.topbar__left:hover{ filter:brightness(.95); }
.topbar__left:active{ transform:translateY(1px); }
.topbar__left:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
