/* Estilos comunes de la web de MANDU (reservas y carta), según el diseño aprobado:
   fondo negro, detalles naranjas, logo circular, tipografía fina en mayúsculas. */

:root {
  --bg: #0f0e0c;
  --bg-2: #171512;
  --panel: #1c1a17;
  --panel-2: #24211d;
  --line: #3a352e;
  --line-2: #4a443b;
  --text: #f4efe8;
  --muted: #b5ada2;
  --dim: #7d766c;
  --orange: #f5a031;
  --orange-2: #ffb450;
  --orange-ink: #1a1510;
  --red: #d7261e;
  --cream: #f3ece2;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
.o { color: var(--orange); }
.script { font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; color: var(--orange); font-weight: 400; letter-spacing: 0; line-height: .9; }

/* Cabecera */
.site-head { position: relative; z-index: 20; background: #0b0a09; border-bottom: 1px solid #1f1c19; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 94px; }
.site-logo { position: relative; align-self: center; margin: 0; width: 78px; height: 78px; flex: none; border-radius: 50%; background: #0b0a09; box-shadow: 0 0 0 2px var(--orange); overflow: hidden; }
.site-logo img { width: 100%; height: 100%; display: block; }
.site-nav { display: flex; gap: 34px; margin-left: 40px; margin-right: auto; flex: 1 1 auto; min-width: 0; }
.site-nav a { white-space: nowrap; }
/* Menú que no cabe (lo decide mandu.js midiendo): desplegable también en escritorio. */
.site-head.compact .site-nav { visibility: hidden; position: absolute; pointer-events: none; }
.site-head.compact .burger { display: block; }
.site-head.compact .lang-sel { margin-left: auto; }
/* Menús largos (portada, Conócenos, ofertas, empleo): la cabecera usa más ancho que el contenido. */
.site-head.wide .wrap { max-width: 1240px; }
.site-nav a { text-decoration: none; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a.on { color: var(--orange); border-bottom-color: var(--orange); }
.site-nav a:hover { color: var(--orange); }
.lang-sel { width: auto; background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 10px; font-size: 13px; color: var(--text); }
.lang-sel option { background: var(--panel); }
.btn-top { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: var(--orange-ink); text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 20px; border-radius: 4px; }
.btn-top:hover { background: var(--orange-2); }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 30px; padding: 4px; cursor: pointer; }
.drawer { position: absolute; left: 0; right: 0; top: 100%; background: #0b0a09; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: grid; gap: 4px; }
.drawer a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid #1f1c19; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }

/* Títulos de sección */
.kicker { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin: 0; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2px; background: var(--orange); }
.h-title { font-weight: 300; font-size: clamp(28px, 4vw, 40px); letter-spacing: 2px; text-transform: uppercase; text-align: center; margin: 6px 0 2px; line-height: 1.15; }
.h-sub { text-align: center; color: var(--text); margin: 0; font-size: 17px; font-weight: 300; }
.h-line { display: block; width: 44px; height: 2px; background: var(--orange); margin: 14px auto 0; }

/* Pasos */
.stepper { display: flex; justify-content: space-between; position: relative; padding: 0 2%; }
.stepper::before { content: ""; position: absolute; left: 7%; right: 7%; top: 17px; height: 1px; background: var(--line-2); }
.stepper .bar { position: absolute; left: 7%; top: 17px; height: 2px; background: var(--orange); }
.stepper .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 20%; font-size: 15px; }
.stepper .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--text); font-size: 15px; }
button.st { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
button.st:hover .dot { box-shadow: 0 0 0 4px rgb(245 160 49 / .3); }
button.st:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
button.st:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }
.stepper .st.on .dot, .stepper .st.done .dot { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 600; }

/* Botones */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 300px; padding: 15px 30px; border: 0; border-radius: 6px; background: var(--orange); color: var(--orange-ink); font-weight: 600; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn-cta:hover { background: var(--orange-2); }
.btn-cta:disabled { opacity: .45; cursor: not-allowed; }
.btn-cta .ico { font-size: 22px; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; border: 1.5px solid var(--orange); border-radius: 4px; background: transparent; color: var(--orange); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn-line:hover { background: rgb(245 160 49 / .1); }
.btn-edit { border: 1px solid var(--line-2); background: transparent; border-radius: 4px; font-size: 13px; padding: 3px 10px; cursor: pointer; color: var(--text); }
.btn-edit:hover { border-color: var(--orange); }
.link-o { color: var(--orange); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

/* Pie */
.features { display: flex; align-items: center; gap: 24px; padding: 34px 0 30px; }
.features .f { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; width: 140px; font-size: 14px; line-height: 1.3; }
.features .f .ico { font-size: 38px; color: var(--orange); stroke-width: 1.3; }
.features .sign { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.features .sign .script { font-size: 44px; transform: rotate(-8deg); text-align: center; }
.stamp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--red); color: var(--red); border-radius: 6px; padding: 6px 7px; font-size: 26px; line-height: 1.05; font-weight: 700; }
.site-foot { background: #0b0a09; border-top: 1px solid #1f1c19; }
.site-foot .wrap { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.site-foot .logo { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--orange); }
.site-foot .contact { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.site-foot .contact a { text-decoration: none; color: var(--text); }
.site-foot .contact .wa-contact { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid var(--line-2); border-radius:7px; color:var(--orange); width:fit-content; min-height:44px; }
.site-foot .wa-contact svg { width:18px; height:18px; }
.site-foot .copy { margin-left: auto; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .wrap { padding: 0 14px; }
  .site-head .wrap { height: 104px; justify-content: space-between; gap: 10px; }
  .site-nav, .btn-top.desk { display: none; }
  .burger { display: block; }
  .site-logo { position: absolute; left: 50%; transform: translateX(-50%); top: 4px; margin: 0; width: 96px; height: 96px; }
  .stepper .st { font-size: 12px; }
  .stepper .dot { width: 30px; height: 30px; font-size: 14px; }
  .stepper::before, .stepper .bar { top: 15px; }
  .btn-cta { width: 100%; min-width: 0; }
  .features { flex-wrap: wrap; justify-content: space-around; gap: 14px 6px; padding: 24px 0; }
  .features .f { width: 22%; font-size: 12px; }
  .features .f .ico { font-size: 30px; }
  .features .sign { margin: 6px auto 0; }
  .features .sign .script { font-size: 34px; }
  .site-foot .copy { margin-left: 0; width: 100%; }
  .site-foot .contact { flex-direction: column; gap: 4px; }
  .stepper .st { font-size: 11px; }
}

/* Portada con las tres fotos, cabeceras de sección y tarjetas de restaurante.
   Compartido por la web de reservas (/) y la portada (/inicio). */
.hero { position: relative; overflow: hidden; background: #0b0a09; }
.hero .bg { position: absolute; inset: 0; display: flex; }
.hero .bg img { flex: 1; min-width: 0; height: 100%; object-fit: cover; opacity: .38; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 10 9 / .95) 0%, rgb(11 10 9 / .55) 45%, rgb(11 10 9 / .35) 100%), linear-gradient(transparent 60%, var(--bg)); }
.hero .in { position: relative; min-height: 300px; padding-top: 70px; padding-bottom: 36px; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { letter-spacing: 5px; text-transform: uppercase; font-size: 14px; }
.hero h1 { margin: 6px 0 8px; font-weight: 300; font-size: clamp(38px, 6vw, 58px); line-height: 1.02; text-transform: uppercase; letter-spacing: 1px; }
.hero .tag { font-size: 19px; font-weight: 300; line-height: 1.3; }
.hero .tag::after { content: ""; display: block; width: 56px; height: 3px; background: var(--orange); margin-top: 18px; }
.hero .ko { position: absolute; right: 20px; top: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hero .ko b { font-size: 44px; line-height: 1.05; font-weight: 400; }
.hero .ko i { width: 3px; height: 50px; background: var(--orange); }
.hero .ko span { font-size: 13px; letter-spacing: 3px; line-height: 1.5; }
.hero .hs { position: absolute; left: 46%; bottom: 60px; font-size: 44px; transform: rotate(-10deg); }
.sec-head { margin: 36px 0 22px; text-align: center; }
.sec-head h2 { margin: 0; font-weight: 400; font-size: 28px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head p { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 0; }
.sec-head p::before, .sec-head p::after { content: ""; width: 26px; height: 2px; background: var(--orange); }
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.loc { display: flex; flex-direction: column; border: 1.5px solid #7a5a2c; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.loc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.loc .body { padding: 14px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.loc h3 { margin: 0 0 12px; font-weight: 500; font-size: 20px; text-transform: uppercase; letter-spacing: .3px; }
.info { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.35; margin: 0 0 14px; }
.info .ico { font-size: 20px; color: var(--orange); margin-top: 1px; }
.info a { text-decoration: none; }
.loc .btn-line { margin-top: auto; width: 100%; font-size: 15px; }
.loc .go { display: none; }
@media (max-width: 900px) {
  .hero .in { min-height: 230px; padding-top: 30px; }
  .hero h1 { font-size: 34px; }
  .hero .eyebrow { font-size: 12px; }
  .hero .tag { font-size: 15px; }
  .hero .ko { right: 14px; top: 80px; }
  .hero .ko b { font-size: 34px; }
  .hero .ko span { font-size: 11px; letter-spacing: 2px; }
  .hero .hs { left: auto; right: 14px; bottom: 6px; font-size: 24px; }
  .hero .ko { top: 26px; }
}

/* Ofertas (portada, /ofertas y vista previa del panel), cocina, Instagram y reseñas.
   Solo clases nuevas: no cambian la web de reservas ni la carta. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.home-sec { scroll-margin-top: 16px; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.offers.one .offer { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.offer { display: grid; grid-template-rows: auto 1fr; border: 1.5px solid #7a5a2c; border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.offer.no-img { grid-template-rows: 1fr; }
.offers.one .offer.no-img { grid-template-columns: 1fr; }
.offer-img { position: relative; background: #0b0a09; }
/* Imágenes de oferta enteras: un cartel con título y precio no se puede recortar. scale-down = contain sin ampliar
   nunca por encima de su tamaño real (los originales suelen ser de poca resolución). */
.offer-img img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: scale-down; }
.offer-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.offer-label { align-self: flex-start; background: var(--orange); color: var(--orange-ink); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.offer h3, .offer h1, .offer-pop h2 { margin: 2px 0 0; font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: .5px; overflow-wrap: anywhere; }
.offer-desc { margin: 0; font-weight: 300; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.offer-hl { margin: 2px 0; color: var(--orange); font-weight: 500; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.offer-hl .hl-amt { font-weight: 600; white-space: nowrap; }
.offer-hl .hl-rest { color: var(--text); font-size: .78em; font-weight: 400; white-space: nowrap; }
.offer-meta { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.35; }
.offer-meta .ico { color: var(--orange); font-size: 18px; margin-top: 1px; }
.offer-fallback { margin: 0; align-self: flex-start; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 8px; }
.offer .offer-go { margin-top: auto; min-width: 0; width: 100%; font-size: 16px; padding: 12px 18px; }
.offers-more { text-align: center; margin: 18px 0 0; }

/* Detalle de una oferta (/ofertas?id=…) */
.offer-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.offer-detail.no-img { grid-template-columns: 1fr; }
.offer-detail .offer-img { grid-row: span 2; }
.offer-detail .offer-img img { min-height: 100%; max-height: 680px; }
.offer-detail h1 { font-size: clamp(30px, 4vw, 40px); }
.offer-detail h2, .offer-where h2 { margin: 14px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.offer-when { margin: 0; }
.offer-when span { color: var(--muted); font-size: 14px; }
.offer-cond { margin: 0; white-space: pre-line; font-weight: 300; line-height: 1.5; overflow-wrap: anywhere; }
.offer-where { padding: 0 20px 20px; display: grid; gap: 10px; align-content: start; }
.offer-loc { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.offer-loc b { font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.offer-loc .acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.offer-loc .btn-cta { min-width: 0; font-size: 15px; padding: 11px 18px; }
.offer-loc .btn-line { font-size: 14px; }
.offer-state { text-align: center; padding: 40px 16px; border: 1.5px solid #7a5a2c; border-radius: var(--radius); background: var(--bg-2); }
.offer-state h1 { font-weight: 300; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(24px, 4vw, 34px); margin: 0 0 8px; }
.offer-state .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.offer-state .btn-cta { min-width: 0; }

/* Ventana de entrada (5 segundos) */
.offer-pop { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1.5px solid var(--orange); border-radius: 12px; background: var(--bg-2); color: var(--text); overflow: hidden; }
.offer-pop[open] { display: flex; flex-direction: column; }
.offer-pop.static { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 5; box-shadow: 0 0 0 100vmax rgb(5 5 4 / .72); }
.op-scroll { overflow: auto; overscroll-behavior: contain; min-height: 0; }
.offer-pop::backdrop { background: rgb(5 5 4 / .72); }
.offer-pop[open] { animation: op-in .25s ease-out; }
@keyframes op-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.op-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.offer-pop.no-img .op-grid { grid-template-columns: 1fr; }
.op-img { background: #0b0a09; }
.op-img img { display: block; width: 100%; height: 100%; min-height: 260px; max-height: 520px; object-fit: scale-down; }
.op-body { position: relative; padding: 26px 24px 54px; display: flex; flex-direction: column; gap: 8px; }
.offer-pop h2 { padding-right: 34px; }
.offer-pop h2:focus { outline: none; }
.op-acts { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.op-acts .btn-cta { width: 100%; min-width: 0; font-size: 16px; padding: 13px 18px; }
.op-keep { font-size: 15px; color: var(--text); text-decoration-color: var(--orange); padding: 6px 4px; }
.op-keep:disabled { cursor: default; text-decoration: none; color: var(--muted); }
.op-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgb(11 10 9 / .7); color: var(--text); font-size: 22px; cursor: pointer; }
.op-x::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgb(244 239 232 / .7); }
.op-x:hover::after, .op-x:focus-visible::after { border-color: var(--orange); }
.op-x:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* Explicit dimensions and zero padding also override WordPress/Elementor buttons. */
body .offer-pop button.op-x { box-sizing: border-box; padding: 0 !important; margin: 0; width: 44px; min-width: 44px; max-width: 44px; height: 44px; min-height: 44px; border: 1px solid #b5ada2; border-radius: 50% !important; background: #171512; color: #f4efe8; display: grid; place-items: center; line-height: 1; box-shadow: 0 2px 12px #0006; }
body .offer-pop button.op-x::after { display: none; }
body .offer-pop button.op-x .ico { display: block; width: 20px; height: 20px; margin: 0; stroke-width: 2; pointer-events: none; }
body .offer-pop button.op-keep { padding: 6px 8px; min-height: 36px; background: transparent; border: 0; color: var(--orange); font-size: 14px; }
body .site-head button.burger { padding: 0; width: 44px; height: 44px; min-width: 44px; border: 0; background: transparent; color: var(--text); line-height: 1; }
body .site-head button.burger .ico { width: 24px; height: 24px; }
.op-count { position: absolute; right: 16px; bottom: 16px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--text); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; pointer-events: none; }
.op-count svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.op-count .op-track { stroke: rgb(245 160 49 / .25); stroke-width: 1.5; }
.op-count .op-ring { stroke: var(--orange); stroke-width: 1.5; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.offer-pop.paused .op-n { font-size: 8px; letter-spacing: -1px; }
@media (prefers-reduced-motion: reduce) {
  .offer-pop[open] { animation: none; }
  .op-count .op-ring { transition: none; }
}

/* Nuestra cocina */
.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1.5px solid #7a5a2c; border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.dish img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.dish .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.dish h3 { margin: 0; font-weight: 400; font-size: 22px; letter-spacing: .5px; }
.dish .ko { color: var(--orange); font-size: 15px; }
.dish p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.dish .price { color: var(--text); font-weight: 500; margin-top: 4px; }
.more-link { text-align: center; margin: 18px 0 0; }

/* Instagram */
.ig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin: 0 0 16px; }
.ig-user { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; text-decoration: none; }
.ig-user .ico { color: var(--orange); font-size: 24px; }
.ig-gate { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 22px 18px; text-align: center; display: grid; gap: 12px; justify-items: center; background: var(--bg-2); }
.ig-gate p { margin: 0; max-width: 620px; color: var(--muted); font-size: 14px; }
.ig-gate .btn-line { font-size: 14px; }
.ig-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ig-posts.n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ig-posts.n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.ig-post { min-width: 0; }
.ig-post .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.ig-post iframe { max-width: 100% !important; min-width: 0 !important; }
.ig-fallback { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--muted); }
.ig-link { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }

/* Reseñas */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reviews > div { text-align: center; padding: 6px 12px 10px; border-left: 1px solid var(--line); display: grid; gap: 8px; justify-items: center; }
.reviews > div:first-child { border-left: 0; }
.reviews b { font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 17px; }
.reviews a { font-size: 14.5px; }

/* Ofertas con vídeo (reel vertical): en tarjetas, en la ficha (reel arriba, texto debajo) y en la ventana de entrada */
.offer-img video, .op-img video { display: block; width: 100%; background: #0b0a09; object-fit: contain; }
.offer-vid { display: block; text-decoration: none; color: inherit; }
.offer-vid video { height: auto; max-height: 520px; pointer-events: none; }
.vid-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border-radius: 999px; background: rgb(11 10 9 / .78); color: var(--text); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.vid-badge .ico { fill: currentColor; stroke: none; }
.offer-detail.has-video { grid-template-columns: 1fr; }
.offer-detail.has-video .offer-img { grid-row: auto; display: flex; flex-direction: column; align-items: center; }
.offer-reel video { width: 100%; height: auto; max-height: min(78vh, 760px); max-height: min(78dvh, 760px); }
.reel-error { margin: 10px 16px 14px; color: var(--muted); font-size: 14px; text-align: center; }
.offer-pop.has-video { width: min(860px, calc(100vw - 32px)); }
/* Vídeo horizontal (o mientras se lee su tamaño): arriba y el texto debajo. Vertical («tall»): a la izquierda. */
.offer-pop.has-video .op-grid { grid-template-columns: 1fr; }
.offer-pop.has-video.tall .op-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); align-items: stretch; }
.op-video { display: flex; flex-direction: column; justify-content: center; }
.op-video video { height: auto; max-height: 62vh; max-height: 62dvh; }
.offer-pop.has-video.tall .op-video video { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.offer-pop.has-video .op-body { padding-bottom: 26px; }

@media (max-width: 900px) {
  .offers, .offers.one .offer, .offer-detail { grid-template-columns: 1fr; }
  .offer-detail .offer-img { grid-row: auto; }
  .offer-detail .offer-img img { min-height: 0; height: auto; max-height: 520px; }
  .offer h3, .offer-pop h2 { font-size: 24px; }
  .offer-hl { font-size: 23px; }
  .offer-body { padding: 16px 16px 18px; }
  .offer-where { padding: 0 16px 18px; }
  .op-grid { grid-template-columns: 1fr; }
  .op-img img { min-height: 0; height: auto; max-height: 40vh; max-height: 40dvh; }
  .offer-pop.has-video .op-grid, .offer-pop.has-video.tall .op-grid { grid-template-columns: 1fr; }
  .op-video video, .offer-pop.has-video.tall .op-video video { max-height: 58vh; max-height: 58dvh; }
  .offer-pop.has-video .op-body { padding-bottom: 20px; }
  .offer-reel video { width: 100%; height: auto; max-height: 80vh; max-height: 80dvh; }
  .op-body { padding: 18px 18px 50px; }
  .dishes { grid-template-columns: 1fr; }
  .ig-posts, .ig-posts.n1, .ig-posts.n2 { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-template-columns: 1fr; gap: 0; }
  .reviews > div { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0; }
  .reviews > div:first-child { border-top: 0; }
}
@media (max-width: 420px) {
  .dish { grid-template-columns: 120px minmax(0, 1fr); }
  .dish .body { padding: 12px 14px; }
  .dish h3 { font-size: 19px; }
}

/* Títulos de sección de la portada y Conócenos (maquetas de los PR #18 y #21): antetítulo dorado y título con rayas */
.sec2 { text-align: center; margin: 54px 0 24px; }
.sec2 .k { margin: 0 0 6px; color: var(--orange); font-size: 13px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }
.sec2 h2 { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0; font-weight: 500; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.2; letter-spacing: .3px; }
.sec2 h2::before, .sec2 h2::after { content: ""; flex: 0 0 64px; height: 1.5px; background: var(--orange); }
@media (max-width: 900px) {
  .sec2 { margin: 40px 0 18px; }
  .sec2 h2 { gap: 12px; }
  .sec2 h2::before, .sec2 h2::after { flex-basis: 24px; }
}

/* Menú largo (portada, ofertas y Conócenos): menos espacio entre enlaces para que quepan */
.site-nav.long { gap: clamp(14px, 1.6vw, 26px); margin-left: 28px; }
.site-nav.long a { font-size: 12.5px; }

/* Historia de Mandú (portada y Conócenos) */
.story { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 56px; }
.story figure { margin: 0; }
.story img { display: block; width: 100%; height: auto; aspect-ratio: 642 / 826; object-fit: cover; border-radius: var(--radius); border: 1.5px solid #7a5a2c; background: var(--bg-2); }
.story figcaption { margin-top: 8px; text-align: center; font-size: 14px; font-style: italic; color: var(--muted); }
.story .k { margin: 0 0 6px; color: var(--orange); font-size: 13px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }
.story h2 { margin: 0 0 14px; font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.story p { margin: 0 0 14px; font-size: 17.5px; font-weight: 300; line-height: 1.6; max-width: 62ch; }
.story .link-o { margin-top: 6px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; min-height: 44px; }

/* A domicilio y para llevar: selector de local y plataformas */
.del-intro { text-align: center; margin: -8px 0 18px; font-weight: 300; font-size: 17px; }
.del-pick { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.del-pick label { font-size: 15px; letter-spacing: .5px; }
.del-pick select { min-width: 280px; min-height: 44px; background: var(--bg-2); color: var(--text); border: 1.5px solid #7a5a2c; border-radius: 6px; padding: 8px 12px; font-size: 16px; }
.del-pick select:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.del-hint { text-align: center; color: var(--muted); font-size: 14px; min-height: 1.4em; margin: 12px 0 14px; }
.del-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.del-grid.n1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.del-grid.n2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.del-card { border: 1.5px solid #7a5a2c; border-radius: var(--radius); background: var(--bg-2); padding: 20px 18px 18px; display: grid; gap: 14px; justify-items: center; text-align: center; }
/* Logos: caja fija y contain; la altura de cada uno compensa su proporción para que pesen parecido. */
.del-card .pf { display: flex; align-items: center; justify-content: center; height: 56px; width: 100%; }
.del-card .pf img { display: block; width: auto; max-width: 78%; object-fit: contain; }
.del-card[data-pf="glovo"] .pf img { height: 50px; }
.del-card[data-pf="uberEats"] .pf img { height: 24px; }
.del-card[data-pf="justEat"] .pf img { height: 34px; }
.del-card .btn-cta, .del-card .btn-off { width: 100%; min-width: 0; min-height: 44px; font-size: 15px; padding: 11px 14px; }
.del-card .btn-off { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed var(--line-2); border-radius: 6px; color: var(--dim); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.del-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .story figure { width: 100%; max-width: 420px; margin: 0 auto; }
  .story p { font-size: 17px; }
  .del-pick { flex-direction: column; align-items: stretch; }
  .del-pick select { min-width: 0; width: 100%; }
  .del-grid, .del-grid.n1, .del-grid.n2 { grid-template-columns: 1fr; }
}

/* Carta de las mesas: QR original de cada local junto a «Ver carta» (mandu.js · menuQr) */
.menu-qr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.menu-qr.no-qr { grid-template-columns: 1fr; }
.menu-qr-img { display: block; width: 132px; height: auto; border-radius: 8px; background: #fff; transition: box-shadow .15s; }
/* El QR es el botón de ampliar. !important: el tema de WordPress (Elementor) da estilo a todos los botones. */
.menu-qr .menu-qr-zoom, .menu-qr .menu-qr-zoom:hover, .menu-qr .menu-qr-zoom:focus, .menu-qr .menu-qr-zoom:active { display: block; width: auto; min-height: 0; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 8px; background: transparent !important; box-shadow: none !important; line-height: 0; cursor: zoom-in; justify-self: start; }
.menu-qr .menu-qr-zoom:hover .menu-qr-img { box-shadow: 0 0 0 2px var(--orange); }
.menu-qr .menu-qr-zoom:focus-visible { outline: 2px solid var(--orange) !important; outline-offset: 3px; }
.menu-qr-see { justify-self: start; min-width: 0; white-space: nowrap; padding: 10px 14px; font-size: 14px; }
.qr-pop { width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px 20px 22px; border: 1px solid #7a5a2c; border-radius: 12px; background: var(--bg-2); color: var(--text); }
.qr-pop::backdrop { background: rgb(0 0 0 / .8); }
.qr-pop h2 { margin: 4px 52px 14px 0; font-weight: 500; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; outline: none; }
.qr-pop img { display: block; width: 100%; max-width: 560px; max-height: calc(100dvh - 230px); object-fit: contain; height: auto; margin: 0 auto; background: #fff; border-radius: 10px; }
.qr-pop p { color: var(--muted); font-size: 14px; text-align: center; margin: 12px 0 0; }
.qr-pop-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.qr-pop-acts .btn-cta { min-width: 0; font-size: 16px; padding: 12px 24px; }
@media (max-width: 420px) { .menu-qr { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; } .menu-qr-img { width: 112px; } .qr-pop-acts > * { width: 100%; } }

/* Oferta con reserva del Menú de Navidad (página /navidad) */
.offer-xmas-top { margin: 16px 0 4px; }
.offer-xmas-top .btn-cta { min-width: 0; max-width: 100%; font-size: 16px; padding: 13px 20px; }
