/* atlacomulcovip — sistema de diseño (8.0)
   Paleta: lima #E6FF2B · verde azulado #0B4650 · hueso #F9F7F2 · gris #898A8D · WhatsApp #1F7A4D
   Claros = fondos · oscuros = botones y letras · blanco para resaltar sobre oscuro.
   --gold se conserva como nombre: ahora es el acento lima (solo sobre fondo oscuro o como fondo de chip).
   espaciado base 4px · radios 8/12/16 */
:root {
  --ink: #0B4650;
  --ink-2: #2E5A61;
  --ink-deep: #08353D;
  --gold: #E6FF2B;
  --gold-ink: #0B4650;
  --cream: #F9F7F2;
  --sand: #EFEDE5;
  --gray: #898A8D;
  --muted: #6C6E71;
  --line: #E3E1D9;
  --white: #FFFFFF;
  --wa: #1F7A4D;
  --wa-dark: #17603C;
  --ok: #1F7A4D;
  --warn: #8A5A00;
  --err: #B3261E;
  --r1: 8px; --r2: 12px; --r3: 16px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --shadow: 0 1px 2px rgba(11,70,80,.06), 0 4px 16px rgba(11,70,80,.07);
  --shadow-lg: 0 10px 40px rgba(11,70,80,.16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --brand: var(--ink); --brand-ink: #fff; --brand2: var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 var(--s3); }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s3); }
code { font-size: .875em; background: var(--cream); padding: 1px 6px; border-radius: 4px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
:is(.topbar, .catnav, .hero, .section--dark, .section--ink, .site-footer, .app-side, .upsell, .hero-stat) :focus-visible { outline-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; border-radius: var(--r1); }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.muted-light { color: #B9C9CC; }
.small { font-size: .875rem; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--gold-ink); }
.empty { color: var(--muted); padding: var(--s5) 0; }
.grid-2 { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.i { flex-shrink: 0; vertical-align: middle; }
[hidden], .is-hidden { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r1); border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; background: var(--cream); color: var(--ink); }
.btn:hover { color: inherit; filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: progress; opacity: .75; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; background: #062C33; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.btn--xl { min-height: 60px; padding: 14px 28px; font-size: 1.15rem; border-radius: var(--r2); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.btn-col { display: grid; gap: var(--s2); margin-top: var(--s4); }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 32px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: inherit; border: 1px solid rgba(255,255,255,.25); text-decoration: none; font: 500 .9rem var(--font); cursor: pointer; }
.page-head .chip, .quick--light .chip { background: var(--cream); border-color: var(--line); }

/* ---------- Insignias ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .05em; padding: 5px 8px; border-radius: 6px; vertical-align: middle; }
.badge--vip { background: var(--ink); color: var(--gold); }
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--ver { background: #E7F2EC; color: var(--wa-dark); }
.badge--plain { background: var(--sand); color: var(--ink); }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill--open { background: #E7F2EC; color: var(--wa-dark); }
.pill--closed { background: #F6E9E7; color: var(--err); }
.tag { font-size: .7rem; font-weight: 700; background: var(--gold); color: var(--ink); padding: 2px 6px; border-radius: 4px; }
.count { background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: auto; }

/* ---------- Encabezado del sitio (estilo revista) ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; font: 700 1.2rem var(--display); color: #fff; text-decoration: none; letter-spacing: -.01em; }
.logo b { color: var(--gold); }
.logo:hover { color: #fff; }
.menu-btn { margin-left: auto; background: none; border: 0; color: #fff; min-width: 44px; min-height: 44px; cursor: pointer; }

/* Barra superior */
.topbar { background: #08353D; color: #B9C9CC; font-size: .8rem; }
.topbar__in { display: flex; align-items: center; gap: var(--s4); min-height: 38px; }
.topbar__date { display: none; align-items: center; gap: 6px; text-transform: capitalize; }
.topbar__links { display: none; gap: var(--s4); }
.topbar a { color: #D5E0E2; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar__acc { margin-left: auto; display: flex; gap: var(--s4); align-items: center; }
.topbar__cta { background: var(--gold); color: var(--ink) !important; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
@media (min-width: 760px) { .topbar__date { display: inline-flex; } }
@media (min-width: 1100px) { .topbar__links { display: flex; } }

/* Cabecera con logo */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); padding-top: var(--s4); padding-bottom: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand__txt { display: grid; line-height: 1.05; }
.brand__name { font: 700 clamp(1.5rem, 4vw, 2.2rem) var(--display); letter-spacing: -.02em; }
.brand__name b { color: var(--ink); background: var(--gold); padding: 0 .2em; border-radius: 6px; }
.brand__tag { font: 600 .68rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
.msearch { flex: 1 1 100%; display: flex; order: 3; }
.msearch input { flex: 1; min-width: 0; min-height: 46px; border: 2px solid var(--ink); border-right: 0; border-radius: var(--r1) 0 0 var(--r1); padding: 8px 14px; font: inherit; }
.msearch input:focus { outline: none; border-color: var(--ink); }
.msearch button { border: 0; background: var(--ink); color: var(--gold); padding: 0 18px; border-radius: 0 var(--r1) var(--r1) 0; cursor: pointer; }
.adslot { display: none; }
@media (min-width: 900px) {
  .msearch { order: 0; flex: 1 1 300px; max-width: 460px; }
  .adslot { display: grid; margin-left: auto; gap: 2px; padding: 10px 18px; border-radius: var(--r1); background: var(--ink); color: #fff; text-decoration: none; min-width: 250px; position: relative; overflow: hidden; }
  .adslot::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(var(--gold), transparent 70%); opacity: .35; }
  .adslot:hover { color: #fff; background: #062C33; }
  .adslot__k { font: 600 .65rem var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
  .adslot strong { font: 700 1rem var(--display); }
  .adslot strong b { color: var(--gold); }
  .adslot__p { font-size: .8rem; color: #D5E0E2; }
}

/* Barra de categorías + mega menú */
.catnav { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--gold); }
.catnav__in { display: flex; align-items: stretch; gap: 0; min-height: 50px; }
.catnav a { color: #fff; text-decoration: none; }
.catnav__home { display: grid; place-items: center; width: 50px; flex: 0 0 50px; background: var(--gold); color: var(--ink) !important; }
.catnav__all { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #0F5661; color: #fff; padding: 0 16px; font: 600 .82rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.catnav__all[aria-expanded="true"] { background: #fff; color: var(--ink); }
.catnav__all[aria-expanded="true"] .i:last-child { transform: rotate(180deg); }
.catnav__list { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__item { position: relative; }
.catnav__item > a { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; font: 500 .85rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; border-right: 1px solid #0F5661; }
.catnav__item > a .i { color: var(--gold); }
.catnav__item > a:hover, .catnav__item:focus-within > a { background: #0F5661; color: var(--gold); }
.catnav__hot { display: none; align-items: center; gap: 6px; padding: 0 16px; background: #B3261E; font: 600 .82rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.catnav__hot:hover { background: #8F1D17; color: #fff; }
.catnav__all-l { display: none; }
@media (min-width: 760px) { .catnav__all-l { display: inline; } .catnav__all-s { display: none; } }
.drop { display: none; }
.catnav__list { min-width: 0; }
/* Desde 1000 px los accesos que no caben antes de «Promociones» se ocultan con app.js (fitCatnav);
   el resto sigue en "Todas las categorías". */
.catnav__item[hidden] { display: none; }
@media (min-width: 1000px) {
  .catnav__hot { flex: 0 0 auto; }
  .catnav__list { overflow: visible; }
  .catnav__hot { display: inline-flex; margin-left: auto; }
  .drop { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold); padding: 8px 0; z-index: 5; }
  .catnav__item:hover .drop, .catnav__item:focus-within .drop { display: grid; }
  .drop a { color: var(--ink) !important; padding: 8px 16px; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; }
  .drop a:hover { background: var(--cream); }
  .drop small { color: var(--muted); }
  .drop__all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; color: var(--gold-ink) !important; }
}
.mega { display: none; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 53px); overflow-y: auto; }
.mega.is-open { display: block; }
.mega a { color: var(--ink); }
.mega__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) 0 var(--s2); border-bottom: 2px solid var(--ink); }
.mega__head strong { font: 600 1.05rem "Oswald", var(--font); text-transform: uppercase; letter-spacing: .06em; }
.mega__close { width: 44px; height: 44px; border: 0; background: var(--cream); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.mega__grid { display: grid; gap: var(--s4) var(--s5); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: var(--s4) 0; }
.mega__parent { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega__parent small { margin-left: auto; font-weight: 600; color: var(--muted); }
.mega__ic { width: 30px; height: 30px; border-radius: 6px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: 0 0 30px; }
.mega__col ul { list-style: none; padding: 6px 0 0 38px; margin: 0; display: grid; gap: 2px; }
.mega__col li a { font-size: .88rem; color: var(--ink-2); text-decoration: none; display: block; padding: 3px 0; }
.mega__col li a:hover, .mega__parent:hover { color: var(--gold-ink); }
.mega__links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--line); }
.mega__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* ---------- Mensajes ---------- */
.flash { padding: 12px 0; font-weight: 500; }
.flash--success { background: #E7F2EC; color: var(--wa-dark); }
.flash--info { background: #F5FBD6; color: var(--warn); }
.flash--error { background: #F6E9E7; color: var(--err); }
.notice { padding: 12px 16px; border-radius: var(--r1); margin: 0 0 var(--s4); border-left: 4px solid; }
.notice--ok { background: #E7F2EC; border-color: var(--wa); }
.notice--info { background: #F5FBD6; border-color: var(--ink); }
.notice--warn { background: #F5FBD6; border-color: #D39B00; }
.notice--error { background: #F6E9E7; border-color: var(--err); }
.notice .btn { margin-left: 8px; }

/* ---------- Home ---------- */
.hero { background: radial-gradient(1200px 400px at 80% -10%, rgba(230,255,43,.25), transparent), var(--ink); color: #fff; padding: var(--s7) 0 var(--s6); }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); max-width: 16ch; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__sub { color: #D5E0E2; font-size: 1.1rem; }
.bigsearch { display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: var(--r2); padding: 6px 6px 6px 14px; max-width: 680px; margin: var(--s5) 0 var(--s4); box-shadow: var(--shadow-lg); }
.bigsearch input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; min-height: 48px; outline: none; }
.bigsearch--light { margin: var(--s5) auto; border: 1px solid var(--line); box-shadow: none; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.section { padding: var(--s7) 0; }
.section--dark { background: #08353D; color: #fff; padding: var(--s6) 0 var(--s7); }
.section--warm { background: var(--cream); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.section__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.section__head h2 .i { color: var(--ink); }
:is(.section--dark, .section--ink, .hero) .section__head h2 .i { color: var(--gold); }
.section__head a { font-weight: 600; white-space: nowrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Carrusel (hero VIP y Premium) */
.hero-carousel, .bcarousel { position: relative; overflow: hidden; border-radius: var(--r3); background: #0F5661; }
.bcarousel { border-radius: 0; }
.hero-carousel__track { display: flex; transition: transform .5s ease; touch-action: pan-y; }
.hero-slide, .bslide { flex: 0 0 100%; position: relative; aspect-ratio: 12/5; min-height: 260px; display: block; color: var(--ci, #fff); background: var(--c, #0B4650); text-decoration: none; }
.hero-slide img, .bslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide__info { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s6) var(--s5) var(--s5); background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; display: grid; gap: 4px; }
.hero-slide__info strong { font: 700 clamp(1.4rem, 4vw, 2.2rem) var(--display); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.car-btn--prev { left: 12px; } .car-btn--next { right: 12px; }
.car-pause { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: grid; place-items: center; }
.car-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 4px; }
.car-dots button { width: 24px; height: 24px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.car-dots button::after { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.car-dots button[aria-current="true"]::after { background: var(--gold); }
.vip-empty { display: grid; gap: 6px; padding: var(--s7) var(--s5); border: 2px dashed rgba(230,255,43,.6); border-radius: var(--r3); text-align: center; color: #fff; text-decoration: none; }
.vip-empty strong { font: 700 2rem var(--display); color: var(--gold); }

/* Tira de fotos del día */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 200px); gap: var(--s3); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.daily { position: relative; border-radius: var(--r2); overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; aspect-ratio: 1; background: var(--sand); margin: 0; }
.daily img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.daily__name { position: absolute; left: 8px; right: 8px; top: 8px; font-weight: 700; font-size: .85rem; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.daily__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 8px 8px; font-size: .78rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }

/* Destacados */
.featured { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feat { background: #fff; border-radius: var(--r2); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; }
.feat__img { aspect-ratio: 3/1.4; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #062C33)); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__body { padding: var(--s4); display: grid; gap: 4px; justify-items: start; }
.feat__body strong { font: 700 1.15rem var(--display); }

/* Categorías */
.cats { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.cat { display: grid; gap: 2px; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r2); text-decoration: none; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); color: inherit; }
.cat span { color: var(--muted); font-size: .85rem; }

/* Tarjeta de negocio */
.cards { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards--list { grid-template-columns: 1fr; }
@media (min-width: 900px) { .cards--list { grid-template-columns: 1fr 1fr; } }
.card { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.card__link { flex: 1; display: flex; gap: var(--s3); padding: var(--s3); text-decoration: none; min-width: 0; }
.card__logo { flex: 0 0 56px; height: 56px; border-radius: var(--r1); background: var(--c); color: var(--ci); display: grid; place-items: center; font: 700 1.4rem var(--display); overflow: hidden; }
.card__logo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: grid; gap: 2px; min-width: 0; align-content: start; }
.card__title { font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card__meta { color: var(--muted); font-size: .85rem; }
.card__desc { font-size: .9rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__wa { flex: 0 0 56px; display: grid; place-items: center; background: var(--wa); color: #fff; }
.card__wa:hover { background: var(--wa-dark); color: #fff; }

/* Promociones */
.promos { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.promos--scroll { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 300px); overflow-x: auto; padding-bottom: 8px; }
.promo { position: relative; background: #fff; border: 2px dashed var(--c, var(--ink)); border-radius: var(--r2); padding: var(--s4); display: grid; gap: 4px; align-content: start; }
.promo__tag { display: inline-flex; gap: 4px; align-items: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--gold-ink); }
.promo h3 { margin: 0; }
.promo p { margin: 0; font-size: .9rem; }
.promo__until { color: var(--muted); font-size: .8rem !important; }
.promo__biz { font-weight: 600; margin-top: 4px; }

/* Planes */
.cycle-toggle { display: inline-flex; background: var(--sand); padding: 4px; border-radius: 999px; margin: 0 auto var(--s5); gap: 4px; }
.plans .cycle-toggle { display: flex; width: fit-content; }
.cycle-toggle button, .cycle-toggle label { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.cycle-toggle .is-on { background: #fff; box-shadow: var(--shadow); }
.cycle-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.plans__grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .plans__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s5); display: grid; gap: var(--s2); }
.plan--pop { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .plan--pop { transform: translateY(-8px); } }
.plan--premium { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan--premium .plan__features li { border-color: #0F5661; }
.plan--premium .plan__desc, .plan--premium .plan__tax { color: #B9C9CC; }
.plan--premium .btn--dark { background: var(--gold); color: var(--ink); }
.plan__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); font: 700 .75rem var(--font); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 1.4rem; }
.plan__desc { color: var(--muted); margin: 0; font-size: .9rem; }
.plan__price { font: 700 2.4rem var(--display); margin: var(--s2) 0 0; }
.plan__price small { font: 500 1rem var(--font); color: var(--muted); }
.plan__tax { margin: 0; font-size: .8rem; color: var(--muted); }
.plan__features { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; }
.plan__features li { display: flex; justify-content: space-between; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.plan__features b { text-align: right; }
details { margin-bottom: var(--s3); }
details > summary { cursor: pointer; font-weight: 600; padding: 10px 0; min-height: 44px; }

/* Páginas internas */
.page-head { background: var(--cream); padding: var(--s6) 0 var(--s5); }
.page-head--tight { padding: var(--s4) 0; }
.page-head--center { text-align: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: var(--s2); }
.search-layout { display: grid; gap: var(--s5); padding-top: var(--s5); padding-bottom: var(--s7); }
@media (min-width: 900px) { .search-layout { grid-template-columns: 260px 1fr; align-items: start; } .filters { position: sticky; top: 80px; } }
.filters { display: grid; gap: var(--s3); background: var(--cream); padding: var(--s4); border-radius: var(--r2); }
.empty-box { text-align: center; padding: var(--s7) var(--s4); background: var(--cream); border-radius: var(--r3); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--s5); }
.pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r1); text-decoration: none; }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.feed { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feed__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.feed__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feed__body { padding: var(--s3); display: grid; gap: 4px; justify-items: start; }
.feed__name { font-weight: 700; }
.map-full { height: calc(100vh - 160px); min-height: 420px; }
.prose h2 { margin-top: var(--s5); }
.prose ul { padding-left: 1.2em; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: var(--s4); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=number], input[type=date], input[type=time], input:not([type]), select, textarea {
  font: inherit; font-weight: 400; min-height: 44px; padding: 10px 12px; border: 1px solid #C5CFD1; border-radius: var(--r1); background: #fff; color: var(--ink); width: 100%;
}
textarea { min-height: 88px; resize: vertical; }
input[type=color] { width: 100%; height: 48px; padding: 4px; border: 1px solid #C5CFD1; border-radius: var(--r1); background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid rgba(11,70,80,.35); }
.form .check, label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--ink); }
.form--row { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s3); }
.form--row label { flex: 1 1 160px; }
.form--inline { margin-top: var(--s3); max-width: 520px; }
.inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.divider { text-align: center; color: var(--muted); font-size: .85rem; position: relative; margin: var(--s4) 0; }
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: var(--s6) 16px; background: var(--cream); }
.auth__box { width: 100%; max-width: 440px; background: #fff; border-radius: var(--r3); padding: var(--s6) var(--s5); box-shadow: var(--shadow); }
.secret { font-size: 1rem; letter-spacing: .05em; }
.masked-email { display: block; margin: 8px 0 4px; font: 600 1.1rem ui-monospace, Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.btn--google { gap: 10px; font-weight: 600; }
.qr { display: grid; place-items: center; min-height: 200px; }
.qr--center { margin: var(--s4) auto; }
.qr canvas, .qr img { background: #fff; padding: 12px; border-radius: var(--r1); }
.sandbox .fake-card { background: linear-gradient(135deg, #0F5661, #08353D); color: #fff; border-radius: var(--r2); padding: var(--s5); display: grid; gap: 6px; font-family: ui-monospace, monospace; margin-top: var(--s4); }
.ficha { display: grid; gap: 6px; padding: var(--s4); border: 2px dashed var(--line); border-radius: var(--r2); margin-top: var(--s4); }

/* ---------- Página de negocio ---------- */
.biz { --c: var(--brand); }
.bh { background: var(--brand); color: var(--brand-ink); padding: var(--s5) 0; }
.bh__in { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
.bh__logo { flex: 0 0 88px; height: 88px; border-radius: var(--r2); background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); font: 700 2rem var(--display); }
.bh__logo img { width: 100%; height: 100%; object-fit: contain; }
.bh__logo--sm { flex-basis: 48px; height: 48px; font-size: 1.2rem; }
.bh__text { flex: 1 1 240px; min-width: 0; }
.bh__text h1 { margin: 2px 0 8px; }
.bh__cat { margin: 0; font-size: .9rem; opacity: .9; }
.bh__cat a { color: inherit; }
.bh__badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bh__actions { display: none; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) { .bh__actions { display: flex; } }
.bbanner { aspect-ratio: 3/1; background: var(--sand); overflow: hidden; }
.bbanner img { width: 100%; height: 100%; object-fit: cover; }
.bbanner__fallback { width: 100%; height: 100%; background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--brand2))); }
.bbanner--inline { border-radius: var(--r3); margin: var(--s5) 0; }
.bbody { padding-top: var(--s5); padding-bottom: var(--s5); }
.binfo { display: grid; gap: var(--s5); margin-bottom: var(--s5); }
@media (min-width: 900px) { .binfo { grid-template-columns: 1.6fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .i { color: var(--muted); margin-top: 2px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); }
.socials--light a { background: rgba(255,255,255,.12); color: #fff; }
.share-btn { min-height: 44px; display: inline-flex; gap: 6px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .9rem var(--font); cursor: pointer; }
.hours { background: var(--cream); border-radius: var(--r2); padding: var(--s4); align-self: start; }
.hours h3 { display: flex; gap: 8px; align-items: center; font-family: var(--font); font-size: 1rem; }
.hours dl { margin: 0; display: grid; }
.hours dl div { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 8px; border-radius: 6px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; text-align: right; }
.hours .is-today { background: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--brand2); }
.hours__ex { font-size: .85rem; color: var(--warn); margin: 8px 0 0; }
.bsec { margin: var(--s6) 0; }
.bsec__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item, .masonry__item { border: 0; padding: 0; background: var(--sand); border-radius: var(--r1); overflow: hidden; cursor: zoom-in; margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__item--cap figcaption { padding: 6px 8px; font-size: .8rem; }
.masonry { columns: 2 200px; column-gap: 8px; }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry__item { display: block; width: 100%; margin-bottom: 8px; break-inside: avoid; }
.daily-one { margin: 0; border-radius: var(--r2); overflow: hidden; background: var(--sand); max-width: 760px; }
.daily-one figcaption { padding: 10px 12px; font-size: .9rem; }
.bcta { background: var(--cream); padding: var(--s5) 0; }
.bcta__in { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: center; }
.bcta__hours { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.bmap { padding: var(--s5) 0; }
.bmap__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s3); }
.bmap__head h2 { margin: 0; }
.map-box { height: 280px; border-radius: var(--r2); margin-top: var(--s3); background: var(--sand); z-index: 0; }
.bmap--big .map-box { height: 440px; border-radius: 0; }
.breport { padding: var(--s4) 16px var(--s6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); font-size: .9rem; color: var(--muted); }
.upsell-mini { font-weight: 600; color: var(--gold-ink); display: inline-flex; gap: 6px; align-items: center; }
.bfooter { background: var(--brand); color: var(--brand-ink); padding: var(--s5) 0 calc(var(--s7) + 40px); }
.bfooter__in { display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.bfooter a { color: inherit; }
@media (min-width: 900px) { .bfooter { padding-bottom: var(--s5); } }
/* Barra de acción fija en móvil (4.2) */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; min-height: 60px; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--ink); }
.actionbar__wa { background: var(--wa); color: #fff !important; }
.actionbar button { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; min-height: 60px; border: 0; background: none; font: 600 .78rem var(--font); color: var(--ink); cursor: pointer; }
.actionbar__addwa { background: #E7F2EC; color: var(--wa-dark) !important; }
.btn--addwa { background: transparent; color: var(--wa); border: 2px dashed var(--wa); }
.btn--addwa:hover { background: rgba(31,122,77,.08); color: var(--wa); }
.btn--share { background: #fff; color: var(--ink); border-color: var(--line); }
.bcta__note { margin: var(--s3) auto 0; text-align: center; color: var(--muted); }
.biz.theme-elegante .btn--share { background: transparent; color: var(--ink); border-color: var(--line); }
.biz.theme-elegante .btn--addwa { color: #6FCF9A; border-color: #6FCF9A; }
@media (min-width: 900px) { .actionbar { display: none; } }
.biz .site-footer { display: none; }
/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 16px; touch-action: pan-y; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; border-radius: var(--r1); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; } .lightbox .lb-next { right: 12px; top: 50%; }

/* ---------- Footer del sitio ---------- */
.site-footer { background: var(--ink); color: #fff; padding: var(--s7) 0 var(--s5); }
.site-footer__grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1.6fr 1fr 1fr 1fr; } }
.site-footer nav.site-footer__cats { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
.site-footer__cats h2 { grid-column: 1 / -1; }
.site-footer h2 { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav a { color: #D5E0E2; text-decoration: none; padding: 2px 0; }
.site-footer nav a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid #0F5661; margin-top: var(--s5); padding-top: var(--s4); font-size: .8rem; color: #898A8D; }

/* ---------- Paneles (negocio y admin) ---------- */
.app { background: var(--cream); }
.app-shell { min-height: 100vh; }
.app-side { position: fixed; inset: 0 auto 0 0; width: 260px; background: var(--ink); color: #fff; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); transform: translateX(-100%); transition: transform .2s; z-index: 60; overflow-y: auto; }
.app-side.is-open { transform: none; box-shadow: var(--shadow-lg); }
.app-side nav { display: grid; gap: 2px; }
.app-side nav a, .side-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r1); color: #D5E0E2; text-decoration: none; font: 500 .92rem var(--font); background: none; border: 0; cursor: pointer; width: 100%; text-align: left; min-height: 44px; }
.app-side nav a:hover, .side-link:hover { background: #0F5661; color: #fff; }
.app-side nav a[aria-current] { background: #0F5661; color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.app-top { position: sticky; top: 0; z-index: 30; display: flex; gap: var(--s3); align-items: center; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); min-height: 60px; }
.app-top__biz { font-weight: 700; }
.menu-btn--dark { color: var(--ink); margin-left: 0; display: inline-grid; place-items: center; }
.app-content { padding: var(--s5) 16px var(--s7); max-width: 960px; }
.app-content--wide { max-width: 1280px; }
.app-h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
@media (min-width: 1000px) {
  .app-side { transform: none; }
  .app-main { margin-left: 260px; }
  .app-top .menu-btn { display: none; }
}
.panel-card { background: #fff; border-radius: var(--r2); padding: var(--s5); margin-bottom: var(--s4); box-shadow: var(--shadow); }
.panel-card h2 { font-size: 1.2rem; }
.panel-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.progress { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; margin-bottom: var(--s3); }
.progress span { display: block; height: 100%; background: var(--ink); }
.kpis { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: var(--s4); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4); display: grid; gap: 2px; text-decoration: none; }
.kpi span { font-size: .82rem; color: var(--muted); }
.kpi strong { font: 700 1.8rem var(--display); }
.kpi small { color: var(--muted); }
.kpi--locked { background: var(--cream); border-style: dashed; }
.kpi--link:hover { border-color: var(--ink); }
.upsell { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); border-radius: var(--r2); background: var(--ink); color: #fff; text-decoration: none; margin-top: var(--s3); }
.upsell .i { color: var(--gold); }
.upsell small { display: block; color: #B9C9CC; }
.upsell:hover { color: #fff; }
.locked { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; padding: var(--s4); border: 2px dashed var(--ink); border-radius: var(--r2); background: #FAFDE6; margin-bottom: var(--s4); }
.locked > div { flex: 1 1 240px; }
.locked p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.locked__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 var(--s5); counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-weight: 700; color: var(--ink); }
.stepper .is-current { color: var(--ink); font-weight: 700; }
.stepper .is-current span { background: var(--gold); }
.stepper .is-done span { background: var(--ink); color: #fff; }
.stepper a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.map-picker { height: 320px; border-radius: var(--r2); background: var(--sand); z-index: 0; }
.hday { border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hday legend { float: left; width: 100px; font-weight: 600; padding: 10px 0; }
.hshift { display: flex; gap: 6px; align-items: center; }
.hshift input { width: 120px; }
.hshift label { display: block; }
.appearance { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .appearance { grid-template-columns: 1fr 1fr; align-items: start; } }
.live-preview { border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.live-preview > p { margin: 0; padding: 6px 12px; background: var(--cream); }
.live-preview__head { background: var(--brand); color: var(--brand-ink); display: flex; gap: 12px; align-items: center; padding: var(--s4); }
.live-preview__head small { display: block; opacity: .85; }
.live-preview__body { padding: var(--s4); display: flex; gap: 8px; align-items: center; }
.live-preview__accent { border: 2px dashed var(--brand2); padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: .85rem; }
.plan-pick { display: grid; gap: var(--s3); }
@media (min-width: 800px) { .plan-pick { grid-template-columns: repeat(3, 1fr); } }
.plan-opt { position: relative; display: grid !important; gap: 4px; padding: var(--s5) var(--s4) var(--s4); border: 2px solid var(--line); border-radius: var(--r2); background: #fff; cursor: pointer; }
.plan-opt input { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; accent-color: var(--ink); }
.plan-opt:has(input:checked) { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-opt--pop { border-color: var(--ink); }
.plan-opt.is-current { opacity: .7; cursor: default; }
.plan-opt strong { font: 700 1.3rem var(--display); }
.plan-opt__price { font-weight: 700; font-size: 1.1rem; }
.plan-opt small { color: var(--muted); font-weight: 400; }
.plan-opt em { font-style: normal; font-size: .82rem; color: var(--gold-ink); font-weight: 600; }
.pay-methods { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.pay-methods legend { font-weight: 700; margin-bottom: var(--s2); }
.pay-opt { display: flex !important; gap: 12px; align-items: center; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r2); background: #fff; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); }
.pay-opt span { display: grid; }
.pay-opt small { font-weight: 400; color: var(--muted); }
.dropzone { display: flex !important; gap: 8px; align-items: center; justify-content: center; padding: var(--s5); border: 2px dashed #C5CFD1; border-radius: var(--r2); cursor: pointer; background: var(--cream); text-align: center; flex-wrap: wrap; }
.dropzone input { width: 100%; max-width: 280px; min-height: 0; border: 0; background: transparent; padding: 0; }
.upload-form { margin-bottom: var(--s4); }
.media-grid { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.media-item { position: relative; border-radius: var(--r1); overflow: hidden; background: var(--sand); }
.media-item[draggable=true] { cursor: grab; }
.media-item.is-dragging { opacity: .4; }
.media-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.media-item.is-hidden-plan img { filter: grayscale(1); opacity: .5; }
.media-item__status { position: absolute; left: 6px; top: 6px; font-size: .7rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.92); }
.media-item__status--pendiente { background: #F5FBD6; color: var(--warn); }
.media-item__status--rechazada { background: #F6E9E7; color: var(--err); }
.media-item__date { position: absolute; left: 6px; bottom: 6px; font-size: .7rem; background: rgba(0,0,0,.6); color: #fff; padding: 2px 6px; border-radius: 4px; }
.media-item__why { display: block; font-size: .72rem; padding: 4px 6px; color: var(--err); background: #fff; }
.media-item__del { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table .num { text-align: right; }
.table tr.is-new td { background: #FAFDE6; }
.dl { display: grid; gap: 8px; margin: 0 0 var(--s4); }
.dl div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.chart { width: 100%; height: auto; }
.chart__a { fill: var(--ink); }
.chart__b { fill: var(--wa); }
.chart__axis { stroke: var(--line); }
.chart__lbl { font-size: 11px; fill: var(--muted); }
.legend { display: flex; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 8px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw--a { background: var(--ink); } .sw--b { background: var(--wa); margin-left: 12px; }
.qr-card { text-align: center; }
.qr-print { display: inline-grid; gap: 8px; justify-items: center; background: var(--brand); color: var(--brand-ink); padding: var(--s5); border-radius: var(--r3); margin-bottom: var(--s4); }
.qr-print strong { font: 700 1.4rem var(--display); }
.copybox { width: 100%; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: var(--s3); flex-wrap: wrap; }
.tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs a[aria-current] { color: var(--ink); border-color: var(--ink); }
.mod-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mod-item { border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; display: grid; }
.mod-item.is-late { border-color: var(--err); }
.mod-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sand); }
.mod-item__meta { padding: 8px 12px; display: grid; gap: 2px; }
.mod-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 12px; align-items: center; }
.mod-actions select { flex: 1 1 160px; min-height: 36px; padding: 4px 8px; font-size: .85rem; }
.mod-text { border-bottom: 1px solid var(--line); padding: var(--s3) 0; }
.mod-text .mod-actions { padding: 0; }
.plans-admin { display: grid; gap: var(--s4); }
@media (min-width: 1100px) { .plans-admin { grid-template-columns: repeat(3, 1fr); } }
.plans-admin fieldset { border: 0; display: grid; gap: var(--s3); }
.plans-admin legend { font-weight: 700; padding: 0; margin-bottom: var(--s2); }
/* ---------- Portada estilo revista ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker__in { display: flex; align-items: center; gap: var(--s3); min-height: 42px; }
.ticker__k { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; background: #B3261E; color: #fff; font: 600 .75rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 7px 10px; border-radius: 3px; }
.ticker__vp { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #062C33 4%, #062C33 96%, transparent); }
.ticker__track { display: flex; gap: var(--s6); width: max-content; animation: ticker 45s linear infinite; }
.ticker__track:hover, .ticker__track:focus-within { animation-play-state: paused; }
.ticker__track a { white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 500; }
.ticker__track a::before { content: "■"; color: var(--ink); font-size: .6rem; margin-right: 10px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.mosaic-wrap { padding: var(--s4) 0 var(--s3); background: #fff; }
.mosaic { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 4px; min-height: 170px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--c, #0B4650), color-mix(in srgb, var(--c, #0B4650) 55%, #062C33)); isolation: isolate; }
.tile--big { grid-column: 1 / -1; min-height: 300px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82)); }
.tile:hover { color: #fff; }
.tile__letter { position: absolute; right: 12px; top: 0; font: 700 7rem/1 var(--display); opacity: .15; z-index: -1; }
.tile__lbl { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font: 600 .7rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 2px; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4); display: grid; gap: 4px; justify-items: start; }
.tile__body strong { font: 700 1.1rem/1.15 var(--display); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tile--big .tile__body strong { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
.tile__sub { font-size: .85rem; color: #E6E4DC; }
.tile--ad { background: repeating-linear-gradient(135deg, #08353D 0 14px, #08353D 14px 28px); border: 1px dashed rgba(230,255,43,.55); }
.tile--ad::after { background: radial-gradient(500px 220px at 85% 0%, rgba(230,255,43,.28), transparent); }
.tile--ad .tile__body strong { color: #fff; }
.tile--ad .tile__sub { color: var(--gold); font-weight: 600; }
.tile--ad:hover { border-color: var(--gold); }
@media (max-width: 899px) {
  .tile:not(.tile--big) { min-height: 210px; }
  .tile:not(.tile--big) .tile__body { padding: var(--s3); }
  .tile:not(.tile--big) .tile__body strong { font-size: 1rem; }
  .tile:not(.tile--big) .tile__sub { font-size: .78rem; }
  .tile--ad:nth-child(n+4) { display: none; }
}
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
  .tile--big { grid-column: 1; grid-row: 1 / 3; min-height: 0; }
  .tile { min-height: 0; }
}
.quickbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: var(--s3) 0 0; }
.quickbar__n { margin-right: auto; font-size: .9rem; color: var(--muted); }
.quickbar__n strong { color: var(--ink); font: 700 1.1rem var(--display); }
.qchip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font: 500 .88rem var(--font); cursor: pointer; color: var(--ink); }
.qchip:hover { border-color: var(--ink); color: var(--ink); }

.section--tight { padding: var(--s5) 0; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); border-bottom: 2px solid var(--ink); margin-bottom: var(--s4); }
.shead h2 { margin: 0; font: 600 1rem/1 "Oswald", var(--font); text-transform: uppercase; letter-spacing: .07em; }
.shead h2 span { display: inline-block; background: var(--ink); color: #fff; padding: 9px 14px 8px; position: relative; }
.shead h2 span::after { content: ""; position: absolute; right: -10px; bottom: 0; border-left: 10px solid var(--ink); border-top: 10px solid transparent; }
.shead a { font-size: .85rem; font-weight: 600; padding-bottom: 6px; white-space: nowrap; text-decoration: none; color: var(--gold-ink); }
.shead--sm h2 { font-size: .85rem; }

.types { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.type { border: 1px solid var(--line); border-radius: 6px; padding: var(--s3) var(--s4) var(--s4); background: #fff; transition: border-color .15s, box-shadow .15s; }
.type:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.type__head { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.type__head strong { display: block; font-size: 1rem; }
.type__head small { color: var(--muted); font-size: .8rem; }
.type__ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.type__subs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.type__subs a { display: inline-block; font-size: .78rem; padding: 4px 9px; border-radius: 999px; background: var(--cream); text-decoration: none; color: var(--ink-2); }
.type__subs a:hover { background: var(--gold); color: var(--ink); }
.type__subs .type__more { background: transparent; font-weight: 700; color: var(--gold-ink); }

.mag { display: grid; gap: var(--s6); padding-top: var(--s4); padding-bottom: var(--s7); }
@media (min-width: 1000px) { .mag { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .mag__side { position: sticky; top: 70px; } }
.block { margin-bottom: var(--s6); }
.mag .featured { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.feat { border-radius: 4px; }
.feat__cat { font: 600 .7rem "Oswald", var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-ink); }
.slot { display: grid; gap: 6px; padding: var(--s5); border: 2px dashed var(--ink); border-radius: 6px; background: #FAFDE6; text-decoration: none; }
.slot strong { font: 700 1.3rem var(--display); }
.slot span { color: var(--muted); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list a { display: grid; gap: 2px; padding: 10px 0; text-decoration: none; }
.side-list span { font-size: .8rem; color: var(--muted); }
.side-plans { background: var(--cream); padding: var(--s4); border-radius: 6px; }
.side-plans .shead { margin-top: 0; }
.mini-plan { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 4px; margin-bottom: 8px; text-decoration: none; }
.mini-plan span { display: grid; }
.mini-plan small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.mini-plan b { font: 700 1.15rem var(--display); white-space: nowrap; }
.mini-plan--premium { border-left-color: var(--ink); background: var(--ink); color: #fff; }
.mini-plan--premium small { color: #B9C9CC; }
.mini-plan--premium:hover { color: var(--gold); }
.mini-plan--destacado { border-left-color: var(--ink); }
.side-cats { list-style: none; padding: 0; margin: 0; }
.side-cats li { border-bottom: 1px dotted var(--line); }
.side-cats a { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: .88rem; text-decoration: none; break-inside: avoid; }
.side-cats a .i { color: var(--gold-ink); }
.side-cats span { margin-left: auto; font-size: .75rem; color: var(--muted); }

.section--ink { background: radial-gradient(900px 380px at 50% -10%, rgba(230,255,43,.22), transparent), var(--ink); color: #fff; }
.section--ink .section__head p { color: #D5E0E2; }
.eyebrow--gold { color: var(--gold); }
.section--ink .cycle-toggle { background: #0F5661; }
.section--ink .cycle-toggle button { color: #fff; }
.section--ink .cycle-toggle .is-on { background: var(--gold); color: var(--ink); }
.section--ink .plan { color: var(--ink); }
.section--ink .plan--premium { color: #fff; border: 2px solid var(--gold); }
.plan__where { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem "Oswald", var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-ink); margin: 0; }
.plan--premium .plan__where { color: var(--gold); }
/* Mini maqueta: qué parte de la portada ocupa cada plan */
.pmock { display: grid; gap: 4px; padding: 8px; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 4px; }
.plan--premium .pmock { background: #0F5661; border-color: #0F5661; }
.pmock span, .pmock i { display: block; border-radius: 2px; background: #D7D6CF; }
.plan--premium .pmock span, .plan--premium .pmock i { background: #0F5661; }
.pmock__bar { height: 6px; }
.pmock__hero { height: 34px; }
.pmock__row, .pmock__list { display: grid !important; gap: 4px; background: none !important; }
.pmock__row { grid-template-columns: repeat(3, 1fr); }
.pmock__row i { height: 18px; }
.pmock__list i { height: 7px; }
.pmock--premium .pmock__hero { background: var(--gold) !important; box-shadow: 0 0 0 2px rgba(230,255,43,.35); }
.pmock--destacado .pmock__row i { background: var(--gold); }
.pmock--esencial .pmock__list i { background: var(--ink); }

/* Impresión del QR */
/* ---------- Mejoras VIP: fotos guiadas, recorte, catálogo, reseñas, video ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt { margin-top: var(--s5); }
.h4 { font: 700 1rem var(--font); margin: 0 0 var(--s2); }
.row-actions { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }

.shots__head h3 { display: flex; gap: 8px; align-items: center; font: 700 1.1rem var(--font); margin: 0; }
.shots__head small { font-weight: 500; }
.shots__grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: var(--s4) 0; }
.shot { margin: 0; }
.shot__pick { position: relative; display: flex !important; flex-direction: column; gap: 4px; height: 100%; padding: var(--s3); border: 2px dashed #C5CFD1; border-radius: var(--r2); background: var(--cream); cursor: pointer; transition: border-color .15s, background .15s; }
.shot__pick:hover, .shot__pick:focus-within { border-color: var(--ink); background: #fff; }
.shot__pick strong { font-size: .95rem; }
.shot__pick small { color: var(--muted); font-size: .78rem; line-height: 1.35; flex: 1; }
.shot__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--gold-ink); }
.shot__pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r1); }
.shot__btn { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .82rem; color: var(--ink); margin-top: 4px; }
.shot__ok { position: absolute; top: 18px; left: 18px; display: inline-flex; gap: 4px; align-items: center; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--wa); color: #fff; }
.shot.is-done .shot__pick { border-style: solid; border-color: #CDE3D6; background: #fff; }
.shot.is-uploading .shot__pick { opacity: .6; pointer-events: none; }
.tips summary { cursor: pointer; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.tips ul { margin: var(--s3) 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: .92rem; display: grid; gap: 4px; }

.cropper { margin: var(--s3) 0; }
.cropper__stage { position: relative; overflow: hidden; border-radius: var(--r1); background: #08353D; max-width: 640px; line-height: 0; touch-action: none; }
.cropper__stage img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }
.cropper__frame { position: absolute; box-shadow: 0 0 0 9999px rgba(0,0,0,.58); outline: 2px solid #fff; cursor: grab; }
.cropper__frame:active { cursor: grabbing; }
.cropper__frame:focus-visible { outline: 3px solid var(--ink); }
.cropper__help { display: flex; gap: 6px; align-items: center; margin-top: var(--s2); }
.upload-progress { display: grid; gap: 4px; margin: var(--s2) 0; font-size: .85rem; }
.up-row { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 10px; border-radius: var(--r1); background: var(--cream); }
.up-row__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-row__st { flex: none; color: var(--muted); }
.up-row.is-ok .up-row__st { color: var(--ok); }
.up-row.is-err { background: #F6E9E7; }
.up-row.is-err .up-row__st { color: var(--err); white-space: normal; text-align: right; }
.wizard-next { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; margin-top: var(--s4); }

/* Panel: resumen de contactos y checklist */
.hero-stat { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r2); padding: var(--s5); margin-bottom: var(--s4); }
.hero-stat__label { display: block; color: #C5CFD1; font-size: .9rem; }
.hero-stat__num { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font: 700 2.6rem/1.1 var(--display); color: var(--gold); }
.hero-stat__num > span { font: 600 1.1rem var(--font); color: #fff; }
.hero-stat__sub { display: block; color: #C5CFD1; font-size: .85rem; margin-top: 4px; }
.hero-stat__rating { display: grid; justify-items: center; background: rgba(255,255,255,.08); border-radius: var(--r2); padding: var(--s3) var(--s4); }
.hero-stat__rating strong { font: 700 1.6rem var(--display); }
.hero-stat__rating small { color: #C5CFD1; }
.delta { font: 700 .78rem var(--font); padding: 2px 6px; border-radius: 999px; vertical-align: middle; }
.delta--up { background: #E7F2EC; color: var(--wa-dark); }
.delta--down { background: #F6E9E7; color: var(--err); }
.checklist { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: 6px; }
.checklist a { display: flex; gap: var(--s3); align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r1); text-decoration: none; color: var(--ink); }
.checklist a:hover { border-color: var(--ink); background: var(--cream); }
.checklist a > span:nth-child(2) { flex: 1; display: grid; }
.checklist small { color: var(--muted); font-size: .8rem; }
.checklist__box { flex: none; width: 18px; height: 18px; border: 2px solid #C5CFD1; border-radius: 5px; }
.stars { color: var(--ink); letter-spacing: 1px; }
:is(.hero-stat, .section--dark, .section--ink) .stars { color: var(--gold); }

/* Panel: catálogo */
.seg { display: inline-flex; width: fit-content; justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: var(--s3); }
.seg label { display: inline-flex !important; gap: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--ink); color: #fff; border-radius: 999px; }
.seg label { padding: 6px 14px; font-weight: 600; font-size: .9rem; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); border-radius: 999px; }
.items-list { list-style: none; margin: var(--s4) 0 0; padding: 0; border-top: 1px solid var(--line); }
.items-list li { display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--s3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.items-list li > div { display: grid; }
.items-list small { color: var(--muted); }
.items-list__price { font-weight: 700; white-space: nowrap; }
.items-list li.has-photo { grid-template-columns: 56px 1fr auto auto auto; }
.items-list__img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; padding: 3px; background: #fff; border: 1px solid var(--line); }
.item-photo { display: flex; gap: var(--s3); align-items: flex-start; }
.item-photo__img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; border: 1px dashed var(--line); display: grid; place-items: center; overflow: hidden; color: var(--muted); background: #faf8f3; }
.item-photo__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.item-photo__body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s3) 0 var(--s4); }
.chip-check { display: inline-flex !important; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) { .items-list li { grid-template-columns: 1fr auto; } }

/* Página del negocio */
.facts h3 { display: flex; gap: 6px; align-items: center; font: 700 .95rem var(--font); margin: var(--s4) 0 var(--s2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--cream); font-size: .88rem; }
.cat-sub { font: 700 1rem var(--font); margin: var(--s4) 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--s6); }
.menu-item { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.menu-item__top { display: flex; gap: 8px; align-items: baseline; }
.menu-item__dots { flex: 1; border-bottom: 2px dotted #D7D6CF; transform: translateY(-4px); min-width: 16px; }
.menu-item p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.menu-item--photo { display: flex; gap: var(--s3); align-items: flex-start; }
.menu-item__body { flex: 1; min-width: 0; }
.menu-item__img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; object-fit: contain; padding: 4px; background: #fff; }
.price { font-weight: 700; white-space: nowrap; color: var(--ink); }
.price small { font-weight: 500; color: var(--muted); }
.price--note { font-weight: 500; color: var(--muted); }
.cat-cta { margin-top: var(--s4); }
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.video-embed { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; border-radius: var(--r2); overflow: hidden; background: #062C33; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed--tiktok { aspect-ratio: 9 / 16; max-width: 340px; max-height: 620px; margin: 0 auto; }
.video-embed--sm { max-width: 480px; margin-top: var(--s4); }
.video-embed--tiktok.video-embed--sm { max-width: 260px; }
.bh__rating { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; text-decoration: none; color: inherit; font-size: .9rem; }
.bh__rating small { font-weight: 500; opacity: .8; }
.card__ver { color: var(--wa); display: inline-flex; }
.reviews__sum { margin: 0; font-size: 1.05rem; }
.review-list { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.review { background: var(--cream); border-radius: var(--r2); padding: var(--s4); }
.review p { margin: 6px 0 0; }
.review__head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.review__reply { margin-top: var(--s3); padding: var(--s3); border-left: 3px solid var(--brand2, var(--ink)); background: #fff; border-radius: 0 var(--r1) var(--r1) 0; font-size: .92rem; }
article.review { background: #fff; }
.review-form summary { list-style: none; display: inline-flex; gap: 6px; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form[open] summary { margin-bottom: var(--s3); }
.review-form .form { max-width: 560px; }
.rate { border: 0; padding: 0; margin: 0; }
.rate legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { font-size: 2rem; line-height: 1; color: #D7D6CF; cursor: pointer; display: inline !important; padding: 2px; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--ink); }
.rate input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 4px; }

/* ---------- Galería mosaico (página del negocio) ---------- */
.biz .bsec__head h2 { position: relative; padding-bottom: 10px; }
.biz .bsec__head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--brand2); }
.gal__all { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .88rem var(--font); cursor: pointer; white-space: nowrap; }
.gal__all:hover { border-color: var(--ink); }
.gal__item { position: relative; display: block; border: 0; padding: 0; margin: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.gal__item:hover img { transform: scale(1.04); filter: brightness(.92); }
.gal__item:focus-visible { outline-offset: -4px; }
.gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.52); color: #fff; font: 700 1.15rem var(--font); pointer-events: none; }
.gal__count { display: none; }
@media (max-width: 719px) {
  .gal__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; scrollbar-width: none; }
  .gal__grid::-webkit-scrollbar { display: none; }
  .gal__grid--1 { grid-auto-columns: 100%; }
  .gal__item { aspect-ratio: 4 / 3; border-radius: var(--r2); scroll-snap-align: start; }
  .gal__more { display: none; }
  .gal__count { display: block; margin: 8px 0 0; text-align: right; font-size: .85rem; color: var(--muted); }
  .gal__all { min-height: 36px; padding: 0 12px; }
}
@media (min-width: 720px) {
  .gal__grid { display: grid; gap: 8px; height: clamp(320px, 40vw, 500px); grid-template-rows: 1fr 1fr; border-radius: var(--r3); overflow: hidden; }
  .gal__item--extra { display: none; }
  .gal__grid--1 { height: auto; aspect-ratio: 16 / 7; grid-template-rows: 1fr; }
  .gal__grid--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .gal__grid--3 { grid-template-columns: 2fr 1fr; }
  .gal__grid--3 .gal__item:first-child { grid-row: span 2; }
  .gal__grid--4 { grid-template-columns: 2fr 1fr 1fr; }
  .gal__grid--4 .gal__item:first-child { grid-row: span 2; }
  .gal__grid--4 .gal__item:nth-child(2) { grid-column: span 2; }
  .gal__grid--5 { grid-template-columns: 2fr 1fr 1fr; }
  .gal__grid--5 .gal__item:first-child { grid-row: span 2; }
}
/* Estilos de galería VIP: carrusel con miniaturas, revista y cuadrícula */
.gstage { position: relative; border-radius: var(--r3); overflow: hidden; background: #08353D; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; }
@media (max-width: 719px) { .gstage { aspect-ratio: 4 / 3; } }
.gstage__main { position: relative; z-index: 1; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gstage__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.gstage__main img.is-fading { opacity: 0; }
.gstage::before { content: ""; position: absolute; inset: 0; background: var(--gstage-bg, none) center / cover; filter: blur(24px) brightness(.5); transform: scale(1.1); }
.gstage__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #0B4650; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s; }
.gstage__nav:hover { transform: translateY(-50%) scale(1.08); }
.gstage__nav, .gstage__count { z-index: 2; }
.gstage__nav--prev { left: 14px; } .gstage__nav--next { right: 14px; }
.gstage__count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.6); color: #fff; font: 600 .85rem var(--font); padding: 4px 12px; border-radius: 999px; }
.gthumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; }
.gthumbs__item { flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: var(--r1); overflow: hidden; cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; background: var(--sand); }
.gthumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.gthumbs__item:hover { opacity: .85; }
.gthumbs__item.is-on { opacity: 1; outline-color: var(--brand2); }
.gal__flow--revista { columns: 2 160px; column-gap: 10px; }
@media (min-width: 900px) { .gal__flow--revista { columns: 3; } }
.gal__flow--revista .gal__item { width: 100%; margin: 0 0 10px; break-inside: avoid; border-radius: var(--r2); }
.gal__flow--revista .gal__item img { height: auto; }
.gal__flow--cuadricula { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gal__flow--cuadricula { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gal__flow--cuadricula { grid-template-columns: repeat(4, 1fr); } }
.gal__flow--cuadricula .gal__item { aspect-ratio: 1; border-radius: var(--r2); }
.biz.theme-minimal .gal__flow .gal__item, .biz.theme-minimal .gstage { border-radius: var(--r1); }
.biz.theme-elegante .gthumbs__item { background: #0F5661; }

/* Efectos de imagen VIP */
.fx-ninguno .gal__item:hover img, .fx-brillo .gal__item:hover img { transform: none; filter: none; }
/* Aparecer al bajar (la clase fx-on la pone el JS; sin JS todo se ve normal) */
.fx-on .fx-item { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.fx-on .fx-item.is-in { opacity: 1; transform: none; }
/* Cine: la portada se mueve lento (Ken Burns) */
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.fx-cine .bslide img, .fx-cine main > .bbanner img { animation: kenburns 16s ease-in-out infinite alternate; }
.fx-cine .bslide, .fx-cine main > .bbanner { overflow: hidden; }
.fx-cine .gstage__main img { animation: kenburns 20s ease-in-out infinite alternate; }
/* Brillo: se eleva y un destello la recorre */
.fx-brillo .gal__item, .fx-brillo .gstage__main, .fx-brillo .daily { position: relative; overflow: hidden; }
.fx-brillo .gal__item::after, .fx-brillo .daily::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.fx-brillo .gal__item:hover::after, .fx-brillo .daily:hover::after { animation: shine .9s ease; }
@keyframes shine { to { left: 125%; } }
.fx-brillo .gal__flow .gal__item { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.fx-brillo .gal__flow .gal__item:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.fx-brillo .gal__grid .gal__item img { transition: filter .3s; }
.fx-brillo .gal__grid .gal__item:hover img { filter: brightness(1.08) saturate(1.1); }

.lightbox .lb-count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: #fff; font: 600 .9rem var(--font); background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px; }

/* ---------- Temas de la página del negocio ---------- */
/* Elegante noche: fondo oscuro, letras finas, acentos del color de acento */
.biz.theme-elegante { background: #0F0E0C; }
.biz.theme-elegante main, .biz.theme-elegante .breport {
  --ink: #F2EDE3; --ink-2: #D9D2C4; --cream: #1B1916; --sand: #24211D; --line: #34302A; --muted: #A79F90; --white: #0F0E0C; --gold-ink: var(--brand2);
  background: #0F0E0C; color: var(--ink);
}
.biz.theme-elegante .bh { background: linear-gradient(165deg, color-mix(in srgb, var(--brand) 45%, #0F0E0C), #0F0E0C 75%); color: #F2EDE3; border-bottom: 1px solid #2A2622; }
.biz.theme-elegante h1, .biz.theme-elegante h2, .biz.theme-elegante h3 { font-weight: 500; letter-spacing: .005em; }
.biz.theme-elegante .bh__logo { box-shadow: 0 0 0 1px var(--brand2), var(--shadow); color: #1A1A1A; }
.biz.theme-elegante .bh__cat { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--brand2); opacity: 1; }
.biz.theme-elegante .bsec__head h2::after { width: 56px; height: 1px; }
.biz.theme-elegante .badge--vip { background: #000; color: var(--brand2); box-shadow: inset 0 0 0 1px var(--brand2); }
.biz.theme-elegante main a:hover { color: var(--brand2); }
.biz.theme-elegante main .btn--dark { background: var(--brand2); color: var(--brand2-ink); }
.biz.theme-elegante main .btn--light, .biz.theme-elegante .share-btn { background: transparent; color: var(--ink); border-color: var(--line); }
.biz.theme-elegante .hours .is-today, .biz.theme-elegante .review__reply, .biz.theme-elegante article.review, .biz.theme-elegante .promo { background: var(--sand); }
.biz.theme-elegante .menu-item__dots { border-color: var(--line); }
.biz.theme-elegante .rate label { color: #4A4439; }
.biz.theme-elegante main :is(input, select, textarea) { background: #1B1916; color: var(--ink); border-color: #3A352E; }
.biz.theme-elegante .gal__grid { border-radius: 2px; }
.biz.theme-elegante .bfooter { background: #000; color: #F2EDE3; border-top: 1px solid var(--brand2); }

/* Minimalista: blanco, sans-serif, tu color en detalles */
.biz.theme-minimal main { --display: var(--font); --r1: 4px; --r2: 6px; --r3: 8px; }
.biz.theme-minimal .bh { background: #fff; color: var(--ink); border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.biz.theme-minimal .bh__cat { color: color-mix(in srgb, var(--brand) 75%, #000); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; opacity: 1; }
.biz.theme-minimal h1, .biz.theme-minimal h2 { letter-spacing: -.025em; }
.biz.theme-minimal .bh__logo { box-shadow: none; border: 1px solid var(--line); }
.biz.theme-minimal .bsec__head { border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.biz.theme-minimal .bsec__head h2 { font-size: 1.25rem; padding-bottom: 12px; }
.biz.theme-minimal .bsec__head h2::after { bottom: -1px; width: 100%; height: 2px; background: var(--brand); }
.biz.theme-minimal .hours, .biz.theme-minimal .review, .biz.theme-minimal .chips li { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.biz.theme-minimal .bcta { background: #fff; border-bottom: 1px solid var(--line); }
.biz.theme-minimal .gal__grid { gap: 4px; }
.biz.theme-minimal .bfooter { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.biz.theme-minimal .bfooter .socials--light a { background: var(--cream); color: var(--ink); }

/* Cálido: crema, esquinas redondas, imágenes enmarcadas */
.biz.theme-calido { background: #FBF6EE; }
.biz.theme-calido main { --r1: 12px; --r2: 20px; --r3: 28px; --cream: #F3E9D8; --sand: #EADBC2; --line: #E3D3B8; background: #FBF6EE; }
.biz.theme-calido .bh { border-radius: 0 0 var(--r3) var(--r3); }
.biz.theme-calido main > .bcarousel, .biz.theme-calido main > .bbanner { width: calc(100% - 32px); max-width: 1148px; margin: 16px auto 0; border-radius: var(--r3); }
.biz.theme-calido .bcta { background: transparent; }
.biz.theme-calido .bsec__head h2 { color: color-mix(in srgb, var(--brand) 80%, #000); font-style: italic; }
.biz.theme-calido .bsec__head h2::after { height: 6px; width: 32px; border-radius: 6px; }
.biz.theme-calido main .btn { border-radius: 999px; }
.biz.theme-calido .hours, .biz.theme-calido .review, .biz.theme-calido .chips li { background: #fff; }
.biz.theme-calido .bh__logo { border-radius: 50%; border: 3px solid #fff; }

/* Vibrante: degradado con los dos colores, tarjetas con sombra */
.biz.theme-vibrante main { --r2: 18px; --r3: 24px; background: color-mix(in srgb, var(--brand) 4%, #fff); }
.biz.theme-vibrante .bh { background: linear-gradient(115deg, var(--brand) 20%, var(--brand2)); text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.biz.theme-vibrante .bh__logo { border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.5), var(--shadow-lg); text-shadow: none; }
.biz.theme-vibrante main .btn { border-radius: 999px; }
.biz.theme-vibrante .bsec__head h2::after { width: 64px; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand2)); }
.biz.theme-vibrante .hours, .biz.theme-vibrante .review { background: #fff; box-shadow: var(--shadow); }
.biz.theme-vibrante .bcta { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 10%, #fff), color-mix(in srgb, var(--brand2) 12%, #fff)); }
@media (min-width: 720px) { .biz.theme-vibrante .gal__grid { gap: 10px; border-radius: 0; overflow: visible; } }
.biz.theme-vibrante .gal__item { border-radius: var(--r2); }
.biz.theme-vibrante .badge--vip { background: var(--brand2); color: var(--brand2-ink); }
.biz.theme-vibrante .bfooter { background: linear-gradient(115deg, var(--brand), var(--brand2)); }

/* ---------- Selector de temas (panel) ---------- */
.themes { border: 0; padding: 0; margin: 0 0 var(--s4); min-width: 0; }
.themes legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.themes__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.theme-card { position: relative; display: grid; gap: 4px; align-content: start; padding: 10px; border: 2px solid var(--line); border-radius: var(--r2); cursor: pointer; background: #fff; }
.theme-card:hover { border-color: #CFC7B6; }
.theme-card.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,162,39,.35); }
.theme-card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.theme-card strong { font-size: .92rem; }
.theme-card small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.theme-card__mock { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 22px 18px 18px; gap: 3px; padding: 4px; height: 70px; border-radius: 6px; margin-bottom: 4px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.theme-card__mock i { grid-column: 1 / -1; border-radius: 3px; background: var(--ink); }
.theme-card__mock b { background: #D9D0BF; border-radius: 3px; }
.theme-card__mock b:first-of-type { grid-row: span 2; }
.theme-mock--elegante { background: #0F0E0C; border-color: #0F0E0C; }
.theme-mock--elegante i { background: linear-gradient(90deg, #2A2418, #0F0E0C); box-shadow: inset 0 -1px 0 var(--gold); }
.theme-mock--elegante b { background: #2A2622; }
.theme-mock--minimal i { background: #fff; box-shadow: inset 0 3px 0 var(--ink), inset 0 -1px 0 var(--line); }
.theme-mock--minimal b { background: #ECECEC; border-radius: 1px; }
.theme-mock--calido { background: #FBF6EE; }
.theme-mock--calido i { background: #9C4A1A; border-radius: 0 0 10px 10px; }
.theme-mock--calido b { background: #EADBC2; border-radius: 8px; }
.theme-mock--vibrante i { background: linear-gradient(90deg, #5B2A86, #F72585); }
.theme-mock--vibrante b { background: #E9DDF3; border-radius: 6px; }
.palettes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.palette { display: inline-flex; align-items: center; gap: 0; min-height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 .82rem var(--font); cursor: pointer; }
.palette span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.palette span + span { margin-left: -6px; margin-right: 6px; }
.palette:hover { border-color: var(--ink); }
.palette input { position: absolute; opacity: 0; pointer-events: none; }
.palette.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,70,80,.35); font-weight: 700; }
.palette:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.palettes { margin-top: 0; }
.palette, .form .palette { position: relative; min-height: 40px; display: inline-flex; flex-direction: row; align-items: center; gap: 0; margin: 0; }
/* Galería y efectos VIP (panel) */
.vipstyle { margin: var(--s5) 0; padding-top: var(--s5); border-top: 1px solid var(--line); }
.vipstyle__head h2 { display: flex; gap: 8px; align-items: center; font-size: 1.2rem; }
.vipstyle.is-locked .themes { opacity: .55; }
.vipstyle.is-locked .theme-card { cursor: not-allowed; }
.gs-mock { display: grid; gap: 3px; height: 70px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; background: #fff; overflow: hidden; }
.gs-mock b { background: #D7D6CF; border-radius: 2px; min-height: 0; }
.gs-mock--mosaico { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gs-mock--mosaico b:first-child { grid-row: span 2; background: #B4BEC0; }
.gs-mock--mosaico b:nth-child(n+6) { display: none; }
.gs-mock--carrusel { grid-template-columns: repeat(5, 1fr); grid-template-rows: 3fr 1fr; }
.gs-mock--carrusel b:first-child { grid-column: 1 / -1; background: #B4BEC0; }
.gs-mock--revista { display: block; columns: 3; column-gap: 3px; }
.gs-mock--revista b { display: block; margin-bottom: 3px; height: 18px; }
.gs-mock--revista b:nth-child(2), .gs-mock--revista b:nth-child(5) { height: 36px; }
.gs-mock--cuadricula { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.fx-mock { display: block; height: 70px; border-radius: 6px; margin-bottom: 4px; overflow: hidden; position: relative; background: #EDE7DB; }
.fx-mock i { position: absolute; inset: 8px; border-radius: 4px; background: linear-gradient(135deg, #C9A227, #7A1F2B); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s, opacity .5s; }
.theme-card:hover .fx-mock--suave i { transform: scale(1.12); }
.fx-mock--aparecer i { opacity: .25; transform: translateY(14px); }
.theme-card:hover .fx-mock--aparecer i { opacity: 1; transform: none; }
.theme-card:hover .fx-mock--cine i { animation: kenburns 3s ease-in-out infinite alternate; }
.theme-card:hover .fx-mock--brillo i { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,.25); }
.fx-mock--brillo i::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg); }
.theme-card:hover .fx-mock--brillo i::after { animation: shine .9s ease; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
/* Vista previa según tema */
.live-preview__page { background: #fff; }
.live-preview__body { display: grid; gap: 10px; }
.live-preview__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.live-preview__h { font: 700 .95rem var(--display); }
.live-preview__h::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 4px; border-radius: 3px; background: var(--brand2); }
.live-preview__gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 36px 36px; gap: 4px; border-radius: 8px; overflow: hidden; }
.live-preview__gal i { background: var(--sand); }
.live-preview__gal i:first-child { grid-row: span 2; background: color-mix(in srgb, var(--brand) 25%, var(--sand)); }
.live-preview.theme-elegante .live-preview__page { background: #08353D; color: #F2F0E9; }
.live-preview.theme-elegante .live-preview__head { background: linear-gradient(165deg, color-mix(in srgb, var(--brand) 45%, #08353D), #08353D 75%); color: #F2F0E9; }
.live-preview.theme-elegante .live-preview__gal i { background: #0F5661; }
.live-preview.theme-elegante .live-preview__h { font-weight: 500; }
.live-preview.theme-minimal .live-preview__head { background: #fff; color: var(--ink); border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.live-preview.theme-minimal .live-preview__h { font-family: var(--font); }
.live-preview.theme-minimal .live-preview__gal { border-radius: 2px; }
.live-preview.theme-calido .live-preview__page { background: #FAF8F3; }
.live-preview.theme-calido .live-preview__head { border-radius: 0 0 20px 20px; }
.live-preview.theme-calido .live-preview__h { font-style: italic; color: color-mix(in srgb, var(--brand) 80%, #062C33); }
.live-preview.theme-calido .live-preview__gal { border-radius: 16px; }
.live-preview.theme-vibrante .live-preview__head { background: linear-gradient(115deg, var(--brand) 20%, var(--brand2)); }
.live-preview.theme-vibrante .live-preview__gal { overflow: visible; }
.live-preview.theme-vibrante .live-preview__gal i { border-radius: 8px; }
.live-preview.theme-vibrante .live-preview__h::after { background: linear-gradient(90deg, var(--brand), var(--brand2)); }

/* ---------- TPV: caja, corte y equipo ---------- */
.pos-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.pos-head .app-h1 { margin: 0; }
.empty-state { text-align: center; padding: var(--s6) var(--s5); }
.empty-state h2 { display: flex; gap: 8px; justify-content: center; align-items: center; }
.pos { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 1000px) { .pos { grid-template-columns: minmax(0, 1fr) 380px; } }
.pos__catalog { display: grid; gap: var(--s3); min-width: 0; }
.pos__search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r2); padding: 0 14px; }
.pos__search input { border: 0 !important; outline: 0 !important; min-height: 52px; font-size: 1.05rem; padding: 0 !important; background: transparent; }
.pos__search:focus-within { box-shadow: 0 0 0 3px rgba(11,70,80,.4); }
.pos__cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pos__cats button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .88rem var(--font); cursor: pointer; }
.pos__cats button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pos-item { display: grid; gap: 4px; align-content: start; text-align: left; min-height: 96px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r2); background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: transform .08s, box-shadow .15s, border-color .15s; }
.pos-item:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.pos-item:active { transform: scale(.98); }
.pos-item__name { font-weight: 600; line-height: 1.25; }
.pos-item__img { width: 100%; aspect-ratio: 1; border-radius: 8px; object-fit: contain; padding: 4px; background: #fff; }
.pos-item__price { font-weight: 700; font-size: 1.05rem; }
.pos-item__stock { font-size: .78rem; color: var(--muted); }
.pos-item.is-low .pos-item__stock { color: var(--warn); font-weight: 600; }
.pos-item.is-out { opacity: .6; }
.pos-item.is-out .pos-item__stock { color: var(--err); font-weight: 700; }
.pos__cart { background: #fff; border-radius: var(--r3); box-shadow: var(--shadow); padding: var(--s4); display: grid; gap: var(--s3); }
@media (min-width: 1000px) { .pos__cart { position: sticky; top: 72px; max-height: calc(100vh - 90px); grid-template-rows: auto minmax(0, 1fr) auto auto; } }
.pos__jump { position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; justify-content: center; align-items: center; min-height: 52px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 1rem var(--font); box-shadow: var(--shadow-lg); cursor: pointer; }
@media (min-width: 1000px) { .pos__jump { display: none !important; } }
.pos { padding-bottom: 72px; }
@media (min-width: 1000px) { .pos { padding-bottom: 0; } }
.pos__cart-head { display: flex; justify-content: space-between; align-items: center; }
.pos__cart-head h2 { margin: 0; font-size: 1.2rem; }
.pos__lines { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 0; align-content: start; }
.pos__empty { margin: 0; text-align: center; padding: var(--s4) 0; }
.pos-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 28px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pos-line__info { display: grid; min-width: 0; }
.pos-line__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-line__info small { color: var(--muted); font-size: .78rem; }
.pos-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.pos-line__qty button { width: 32px; height: 32px; border: 0; background: none; font: 700 1.1rem var(--font); cursor: pointer; border-radius: 50%; }
.pos-line__qty input { width: 42px !important; min-height: 32px !important; padding: 0 !important; border: 0 !important; text-align: center; font-weight: 700; }
.pos-line__total { font-weight: 700; white-space: nowrap; }
.pos-line__del { width: 28px; height: 28px; border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; border-radius: 50%; }
.pos-line__del:hover { background: #F6E9E7; color: var(--err); }
.pos__pay { display: grid; gap: var(--s3); border-top: 2px solid var(--ink); padding-top: var(--s3); }
.pos__total { display: flex; justify-content: space-between; align-items: baseline; }
.pos__total span { font-weight: 600; }
.pos__total strong { font: 700 2rem var(--display); }
.seg--full { display: flex; width: 100%; margin: 0; }
.seg--full label { flex: 1; justify-content: center; }
.pos__cash { display: grid; gap: 6px; }
.pos__cash input { font-size: 1.2rem; font-weight: 700; }
.pos__quick { display: flex; gap: 6px; flex-wrap: wrap; }
.pos__quick button { flex: 1 1 auto; min-height: 36px; border: 1px solid var(--line); border-radius: var(--r1); background: var(--cream); font: 600 .88rem var(--font); cursor: pointer; }
.pos__change { margin: 0; font-size: 1.05rem; }
.pos__change strong { font-size: 1.3rem; color: var(--ok); }
.pos__change.is-short strong { color: var(--err); }
.pos__more summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.pos__more[open] { display: grid; gap: 8px; }
.pos__error { margin: 0; padding: 10px 12px; border-radius: var(--r1); background: #F6E9E7; color: var(--err); font-weight: 600; font-size: .92rem; }
.pos-dialog { border: 0; border-radius: var(--r3); padding: var(--s5); width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.pos-dialog::backdrop { background: rgba(0,0,0,.5); }
.pos-dialog h2 { margin-top: 0; }
.pos-dialog form { display: grid; gap: var(--s3); }
.pos-dialog__list { display: grid; gap: 8px; max-height: 60vh; overflow-y: auto; }
.pos-variant { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r2); background: #fff; font: 600 1rem var(--font); cursor: pointer; text-align: left; }
.pos-variant span:last-child { font-weight: 500; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.pos-variant:hover { border-color: var(--ink); }
.pos-variant.is-out { opacity: .6; }
.pos-dialog__price { display: grid; gap: 8px; }
.pos-done { display: grid; gap: var(--s3); text-align: center; }
.pos-done__ok { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #E7F2EC; color: var(--ok); }
.pos-done h2 { margin: 0; }
.pos-done__total { font: 700 2rem var(--display); margin: 0; }
.pos-done__change { font-size: 1.2rem; margin: 0; }
.pos-done__change strong { color: var(--ok); }
.pos-done__warn { text-align: left; margin: 0; padding: 10px 12px 10px 28px; background: #FFF6E0; border-radius: var(--r1); color: var(--warn); font-size: .88rem; }
.pos-done__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* Catálogo: existencias y variantes */
.check-row { display: flex !important; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; }
.stock-box { border: 1px solid var(--line); border-radius: var(--r2); padding: 10px 14px; background: var(--cream); }
.stock-box summary { cursor: pointer; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.stock-box[open] { display: grid; gap: var(--s3); }
.variants__rows { display: grid; gap: 6px; margin-bottom: 8px; }
.variant-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr) auto 32px; gap: 6px; align-items: center; }
.variant-row input { min-height: 38px !important; padding: 6px 8px !important; }
.variant-row__on { display: inline-flex !important; gap: 4px; align-items: center; font-size: .82rem; white-space: nowrap; }
.variant-row__on input { width: 16px; height: 16px; min-height: 0 !important; }
@media (max-width: 640px) { .variant-row { grid-template-columns: 1fr 1fr; } .variant-row > input:first-of-type { grid-column: 1 / -1; } }
.stock-tag { display: inline-block; margin-top: 3px; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #E7F2EC; color: var(--wa-dark); width: fit-content; }
.stock-tag--low { background: #FFF6E0; color: var(--warn); }
.stock-tag--out { background: #F6E9E7; color: var(--err); }
/* Corte */
.corte-filter { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: end; }
.corte-filter label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.corte-filter__print { margin-left: auto; display: flex; gap: 6px; }
.corte-stats { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: var(--s4) 0 var(--s3); }
.stat-card { background: #fff; border-radius: var(--r2); padding: var(--s4); box-shadow: var(--shadow); display: grid; gap: 2px; }
.stat-card span { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-card strong { font: 700 1.6rem var(--display); }
.stat-card small { color: var(--muted); }
.stat-card--dark { background: var(--ink); color: #fff; }
.stat-card--dark span, .stat-card--dark small { color: #C5CFD1; }
.stat-card--warn strong { color: var(--err); }
.note-cash { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #fff; border-left: 4px solid var(--ink); border-radius: var(--r1); }
.corte-grid { margin-bottom: var(--s4); }
.table--compact th, .table--compact td { padding: 6px 4px; }
tr.is-cancelled td { color: var(--muted); }
.row-tools { white-space: nowrap; }
.row-tools .link-btn { margin-right: 6px; }
.cancel-box { display: inline-block; vertical-align: top; }
.cancel-box summary { list-style: none; display: inline; }
.cancel-box summary::-webkit-details-marker { display: none; }
.cancel-box form { display: grid; gap: 6px; margin-top: 6px; min-width: 220px; white-space: normal; }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger:hover { color: #fff; }
.txt-err { color: var(--err); }
.txt-warn { color: var(--warn); }
.low-list { list-style: none; margin: 0; padding: 0; }
.low-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
/* Equipo */
.team-list { list-style: none; margin: 0; padding: 0; }
.team-member { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.team-member div { display: grid; min-width: 0; }
.team-member small { overflow: hidden; text-overflow: ellipsis; }
.team-member__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font: 700 1.1rem var(--display); }
@media (max-width: 560px) { .team-member { grid-template-columns: 40px minmax(0, 1fr); } .team-member > .badge, .team-member > form { grid-column: 2; justify-self: start; } }
.role-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.role-pick legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.role-pick__opt { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--r2); cursor: pointer; }
.role-pick__opt:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.role-pick__opt input { margin-top: 3px; }
.role-pick__opt span { display: grid; }
.role-pick__opt small { color: var(--muted); font-weight: 400; }
.invite-ready { border: 2px solid var(--ok); }
.invite-ready h2 { color: var(--ok); display: flex; gap: 6px; align-items: center; }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.copy-row input { flex: 1 1 260px; font-family: ui-monospace, monospace; font-size: .85rem; }

/* ---------- TPV etapa 2: pedidos en línea ---------- */
.btn--order { background: var(--brand2, var(--gold)); color: var(--brand2-ink, var(--ink)); font-weight: 700; }
.btn--order:hover { filter: brightness(1.05); color: var(--brand2-ink, var(--ink)); }
.actionbar__order { background: var(--brand2, var(--gold)); color: var(--brand2-ink, var(--ink)) !important; }
/* "Pedir" apagado: el negocio está cerrado o pausó sus pedidos (no es enlace). */
.btn.is-off, .btn.is-off:hover { background: var(--line); color: var(--muted); border-color: var(--line); cursor: not-allowed; filter: none; transform: none; text-align: left; }
.btn.is-off > span { display: grid; gap: 1px; }
.btn__note { font-size: .78rem; font-weight: 500; line-height: 1.2; }
.actionbar .actionbar__order.is-off { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; min-height: 60px; font-size: .78rem; font-weight: 600; background: var(--line); color: var(--muted) !important; cursor: not-allowed; }
.card__act.is-off, .card__act.is-off:hover { background: var(--line); color: var(--muted); cursor: not-allowed; }
.shop-head { background: var(--ink); color: #fff; padding: var(--s4) 0; }
.shop-head__in { display: flex; gap: var(--s3); align-items: center; }
.shop-head__back { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; flex: 0 0 auto; }
.shop-head__logo { width: 52px; height: 52px; border-radius: var(--r2); background: #fff; color: var(--ink); display: grid; place-items: center; overflow: hidden; font: 700 1.4rem var(--display); flex: 0 0 auto; }
.shop-head__logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-head__text { min-width: 0; }
.shop-head h1 { margin: 0; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.shop-head p { margin: 2px 0 0; font-size: .88rem; color: #C5CFD1; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.shop-body { padding-top: var(--s4); padding-bottom: 110px; max-width: 860px; }
.shop-closed { display: flex; gap: 8px; align-items: flex-start; }
.shop-note { display: flex; gap: 6px; align-items: flex-start; background: #FFF6E0; padding: 10px 12px; border-radius: var(--r1); }
.shop-cats { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; background: var(--white); scrollbar-width: none; margin-bottom: var(--s2); }
.shop-cats a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; text-decoration: none; background: #fff; }
.shop-cats a:hover { border-color: var(--ink); }
.shop-group { scroll-margin-top: 64px; margin-bottom: var(--s5); }
.shop-group h2 { font-size: 1.2rem; }
.shop-items { list-style: none; margin: 0; padding: 0; }
.shop-item { display: flex; gap: var(--s3); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.shop-item__info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.shop-item__img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; object-fit: contain; padding: 4px; background: #fff; border: 1px solid var(--line); }
.shop-item__info small { color: var(--muted); }
.shop-item__price { font-weight: 700; }
.shop-item__price small { font-weight: 500; color: var(--muted); }
.shop-item.is-out { opacity: .55; }
.shop-item__tag { font-size: .78rem; font-weight: 700; color: var(--err); }
.shop-add { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font: 700 1.4rem/1 var(--font); cursor: pointer; display: grid; place-items: center; }
.shop-add b { font-size: 1rem; background: var(--gold); color: var(--ink); width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; }
.shop-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: min(560px, calc(100% - 32px)); display: flex; gap: 8px; justify-content: center; align-items: center; min-height: 56px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 1.05rem var(--font); box-shadow: var(--shadow-lg); cursor: pointer; }
.shop-sheet { border: 0; border-radius: var(--r3); padding: var(--s5); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow-lg); }
.shop-sheet::backdrop { background: rgba(0,0,0,.5); }
.shop-sheet__head { display: flex; justify-content: space-between; align-items: center; }
.shop-sheet__head h2 { margin: 0; }
.shop-lines { list-style: none; margin: var(--s3) 0; padding: 0; max-height: 40vh; overflow-y: auto; }
.shop-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: var(--s3); margin-bottom: var(--s3); }
.shop-total strong { font: 700 1.8rem var(--display); }
.shop-checkout { display: grid; gap: var(--s3); }
.shop-login { display: grid; gap: var(--s2); }
.shop-account { padding-top: var(--s5); padding-bottom: var(--s7); }
.push-box { display: flex; gap: var(--s3); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; margin: var(--s3) 0; border-radius: var(--r2); background: #FFF6E0; border: 1px solid #F0DDA8; }
.push-box > span { display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.order-list { list-style: none; margin: var(--s4) 0; padding: 0; display: grid; gap: 10px; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r2); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.order-card.is-open { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.order-card__main { display: grid; min-width: 0; }
.order-card__main small { color: var(--muted); }
.order-card__total { font-weight: 700; }
.order-status { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink); white-space: nowrap; }
.order-status--recibido { background: #FFF6E0; color: var(--warn); }
.order-status--aceptado, .order-status--preparando { background: #E6EEF8; color: #1F4E8C; }
.order-status--listo { background: var(--gold); color: var(--ink); }
.order-status--entregado { background: #E7F2EC; color: var(--wa-dark); }
.order-status--cancelado, .order-status--rechazado { background: #F6E9E7; color: var(--err); }
.track-head { margin: var(--s4) 0; }
.track-title { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.track-title--listo { color: var(--wa-dark); }
.track-title--cancelado, .track-title--rechazado { color: var(--err); }
.track-steps { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; gap: 4px; }
.track-steps li { flex: 1 1 0; min-width: 0; display: grid; gap: 6px; justify-items: center; text-align: center; font-size: .78rem; color: var(--muted); }
.track-steps li span { width: 100%; height: 6px; border-radius: 3px; background: var(--line); }
.track-steps li.is-done span { background: var(--ink); }
.track-steps li.is-now span { background: var(--gold); box-shadow: inset 0 0 0 1px var(--ink); animation: pulse 1.4s ease-in-out infinite; }
.track-steps li.is-done, .track-steps li.is-now { color: var(--ink); font-weight: 600; }
@keyframes pulse { 50% { opacity: .4; } }
.receipt { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.receipt__total { border-bottom: 0 !important; font-size: 1.15rem; }
/* Pantalla de pedidos del negocio */
.orders-live { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: #F6E9E7; color: var(--err); }
.orders-live i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.orders-live.is-on { background: #E7F2EC; color: var(--wa-dark); }
.orders-live.is-on i { animation: pulse 1.4s ease-in-out infinite; }
.orders-settings { display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: flex-end; }
.orders-settings__form { flex: 1 1 420px; }
.orders-help { margin: 0 0 var(--s3); }
.orders-board { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 900px) { .orders-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.orders-col { background: var(--sand); border-radius: var(--r3); padding: var(--s3); min-height: 160px; }
.orders-col h2 { font-size: 1rem; margin: 4px 4px var(--s3); font-family: var(--font); }
.orders-col__list { display: grid; gap: var(--s3); }
.order-tile { background: #fff; border-radius: var(--r2); padding: var(--s3); box-shadow: var(--shadow); display: grid; gap: 8px; border-left: 5px solid var(--line); }
.order-tile--recibido { border-left-color: var(--warn); animation: tile-in .4s ease; }
.order-tile--aceptado, .order-tile--preparando { border-left-color: #1F4E8C; }
.order-tile--listo { border-left-color: var(--ink); }
@keyframes tile-in { from { transform: scale(.97); opacity: 0; } }
.order-tile header { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.order-tile header strong { font: 700 1.3rem var(--display); }
.order-tile__name { font-weight: 600; flex: 1; }
.order-tile__time { font-size: .78rem; color: var(--muted); }
.order-tile__time.is-late { color: var(--err); font-weight: 700; }
.order-tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.order-tile em { color: var(--muted); font-style: normal; font-size: .88rem; }
.order-tile__note { margin: 0; padding: 6px 8px; background: #FFF6E0; border-radius: var(--r1); font-size: .88rem; }
.order-tile footer { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order-tile__total { font-weight: 700; }
.order-tile__acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.orders-done { margin-top: var(--s4); }
.orders-done summary { cursor: pointer; font-weight: 600; }
.orders-done__list { display: grid; gap: 6px; margin-top: var(--s3); }

/* ---------- TPV etapa 3: Mercado Pago ---------- */
.btn--mp { background: #009EE3; color: #fff; font-weight: 700; }
.btn--mp:hover { background: #0086C3; color: #fff; }
.mp-card { display: flex; gap: var(--s4); justify-content: space-between; align-items: center; flex-wrap: wrap; border-left: 5px solid #009EE3; }
.mp-card__head { display: flex; gap: var(--s3); align-items: flex-start; flex: 1 1 420px; }
.mp-card__head h2 { margin: 0 0 4px; }
.mp-card__head p { margin: 0; }
.mp-card__logo { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #009EE3; color: #fff; display: grid; place-items: center; font: 800 .95rem var(--font); }
.pay-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pay-pick legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.pay-pick__opt { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--r2); cursor: pointer; }
.pay-pick__opt:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.pay-pick__opt input { margin-top: 3px; }
.pay-pick__opt span { display: grid; }
.pay-pick__opt small { color: var(--muted); font-weight: 400; }
.order-status--por_pagar { background: #E6F4FB; color: #00679A; }
.track-title--por_pagar { color: #00679A; }
.sandbox-pay { text-align: center; border-top: 6px solid #009EE3; }
.sandbox-pay .btn-row { justify-content: center; }

/* ---------- TPV etapa 4: domicilio y repartidores ---------- */
.grid-3 { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.zone-list { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.zone-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.zone-list li.is-off span, .zone-list li.is-off b { color: var(--muted); text-decoration: line-through; }
.zone-add { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 560px) { .zone-add { grid-template-columns: 1fr; } }
.ship { display: grid; gap: var(--s3); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--cream); }
.ship-map { height: 240px; border-radius: var(--r2); z-index: 0; background: var(--sand); }
.ship-fee { margin: 0; font-weight: 600; }
.ship-fee.is-bad { color: var(--err); }
.shop-total--grand { border-top: 1px dashed var(--ink); margin: 0; }
.orders-board--4 { }
@media (min-width: 1100px) { .orders-board--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1099px) { .orders-board--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.order-tile__deliv { margin: 0; padding: 8px 10px; border-radius: var(--r1); background: #E6EEF8; font-size: .88rem; }
.order-tile__deliv em { color: var(--muted); font-style: normal; }
.order-tile__acts select { min-height: 34px; padding: 4px 8px; width: auto; flex: 1 1 140px; }
.order-status--en_camino { background: #E6EEF8; color: #1F4E8C; }
.track-title--en_camino { color: #1F4E8C; }
.track-map { height: 300px; border-radius: var(--r2); margin: var(--s3) 0 6px; z-index: 0; background: var(--sand); }
.deliv-list { display: grid; gap: var(--s4); margin: var(--s3) 0; }
.deliv { background: #fff; border-radius: var(--r3); padding: var(--s4); box-shadow: var(--shadow); display: grid; gap: 8px; border-left: 6px solid var(--ink); }
.deliv--en_camino { border-left-color: #1F4E8C; }
.deliv header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.deliv header strong { font: 700 1.5rem var(--display); }
.deliv p { margin: 0; }
.deliv__addr { font-size: 1.1rem; font-weight: 600; }
.deliv__ref { color: var(--muted); }
.deliv__lines { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.deliv__pay b { font-size: 1.05rem; }
.deliv__nav, .deliv__acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.deliv__acts .btn { flex: 1 1 auto; min-height: 52px; font-size: 1.05rem; }

@media print { body * { visibility: hidden; } .qr-print, .qr-print * { visibility: visible; } .qr-print { position: absolute; left: 0; top: 0; } }

/* ---------- TPV etapa 5: inventario y sucursales ---------- */
.branch-switch { display: inline-flex; margin-left: auto; }
.branch-switch label { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.branch-switch select { min-height: 36px; padding: 4px 28px 4px 10px; border-radius: 999px; border: 1px solid var(--line); background-color: #fff; font: 600 .88rem var(--font); max-width: 46vw; }
.branch-switch + .badge { margin-left: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.card-head h2 { margin: 0; }
.branch-list { list-style: none; margin: 0; padding: 0; }
.branch-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.branch-list li:last-child { border-bottom: 0; }
.branch-list li > div { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; }
.branch-list small { flex-basis: 100%; }
.branch-list li.is-off { opacity: .6; }
.inv-search { display: flex !important; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r2); background: #fff; margin-bottom: var(--s3); }
.inv-search input { border: 0 !important; outline: 0; box-shadow: none !important; padding: 10px 0 !important; flex: 1; min-width: 0; background: transparent; }
.inv-search:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.inv-table td { vertical-align: middle; }
.inv-table .num { white-space: nowrap; }
.inv-table tr[hidden] { display: none; }
.inv-qty, .form .inv-qty { width: 92px; text-align: right; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.inv-qty:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.inv-table tr.is-filled td { background: #FAFDE6; }
.inv-table tr.is-hit td { background: #FFF4D6; }
.inv-filters { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-end; }
.inv-filters label { min-width: 160px; }
.seg--links { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.seg--links a { padding: 6px 14px; font-weight: 600; font-size: .9rem; border-radius: 999px; text-decoration: none; color: inherit; }
.seg--links a[aria-current] { background: var(--ink); color: #fff; }
.mv { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--cream); }
.mv--venta { background: #EEF2FF; color: #3730A3; }
.mv--entrada, .mv--devolucion { background: #ECFDF3; color: #166534; }
.mv--merma { background: #FEF2F2; color: #991B1B; }
.mv--traspaso { background: #F0F9FF; color: #075985; }
.mv--conteo, .mv--ajuste { background: #FFF7E6; color: #92400E; }
.txt-ok { color: #166534; }
.nowrap { white-space: nowrap; }
.shop-branches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 var(--s2); }
.branch-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; font-weight: 600; font-size: .9rem; }
.branch-pill.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.branch-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) {
  .app-top { flex-wrap: wrap; row-gap: 6px; }
  .app-top__biz { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .branch-switch { order: 10; flex-basis: 100%; margin-left: 0; }
  .branch-switch label { width: 100%; }
  .branch-switch select { max-width: none; flex: 1; }
  .inv-qty, .form .inv-qty { width: 58px; padding: 8px 6px; }
  .inv-table th, .inv-table td { padding: 8px 4px; }
  .inv-table th { font-size: .68rem; letter-spacing: 0; }
  .seg--links { border-radius: 18px; }
}
/* ---------- TPV etapa 6: citas ---------- */
.agenda-head { display: grid; gap: var(--s3); }
.agenda-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agenda-date input { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.agenda-who { margin-left: auto; }
.agenda-who select { min-height: 38px; padding: 4px 28px 4px 10px; border-radius: 999px; border: 1px solid var(--line); background-color: #fff; font: 600 .9rem var(--font); }
.agenda-title { margin: 0; font-size: 1.35rem; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-strip a { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; }
.week-strip a small { font-size: .72rem; color: var(--muted); text-transform: capitalize; }
.week-strip a b { font-size: 1.1rem; }
.week-strip a.is-today { border-color: var(--ink); }
.week-strip a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.week-strip a.is-on small { color: rgba(255,255,255,.75); }
.week-strip__n { min-height: 18px; font-size: .72rem; font-weight: 700; }
.week-strip__n:not(:empty) { padding: 0 7px; border-radius: 999px; background: var(--cream); color: var(--ink); }
.week-strip__n.has-pending { background: var(--gold); }
.week-strip a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.agenda-new > summary { cursor: pointer; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; list-style: none; }
.agenda-new > summary::-webkit-details-marker { display: none; }
.agenda-new[open] > summary { margin-bottom: var(--s3); }
.agenda-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s4); align-items: start; }
.agenda-col__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.1rem; margin: 0 0 var(--s3); }
.agenda-col__head small { margin-left: auto; font-weight: 500; }
.appt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.appt { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); border-left: 5px solid var(--ink); }
.appt p { margin: 0 0 4px; }
.appt--pendiente { border-left-color: #D39B00; background: #FFF8E6; }
.appt--confirmada { border-left-color: #1F4E8C; background: #F1F5FB; }
.appt--completada { border-left-color: var(--wa); background: #EEF7F1; }
.appt--no_asistio, .appt--cancelada { border-left-color: var(--line); background: #F7F5F2; opacity: .75; }
.appt__time { display: grid; align-content: start; text-align: center; }
.appt__time b { font-size: 1.15rem; }
.appt__time small { color: var(--muted); font-size: .78rem; }
.appt__who { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.appt__acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; margin-top: 6px; }
.appt__cancel { flex-basis: 100%; }
.appt__cancel summary { list-style: none; cursor: pointer; display: inline-block; font-size: .88rem; }
.appt__cancel summary::-webkit-details-marker { display: none; }
.appt__cancel[open] { background: #fff; border-radius: 10px; padding: 10px; }
.appt__cancel form { display: grid; gap: 8px; margin-top: 8px; }
.appt-status { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink); white-space: nowrap; }
.appt-status--pendiente { background: #FFF1C7; color: #8A5A00; }
.appt-status--confirmada { background: #E6EEF8; color: #1F4E8C; }
.appt-status--completada { background: #E7F2EC; color: var(--wa-dark); }
.appt-status--no_asistio, .appt-status--cancelada { background: #F6E9E7; color: var(--err); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time-btn, .day-btn { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 1rem var(--font); color: var(--ink); cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.time-btn:hover, .day-btn:hover:not(:disabled) { border-color: var(--ink); }
.time-btn:active, .day-btn:active:not(:disabled) { transform: scale(.97); }
.time-btn[aria-checked="true"], .time-btn[aria-pressed="true"], .day-btn[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.time-btn:focus-visible, .day-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bk-slots { margin: 4px 0 var(--s3); }
.bk-slots .time-grid { margin-top: 6px; }
.book-body { padding-bottom: var(--s7); }
.book-step { margin: var(--s5) 0 0; }
.book-step h2 { display: flex; gap: 10px; align-items: center; font-size: 1.25rem; margin: 0 0 var(--s3); }
.book-step__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; flex: 0 0 auto; }
.book-svcs { display: grid; gap: 8px; }
.book-svc { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r2); background: #fff; box-shadow: var(--shadow); cursor: pointer; border: 2px solid transparent; position: relative; }
.book-svc input { position: absolute; opacity: 0; pointer-events: none; }
.book-svc span { display: grid; gap: 2px; min-width: 0; }
.book-svc small { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.book-svc__price { white-space: nowrap; }
.book-svc__price small { display: block; font-weight: 400; }
.book-svc:has(input:checked) { border-color: var(--ink); }
.book-svc:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.book-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.book-chips .chip-check[hidden] { display: none !important; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.day-btn { flex: 0 0 64px; display: grid; justify-items: center; gap: 0; padding: 6px 4px; min-height: 72px; scroll-snap-align: start; }
.day-btn small { font-size: .72rem; font-weight: 500; text-transform: capitalize; opacity: .8; }
.day-btn b { font-size: 1.3rem; }
.day-btn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.book-summary { white-space: pre-line; font-size: 1.05rem; font-weight: 600; padding: 12px 14px; border-radius: var(--r2); background: var(--cream); margin: 0 0 var(--s3); }
.book-confirm .form { display: grid; gap: var(--s3); }
.chips-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick legend { font-weight: 600; margin-bottom: 8px; }
.table tr.is-off td { opacity: .6; }
.appt-ticket { border-top: 6px solid #1F4E8C; }
.appt-ticket--pendiente { border-top-color: #D39B00; }
.appt-ticket--completada { border-top-color: var(--wa); }
.appt-ticket--cancelada, .appt-ticket--no_asistio { border-top-color: var(--err); }
.appt-ticket h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 4px 0 var(--s3); }
.appt-ticket__when { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.15rem; }
@media (max-width: 640px) {
  .agenda-who { margin-left: 0; flex-basis: 100%; }
  .agenda-who select { width: 100%; }
  .week-strip { gap: 3px; }
  .week-strip a { padding: 6px 0; }
  .appt { grid-template-columns: 48px minmax(0, 1fr); padding: 10px; }
  .time-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .time-btn, .day-btn { transition: none; } }

/* ===== TPV etapa 7: pedidos y citas en los listados públicos ===== */
.card__chips { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.pill--svc { display: inline-flex; align-items: center; gap: 4px; background: #F1F9CC; color: var(--gold-ink); }
.pill--off { background: var(--cream); color: var(--muted); }
.card__act { flex: 0 0 56px; display: grid; place-content: center; justify-items: center; gap: 2px; background: var(--gold); color: var(--ink); text-decoration: none; border-left: 1px solid rgba(0, 0, 0, .06); }
.card__act small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card__act:hover { background: #D4EE14; color: var(--ink); }
.card__act:focus-visible, .card__wa:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.qchip--svc { border-color: var(--ink); background: #F1F9CC; }
.qchip--svc:hover { border-color: var(--gold-ink); }
.online { background: var(--cream); padding-bottom: var(--s5); }
.online__lead { margin: calc(-1 * var(--s2)) 0 var(--s4); font-size: .92rem; }
.filters__group { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.filters__group legend { font-weight: 700; font-size: .9rem; margin-bottom: var(--s2); padding: 0; }
@media (max-width: 420px) {
  .card__act, .card__wa { flex-basis: 48px; }
}

/* Textos legales: índice y resumen */
.legal h2 { scroll-margin-top: 80px; }
.legal h3 { font-size: 1rem; margin: var(--s4) 0 var(--s2); }
.legal__toc { background: var(--cream); border-radius: var(--r2); padding: var(--s4) var(--s5); margin: var(--s4) 0; }
.legal__toc ol { margin: var(--s2) 0 0; padding-left: 1.2em; columns: 2 240px; column-gap: var(--s6); }
.legal__toc li { break-inside: avoid; margin-bottom: 4px; }
.legal__lead { border-left: 4px solid var(--ink); padding: var(--s2) 0 var(--s2) var(--s4); }

/* ======================================================================
   Página del negocio (Destacado y Premium VIP) — versión 2
   Encabezado con las acciones una sola vez · índice de secciones · contenido + columna (horario, contacto, mapa)
   · catálogo en tarjetas con ficha en ventana · "Pedir en línea" en ventana.
   Usa las variables de cada tema (--ink, --muted, --line, --sand, --card) para verse bien en los 5 temas.
   ====================================================================== */
.biz main { --card: #fff; }
.biz.theme-elegante main { --card: #08353D; }
.biz.theme-calido main { --card: #fff; }

/* Encabezado */
.biz .bh { padding: var(--s6) 0 var(--s5); }
.biz .bh__in { align-items: flex-start; gap: var(--s5); }
.biz .bh__logo { flex: 0 0 96px; height: 96px; border-radius: var(--r3); box-shadow: 0 0 0 4px rgba(255,255,255,.9), var(--shadow-lg); }
.biz .bh__text { flex: 1 1 320px; }
.biz .bh__text h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 6px; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.biz .bh__text h1 .badge { font-size: .7rem; }
.biz .bh .badge--vip { background: #0B4650; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); padding: 6px 10px; }
/* Logo: el logo completo, sin recortar (muchos son horizontales o traen texto) */
.biz .bh__logo { background: #fff; }
.biz .bh__logo img { object-fit: contain; padding: 8%; }
.bh__tag { margin: 0 0 var(--s3); font-size: 1.05rem; line-height: 1.45; opacity: .88; max-width: 62ch; }
.bh__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .9rem; }
.bh__ver { display: inline-flex; gap: 5px; align-items: center; font-weight: 600; }
.biz .bh__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-self: center; }
.biz .bh__actions .btn { box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn--icon { width: 52px; min-height: 52px; padding: 0; border-radius: var(--r2); background: rgba(255,255,255,.14); color: inherit; border: 1px solid rgba(255,255,255,.28); }
.btn--icon:hover { background: rgba(255,255,255,.24); color: inherit; }
.biz.theme-minimal .btn--icon { background: #fff; border-color: var(--line); }
/* En celular la barra de abajo ya tiene WhatsApp, Llamar y Compartir: arriba solo queda Pedir / Reservar */
@media (max-width: 899px) {
  .biz .bh { padding: var(--s5) 0; }
  .biz .bh__in { gap: var(--s4); }
  .biz .bh__logo { flex-basis: 104px; height: 104px; border-radius: 16px; }
  .biz .bh__actions { flex: 1 1 100%; }
  .biz .bh__actions .bh__wa, .biz .bh__actions .bh__share { display: none; }
  .biz .bh__actions .btn--order { flex: 1 1 100%; }
}
/* Computadora: logo | nombre, frase y estado; las acciones en una fila debajo del nombre */
@media (min-width: 900px) {
  .biz .bh__in { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s5); row-gap: var(--s4); }
  .biz .bh__actions { grid-column: 2; align-self: start; }
  .biz .bh__logo { width: 168px; height: 168px; grid-row: span 2; align-self: start; border-radius: 20px; }
  .biz .bh--cover .bh__logo { width: 176px; height: 176px; }
}
/* Con portada: el logo se monta sobre la imagen */
@media (min-width: 900px) {
  .biz .bh--cover .bh__logo { position: relative; z-index: 2; margin-top: -80px; }
}
.bowner-note { margin-top: var(--s3); color: var(--muted); display: flex; gap: 6px; align-items: center; }

/* Índice de secciones */
.btabs { position: sticky; top: 53px; z-index: 45; background: var(--card, #fff); border-bottom: 1px solid var(--line); }
.biz.theme-elegante .btabs { background: #08353D; border-color: #0F5661; }
.biz.theme-elegante .btabs a { color: #898A8D; }
.btabs__in { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.btabs__in::-webkit-scrollbar { display: none; }
.btabs a { flex: 0 0 auto; padding: 15px 0 13px; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.btabs a:hover { color: var(--ink); }
.btabs a.is-on { color: var(--ink); border-color: var(--brand2); }
.biz.theme-elegante .btabs a.is-on { color: #F2F0E9; }
.biz main [id] { scroll-margin-top: 120px; }

/* Contenido + columna */
.blayout { display: grid; gap: var(--s6); padding-top: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 980px) {
  .blayout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .bside { position: sticky; top: 124px; align-self: start; }
}
/* Celular: horario y contacto justo después de los productos (no hasta el final) */
@media (max-width: 979px) {
  .blayout { display: flex; flex-direction: column; gap: 0; }
  .bmain { display: contents; }
  .bmain > * { order: 3; }
  .bmain > #info { order: 1; }
  .bmain > #catalogo { order: 2; }
  .bside { order: 2; margin-bottom: var(--s7); }
}
.bmain > .bsec:first-child { margin-top: 0; }
.bmain .bsec { margin: 0 0 var(--s7); }
.biz .bsec__head { margin-bottom: var(--s4); align-items: center; }
.biz .bsec__head h2 { margin: 0; }

/* Acerca de */
.babout__text { font-size: 1.02rem; line-height: 1.7; color: var(--ink-2, var(--ink)); }
.babout__text p { margin: 0 0 .9em; }
.babout__text.is-clamped { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#062C33 60%, transparent); mask-image: linear-gradient(#062C33 60%, transparent); }
.babout__more { display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; font-weight: 700; color: var(--ink); }
.babout__more .i { transition: transform .2s; }
.babout__more.is-open .i { transform: rotate(180deg); }
.facts-grid { display: grid; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
.facts-grid .facts h3 { margin-top: 0; }

/* Columna: tarjetas de horario y contacto */
.bcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r3); padding: 20px; margin-bottom: var(--s4); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bcard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.bcard h2, .bcard__title { display: flex; gap: 8px; align-items: center; margin: 0; font: 700 1rem var(--font); letter-spacing: 0; }
.bcard__title { margin-bottom: 12px; }
.bcard h2 .i { color: var(--brand2); }
.biz.theme-minimal .bcard h2 .i, .biz.theme-clasico .bcard h2 .i { color: var(--muted); }
.dot { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--open { color: #1F8A55; }
.dot--closed { color: #C0392B; }
.week { margin: 0; display: grid; gap: 2px; }
.week div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: .92rem; }
.week dt { font-weight: 500; }
.week dt small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand2); margin-left: 4px; }
.week dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.week .is-closed dd { color: var(--muted); }
.week .is-today { background: var(--cream); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand2); }
.bcard .hours__ex { display: flex; gap: 6px; align-items: center; }
.map-box--card { height: 180px; margin: 0 0 14px; border-radius: var(--r2); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.clist li { display: flex; gap: 10px; align-items: flex-start; }
.clist .i { color: var(--muted); margin-top: 2px; }
.clist a { word-break: break-word; }
.bcard__btns { display: flex; gap: 8px; margin-top: 16px; }
.bcard__btns .btn { flex: 1; }
.bcard .socials { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bcard .socials a { width: 40px; height: 40px; background: var(--cream); }

/* Catálogo en tarjetas */
.pgrid { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pcard { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.12); border-color: color-mix(in srgb, var(--line) 50%, var(--ink)); }
.pcard:focus-visible { outline: 3px solid var(--brand2); outline-offset: 2px; }
/* La foto se ve completa: fondo blanco y margen (las fotos de producto no se recortan) */
.pcard__media { position: relative; display: block; width: 100%; aspect-ratio: 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .4s ease; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard--nophoto .pcard__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--cream)), var(--cream)); }
.pcard__mono { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--brand) 60%, var(--muted)); }
.pcard__flag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(17,17,17,.78); color: #fff; font-size: .72rem; font-weight: 700; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard__cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-weight: 700; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__desc { font-size: .82rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard__price { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.pcard__go { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); transition: background .18s, color .18s, transform .18s; }
.pcard:hover .pcard__go { background: var(--brand2); color: var(--brand2-ink); transform: translateX(2px); }

/* Ventanas (modales) */
dialog.modal { border: 0; padding: 0; width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; background: var(--card, #fff); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: auto; overscroll-behavior: contain; }
dialog.modal::backdrop { background: rgba(12,10,8,.62); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: modal-in .22s cubic-bezier(.2,.8,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 719px) {
  dialog.modal { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 94dvh; border-radius: 20px 20px 0 0; }
  @keyframes modal-in { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
}
html:has(dialog.modal[open]) { overflow: hidden; }
.modal__x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #0B4650; box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; }
.modal__x:hover { background: #fff; }
.modal__x--inline { position: static; margin-left: auto; flex: 0 0 auto; box-shadow: none; background: rgba(255,255,255,.14); color: #fff; }
.modal__x--inline:hover { background: rgba(255,255,255,.26); }

/* Ficha del producto */
.pmodal__in { position: relative; display: grid; }
@media (min-width: 720px) { .pmodal__in { grid-template-columns: 1fr 1fr; min-height: 440px; } }
.pmodal__media { background: #fff; aspect-ratio: 1; }
.pmodal__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pmodal__media.is-empty { aspect-ratio: auto; min-height: 120px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--cream)), var(--cream)); }
@media (min-width: 720px) { .pmodal__media { aspect-ratio: auto; } .pmodal__media.is-empty { min-height: 100%; } }
.pmodal__body { display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 24px; }
.pmodal__cat { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pmodal__body h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); padding-right: 40px; }
.pmodal__price { margin: 4px 0 6px; font-size: 1.5rem; font-weight: 800; }
.pmodal__desc { margin: 0 0 6px; color: var(--ink-2, var(--ink)); line-height: 1.6; white-space: pre-line; }
.pmodal__vars h3 { margin: 10px 0 8px; font: 700 .85rem var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pmodal__vars .chips li { background: var(--cream); border: 1px solid var(--line); font-weight: 600; }
.pmodal__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }

/* "Pedir en línea" en ventana */
dialog.omodal { width: min(760px, calc(100% - 32px)); height: min(88dvh, 920px); background: var(--white); }
@media (max-width: 719px) { dialog.omodal { width: 100%; height: 94dvh; } }
.shop--modal .shop-head { position: sticky; top: 0; z-index: 6; padding: 14px 0; }
.shop--modal .shop-head__in, .shop--modal .shop-body { max-width: none; padding-left: 20px; padding-right: 20px; }
.shop--modal .shop-body { padding-bottom: 90px; }
.shop--modal .shop-cats { position: static; background: transparent; }
.shop--modal .shop-bar { position: sticky; left: auto; transform: none; bottom: 14px; margin: 0 auto; width: calc(100% - 40px); }
.shop--modal .shop-sheet { background: var(--card, #fff); color: var(--ink); }
.biz.theme-elegante .shop-cats a, .biz.theme-elegante .shop-item { background: transparent; color: var(--ink); }
.biz.theme-elegante dialog.omodal { background: #08353D; }
