/* Demo PowerItUp — la web del bar. Idea: la carta impresa de un bar de verdad (nombre ..... precio) y el nombre
   del local en grande como un rótulo. Todo alineado a la izquierda; el color de la casa solo en la banda de reservas. */
body { padding-top: var(--strip); }
.wrap { max-width: 1080px; margin: 0 auto; }

/* Cabecera */
#nav { position: fixed; top: var(--strip); left: 0; right: 0; z-index: 1000; height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; transition: background .3s ease, box-shadow .3s ease; }
#nav.solid { background: rgba(255,255,255,.97); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
#nav .brand { font-family: var(--serif); font-stretch: 78%; font-weight: 800; font-size: 21px; color: #fff; max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nav.solid .brand { color: var(--ink); }
#nav .links { display: flex; gap: 2px; }
#nav .links a { color: #fff; font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 6px; }
#nav.solid .links a { color: var(--ink); }
#nav .links a:hover { background: rgba(127,127,127,.14); }
@media (max-width: 520px) { #nav .links a:not(.keep) { display: none; } }

/* Portada: foto a sangre y el nombre abajo a la izquierda, como el rótulo de la fachada */
#hero { position: relative; min-height: calc(86svh - var(--strip)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 110px 20px 40px; }
#hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
#hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.78) 100%); }
#hero .in { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: 0 auto; }
#hero .tipo { font-size: 16px; font-weight: 600; opacity: .92; }
#hero h1 { font-family: var(--serif); font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(3.4rem, 17vw, 9.5rem); line-height: .86;
  letter-spacing: -.015em; margin: 6px 0 14px; max-width: 12ch; overflow-wrap: anywhere; }
#hero .lema { font-size: 18px; max-width: 34ch; opacity: .95; }
#hero .estado { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 22px; font-size: 15px; font-weight: 600; }
#hero .estado i { width: 9px; height: 9px; border-radius: 50%; background: #5BD18A; }
#hero .estado.cerrado i { background: #F08A7E; }
#hero .acc { display: flex; gap: 10px; flex-wrap: wrap; }
#hero .acc a { padding: 14px 22px; border-radius: var(--r); font-weight: 700; font-size: 16px; }
#hero .acc .a1 { background: var(--acc); color: #fff; }
#hero .acc .a2 { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(6px); }
#hero .nota { margin-top: 20px; font-size: 15px; opacity: .92; }
#hero .nota b { color: #FFD27A; }
@media (max-width: 520px) { #hero .acc a { flex: 1; text-align: center; padding: 14px 12px; } }

/* Secciones */
section.s { padding: 64px 20px; scroll-margin-top: calc(var(--strip) + 50px); }
section.s.alt { background: var(--bg2); }
.head { margin-bottom: 26px; }
.st { font-family: var(--serif); font-stretch: 78%; font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1; letter-spacing: -.01em; }
.ss { color: var(--gray); margin-top: 10px; max-width: 46ch; font-size: 17px; }
.ejemplo { font-size: 13px; color: var(--gray); font-style: italic; margin: -12px 0 20px; }
@media (min-width: 860px) {
  .two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .two > .head { position: sticky; top: calc(var(--strip) + 80px); }
}

/* Carta: lista de carta impresa, nombre ..... precio */
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 8px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 0 12px; border: 0; background: none; color: var(--gray); font-size: 16px; font-weight: 600; box-shadow: inset 0 -3px 0 transparent; }
.tab.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--acc); }
.platos { display: grid; column-gap: 56px; }
@media (min-width: 860px) { .platos { grid-template-columns: 1fr 1fr; } }
.plato { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.plato.flash { animation: flash 1.6s ease; }
@keyframes flash { 25% { background: rgba(242,193,78,.28); } }
.plato .ph { width: 76px; height: 76px; border-radius: 6px; overflow: hidden; flex: none; background: var(--bg2); }
.plato .ph img { width: 100%; height: 100%; object-fit: cover; }
.plato .bd { flex: 1; min-width: 0; }
.plato .l1 { display: flex; align-items: baseline; gap: 8px; }
.plato h4 { font-family: var(--serif); font-stretch: 85%; font-size: 19px; font-weight: 700; line-height: 1.2; }
.plato .dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(34,32,25,.3); transform: translateY(-4px); }
.plato .pr { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plato .ft { display: flex; align-items: flex-end; gap: 12px; margin-top: 4px; }
.plato p { flex: 1; font-size: 14.5px; color: var(--gray); line-height: 1.45; }
.plato .dest { color: var(--acc-d); font-weight: 700; }
.plato .add { flex: none; border: 0; background: none; box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc-d); border-radius: 6px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.plato .add.in { background: var(--ink); color: #fff; box-shadow: none; }
.plato.agotado .ph img { filter: grayscale(1) opacity(.55); }
.plato.agotado h4, .plato.agotado .pr { color: var(--gray); }
.plato.agotado .pr { color: var(--bad); font-size: 15px; }
.plato.agotado .add { opacity: .35; pointer-events: none; }

/* Reservas: la banda en el color de la casa */
section.s.band { background: var(--acc-d); color: #fff; }
.band .ss { color: rgba(255,255,255,.82); }
.card { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 22px; max-width: 600px; }
.lbl { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.lbl:first-child { margin-top: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; box-shadow: inset 0 0 0 1.5px rgba(34,32,25,.16); background: #fff; border-radius: 6px; padding: 9px 13px; font-weight: 600; font-size: 15px; min-width: 46px;
  text-align: center; font-variant-numeric: tabular-nums; }
.chip small { display: block; font-size: 11.5px; font-weight: 500; color: var(--gray); }
.chip.on { background: var(--ink); box-shadow: none; color: #fff; }
.chip.on small { color: rgba(255,255,255,.8); }
.inp { width: 100%; border: 0; box-shadow: inset 0 0 0 1.5px rgba(34,32,25,.18); background: #fff; color: var(--ink); border-radius: 6px; padding: 12px 14px; font-size: 16px; outline: none; }
.inp::placeholder { color: #8A857C; opacity: 1; }
.inp:focus { box-shadow: inset 0 0 0 2px var(--acc); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fine { font-size: 13px; color: var(--gray); margin-top: 10px; }
.okbox .big { font-size: 34px; }
.okbox h3 { font-family: var(--serif); font-stretch: 80%; font-size: 28px; font-weight: 800; margin: 6px 0 6px; line-height: 1.1; }
.okbox p { color: var(--gray); font-size: 15px; }
.nudge { margin-top: 18px; background: var(--bg2); border-radius: 8px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.nudge p { flex: 1; font-size: 14.5px; color: var(--ink); }
.nudge .btn { flex: none; }

/* Opiniones */
.rating { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.rating .n { font-family: var(--serif); font-stretch: 70%; font-weight: 800; font-size: 88px; line-height: .8; }
.rating .stars { color: #D99A1E; font-size: 20px; letter-spacing: 2px; }
.rating p { color: var(--gray); font-size: 15px; }
.resenas { display: grid; }
.rs { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rs:first-child { padding-top: 4px; }
.rs p { font-size: 19px; line-height: 1.45; max-width: 46ch; }
.rs cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--gray); }
#opiniones .ejemplo { margin: 14px 0 0; }

/* Horario */
.horario .d { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-variant-numeric: tabular-nums; }
.horario .d span:last-child { color: var(--gray); text-align: right; }
.horario .d.hoy { font-weight: 800; }
.horario .d.hoy span:last-child { color: var(--ink); }
.horario .d.cerr span:last-child { color: var(--bad); }
.dir { margin-top: 18px; color: var(--gray); font-size: 16px; }
.dir .btn { margin-top: 12px; }

footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 20px 120px; font-size: 14.5px; }
footer .fn { font-family: var(--serif); font-stretch: 75%; font-weight: 800; font-size: 30px; color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
footer .pw { margin-top: 22px; font-size: 13px; opacity: .7; }
footer .priv { display: inline-block; margin-top: 14px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Barra del pedido + hoja */
#cartbar { position: fixed; left: 12px; right: 84px; bottom: 14px; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 14px 18px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.28); border: 0; transform: translateY(140%); transition: transform .35s var(--ease); }
#cartbar.show { transform: none; }
#cartbar .q { background: var(--acc); border-radius: 5px; padding: 1px 8px; margin-right: 8px; }
#track { position: fixed; left: 12px; right: 84px; bottom: 14px; z-index: 899; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 14px; border: 1px solid var(--line); }
#cartbar.show ~ #track { bottom: 78px; }
#track b { font-size: 14px; }
#track .steps { display: flex; gap: 4px; margin-top: 7px; }
#track .steps i { flex: 1; height: 5px; border-radius: 3px; background: rgba(34,32,25,.1); }
#track .steps i.on { background: var(--ok); }
#track.rech .steps i { background: rgba(181,69,61,.3); }

.sheet-bg { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet-bg.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1600; background: var(--paper); border-radius: 14px 14px 0 0; max-height: 88svh; overflow: auto; padding: 8px 20px 22px;
  transform: translateY(105%); transition: transform .38s var(--ease); max-width: 620px; margin: 0 auto; }
.sheet.show { transform: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(34,32,25,.18); margin: 4px auto 12px; }
.sheet h3 { font-family: var(--serif); font-stretch: 80%; font-weight: 800; font-size: 28px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.sheet h3 button { border: 0; background: none; font-size: 28px; color: var(--gray); line-height: 1; }
.li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.li .nm { flex: 1; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 6px; border: 0; box-shadow: inset 0 0 0 1.5px rgba(34,32,25,.18); background: #fff; font-weight: 800; }
.tot { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; padding: 14px 0 4px; }

/* Asistente (burbuja de chat) */
#chat-btn { position: fixed; right: 14px; bottom: 14px; z-index: 950; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--acc);
  box-shadow: 0 8px 24px rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; }
#chat-btn svg { width: 26px; height: 26px; }
#chat-btn .dot { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: #E0483E; border: 2px solid #fff; }
#chat { position: fixed; right: 12px; bottom: 84px; z-index: 1700; width: 370px; max-width: calc(100vw - 24px); height: min(560px, calc(100svh - 150px)); background: var(--paper);
  border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right;
  transform: scale(.6) translateY(30px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .2s; }
#chat.show { transform: none; opacity: 1; pointer-events: auto; }
#chat .h { background: var(--acc-d); color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 10px; }
#chat .h .av { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; }
#chat .h b { display: block; font-size: 15px; } #chat .h small { opacity: .85; font-size: 12.5px; }
#chat .h button { margin-left: auto; border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; }
#chat .msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg2); }
#chat .m { max-width: 84%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.4; background: #fff; align-self: flex-start; border-top-left-radius: 3px; white-space: pre-line; }
#chat .m.me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 12px; border-top-right-radius: 3px; }
#chat .m.typing { color: var(--gray); font-style: italic; }
#chat .opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: var(--bg2); }
#chat .opts button { border: 0; box-shadow: inset 0 0 0 1.5px var(--acc); background: #fff; color: var(--acc-d); border-radius: 6px; padding: 7px 12px; font-weight: 700; font-size: 13.5px; }
#chat form { display: flex; gap: 8px; padding: 10px 12px; background: var(--bg2); }
#chat form input { flex: 1; border: 0; border-radius: 6px; padding: 11px 14px; font-size: 16px; outline: none; }
#chat form button { border: 0; border-radius: 6px; background: var(--acc); color: #fff; font-weight: 700; padding: 0 16px; }
#chat .demo-note { font-size: 12px; color: var(--gray); text-align: center; padding: 0 12px 8px; background: var(--bg2); }
@media (min-width: 760px) { #cartbar, #track { right: auto; width: 420px; } }
.consent { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: var(--gray); margin-top: 12px; cursor: pointer; }
.consent input { width: 19px; height: 19px; accent-color: var(--acc); flex: none; }

/* Promoción para todos (sale cuando el dueño la manda desde su panel) */
.promo { background: #F2C14E; color: var(--ink); padding: 22px 20px; }
.promo .wrap { display: grid; gap: 4px 20px; grid-template-columns: 1fr auto; align-items: center; }
.promo .ptag { grid-column: 1 / -1; font-size: 14px; font-weight: 700; }
.promo h3 { font-family: var(--serif); font-stretch: 80%; font-weight: 800; font-size: 26px; line-height: 1.1; }
.promo p { grid-column: 1; font-size: 15.5px; max-width: 60ch; }
.promo .btn { grid-column: 2; grid-row: 2 / span 2; background: var(--ink); color: #fff; }
@media (max-width: 520px) { .promo .wrap { grid-template-columns: 1fr; } .promo .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; } }

/* Entrada: el lead escribe el nombre de su bar */
#entrada { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 40px 0 48px; }
#entrada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#entrada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,16,12,.12) 0%, rgba(18,16,12,.7) 30%, rgba(18,16,12,.93) 62%); }
#entrada .in { position: relative; z-index: 1; width: 100%; max-width: 520px; padding: 0 20px; margin: 0 auto; }
#entrada .tipo { font-size: 16px; font-weight: 600; opacity: .9; }
#entrada h1 { font-family: var(--serif); font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 14vw, 5rem); line-height: .88; margin: 8px 0 14px; }
#entrada p { opacity: .92; font-size: 17px; margin-bottom: 22px; }
#entrada form { display: grid; gap: 12px; }
#entrada .inp { font-size: 18px; padding: 15px; }
#entrada .chips { flex-wrap: wrap; }
#entrada .chip { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); color: #fff; font-size: 15px; }
#entrada .chip.on { background: #fff; color: var(--ink); box-shadow: none; }
#entrada .btn { padding: 15px; font-size: 17px; }
#entrada small { display: block; margin-top: 14px; opacity: .75; font-size: 13.5px; }

/* 2026-11-16: entrada con opciones, carta propia (sin fotos y sin columna de precios) y opinar */
.ejemplo a { color: var(--acc-d); font-style: normal; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#entrada details { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); border-radius: var(--r); padding: 0 14px; }
#entrada summary { cursor: pointer; padding: 13px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
#entrada summary::-webkit-details-marker { display: none; }
#entrada summary span { font-weight: 500; font-size: 13px; opacity: .7; }
#entrada details[open] { padding-bottom: 14px; }
#entrada .el { font-size: 14.5px; font-weight: 600; margin: 10px 0 8px; opacity: 1; }
#entrada .en { font-size: 12.5px; opacity: .7; margin: 8px 0 0; }
#entrada .subir { display: inline-block; cursor: pointer; padding: 10px 14px; border-radius: 6px; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
#entrada .lnk { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; padding: 4px; }
.plato.sinfoto { padding: 16px 0; }
.platos.opt .dots { display: none; }
.platos.opt .l1 { justify-content: space-between; }
.platos.opt .pr { font-weight: 600; font-size: 16px; color: var(--gray); }
.opina { margin-top: 22px; background: var(--bg2); }
.stars5 { display: flex; gap: 4px; margin-bottom: 12px; }
.stars5 button { background: none; border: 0; font-size: 34px; line-height: 1; color: rgba(34,32,25,.22); padding: 2px; }
.stars5 button.on { color: #E0A21B; }
textarea.inp { width: 100%; resize: vertical; font-family: inherit; }

/* 2026-11-17: su ficha de Google (candidatos en la entrada, crédito de la foto, tira de fotos del local) */
#eg { display: grid; gap: 6px; }
#entrada #eg p { margin: 0; font-size: 14px; opacity: 1; }
#eg .eg-s { display: block; width: 100%; text-align: left; background: #fff; color: var(--ink); border: 0; border-radius: 6px; padding: 10px 12px; }
#eg .eg-s b { display: block; font-size: 16px; line-height: 1.25; }
#eg .eg-s span { display: block; font-size: 13.5px; color: var(--gray); line-height: 1.3; }
#entrada #eg .eg-g { font: 400 12px Roboto, Arial, sans-serif; color: #fff; text-align: right; }
#entrada #eg .eg-ok { background: rgba(255,255,255,.14); border-radius: 6px; padding: 10px 12px; font-size: 15px; }
#entrada #eg .eg-ok .lnk { display: block; padding: 4px 0 0; font-size: 13.5px; opacity: .85; }
#hero .credito { position: absolute; z-index: 2; right: 10px; bottom: 8px; font-size: 11.5px; color: rgba(255,255,255,.8); }
#hero .credito a { text-decoration: underline; }
.tira { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.tira figure { flex: none; width: min(78vw, 420px); scroll-snap-align: start; }
.tira img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--bg2); }
.tira figcaption { font-size: 12px; color: var(--gray); margin-top: 4px; }
.tira figcaption a { text-decoration: underline; }
#local .ejemplo { margin: 12px 0 0; }
@media (min-width: 900px) { .tira { padding: 0 max(20px, calc((100vw - 1100px) / 2)) 6px; } }
