/* =========================================================
   ESTRUCTURA BASE (25-nov-2026) · lo común de los grupos
   La forma de portada que usan Uber Eats, Booksy y Houzz:
   foto grande de borde a borde y la ficha del negocio en una
   tarjeta blanca encima. Colores: los del tema (--vt-a, --vt-t).
   El grupo «perfil» (Doctoralia) y «mercado» la cambian.
   ========================================================= */
body.es { --es-a: var(--vt-a, #C2410C); --es-t: #1C1917; --es-t2: #57534E; --es-b: #E7E5E4; --es-f: #FAFAF9; }

body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-hero { position: relative; padding: 0 0 20px !important; min-height: 0; overflow: visible;
    background: linear-gradient(180deg, transparent 60%, var(--es-f) 60%) !important; }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-hero .vt-hero-g { display: flex !important; flex-direction: column; max-width: none !important; width: 100% !important; padding: 0 !important; }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-hero-vis { order: -1; position: relative; width: 100%; height: clamp(240px, 36vw, 420px); }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-portada { position: absolute !important; inset: 0; margin: 0 !important; transform: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-portada img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 50%); }
body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-pie-foto { display: none !important; }

/* La ficha (sirve también para «perfil») */
body.es:not(.es-mercado) .vt-hero-tx {
    position: relative; z-index: 2; width: min(1120px, calc(100% - 32px)); margin: -96px auto 0 !important; padding: 26px 30px 22px !important;
    background: #fff; color: var(--es-t); border-radius: 24px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.45); min-height: 0 !important;
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ident botones" "nombre botones" "estado botones" "sellos sellos"; column-gap: 24px; align-items: center;
}
body.es .vt-ident { grid-area: ident; }
body.es .vt-nombre { grid-area: nombre; color: var(--es-t) !important; font-size: clamp(28px, 3.2vw, 42px) !important; margin: 6px 0 4px !important; }
body.es .vt-estado { grid-area: estado; }
body.es .vt-sellos { grid-area: sellos; margin-top: 12px !important; }
body.es .vt-sellos, body.es .vt-sellos * { color: var(--es-t2) !important; }
body.es .vt-botones { grid-area: botones; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 440px; }
body.es .vt-hero-tx :is(.vt-cat, .vt-ciudad, .vt-resena, p) { color: var(--es-t2) !important; }
body.es .vt-hero-tx > *:empty { display: none !important; }
body.es .vt-logo { border-radius: 50% !important; width: 64px !important; height: 64px !important; margin-top: -58px; border: 4px solid #fff !important; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); background: var(--es-a) !important; color: #fff !important; overflow: hidden; }
body.es .vt-logo b { color: #fff !important; font-size: 20px; }
body.es .vt-letrero { position: static !important; transform: none !important; display: inline-flex !important; align-items: center; gap: 6px; margin-left: 8px; padding: 5px 12px !important; border-radius: 999px !important; box-shadow: none !important; border: 0 !important; background: #DCFCE7 !important; color: #166534 !important; }
body.es .vt-letrero.cerrado { background: #FEE2E2 !important; color: #991B1B !important; }
body.es .vt-letrero b { font-size: 12.5px !important; }
body.es .vt-letrero small { font-size: 12px !important; opacity: .85; }
body.es .vt-letrero-hilo { display: none !important; }
body.es .vt-btn { border-radius: 999px !important; }
body.es .vt-btn-a { background: var(--es-a) !important; color: #fff !important; border-color: var(--es-a) !important; }
body.es .vt-btn-b:not(.vt-wa) { background: #F5F5F4 !important; color: var(--es-t) !important; border-color: var(--es-b) !important; }
body.es .vt-btn.vt-wa { background: #25D366 !important; color: #fff !important; border: 0 !important; }
/* Las tarjetas de «Categorías» sobran: las pestañas hacen lo mismo */
body.es .pr-cats { display: none !important; }
/* Títulos de sección más limpios */
body.es .seccion-cabecera .sc-marca, body.es .seccion-cabecera .sc-deco { display: none !important; }

@media (max-width: 760px) {
    body.es:is(.es-comida, .es-citas, .es-trabajos) .vt-hero-vis { height: 230px; }
    body.es:not(.es-mercado) .vt-hero-tx { grid-template-columns: 1fr; grid-template-areas: "ident" "nombre" "estado" "botones" "sellos"; margin-top: -54px !important; padding: 20px 18px !important; border-radius: 22px; width: calc(100% - 24px); }
    body.es .vt-botones { justify-content: flex-start; margin-top: 14px !important; max-width: none; }
    body.es .vt-logo { width: 56px !important; height: 56px !important; margin-top: -48px; }
}

/* ---------- Caja de cita fija al lado (citas y perfil) ---------- */
body.es .es-dos { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
body.es .es-caja { position: sticky; top: 84px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--es-b); box-shadow: 0 18px 40px -26px rgba(0,0,0,.35); }
body.es .es-caja h3 { font-size: 19px; font-weight: 800; margin: 0 0 12px; color: var(--es-t); }
body.es .es-caja p { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 14px; color: var(--es-t2); }
body.es .es-caja-est i { width: 10px; height: 10px; border-radius: 50%; background: #DC2626; flex: none; }
body.es .es-caja-est.si i { background: #16A34A; }
body.es .es-caja-est b { color: var(--es-t); }
body.es .es-caja-dir svg { flex: none; box-sizing: content-box; width: 16px; height: 16px; padding: 7px; border-radius: 50%; background: #F5F5F4; fill: none; stroke: var(--es-t); stroke-width: 2; }
body.es .es-caja-dir b { display: block; color: var(--es-t); }
body.es .es-caja-dir small { font-size: 12.5px; }
body.es .es-caja-bt { display: grid; gap: 8px; margin-top: 16px; }
body.es .es-caja-bt a { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
body.es .es-caja-a { background: var(--es-a); color: #fff !important; }
body.es .es-caja-wa { background: #25D366; color: #fff !important; }
body.es .es-caja-b { border: 1px solid var(--es-b); color: var(--es-t) !important; }
@media (max-width: 1000px) {
    body.es .es-dos { grid-template-columns: 1fr; }
    body.es .es-caja { position: static; }
}

/* ---------- Comunes (28-nov): fila «Lo más …», franja fija y orden ---------- */

.es-top { margin: 4px 0 28px; }
.es-top-t { font-size: 20px; font-weight: 800; margin: 0 0 12px; color: var(--es-t); }
.es-top-fila { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 270px); gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.es-top-fila::-webkit-scrollbar { display: none; }
.es-top-it { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--es-t); }
.es-top-f { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 8px; background: #eee; }
.es-top-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.es-top-it:hover img { transform: scale(1.05); }
.es-top-it b { font-size: 15px; }
.es-top-it small { font-size: 14px; color: var(--es-t2); font-weight: 600; }

/* Franja fija */
.es-presu { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; padding: 10px 10px 10px 24px; border-radius: 999px; background: var(--es-t, #1C1917); color: #fff; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); width: max-content; max-width: calc(100% - 24px); }
.es-presu b { display: block; font-size: 15px; }
.es-presu small { display: block; font-size: 12.5px; opacity: .75; }
.es-presu a { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--es-a, #EA580C); color: #fff !important; font-weight: 800; text-decoration: none; }
@media (max-width: 1023px) { .es-presu { display: none; } }
.es-orden { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--es-t2, #57534E); }
.es-orden select { height: 38px; padding: 0 30px 0 14px; border: 1px solid var(--es-b, #E7E5E4); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: var(--es-t, #1C1917); }
@media (max-width: 760px) { .es-top-fila { grid-auto-columns: 72%; } }
.es-caja-lista { list-style: none; margin: 0 0 4px; padding: 12px 0 0; border-top: 1px solid var(--es-b); display: grid; gap: 8px; }
.es-caja-lista li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--es-t2); }
.es-caja-lista li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--es-a) 14%, #fff); color: var(--es-a); font-size: 12px; font-weight: 800; flex: none; }
