/* ============ Menú digital (cliente) ============ */
:root {
  --p: #6d28d9;           /* color principal (se cambia desde el panel) */
  --p-soft: #6d28d91a;
  --bg: #f6f6f8;
  --card: #ffffff;
  --text: #16151a;
  --muted: #6b6a75;
  --line: #ebeaf0;
  --ok: #10b981;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 15, 30, .05), 0 6px 20px rgba(16, 15, 30, .06);
}
:root[data-theme="dark"] {
  --bg: #0f0f13; --card: #1a1a21; --text: #f3f2f7; --muted: #a09fae; --line: #2a2a34;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex: none; }
.muted { color: var(--muted); }
.loading { display: grid; place-items: center; height: 100vh; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--p); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Portada ---------- */
.hero { position: relative; }
.banner {
  height: 190px; background: linear-gradient(135deg, var(--p), #111) center/cover no-repeat;
}
@media (min-width: 768px) { .banner { height: 260px; } }
.hero-card {
  position: relative; margin: -56px auto 0; max-width: 1120px; padding: 0 16px;
}
.hero-inner {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.logo {
  width: 84px; height: 84px; border-radius: 18px; background: var(--p) center/cover no-repeat;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 30px;
  border: 4px solid var(--card); margin-top: -40px; box-shadow: var(--shadow);
}
.hero-inner h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.hero-inner p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.hero-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: var(--bg); font-size: 13px; font-weight: 600; color: var(--muted);
}
.pill.open { background: #10b98120; color: #059669; }
.pill.closed { background: #ef444420; color: #dc2626; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center;
  background: var(--bg); color: var(--text);
}
.icon-btn:hover { background: var(--p-soft); color: var(--p); }
.hero-actions { margin-left: auto; display: flex; gap: 6px; }

/* ---------- Tipo de servicio ---------- */
.services { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; scrollbar-width: none; }
.services::-webkit-scrollbar { display: none; }
.svc {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  background: var(--card); border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap;
}
.svc.active { border-color: var(--p); color: var(--p); background: var(--p-soft); }
.svc small { font-weight: 500; color: var(--muted); }

.notice {
  margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--p-soft); color: var(--text);
  font-size: 14px; display: flex; gap: 10px; align-items: flex-start;
}
.notice svg { color: var(--p); margin-top: 1px; }

/* ---------- Buscador y categorías ---------- */
.sticky {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  padding: 10px 0 6px; margin-top: 6px;
}
.search {
  display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 12px; height: 44px;
}
.search input { border: 0; outline: 0; background: none; flex: 1; height: 100%; font-size: 15px; min-width: 0; }
.search-x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-right: -6px; border: 0; border-radius: 50%;
  background: rgba(127,127,127,.18); color: inherit; cursor: pointer; padding: 0; }
.search-x[hidden] { display: none; }
/* mientras se busca, la lista deja espacio para que el buscador pueda subir hasta arriba aunque haya pocos resultados */
body.m-searching #list, body.m-searching #lxList { min-height: 100vh; }
.search-x svg { width: 16px; height: 16px; }
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted);
}
.cat.active { background: var(--p); border-color: var(--p); color: #fff; }

/* ---------- Productos ---------- */
.section-title { font-size: 19px; font-weight: 800; margin: 26px 0 12px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 1fr 112px; gap: 12px; padding: 12px; text-align: left; width: 100%;
  transition: transform .15s;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.card p { margin: 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .thumb { width: 112px; height: 112px; border-radius: 12px; }
.card.soldout { opacity: .55; }
.card .info { display: flex; flex-direction: column; min-width: 0; }
.price { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price s { color: var(--muted); font-weight: 500; font-size: 13px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--p-soft); color: var(--p); }
.badge.red { background: #ef444420; color: #dc2626; }
.thumb {
  background: linear-gradient(135deg, var(--p-soft), var(--line)) center/cover no-repeat;
  display: grid; place-items: center; font-size: 40px;
}
/* Diseño en lista */
.layout-list .grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .layout-list .grid { grid-template-columns: 1fr 1fr; } }

/* Destacados */
.featured { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.fcard {
  flex: 0 0 180px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; text-align: left;
}
.fcard .thumb { height: 130px; width: 100%; font-size: 48px; }
.fcard div.b { padding: 10px 12px 12px; }
.fcard h3 { margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- Barra de carrito ---------- */
.cartbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 30;
  width: min(560px, calc(100% - 32px));
  background: var(--p); color: #fff; border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cartbar .count { background: rgba(255,255,255,.22); border-radius: 8px; padding: 2px 9px; }.cartbar .total { margin-left: auto; }

/* ---------- Panel inferior (sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10,10,20,.5); animation: fade .2s; }
.sheet-panel {
  position: relative; background: var(--card); width: 100%; max-width: 560px; max-height: 92vh;
  border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .25s ease-out;
}
@media (min-width: 640px) {
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 22px; max-height: 88vh; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 18px; flex: 1; }
.sheet-body { overflow-y: auto; padding: 0 18px 18px; flex: 1; }
.sheet-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.close-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--card); box-shadow: var(--shadow); }

/* Detalle de producto */
.pd-img { height: 240px; border-radius: 22px 22px 0 0; font-size: 80px; }
@media (min-width: 640px) { .pd-img { border-radius: 22px 22px 0 0; } }
.pd-body { padding: 16px 18px; }
.pd-body h2 { margin: 0 0 6px; font-size: 21px; }
.pd-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.group { margin-top: 18px; }
.group-head { display: flex; align-items: center; justify-content: space-between; background: var(--bg); margin: 0 -18px; padding: 10px 18px; }
.group-head b { font-size: 15px; }
.group-head small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.req { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--text); color: var(--card); }
.req.done { background: var(--ok); color: #fff; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt span { flex: 1; font-size: 14px; }
.opt em { font-style: normal; color: var(--muted); font-size: 13px; }
.opt input { width: 20px; height: 20px; accent-color: var(--p); }
.opt.disabled { opacity: .45; pointer-events: none; }
.opt.blocked { opacity: .4; } /* (otra opción del grupo "va sola", ej. "Con todo") */
/* Complementos: grupo que falta (rojo), fuera de horario (gris) e "incluidos" */
.group.invalid .group-head { box-shadow: inset 4px 0 0 #ef4444; background: #ef44441a; }
.group.invalid .req { background: #ef4444; color: #fff; animation: shake .35s; }
.group.off .opt { opacity: .45; pointer-events: none; }
.req.off { background: var(--line); color: var(--muted); }
.o-hours { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.group-head small.incl { color: var(--ok); font-weight: 700; }
.group-head small.incl.extra { color: #f59e0b; }
#add.incomplete { opacity: .7; }
textarea.note, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px; outline: 0; font-size: 15px;
}
textarea.note:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--p); }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 12px; padding: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.qty button:hover { background: var(--card); }
.qty b { min-width: 24px; text-align: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 18px;
  border-radius: 14px; background: var(--p); color: #fff; font-weight: 700; font-size: 15px; flex: 1;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: var(--bg); color: var(--text); flex: none; }
.btn.wa { background: #25d366; }
.btn.mp { background: #009ee3; color: #fff; } /* Mercado Pago */
/* Compartir el menú */
.share-sheet { display: grid; gap: 14px; }
.share-btns { display: grid; gap: 10px; }
.share-btns .btn { width: 100%; justify-content: center; }
.share-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(127,127,127,.12); cursor: pointer; }
.share-opt input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--p, #ea580c); }
.share-opt span { display: flex; flex-direction: column; gap: 2px; } .share-opt small { opacity: .7; }
.share-qr { display: grid; justify-items: center; gap: 8px; }
.share-qr #shQr { background: #fff; padding: 10px; border-radius: 14px; min-height: 40px; }
.share-qr #shQr img, .share-qr #shQr canvas { display: block; }
.share-link { font-size: 12px; opacity: .6; text-align: center; word-break: break-all; }

/* Carrito */
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line h4 { margin: 0; font-size: 15px; }
.line ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.line .r { text-align: right; font-weight: 700; }
.line .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.link { color: var(--p); font-weight: 600; font-size: 13px; }
.sum { padding: 14px 0; display: grid; gap: 6px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; }
.sum .tot { font-size: 18px; font-weight: 800; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.coupon { display: flex; gap: 8px; margin-top: 14px; }
.coupon input { flex: 1; text-transform: uppercase; }
.coupon .btn { height: 46px; flex: none; }

/* Checkout */
.step-title { font-size: 15px; font-weight: 800; margin: 20px 0 10px; display: flex; gap: 8px; align-items: center; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices { display: grid; gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.choice input { accent-color: var(--p); width: 18px; height: 18px; }
.choice.active { border-color: var(--p); background: var(--p-soft); }
/* Dato obligatorio que falta: marcado en rojo */
.invalid input, .invalid select, .invalid textarea, .invalid .cmap, .choices.invalid .choice { border-color: #ef4444 !important; box-shadow: 0 0 0 3px #ef444433; }
.invalid label { color: #ef4444; }
.field-err { color: #ef4444; font-size: 13px; font-weight: 700; margin-top: 6px; animation: shake .35s; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
/* Direcciones guardadas */
.saved-addrs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
.addr-card { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); }
.addr-card .grow { flex: 1; min-width: 0; }
.addr-card b { display: block; font-size: 14px; }
.addr-card small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr-card svg { width: 18px; height: 18px; flex: none; }
.addr-card svg.ok { color: var(--p); }
.addr-card.active { border-color: var(--p); background: var(--p-soft); }
.addr-card.new { border-style: dashed; }
.addr-del { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; padding: 2px 6px; cursor: pointer; }
/* Foto de la entrada */
.entry-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.entry-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.photo-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.photo-btn.loading { opacity: .6; pointer-events: none; }
.choice small { display: block; font-weight: 500; color: var(--muted); white-space: pre-line; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
.chip.active { border-color: var(--p); background: var(--p-soft); color: var(--p); }
.loyal { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: #f59e0b1f; font-size: 13px; margin-top: 10px; }
.loyal .stamps { display: flex; gap: 4px; margin-top: 6px; }
.loyal .stamps i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #f59e0b; }
.loyal .stamps i.on { background: #f59e0b; }

/* Galería, presentaciones y cantidades */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px 22px 0 0; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .pd-img { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
.dots { display: flex; gap: 6px; justify-content: center; margin: -22px 0 10px; position: relative; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #fff8; }
.dots i.on { background: #fff; }
.qty.mini { padding: 2px; border-radius: 10px; }
.qty.mini button { width: 28px; height: 28px; font-weight: 800; }
.opt em s { opacity: .6; }
/* Sugerencias y repetir pedido */
.sug { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.sug-card { flex: 0 0 120px; text-align: left; background: var(--bg); border-radius: 14px; padding: 8px; display: grid; gap: 4px; }
.sug-card .thumb { width: 100%; height: 80px; border-radius: 10px; font-size: 30px; }
.sug-card b { font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sug-card span { font-size: 12px; font-weight: 800; color: var(--p); }
.notice.repeat { width: 100%; text-align: left; cursor: pointer; border: 1.5px dashed var(--p); }
/* Reseñas */
.pill.star { color: #b45309; background: #f59e0b22; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.rev-sum { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rev-sum > b { font-size: 40px; }
.rev { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rev-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rev p { margin: 6px 0 0; font-size: 14px; }
.rev-reply { margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.review-card { margin: 14px 0; padding: 16px; border-radius: 16px; background: var(--bg); text-align: center; }
.rate { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.rate button { font-size: 34px; color: var(--line); line-height: 1; transition: transform .1s; }
.rate button.on { color: #f59e0b; }
.rate button:hover { transform: scale(1.15); }

/* ================= Estilo "Categorías con fotos" ================= */
body.lux-body {
  --bg: #120c08; --card: #1d1510; --text: #f7efe6; --muted: #b9a998; --line: #3a2c22;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 170, 70, .22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 140, 40, .16), transparent 26%),
    radial-gradient(circle at 70% 70%, rgba(255, 120, 30, .08), transparent 35%),
    linear-gradient(180deg, #1c130d 0%, #0e0907 100%) fixed;
}
.lux .serif, .lx-title, .lx-cat-name, .lx-cover h1, .lx-prod h3 { font-family: 'Playfair Display', Georgia, serif; }
.lx-top { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(18, 12, 8, .72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.lx-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); position: relative; flex: none; }
.lx-icon svg.lucide { width: 22px; height: 22px; }
.lx-brand { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; min-width: 0; }
.lx-brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-logo { width: 30px; height: 30px; border-radius: 50%; background: center/cover; flex: none; border: 1.5px solid rgba(255,255,255,.3); }
.lx-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--p); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 0 2px #120c08; }
.lx-badge.pop { animation: badgepop .45s ease; }
@keyframes badgepop { 40% { transform: scale(1.45); } }
/* Portada: la foto es la protagonista y el título va pequeño encima */
.lx-hero { position: relative; isolation: isolate; text-align: center; padding: 26px 16px 8px; overflow: hidden; max-width: 900px; margin: 0 auto; }
.lx-hero.has-cover { height: clamp(200px, 52vw, 320px); padding: 0; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 900px) { .lx-hero.has-cover { margin-top: 12px; border-radius: 22px; } }
.lx-cover-photo { position: absolute; inset: 0; background: #241912 center/cover no-repeat; z-index: -2; }
.lx-hero.has-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,9,7,0) 45%, rgba(14,9,7,.55) 72%, rgba(14,9,7,.95) 100%); }
.lx-hero-txt { padding: 0 16px 14px; }
/* Portada que ya trae el nombre del negocio (ej. su logo): sin título encima ni sombra */
.lx-hero.has-cover.clean::after { display: none; }
.lx-hero.clean .lx-cover-photo { background-size: contain; background-color: var(--cover-bg, #faf6ee); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lx-title { font-size: clamp(22px, 6vw, 30px); margin: 0; font-weight: 700; letter-spacing: .01em; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.lx-tag { margin: 4px 0 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #f1e3d2; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.lx-line { display: none; }
.lx-info { text-align: center; padding: 12px 16px 4px; }
.lx-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.lx-install { color: #fff !important; background: var(--p) !important; }
/* Fila horizontal de categorías con foto (fija arriba al bajar) */
.lx-catbar { position: sticky; top: 66px; z-index: 20; display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px; background: rgba(18,12,8,.78); backdrop-filter: blur(14px); scrollbar-width: none; scroll-snap-type: x proximity; border-bottom: 1px solid rgba(255,255,255,.05); }
.lx-catbar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .lx-catbar { justify-content: safe center; } }
.lx-chip { position: relative; flex: 0 0 auto; width: 112px; height: 72px; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: #241912; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: transform .15s, box-shadow .15s; }
.lx-chip-img { position: absolute; inset: 0; background: center/cover no-repeat; }
.lx-chip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)); }
.lx-chip-name { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 1; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 14px; line-height: 1.15; text-align: left; text-shadow: 0 1px 6px rgba(0,0,0,.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-chip.active { box-shadow: 0 0 0 2.5px var(--p), 0 6px 16px rgba(0,0,0,.4); transform: translateY(-1px); }
.lx-sec { scroll-margin-top: 170px; }
.lx-sec-title { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; margin: 26px 0 4px; display: flex; align-items: center; gap: 12px; }
.lx-sec-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }
.lux .pill { background: rgba(255,255,255,.08); color: #e8d9c6; }
.lux .pill.open { background: rgba(16,185,129,.18); color: #6ee7b7; }
.lux .pill.closed { background: rgba(239,68,68,.18); color: #fca5a5; }
.lx-svcs { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; gap: 4px; padding: 4px; margin-top: 16px; border-radius: 14px; background: rgba(255,255,255,.07); }
@media (max-width: 380px) { .lx-svcs button { padding: 8px 9px; font-size: 12px; } .lx-svcs button svg.lucide { display: none; } }
.cartbar { white-space: nowrap; }
@media (max-width: 420px) { .lx-cat { height: 104px; } .lx-cat-name { font-size: 21px; } .lx-cat-txt { padding: 0 16px; } }
.lx-svcs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; white-space: nowrap; border-radius: 10px; font-size: 13px; font-weight: 700; color: #d6c6b4; }
.lx-svcs button svg.lucide { width: 16px; height: 16px; }
.lx-svcs button.active { background: var(--p); color: #fff; }
.lx-main { max-width: 640px; padding-bottom: 20px; }
.lx-search { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); margin: 6px 0 16px; }
.lux .notice { background: rgba(255,255,255,.06); }
.lx-cats { display: grid; gap: 14px; }
.lx-cat { position: relative; display: flex; align-items: center; height: 118px; border-radius: 20px; overflow: hidden; text-align: left; color: #fff; background: #241912;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .18s; }
.lx-cat:hover, .lx-cat:active { transform: translateY(-2px) scale(1.01); }
.lx-cat-img { position: absolute; inset: 0 0 0 30%; background: #2a1d14 center/cover no-repeat; }
.lx-cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1d140e 28%, rgba(29,20,14,.85) 45%, rgba(29,20,14,.05) 80%); }
.lx-cat-txt { position: relative; z-index: 1; padding: 0 22px; display: grid; gap: 4px; max-width: 70%; }
.lx-cat-name { font-size: 25px; font-weight: 700; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.lx-cat-txt small { color: #d6c6b4; font-size: 12px; }
.lx-chev { position: relative; z-index: 1; font-size: 30px; color: #fff; opacity: .8; margin-left: -6px; }
.lx-tabs { position: sticky; top: 66px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: rgba(18,12,8,.72); backdrop-filter: blur(14px); scrollbar-width: none; }
.lx-tabs::-webkit-scrollbar { display: none; }
.lx-tabs button { padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #d6c6b4; background: rgba(255,255,255,.06); white-space: nowrap; }
.lx-tabs button.active { background: var(--p); color: #fff; }
.lx-cover { position: relative; height: 170px; margin: 0 16px 6px; border-radius: 22px; background: #241912 center/cover; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; overflow: hidden; max-width: 608px; }
@media (min-width: 672px) { .lx-cover { margin: 0 auto 6px; } }
.lx-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,9,7,.92), rgba(14,9,7,.1) 70%); }
.lx-cover h1, .lx-cover span { position: relative; margin: 0; }
.lx-cover h1 { font-size: 34px; }
.lx-cover span { color: #d6c6b4; font-size: 13px; }
.lx-prods { display: grid; gap: 12px; margin-top: 14px; }
.lx-prod { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); cursor: pointer; }
.lx-prod:hover { background: rgba(255,255,255,.08); }
.lx-prod.soldout { opacity: .5; }
.lx-pimg { width: 92px; height: 92px; border-radius: 14px; flex: none; font-size: 34px; }
.lx-pinfo { flex: 1; min-width: 0; }
.lx-prod h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.lx-prod p { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-price { margin-top: 6px; font-weight: 800; color: #fff; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.lx-price s { color: var(--muted); font-weight: 500; font-size: 12px; }
.lx-add { width: 42px; height: 42px; border-radius: 50%; background: var(--p); color: #fff; font-size: 26px; font-weight: 500; line-height: 1; flex: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .15s, background .2s; }
.lx-add:hover { transform: scale(1.08); }
.lx-add.ok { background: #10b981; font-size: 20px; }
.lx-backall { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 22px 0 8px; padding: 14px; border-radius: 14px; color: #e8d9c6; background: rgba(255,255,255,.06); font-weight: 700; }
.lux .footer { color: #8f7f6f; }
body.lux-body .sheet-panel { background: #1b130e; }
body.lux-body .group-head, body.lux-body .qty, body.lux-body textarea.note, body.lux-body .field input, body.lux-body .field select, body.lux-body .field textarea { background: #261b14; }

.search-hint { color: var(--muted); font-size: 13px; margin: 4px 2px 10px; }

/* Video corto del producto */
.thumb { position: relative; }
.play { position: absolute; right: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; font-size: 12px; padding-left: 2px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); cursor: pointer; backdrop-filter: blur(4px); animation: pulse-play 2.4s ease-in-out infinite; }
.play.big { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: 64px; height: 64px; font-size: 24px; padding-left: 4px; animation: none; }
.play:hover { background: var(--p); }
@keyframes pulse-play { 50% { box-shadow: 0 0 0 5px rgba(255,255,255,.35); } }
.vplayer { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.88); display: grid; place-items: center; animation: fade .2s; padding: 12px; }
.vp-box { position: relative; width: min(420px, 100%); }
.vp-box video { width: 100%; max-height: 80vh; display: block; border-radius: 20px; background: #000; object-fit: contain; }
.vp-close, .vp-sound { position: absolute; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; display: grid; place-items: center; }
.vp-close { right: 12px; } .vp-sound { left: 12px; }
.vp-info { display: flex; align-items: center; gap: 10px; color: #fff; padding: 12px 6px 0; }
.vp-info b { flex: 1; } .vp-info .btn { flex: none; height: 42px; }

/* Comprobante de pago */
.proof-card { margin-top: 14px; padding: 14px; border: 1.5px dashed var(--p); border-radius: 16px; background: var(--bg); }
.proof-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.proof-head svg { width: 20px; height: 20px; color: var(--p); }
.proof-info { padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; font-size: 14px; white-space: pre-line; word-break: break-word; }
.proof-info small { display: block; color: var(--muted); margin-bottom: 4px; white-space: normal; }
.proof-up { width: 100%; justify-content: center; }
.proof-ok { margin-top: 6px; font-size: 13px; color: var(--ok); font-weight: 700; }
/* Programar pedido: día + hora */
.sched-pick { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.sched-pick .field { margin: 0; }
.sched-pick select { width: 100%; }
/* Botón "📦 Mi pedido" junto a Instalar app */
.pill.my-order { background: var(--p); color: #fff; border-color: transparent; font-weight: 700; cursor: pointer; }
.pill.my-order.live { animation: pulse-o 2s ease-in-out infinite; }
@keyframes pulse-o { 0%, 100% { box-shadow: 0 0 0 0 rgba(234,122,30,.5); } 50% { box-shadow: 0 0 0 6px rgba(234,122,30,0); } }
/* Chat del pedido */
.chat-box { margin: 16px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.chat-head svg { width: 18px; height: 18px; color: var(--p); }
.chat-list { max-height: 260px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 80%; padding: 8px 11px; border-radius: 14px; font-size: 14px; line-height: 1.35; word-wrap: break-word; }
.msg small { display: block; font-size: 10px; opacity: .65; margin-top: 2px; text-align: right; }
.msg.them { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--p); color: #fff; border-bottom-right-radius: 4px; }
.chat-form { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 14px; outline: 0; }
.chat-form .btn { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.notif-btn { width: 100%; margin-top: 14px; background: var(--card); color: var(--text); border: 1.5px dashed var(--p); }
.rev-extra { display: grid; gap: 8px; margin-top: 8px; }
.rev-extra input { width: 100%; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 14px; outline: 0; }
.rate-label { font-weight: 700; min-height: 20px; margin: -4px 0 6px; color: #f59e0b; }
#improveBox { text-align: left; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--card); }
.imp-title { font-size: 15px; }
.imp-chips .chip { font-size: 13px; padding: 7px 11px; }
.imp-chips .chip.active { border-color: var(--p); background: var(--p-soft); color: var(--p); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 16px 0 6px; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; accent-color: var(--p); flex: none; margin-top: 1px; }
.privacy-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.6; }
.privacy-note a, .privacy-note .link { color: var(--p); font-size: 12px; text-decoration: underline; }
/* Invitación a reseña en Google */
.google-card { margin: 14px 0; padding: 16px; border-radius: 16px; background: var(--card); border: 1.5px solid #4285f455; box-shadow: var(--shadow); }
.g-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.g-head small { display: block; color: var(--muted); font-size: 13px; }
.g-logo { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff;
  background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }
.google-card .btn { width: 100%; margin-top: 10px; background: #4285f4; }
.google-card .btn.done { background: #34a853; }
.g-steps { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }

/* Mapa de entrega */
.cmap { height: 250px; border-radius: 12px; margin: 8px 0 4px; border: 1px solid var(--line); overflow: hidden; z-index: 0; background: var(--bg); }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; width: auto; }
.search-row .btn { height: 46px; flex: none; }
.result { display: block; width: 100%; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.result:hover { background: var(--p-soft); }
.gps { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.notice.ok { background: #10b9811f; } .notice.ok svg { color: #059669; }
.notice.bad { background: #ef44441c; } .notice.bad svg { color: #dc2626; }

/* Seguimiento */
.track { max-width: 560px; margin: 24px auto; padding: 0 16px; }
.track-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; }
/* 💳 Pagar la cuenta de la mesa con el QR impreso */
.bill-pay { display: grid; gap: 8px; max-width: 460px; margin: 0 auto; }
.bp-items { display: grid; gap: 4px; font-size: 15px; border-top: 1px solid var(--line, #eee); border-bottom: 1px solid var(--line, #eee); padding: 8px 0; max-height: 40vh; overflow-y: auto; }
.bp-items div { display: grid; grid-template-columns: 2.2em 1fr; }
.bp-row { display: flex; justify-content: space-between; font-size: 15px; }
.bp-total { font-size: 19px; font-weight: 800; }
.bp-q { margin: 10px 0 0; font-weight: 800; }
.bp-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; }
.bp-tips button { border: 1px solid var(--line, #ddd); background: var(--card); color: inherit; border-radius: 12px; padding: 9px 4px; font: inherit; font-weight: 800; cursor: pointer; display: grid; gap: 1px; }
.bp-tips button small { font-weight: 600; font-size: 12px; opacity: .75; }
.bp-tips button.on { border-color: #009ee3; box-shadow: 0 0 0 2px #009ee3; }
.bp-other { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.bp-other input { width: 110px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; }
.steps li { display: flex; gap: 14px; padding-bottom: 22px; position: relative; color: var(--muted); }
.steps li::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps .bullet { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: #fff; flex: none; z-index: 1; }
.steps li.done { color: var(--text); }
.steps li.done .bullet { background: var(--ok); }
.steps li.now .bullet { background: var(--p); box-shadow: 0 0 0 6px var(--p-soft); }
.steps li.now { color: var(--text); font-weight: 700; }
.steps svg.lucide { width: 14px; height: 14px; }

/* Info del negocio */
.info-list { display: grid; gap: 2px; margin-top: 6px; }
.info-list a, .info-list div { display: flex; gap: 12px; align-items: center; padding: 12px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 800; color: var(--p); }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 80;
  background: #16151a; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px);
}
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 36px 0 10px; }
/* Carta en HTML que entrega el servidor para Google (la app la reemplaza al cargar) */
.seo-pre { max-width: 640px; margin: 0 auto; padding: 24px 18px 60px; color: var(--muted); font-size: 14px; }
.seo-pre h1 { color: var(--text); font-size: 24px; margin: 0 0 6px; } .seo-pre h2 { color: var(--text); font-size: 18px; margin: 22px 0 8px; }
.seo-pre ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.seo-pre li { display: flex; gap: 10px; align-items: center; } .seo-pre img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.seo-pre b { color: var(--text); } .seo-pre span { display: block; font-size: 12px; }
/* Invitación discreta "¿Te gustó la experiencia? Crea tu menú digital…" */
.made-with { display: block; margin: 6px auto 96px; max-width: 360px; padding: 10px 14px; border-radius: 12px; text-align: center; font-size: 12px; line-height: 1.45; text-decoration: none; color: var(--muted); border: 1px dashed var(--line); transition: border-color .2s, color .2s; }
.made-with span { display: block; } .made-with b { color: var(--text); font-weight: 700; }
.made-with:hover { border-color: var(--p); } .made-with:hover b { color: var(--p); }
.made-with.in-track { margin: 18px auto 4px; }
.lux .made-with { color: #8f7f6f; border-color: rgba(255,255,255,.12); } .lux .made-with b { color: #e9dccd; }

/* Guardar dirección para próximos pedidos */
.save-addr { background: rgba(127,127,127,.14); border: 1px solid rgba(127,127,127,.25); color: inherit; border-radius: 12px; padding: 10px 12px; margin: 4px 0 10px; align-items: flex-start; }
.save-addr span { display: flex; flex-direction: column; gap: 2px; }
.save-addr small { font-size: 12px; }

/* Datos de transferencia con botón Copiar */
.tf-box { margin-top: 12px; border-radius: 14px; border: 1px solid rgba(127,127,127,.3); background: rgba(127,127,127,.1); overflow: hidden; }
.tf-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(127,127,127,.25); }
.tf-head svg { width: 18px; height: 18px; }
.tf-head span { margin-left: auto; font-size: 12px; opacity: .8; font-weight: 700; }
.tf-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(127,127,127,.18); }
.tf-row:last-child { border-bottom: 0; }
.tf-row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tf-row small { font-size: 11px; opacity: .75; }
.tf-row b { font-size: 15px; word-break: break-all; }
.tf-row b.tf-num { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; font-size: 16px; }
.tf-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.35); background: var(--accent, #ea7a1e); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.tf-copy svg { width: 15px; height: 15px; }
.tf-copy.ok { background: #16a34a; border-color: #16a34a; }
/* Otros métodos de pago: link y QR */
.pl-pad { padding: 12px; }
.pl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--accent, #ea7a1e); color: #fff; font-weight: 800; text-decoration: none; font-size: 16px; }
.pl-btn svg { width: 18px; height: 18px; }
.pl-qr { display: grid; justify-items: center; gap: 10px; text-align: center; border-top: 1px solid rgba(127,127,127,.18); }
.pl-qr img { width: min(240px, 70vw); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
.pl-qr small { font-size: 12px; opacity: .85; line-height: 1.4; }
.pl-qr .tf-copy { text-decoration: none; }
/* Se siente como app: sin zoom por doble toque, sin que se agrande el texto solo, y en el celular los campos con letra de 16 px
   (si son más chicos, el iPhone acerca la pantalla al tocarlos y luego no regresa) */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; } /* (clip y no hidden: así la barra de arriba sigue fija al deslizar) */
@media (max-width: 700px) { input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; } }

/* Redes sociales del negocio en el menú */
.pill.lx-social { text-decoration: none; color: #fff; border: 0; font-weight: 700; }
.pill.lx-social.facebook { background: #1877f2; }
.pill.lx-social.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.pill.lx-social.tiktok { background: #111; }
.pill.lx-social.whatsapp { background: #25d366; }
.pill.lx-social svg { color: #fff; }
/* Instalar, Compartir y redes: solo el ícono en un círculo, juntos en una fila (menos saturado) */
.ico-row { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pill.ico { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
.pill.ico[hidden] { display: none; }
.pill.ico svg { width: 18px; height: 18px; }

/* v258: finalizar pedido conserva el lugar y cabe sobre el teclado. */
.sheet:has(.checkout-sheet) { height:var(--menu-vvh,100dvh); bottom:auto; }
.checkout-sheet { max-height:calc(var(--menu-vvh,100dvh) - 16px); }
.checkout-sheet .sheet-head,.checkout-sheet .sheet-foot { flex-shrink:0; }
.checkout-sheet .sheet-body { min-height:0; overflow-anchor:none; }
.checkout-sheet input,.checkout-sheet select,.checkout-sheet textarea { font-size:16px; }
@media(max-width:639px) { .sheet:has(.checkout-sheet) { align-items:flex-start; padding-top:8px; }.checkout-sheet { border-radius:18px; } }

/* v262: opciones del producto avanzan dentro del panel del cliente. */
.sheet:has(.product-sheet) { height:var(--menu-vvh,100dvh); bottom:auto; }
.product-sheet { max-height:calc(var(--menu-vvh,100dvh) - 16px); }.product-sheet .sheet-body { min-height:0;overflow-anchor:none; }.product-sheet .sheet-foot { flex-shrink:0; }
.mod-step-action { display:flex;justify-content:flex-end;margin-top:10px; }.mod-step-action .btn { min-height:40px;padding:8px 18px;font-size:14px; }
.mod-next-step { outline:2px solid var(--p);outline-offset:3px; }.product-sheet .group:focus { outline-offset:3px; }
@media(max-width:639px){.sheet:has(.product-sheet){align-items:flex-start;padding-top:8px;}.product-sheet{border-radius:18px;}}

/* v263: invitación visible, sin dominar el menú. */
.made-with { max-width:390px; margin:12px auto 96px; padding:14px 18px; border-radius:14px; border:1px solid color-mix(in srgb,var(--p) 28%,var(--line)); background:color-mix(in srgb,var(--p) 5%,var(--card)); font-size:14px; line-height:1.5; }
.made-with span { margin-bottom:3px; }.made-with b { display:block; font-size:16px; line-height:1.4; }
.made-with:hover { background:color-mix(in srgb,var(--p) 9%,var(--card)); }.made-with:focus-visible { outline:2px solid var(--p); outline-offset:3px; }

/* Campo que falta llenar (ej. nombre obligatorio en el QR de mesa) */
.in-bad { border-color: #ef4444 !important; box-shadow: 0 0 0 3px #ef444433 !important; }

/* 👥 Grupos y eventos (invitado) */
.grp-home .track-card { max-width: 560px; margin: 0 auto; }
.grp-tables { display: grid; gap: 10px; }
.grp-table { text-align: left; width: 100%; border: 2px solid var(--line, #e5e7eb); background: var(--card, #fff); border-radius: 14px; padding: 12px; cursor: pointer; font: inherit; color: inherit; }
.grp-table.on { border-color: var(--p); background: color-mix(in srgb, var(--p) 8%, var(--card, #fff)); }
.grp-table:disabled { opacity: .5; cursor: not-allowed; }
.grp-t-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grp-t-h b { font-size: 17px; } .grp-t-h span { font-weight: 800; color: var(--p); }
.grp-table.full .grp-t-h span { color: #ef4444; }
.grp-bar-bg { height: 8px; background: rgba(0,0,0,.07); border-radius: 99px; margin: 8px 0 4px; overflow: hidden; }
.grp-bar-bg > div { height: 100%; background: var(--p); border-radius: 99px; }
.grp-table.full .grp-bar-bg > div { background: #ef4444; }
.grp-who { font-size: 13px; margin-top: 4px; }
.grp-people { display: flex; align-items: center; gap: 12px; } .grp-people b { font-size: 22px; min-width: 28px; text-align: center; }
.grp-mine { margin-top: 14px; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.04); } .grp-mine ul { margin: 6px 0 0; padding-left: 18px; }
.gp-salon { font-weight: 700; margin: 8px 0 4px; }
.gp-canvas { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; background: rgba(127,127,127,.08) center / cover no-repeat; border: 1px solid rgba(127,127,127,.25); overflow: hidden; }
.gp-lbl { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 700; border-radius: 6px; background: rgba(127,127,127,.18); color: inherit; opacity: .85; padding: 2px; line-height: 1.1; }
.gp-tbl { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; border-radius: 8px; font-size: 11px; line-height: 1.1; border: 2px solid transparent; font-family: inherit; }
.gp-tbl.round { border-radius: 50%; }
.gp-canvas { margin: 0 auto; }
.gp-lbl.v span { writing-mode: vertical-rl; }
.gp-tbl.turn { transform: rotate(var(--r)); } .gp-tbl.turn > * { transform: rotate(calc(var(--r) * -1)); }
.gp-tbl b { font-size: 13px; } .gp-tbl small { font-size: 10px; font-weight: 600; white-space: nowrap; }
.gp-tbl.free { background: #dcfce7; color: #166534; border-color: #22c55e; }
.gp-tbl.few { background: #fef3c7; color: #92400e; border-color: #f59e0b; }
.gp-tbl.full, .gp-tbl.nofit { background: #e5e7eb; color: #6b7280; border-color: #d1d5db; }
.gp-tbl.on { background: #2563eb; color: #fff; border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(37,99,235,.35); }
.gp-tbl.other { background: transparent; color: inherit; opacity: .35; border: 1px dashed currentColor; }
.gp-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; font-size: 12px; opacity: .85; }
.gp-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.gp-legend i.free { background: #22c55e; } .gp-legend i.few { background: #f59e0b; } .gp-legend i.full { background: #d1d5db; } .gp-legend i.on { background: #2563eb; }
.gp-info { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(127,127,127,.08); font-size: 14px; }
.gp-list { margin-top: 10px; } .gp-list summary { cursor: pointer; font-size: 14px; opacity: .85; } .gp-list .grp-tables { margin-top: 8px; }
.grp-guide { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.04); }
.grp-guide summary { cursor: pointer; font-weight: 700; }
.grp-guide ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.grp-check { border: 2px solid #16a34a; }
.grp-lines { margin: 10px 0 4px; display: grid; gap: 2px; }
.grp-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed rgba(127,127,127,.35); font-size: 15px; }
.grp-line span { display: grid; gap: 2px; } .grp-line small { opacity: .75; font-size: 13px; } .grp-line em { font-style: normal; font-weight: 700; white-space: nowrap; }
.grp-reg { margin-top: 10px; } .grp-reg .grp-mine { margin-top: 0; border-radius: 12px 12px 0 0; } .grp-reg > .btn { width: 100%; border-radius: 0 0 12px 12px; margin: 0; }
.grp-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--p); color: #fff; font-size: 14px; }
.grp-bar button { border: 0; background: rgba(255,255,255,.22); color: #fff; font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; }