/* =========================================================
   QueBuscasRD — Portada «Foto» (8-nov-2026, portada 5)
   includes/inicio/inicio_foto.php
   ========================================================= */
.pf {
    --pf-tinta: #172331; --pf-suave: #5B6672; --pf-tenue: #8B939C; --pf-linea: #E3E7EB;
    --pf-marino: #18334E; --pf-am: #F2BE4B; --pf-rojo: #E8463C; --pf-verde: #1E8A55;
    color: var(--pf-tinta); background: #fff; font-family: var(--fuente, system-ui, sans-serif);
}
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf a { color: inherit; text-decoration: none; }
.pf h1, .pf h2, .pf h3, .pf p { margin: 0; font-family: inherit; }
.pf-in { width: min(1240px, 100% - 48px); margin: 0 auto; }
.pf .ic-ui { width: 18px; height: 18px; flex: none; }
/* íconos de categoría en una sola tinta */
.pf-ic { display: inline-grid; place-items: center; background: none !important; }
.pf-ic svg { width: 20px; height: 20px; color: currentColor !important; }

/* ---------- Hero ---------- */
.pf-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.pf-hero-foto { position: absolute; inset: 0; z-index: -2; }
.pf-hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.pf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10, 20, 32, .58), rgba(10, 20, 32, .82)); }
.pf-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 96px 0 74px; }
html body .pf .pf-hero h1 { color: #fff !important; font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 20ch; }
.pf-hero-sub { margin-top: 12px !important; font-size: 18px; opacity: .88; max-width: 54ch; line-height: 1.5; }
.pf-busca { display: flex; align-items: stretch; width: min(900px, 100%); margin-top: 28px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .6); }
.pf-q, .pf-sel { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 52px; color: var(--pf-tenue); min-width: 0; }
.pf-q { flex: 1.5; }
.pf-sel { flex: 1; border-left: 1px solid #E6E9EE; position: relative; }
.pf-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--pf-tinta); }
.pf-sel select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--pf-tinta); cursor: pointer; padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364727f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 12px; }
.pf-sel .pf-ic svg { width: 18px; height: 18px; color: var(--pf-marino) !important; }
.pf-q .ic-ui, .pf-sel .ic-ui { color: var(--pf-marino); }
.pf-busca button { flex: none; padding: 0 30px; border: 0; border-radius: 10px; background: var(--pf-rojo); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.pf-busca button:hover { background: #D63A30; }
.pf-pop { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px !important; }
.pf-pop a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; font-weight: 600; color: #fff !important; transition: background .15s; }
.pf-pop a:hover { background: rgba(255, 255, 255, .26); }
.pf-pop .pf-ic svg { width: 16px; height: 16px; }
.pf-instalar { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 18px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff !important; font-weight: 800; }

/* ---------- ¿Ya pediste? ---------- */
.pf-ya { background: #0F2438; color: #fff; }
.pf-ya .pf-in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 13px 0; font-size: 14.5px; }
.pf-ya span { opacity: .65; }
.pf-ya a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff !important; }
.pf-ya a:hover { text-decoration: underline; }
.pf-ya .ic-ui { width: 16px; height: 16px; }
.pf-ya-ab { margin-left: auto; }
.pf-ya-ab i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .22); }

/* ---------- Secciones ---------- */
.pf-sec { padding-top: 56px; }
.pf-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pf-cab h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pf-cab p { margin-top: 4px !important; font-size: 15px; color: var(--pf-suave); }
.pf-cab > a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: #1D7B7F !important; white-space: nowrap; }
.pf-cab > a .ic-ui { width: 16px; height: 16px; }

/* Categorías */
.pf-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.pf-cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; border: 1px solid var(--pf-linea); border-radius: 14px; font-size: 14.5px; font-weight: 700; text-align: center; transition: border-color .15s, transform .15s; }
.pf-cats a:hover { border-color: var(--pf-tinta); transform: translateY(-2px); }
.pf-cats .pf-ic svg { width: 30px; height: 30px; color: var(--pf-marino) !important; }

/* Negocios cerca */
.pf-cerca { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 20px; }
.pf-cerca.sin-mapa { grid-template-columns: 1fr; }
.pf-cerca.sin-mapa .pf-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-lista { display: flex; flex-direction: column; gap: 12px; }
.pf-neg { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--pf-linea); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.pf-neg:hover { border-color: var(--pf-am); box-shadow: 0 10px 24px -16px rgba(16, 24, 40, .35); }
.pf-neg-foto { position: relative; flex: none; width: 128px; height: 84px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--f, #18334E) 12%, #F2F4F7); }
.pf-neg-foto > img, .pf-neg-foto .fc-dibujo, .pf-neg-foto .fc-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-logo { position: absolute !important; left: 6px; bottom: 6px; z-index: 2; width: 30px; height: 30px; border-radius: 8px; border: 2px solid #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--f, #18334E); color: var(--l, #fff); overflow: hidden; }
.pf-logo.con-img { background: #fff; }
.pf-logo img { width: 100%; height: 100%; object-fit: contain; position: static !important; }
.pf-neg-tx { min-width: 0; display: flex; flex-direction: column; }
.pf-neg-tx b { display: flex; align-items: center; gap: 5px; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-neg-tx small { font-size: 13.5px; color: var(--pf-suave); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-neg-tx em { margin-top: 3px; font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--pf-tenue); }
.pf-neg-tx em.si { color: var(--pf-verde); }
.pf-mapa { position: relative; min-height: 380px; border-radius: 16px; overflow: hidden; background: #E8ECEF; }
#pfMapa { position: absolute; inset: 0; z-index: 1; }
.pf-mapa-bt { position: absolute; right: 14px; bottom: 14px; z-index: 500; display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 10px; background: var(--pf-marino); color: #fff !important; font-size: 14px; font-weight: 800; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.pf-mapa-bt:hover { background: #0F2438; }
.im-pin { background: none; border: 0; }
.im-pin span { display: block; width: 28px; height: 28px; margin: 0 auto; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #E8463C; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); transition: transform .2s, background .2s; position: relative; }
.im-pin span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.im-pin.on span { background: #18334E; transform: rotate(-45deg) scale(1.2); }

/* Recién publicado */
.pf-prods { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 18px; }
.pf-prod { display: flex; flex-direction: column; min-width: 0; }
.pf-prod-foto { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #F3F5F7; }
.pf-prod-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pf-prod:hover .pf-prod-foto img { transform: scale(1.05); }
.pf-prod-foto em { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 7px; background: #fff; font-style: normal; font-size: 12px; font-weight: 800; color: var(--pf-marino); }
.pf-prod b { margin-top: 9px; font-size: 14.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-prod strong { margin-top: 3px; font-size: 16px; font-weight: 800; }
.pf-prod small { font-size: 12.5px; color: var(--pf-tenue); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Cursos */
.pf-cursos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pf-curso { display: flex; flex-direction: column; border: 1px solid var(--pf-linea); border-radius: 16px; overflow: hidden; }
.pf-curso-top { height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.pf-curso-top .pf-ic svg { width: 30px; height: 30px; }
.pf-curso-top span { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--pf-tinta); font-size: 12.5px; font-weight: 800; }
.pf-curso-b { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.pf-curso-b b { font-size: 17px; }
.pf-curso-b small { font-size: 13.5px; color: var(--pf-suave); }
.pf-tandas { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px !important; }
.pf-tandas span { padding: 4px 9px; border-radius: 7px; background: #F3F5F7; font-size: 12.5px; font-weight: 700; }
.pf-curso-pre { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.pf-curso-pre strong { font-size: 17px; }
.pf-curso-pre em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--pf-verde); background: #E7F6EC; padding: 3px 8px; border-radius: 6px; }
.pf-curso-b > a { margin-top: auto; padding: 11px; border-radius: 10px; background: var(--pf-marino); color: #fff !important; text-align: center; font-size: 14.5px; font-weight: 800; }
.pf-curso-b > a:hover { background: #0F2438; }
/* Academias (cuando aún no hay cursos) */
.pf-acads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf-acad { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--pf-linea); border-radius: 14px; }
.pf-acad:hover { border-color: var(--pf-tinta); }
.pf-acad-logo { width: 56px; height: 56px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 18px; font-weight: 800; background: var(--f, #18334E); color: var(--l, #fff); overflow: hidden; }
.pf-acad-logo.con-img { background: #fff; border: 1px solid var(--pf-linea); }
.pf-acad-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf-acad span { flex: 1; min-width: 0; }
.pf-acad b { display: block; font-size: 16px; }
.pf-acad small { font-size: 13.5px; color: var(--pf-suave); }
.pf-acad em { flex: none; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 800; color: #1D7B7F; }
.pf-acad em .ic-ui { width: 16px; height: 16px; }

/* Publicidad */
.pf-pub .adx-sec { padding: 56px 0 0; background: none; }
.pf-pub .adx-sec-in { width: 100%; }

/* Categorías vacías */
.pf-vacias { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pf-vacias a { display: flex; flex-direction: column; min-width: 0; }
.pf-vacia-foto { height: 170px; border-radius: 14px; overflow: hidden; background: #F3F5F7; }
.pf-vacia-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pf-vacias a:hover img { transform: scale(1.04); }
.pf-vacias b { margin-top: 9px; font-size: 16px; }
.pf-vacias small { font-size: 13.5px; color: var(--pf-suave); }
.pf-vacias em { font-style: normal; color: #9A6A00; font-weight: 800; }

/* Para negocios */
.pf-neg-sec { margin-top: 64px; padding: 56px 0; background: var(--pf-marino); color: #fff; }
.pf-neg-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
html body .pf .pf-neg-sec h2 { color: #fff !important; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.pf-neg-sec p { margin-top: 12px !important; font-size: 16px; line-height: 1.6; opacity: .84; max-width: 52ch; }
.pf-neg-bt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pf-neg-bt a { padding: 12px 18px; border-radius: 10px; background: var(--pf-am); color: #1D1D1D !important; font-weight: 800; }
.pf-neg-bt a + a { background: none; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .4); }
.pf-nuevos { background: #fff; color: var(--pf-tinta); border-radius: 16px; padding: 18px 20px 8px; }
.pf-nuevos h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.pf-nuevos a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #EEF0F3; }
.pf-nuevo-logo { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--f, #18334E); color: var(--l, #fff); overflow: hidden; }
.pf-nuevo-logo.con-img { background: #fff; border: 1px solid var(--pf-linea); }
.pf-nuevo-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf-nuevos span { flex: 1; min-width: 0; }
.pf-nuevos b { display: block; font-size: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-nuevos small { font-size: 13px; color: var(--pf-suave); }
.pf-nuevos time { font-size: 12.5px; color: var(--pf-tenue); flex: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .pf-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pf-cerca { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pf-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pf-prods > :nth-child(n+5) { display: none; }
    .pf-cursos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-vacias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-neg-g { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
    .pf-busca { flex-wrap: wrap; gap: 6px; background: none; padding: 0; box-shadow: none; }
    .pf-q { flex: 1 1 100%; background: #fff; border-radius: 12px; }
    .pf-sel { flex: 1; background: #fff; border-radius: 12px; border: 0; height: 48px; }
    .pf-busca button { height: 48px; border-radius: 12px; }
    .pf-cerca { grid-template-columns: 1fr; }
    .pf-mapa { min-height: 260px; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
    .pf-in { width: calc(100% - 32px); }
    .pf-hero-in { padding: 44px 0 36px; }
    .pf-hero-sub { font-size: 15.5px; }
    .pf-busca button { flex: 1 1 100%; }
    .pf-pop { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + 32px); margin-left: -16px; padding: 0 16px; }
    .pf-pop::-webkit-scrollbar { display: none; }
    .pf-pop a { flex: none; }
    .pf-ya .pf-in { font-size: 13.5px; gap: 6px 16px; }
    .pf-ya-ab { margin-left: 0; }
    .pf-sec { padding-top: 38px; }
    .pf-cab h2 { font-size: 21px; }
    .pf-cab p { font-size: 14px; }
    .pf-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .pf-cats a { padding: 14px 4px; font-size: 12.5px; gap: 7px; }
    .pf-cats .pf-ic svg { width: 26px; height: 26px; }
    .pf-cerca.sin-mapa .pf-lista { grid-template-columns: 1fr; }
    .pf-neg-foto { width: 100px; height: 72px; }
    .pf-prods, .pf-cursos, .pf-vacias { grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; gap: 12px; }
    .pf-prods::-webkit-scrollbar, .pf-cursos::-webkit-scrollbar, .pf-vacias::-webkit-scrollbar { display: none; }
    .pf-prods { grid-auto-columns: 44%; }
    .pf-prods > :nth-child(n+5) { display: flex; }
    .pf-cursos { grid-auto-columns: 82%; }
    .pf-vacias { grid-auto-columns: 70%; }
    .pf-prods > *, .pf-cursos > *, .pf-vacias > * { scroll-snap-align: start; }
    .pf-acads { grid-template-columns: 1fr; }
    .pf-acad em span, .pf-acad em { font-size: 0; }
    .pf-acad em .ic-ui { width: 20px; height: 20px; }
    .pf-neg-sec { margin-top: 44px; padding: 40px 0; }
}

/* ---------- Ajustes tras probar ---------- */
html body .pf .pf-hero-sub { color: rgba(255, 255, 255, .9) !important; }
html body .pf .pf-neg-sec p { color: rgba(255, 255, 255, .84) !important; }
html body .pf .pf-acad-logo { width: 56px !important; height: 56px !important; flex: 0 0 56px !important; }
html body .pf .pf-nuevo-logo { width: 40px !important; height: 40px !important; flex: 0 0 40px !important; }
html body .pf .pf-logo { width: 30px !important; height: 30px !important; }
html body .pf :is(.pf-acad-logo, .pf-nuevo-logo, .pf-logo) img { width: 100% !important; height: 100% !important; max-width: 100%; object-fit: contain; display: block; }
html body .pf .pf-hero h1 { max-width: 24ch; }

/* =========================================================
   SECCIONES EN MARCOS (8-nov-2026): cada sección en una caja
   blanca con sombra ligera, sobre fondo gris muy claro.
   ========================================================= */
.pf { background: #F3F5F7 !important; }
.pf-sec { margin-top: 24px; padding: 26px 28px 28px !important; background: #fff; border: 1px solid #E7EAEE; border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 22px -12px rgba(16, 24, 40, .14); }
.pf-in > .pf-sec:first-child { margin-top: 28px; }
.pf-pub .adx-sec { padding: 24px 0 0 !important; }
.pf-pub .adx-sec-in > * { box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 22px -12px rgba(16, 24, 40, .14); }
.pf-neg-sec { margin-top: 28px; }
@media (max-width: 640px) {
    .pf-in { width: calc(100% - 20px); }
    .pf-sec { margin-top: 12px; padding: 18px 14px 18px !important; border-radius: 14px; overflow: hidden; }
    .pf-in > .pf-sec:first-child { margin-top: 14px; }
    .pf-prods, .pf-cursos, .pf-vacias { margin: 0 -14px !important; padding: 0 14px 4px !important; scroll-padding: 0 14px; }
    .pf-pop { width: calc(100% + 20px); margin-left: -10px; padding: 0 10px; }
    .pf-pub .adx-sec { padding-top: 12px !important; }
    .pf-neg-sec { margin-top: 16px; }
}
.pf-cerca, .pf-lista, .pf-neg { min-width: 0; }
.pf-neg-tx { flex: 1; }
@media (max-width: 640px) {
    .pf-neg { padding: 10px; gap: 12px; }
    .pf-neg-foto { width: 88px; height: 64px; }
    .pf-neg-tx b { font-size: 15px; }
    .pf-neg-tx small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
}

/* ---------- Pantallas anchas (8-nov): el contenido aprovecha el ancho ---------- */
@media (min-width: 1500px) {
    .pf-in { width: min(1640px, 100% - 120px); }
    .pf-hero-in { padding: 120px 0 96px; }
    .pf-busca { width: min(1000px, 100%); }
    .pf-cerca { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
    .pf-mapa { min-height: 440px; }
    .pf-prods { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pf-cursos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pf-acads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pf-cats a { padding: 26px 8px; }
}
@media (max-width: 1499px) { .pf-prods > :nth-child(6) { display: none; } }
@media (max-width: 640px) { .pf-prods > :nth-child(6) { display: flex; } }
@media (min-width: 1500px) { .pf-acads { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); } }

/* ---------- Fondo blanco; cada sección con su marco (8-nov, noche) ---------- */
.pf { background: #fff !important; }
.pf-sec { border: 1px solid #DDE2E8 !important; box-shadow: 0 2px 10px -4px rgba(16, 24, 40, .10) !important; }
.pf-pub .adx-sec-in > * { box-shadow: none !important; }

/* Hero con la foto propia (hero-portada): el mapa ya es oscuro, la capa va más suave
   y más oscura en el centro, donde están el título y el buscador */
.pf-hero.pf-hero-propia::before{background:radial-gradient(ellipse 60% 70% at 50% 50%,rgba(10,20,32,.72),rgba(10,20,32,.28) 75%),linear-gradient(rgba(10,20,32,.1),rgba(10,20,32,.35))}
.pf-hero.pf-hero-propia .pf-hero-foto img{object-position:center center}

/* Hero con foto vertical (hero-portada alta): en PC el texto a la izquierda y la foto
   a la derecha en un marco; en celular sigue de fondo (la pantalla también es vertical) */
@media (min-width:901px){
  .pf-hero.pf-hero-lado{--pf-ancho:min(1240px,calc(100% - 48px));--pf-foto:min(420px,34%);background:#0F2236}
  .pf-hero.pf-hero-lado::before{background:radial-gradient(800px 420px at 85% 50%,rgba(37,99,235,.18),transparent 70%)}
  .pf-hero.pf-hero-lado .pf-hero-foto{inset:auto;top:40px;bottom:40px;right:calc((100% - var(--pf-ancho)) / 2);width:var(--pf-foto);border-radius:22px;overflow:hidden;z-index:0;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
  .pf-hero.pf-hero-lado .pf-hero-foto img{object-position:center 45%}
  .pf-hero.pf-hero-lado .pf-hero-in{position:relative;z-index:1;align-items:flex-start;text-align:left;padding-right:calc(var(--pf-foto) + 56px);padding-top:84px;padding-bottom:84px;min-height:440px;justify-content:center;box-sizing:border-box}
  html body .pf .pf-hero.pf-hero-lado h1{max-width:16ch}
  .pf-hero.pf-hero-lado .pf-busca{width:100%;max-width:none}
  .pf-hero.pf-hero-lado .pf-pop{justify-content:flex-start}
}
@media (min-width:1500px){
  .pf-hero.pf-hero-lado{--pf-ancho:min(1640px,calc(100% - 120px));--pf-foto:min(480px,32%)}
}

/* 9-nov (2.ª): la foto vertical va DE FONDO, pegada al borde derecho a toda altura,
   y se funde con el azul hacia la izquierda, donde va el texto */
@media (min-width:901px){
  .pf-hero.pf-hero-lado .pf-hero-foto{top:0;bottom:0;right:0;left:auto;width:58%;border-radius:0;box-shadow:none;z-index:-2}
  .pf-hero.pf-hero-lado .pf-hero-foto img{object-position:center 42%}
  .pf-hero.pf-hero-lado::before{z-index:-1;background:
      linear-gradient(90deg,#0F2236 0%,#0F2236 42%,rgba(15,34,54,.82) 52%,rgba(15,34,54,.35) 68%,rgba(15,34,54,.1) 85%,rgba(15,34,54,.25) 100%),
      linear-gradient(180deg,rgba(15,34,54,.25),transparent 30%,transparent 70%,rgba(15,34,54,.55))}
  .pf-hero.pf-hero-lado .pf-hero-in{padding-right:44%;min-height:480px}
}
@media (min-width:1500px){
  .pf-hero.pf-hero-lado .pf-hero-foto{width:55%}
  .pf-hero.pf-hero-lado .pf-hero-in{padding-right:46%}
}
@media (min-width:901px){ .pf-hero.pf-hero-lado .pf-hero-in{padding-right:36%} }
@media (min-width:901px) and (max-width:1200px){ .pf-hero.pf-hero-lado .pf-hero-in{padding-right:26%} }
@media (min-width:1500px){ .pf-hero.pf-hero-lado .pf-hero-in{padding-right:42%} }

@font-face { font-family: "PF Mano"; src: url(../fonts/kalam/kalam-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PF Rotulo"; src: url(../fonts/temas/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* ---------- ¿Tienes uno de estos negocios? · muestras en vez de fotos (12-nov-2026) ----------
   Cada tarjeta enseña un pedacito real de la página que tendría ese negocio,
   sobre un color fuerte de su rubro. «Libre» = el puesto está vacío. */
.pf-mu { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 18px 16px; box-sizing: border-box; height: 210px !important; border: 0; overflow: hidden; transition: transform .25s ease; }
.pf-mu-a:hover .pf-mu { transform: translateY(-3px); }
.pf-mu-a:hover img { transform: none; }
.pf-mu-ic { position: absolute; right: -14px; bottom: -18px; color: rgba(255,255,255,.12); pointer-events: none; }
.pf-mu-ic svg { width: 120px !important; height: 120px !important; }
.pf-mu-libre { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: #FFD43B; color: #1A1A1A; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pf-mu-tk { position: relative; display: flex; flex-direction: column; gap: 5px; max-width: 100%; text-align: left; }
.pf-mu-tk b { margin: 0 !important; line-height: 1.1; }
.pf-mu-tk small { font-size: 12.5px !important; line-height: 1.35; color: rgba(255,255,255,.88) !important; }
.pf-mu-tk i { align-self: flex-start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: #25D366; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }

/* Dealer: carbón con el precio en el papel amarillo del cristal */
.pf-mu-carro { background: #1E2329; }
.pf-mu-carro .pf-mu-tk b { align-self: flex-start; padding: 7px 14px 5px; background: #FFD43B; color: #141414; transform: rotate(-3deg); box-shadow: 0 2px 0 rgba(0,0,0,.35); font: 700 27px/1.1 "PF Mano", "Comic Sans MS", cursive !important; }
.pf-mu-carro .pf-mu-tk small { margin-top: 8px; }
/* Inmobiliaria: verde con el letrero de la verja */
.pf-mu-casa { background: #1F5C41; }
.pf-mu-casa .pf-mu-tk b { align-self: flex-start; padding: 7px 15px 6px; background: #fff; color: #B3261E; border: 3px solid #B3261E; border-radius: 3px; box-shadow: 0 3px 0 rgba(0,0,0,.25); transform: rotate(1.5deg); font: 700 23px/1 "PF Rotulo", "Arial Narrow", sans-serif !important; letter-spacing: .07em; text-transform: uppercase; }
.pf-mu-casa .pf-mu-tk small { margin-top: 8px; }
/* Pedido y cita: el aviso que le llega al dueño al celular */
.pf-mu-pedido { background: #D9480F; }
.pf-mu-cita { background: #6B2D3C; }
.pf-mu-pedido .pf-mu-tk, .pf-mu-cita .pf-mu-tk { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.pf-mu-pedido .pf-mu-tk b, .pf-mu-cita .pf-mu-tk b { font-size: 15px !important; color: #111827; }
.pf-mu-pedido .pf-mu-tk small, .pf-mu-cita .pf-mu-tk small { color: #4B5563 !important; }
.pf-mu-cita .pf-mu-tk i { background: #6B2D3C; }
.pf-mu-pedido .pf-mu-tk i { background: #16A34A; }
.pf-mu-pedido .pf-mu-ic, .pf-mu-cita .pf-mu-ic { color: rgba(255,255,255,.16); }
.pf-mu-a b + small em, .pf-vacias a > small em { color: #B45309; }
@media (max-width: 640px) {
    .pf-mu { height: 190px !important; }
}

/* ---------- Anuncios principales en el hero (19-nov-2026) ---------- */
.pf-axh { background: #0F1B2D; }
.pf-axh .axh { max-width: 1920px; margin: 0 auto; }
.pf-hero.pf-hero-corto { background: #12304D; }
.pf-hero.pf-hero-corto .pf-hero-in { padding: 26px 0 22px; }
html body .pf .pf-hero.pf-hero-corto h1 { font-size: clamp(22px, 2.2vw, 30px); max-width: none; margin-bottom: 14px; }
.pf-hero.pf-hero-corto .pf-pop { margin-top: 12px; }
.pf-ya a.pf-ya-anuncia { margin-left: auto; color: #FFD43B !important; }
.pf-ya-ab + .pf-ya-anuncia { margin-left: 0; }
.pf-ya-anuncia .ic-ui { width: 15px; height: 15px; }
.pf-prods > .pf-prod-ad .axc-txt b { font-size: 14.5px; }
@media (max-width: 640px) {
    .pf-hero.pf-hero-corto .pf-hero-in { padding: 18px 0 16px; }
    .pf-ya a.pf-ya-anuncia { margin-left: 0; }
}

/* Recién publicado: nunca una segunda fila suelta (con el anuncio pueden ser 7) */
@media (min-width: 1500px) { .pf-prods > :nth-child(n+7) { display: none !important; } }
@media (min-width: 1101px) and (max-width: 1499px) { .pf-prods > :nth-child(n+6) { display: none !important; } }
/* Pantalla ancha: la franja ¿Ya pediste? y el buscador corto al mismo ancho */
@media (min-width: 1500px) {
    .pf-hero.pf-hero-corto .pf-busca { width: min(1100px, 100%); }
}

/* =========================================================
   PORTADA v2 · DISEÑO MEZCLADO (23-nov-2026)
   Lo vivo (bloque oscuro, categorías, anuncio grande) con lo
   limpio (buscador píldora, filtros, tarjetas de foto grande).
   Todo redondeado; todos los iconos dentro de un círculo.
   ========================================================= */
.pf-v2 { --v-t: #0F172A; --v-t2: #475569; --v-t3: #94A3B8; --v-b: #E2E8F0; --v-o: #EAB308; --v-oh: #CA8A04; --v-ok: #15803D; --v-gris: #F1F5F9; }
.pf-v2 .pf-i { width: 16px; height: 16px; flex: none; box-sizing: content-box; padding: 6px; border-radius: 50%; background: var(--v-gris);
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Bloque oscuro --- */
.pf2-hero { background: var(--v-t); color: #fff; padding: 30px 0 78px; border-radius: 0 0 36px 36px; }
.pf2-lugar { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--v-o); font-size: 14px; font-weight: 700; cursor: pointer; }
.pf2-lugar .pf-i { background: rgba(255, 255, 255, .12); }
.pf2-lugar select { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAB308' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center; background-size: 14px; }
.pf2-lugar select option { color: var(--v-t); }
.pf2-hero h1 { margin: 14px 0 22px !important; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.pf2-hero h1 em { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-style: italic; color: var(--v-o); }

.pf2-busca { display: flex; align-items: center; max-width: 860px; min-height: 68px; padding: 7px 7px 7px 28px; background: #fff; border-radius: 999px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .55); }
.pf2-campo { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; border-right: 1px solid var(--v-b); color: var(--v-t); cursor: text; }
.pf2-campo:first-child { padding-left: 0; flex: 1.4; }
.pf2-cuando { border-right: 0; }
.pf2-campo small { font-size: 12px; font-weight: 800; }
.pf2-campo input, .pf2-campo select { width: 100%; border: 0; outline: 0; padding: 2px 0 0; background: none; font: inherit; font-size: 15px; color: var(--v-t2); border-radius: 0 !important; }
.pf2-campo select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.pf2-campo input::placeholder { color: var(--v-t3); }
.pf2-busca button { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px 0 10px; border: 0; border-radius: 999px !important;
    background: var(--v-o); color: var(--v-t); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .15s; }
.pf2-busca button:hover { background: var(--v-oh); }
.pf2-busca button .pf-i { background: rgba(255, 255, 255, .4); stroke-width: 2.6; }

/* --- Categorías: todo dentro de un círculo --- */
.pf2-cats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; margin-top: -58px; }
.pf2-cats a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 152px; aspect-ratio: 1; margin: 0 auto;
    border-radius: 50% !important; background: #fff; border: 1.5px solid var(--v-b); box-shadow: 0 12px 26px -16px rgba(15, 23, 42, .4);
    font-size: 14px; font-weight: 700; color: var(--v-t); text-align: center; transition: transform .15s, background .15s, border-color .15s; }
.pf2-cats a:hover { transform: translateY(-3px); border-color: var(--v-o); }
.pf2-cats a.on { background: var(--v-o); border-color: var(--v-o); }
.pf2-cats a span { max-width: 84%; line-height: 1.15; }
.pf2-cat-ic { display: block; background: none !important; }
.pf2-cat-ic svg { display: block; width: 46px; height: 46px; color: var(--v-t) !important; }
.pf2-cat-ic svg [opacity] { display: none; }   /* sin el relleno de dos tonos: solo la línea */

/* --- Anuncio pagado --- */
.pf2-ad { margin-top: 34px; border-radius: 26px; overflow: hidden; }
.pf2-ad .axh { border-radius: 26px; }
.pf2-ad-pie { margin: 10px 4px 0 !important; text-align: right; font-size: 13.5px; }
.pf2-ad-pie a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--v-t2); }
.pf2-ad-pie .pf-i { background: #FEF6D8; color: var(--v-oh); }
.pf2-promo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 34px; }
.pf2-pb { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 190px; padding: 26px 28px;
    border-radius: 26px; overflow: hidden; color: #fff; background: var(--v-t); }
.pf2-pb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border-radius: 0 !important; }
.pf2-pb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 23, 42, .94) 32%, rgba(15, 23, 42, .2)); }
.pf2-pb > *:not(img) { position: relative; z-index: 2; }
.pf2-pb small { padding: 4px 10px; border-radius: 999px; background: var(--v-o); color: var(--v-t); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.pf2-pb h3 { margin: 12px 0 4px !important; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pf2-pb p { font-size: 14.5px; opacity: .85; }
.pf2-bt { margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--v-t); font-size: 13.5px; font-weight: 800; }
.pf2-pb2 { background: #FEF6D8; color: var(--v-t); }
.pf2-pb2::after { display: none; }
.pf2-pb2 h3 { font-size: 22px; }
.pf2-pb2 .pf2-bt { background: var(--v-t); color: #fff; }

/* --- Negocios --- */
.pf2-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pf2-cab h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pf2-cab a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--v-t); }
.pf2-cab a .pf-i { background: var(--v-o); color: var(--v-t); }
.pf2-filt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pf2-filt a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 5px; border: 1px solid var(--v-b); border-radius: 999px !important;
    font-size: 14px; font-weight: 600; color: var(--v-t); transition: border-color .15s, background .15s; }
.pf2-filt a:hover { border-color: var(--v-t); }
.pf2-filt a:first-child { background: var(--v-t); border-color: var(--v-t); color: #fff; }
.pf2-filt a:first-child .pf-i { background: rgba(255, 255, 255, .16); }
.pf2-filt b { padding: 1px 7px; border-radius: 999px; background: var(--v-o); color: var(--v-t); font-size: 12px; }
.pf2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.pf2-c { position: relative; min-width: 0; }
.pf2-ph { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: 20px !important; overflow: hidden; background: var(--v-gris); }
.pf2-foto { position: absolute; inset: 0; display: block; background: color-mix(in srgb, var(--f, #0F172A) 12%, #F2F4F7); }
.pf2-foto > img, .pf2-foto > svg, .pf2-foto > .fc { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .35s; }
.pf2-c:hover .pf2-foto > img { transform: scale(1.04); }
.pf2-foto .pf-logo { left: 12px !important; bottom: 12px !important; width: 44px !important; height: 44px !important; border-radius: 12px !important; }
.pf2-t { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 999px;
    background: #fff; color: var(--v-t); font-size: 12.5px; font-weight: 800; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.pf2-t .pf-i { width: 13px; height: 13px; padding: 5px; }
.pf2-t.o { background: var(--v-o); }
.pf2-t.o .pf-i { background: rgba(15, 23, 42, .1); }
.pf2-cor { position: absolute; top: 12px; right: 12px; z-index: 4; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50% !important;
    background: rgba(255, 255, 255, .95); color: var(--v-t); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.pf2-cor .pf-i { width: 18px; height: 18px; padding: 0; background: none; stroke-width: 2.2; }
.pf2-cor.on .pf-i { fill: #E11D48; stroke: #E11D48; }
.pf2-tx { display: block; padding-top: 12px; }
.pf2-tx h3 { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-tx p { margin-top: 3px !important; font-size: 14px; color: var(--v-t2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-tx .si { color: var(--v-ok); font-weight: 800; }
.pf2-mapa { position: fixed; left: 50%; bottom: 26px; z-index: 40; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 7px 20px 7px 7px;
    border-radius: 999px; background: var(--v-t); color: #fff !important; font-size: 14.5px; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .7); }
.pf2-mapa .pf-i { background: rgba(255, 255, 255, .16); }

/* --- Pantalla ancha --- */
@media (min-width: 1500px) { .pf2-grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }

/* --- Tableta --- */
@media (max-width: 1100px) {
    .pf2-cats { grid-template-columns: repeat(4, 1fr); }
    .pf2-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Celular --- */
@media (max-width: 640px) {
    .pf2-hero { padding: 18px 0 60px; border-radius: 0 0 28px 28px; }
    .pf2-hero h1 { margin: 10px 0 16px !important; font-size: 30px; }
    .pf2-busca { min-height: 60px; padding: 6px 6px 6px 20px; }
    .pf2-donde, .pf2-cuando { display: none; }
    .pf2-q { border: 0; }
    .pf2-q input { font-size: 14px; }
    .pf2-busca button { width: 48px; height: 48px; padding: 0; justify-content: center; }
    .pf2-busca button span { display: none; }
    .pf2-busca button .pf-i { background: none; padding: 0; width: 20px; height: 20px; }
    .pf2-cats { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: -42px; }
    .pf2-cats a:nth-child(n+5) { display: none; }
    .pf2-cats a { gap: 3px; font-size: 11px; border-width: 1px; }
    .pf2-cat-ic svg { width: 28px; height: 28px; }
    .pf2-ad, .pf2-promo { margin-top: 22px; }
    .pf2-promo { grid-template-columns: 1fr; }
    .pf2-pb2 { display: none; }
    .pf2-pb { min-height: 170px; padding: 22px; }
    .pf2-pb h3 { font-size: 22px; }
    .pf2-cab h2 { font-size: 20px; }
    .pf2-filt { flex-wrap: nowrap; overflow-x: auto; margin: 0 0 18px; padding: 0; scrollbar-width: none; }
    .pf2-filt::-webkit-scrollbar { display: none; }
    .pf2-filt a { flex: none; }
    .pf2-grid { grid-template-columns: 1fr; gap: 24px; }
    .pf2-ph { aspect-ratio: 4 / 3; }
    .pf2-mapa { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
.pf-v2 .pf2-pb h3 { color: #fff !important; }
.pf-v2 .pf2-pb2 h3 { color: var(--v-t) !important; }
.pf-v2 .pf2-negs { margin-top: 44px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.pf-v2 .pf2-negs + .pf2-mapa + script + .pf-sec, .pf-v2 .pf2-negs ~ .pf-sec { margin-top: 44px; }
/* Las demás secciones de la portada también sin caja, como el diseño */
.pf-v2 .pf-sec { margin-top: 52px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.pf-v2 .pf-cab { align-items: center; margin-bottom: 18px; }
.pf-v2 .pf-cab h2 { font-size: 24px; }
.pf-v2 .pf-cab > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--v-t) !important; }
.pf-v2 .pf-cab > a .ic-ui { box-sizing: content-box; width: 16px; height: 16px; padding: 6px; border-radius: 50%; background: var(--v-o); color: var(--v-t); }
html body .pf-v2 .pf2-foto .pf-logo { left: 12px !important; bottom: 12px !important; width: 46px !important; height: 46px !important; border-radius: 13px !important; border-width: 2px; font-size: 14px; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.pf-v2 .pf-sec { overflow: visible !important; }

/* Botones redondos de verdad (la regla general de marca.css los dejaba en 10px) */
html:not(.tp) body:not(.pagina-negocio) .pf-v2 .pf2-cor, html:not(.tp) body:not(.pagina-negocio) .pf-v2 .pf2-busca button { border-radius: 999px !important; }
.pf-v2 { overflow-x: clip; }
html body .pf-v2 .pf-instalar { border-radius: 999px !important; }

/* «Ver en el mapa» solo aparece cuando la lista de negocios está a la vista */
.pf2-mapa { opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; transform: translate(-50%, 12px); }
.pf2-mapa.ver { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.pf-v2 .pf2-pb p { color: rgba(255, 255, 255, .88) !important; opacity: 1; }
.pf-v2 .pf2-pb2 p { color: var(--v-t2) !important; }

/* ---------- Portada v2 más compacta (23-nov) ---------- */
@media (min-width: 641px) {
    .pf2-hero { padding: 24px 0 66px; }
    .pf2-hero h1 { margin: 10px 0 18px !important; font-size: clamp(28px, 3vw, 40px); }
    .pf2-busca { max-width: 760px; min-height: 60px; padding: 6px 6px 6px 24px; }
    .pf2-campo small { font-size: 11.5px; }
    .pf2-campo input, .pf2-campo select { font-size: 14px; }
    .pf2-busca button { height: 48px; font-size: 15px; padding: 0 22px 0 8px; }
    .pf2-cats { gap: 12px; margin-top: -48px; }
    .pf2-cats a { max-width: 122px; gap: 6px; font-size: 12.5px; }
    .pf2-cat-ic svg { width: 36px; height: 36px; }
    .pf2-ad, .pf2-promo { margin-top: 28px; }
    .pf2-pb { min-height: 158px; padding: 22px 24px; border-radius: 22px; }
    .pf2-pb h3 { font-size: 22px; }
    .pf2-pb2 h3 { font-size: 19px; }
    .pf2-pb p { font-size: 13.5px; }
    .pf2-bt { margin-top: 12px; padding: 8px 14px; font-size: 13px; }
    .pf-v2 .pf2-negs, .pf-v2 .pf-sec { margin-top: 40px !important; }
    .pf2-cab h2, .pf-v2 .pf-cab h2 { font-size: 21px; }
    .pf2-cab a, .pf-v2 .pf-cab > a { font-size: 13.5px; }
    .pf2-filt { margin-bottom: 18px; }
    .pf2-filt a { font-size: 13px; padding: 4px 14px 4px 4px; }
    .pf-v2 .pf-i { width: 14px; height: 14px; padding: 5px; }
    .pf2-grid { gap: 22px 16px; }
    .pf2-ph { aspect-ratio: 4 / 3; border-radius: 16px !important; }
    .pf2-tx { padding-top: 10px; }
    .pf2-tx h3 { font-size: 14.5px; }
    .pf2-tx p { font-size: 13px; }
    html body .pf-v2 .pf2-foto .pf-logo { width: 38px !important; height: 38px !important; border-radius: 11px !important; left: 10px !important; bottom: 10px !important; }
    .pf2-t { top: 10px; left: 10px; font-size: 11.5px; }
    .pf2-cor { top: 10px; right: 10px; width: 32px; height: 32px; }
    .pf2-cor .pf-i { width: 16px; height: 16px; }
    .pf2-mapa { font-size: 13.5px; }
}

/* ---------- Para negocios v2 (23-nov) ---------- */
.pf2-negocio { margin: 56px 0 64px; }
.pf2-nc { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 32px; overflow: hidden;
    background: radial-gradient(520px 320px at 92% 0%, rgba(234, 179, 8, .18), transparent 70%), #0F172A; color: #fff; }
.pf2-nc-eti { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(234, 179, 8, .16); color: #EAB308; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pf2-nc h2 { margin: 14px 0 22px !important; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: #fff !important; }
.pf2-nc h2 em { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-style: italic; color: #EAB308; }
.pf2-nc-lista { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.pf2-nc-lista li { display: flex; align-items: center; gap: 14px; }
.pf2-nc-lista .pf-i { width: 18px !important; height: 18px !important; padding: 11px !important; background: #EAB308 !important; color: #0F172A; }
.pf2-nc-lista span { font-size: 13.5px; color: rgba(255, 255, 255, .66); line-height: 1.4; }
.pf2-nc-lista b { display: block; font-size: 15px; color: #fff; }
.pf2-nc-bt { display: flex; flex-wrap: wrap; gap: 10px; }
.pf2-nc-bt a { display: inline-flex; align-items: center; gap: 10px; height: 48px; border-radius: 999px; font-size: 14.5px; font-weight: 800; transition: background .15s; }
.pf2-nc-b1 { padding: 0 6px 0 22px; background: #EAB308; color: #0F172A !important; }
.pf2-nc-b1:hover { background: #CA8A04; }
.pf2-nc-b1 .pf-i { background: rgba(255, 255, 255, .45) !important; }
.pf2-nc-b2 { padding: 0 20px 0 6px; border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; }
.pf2-nc-b2:hover { background: rgba(255, 255, 255, .06); }
.pf2-nc-b2 .pf-i { background: rgba(255, 255, 255, .12) !important; }
.pf2-nc-nuevos { padding: 22px 22px 10px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pf2-nc-nuevos h3 { margin-bottom: 6px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pf2-nc-nuevos a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); color: #fff !important; }
.pf2-nc-nuevos a:first-of-type { border-top: 0; }
.pf2-nc-nuevos a:hover b { color: #EAB308; }
html body .pf .pf2-nc-logo { flex: none; position: static !important; width: 46px !important; height: 46px !important; border-radius: 50% !important; border: 2px solid rgba(255, 255, 255, .14);
    display: grid; place-items: center; background: #1E293B !important; color: #EAB308 !important; font-size: 14px; font-weight: 800; overflow: hidden; }
html body .pf .pf2-nc-logo.con-img { background: #fff !important; }
.pf2-nc-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf2-nc-nuevos span { flex: 1; min-width: 0; }
.pf2-nc-nuevos b { display: block; font-size: 14.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color .15s; }
.pf2-nc-nuevos small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-nc-nuevos time { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
    .pf2-nc { grid-template-columns: 1fr; gap: 26px; padding: 30px 22px; border-radius: 26px; }
}
@media (max-width: 640px) {
    .pf2-negocio { margin: 40px 0 44px; }
    .pf2-nc-bt a { flex: 1 1 100%; justify-content: space-between; }
    .pf2-nc-b2 { justify-content: flex-start !important; }
    .pf2-nc-nuevos time { display: none; }
}
/* Llegaron hace poco (reemplaza al bloque «Para negocios», que repetía lo de arriba) */
.pf2-nuevos { margin: 44px 0 60px; }
.pf2-nv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pf2-nv { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px 12px 12px; border: 1px solid #E2E8F0; border-radius: 999px; background: #fff; color: #0F172A !important; transition: border-color .15s, transform .15s; }
.pf2-nv:hover { border-color: #EAB308; transform: translateY(-2px); }
html body .pf .pf2-nv .pf2-nc-logo { width: 44px !important; height: 44px !important; border: 1px solid #E2E8F0; background: #0F172A !important; color: #EAB308 !important; }
html body .pf .pf2-nv .pf2-nc-logo.con-img { background: #fff !important; }
.pf2-nv span { flex: 1; min-width: 0; }
.pf2-nv b { display: block; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-nv small { display: block; font-size: 12px; color: #475569; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-nv time { display: none; }
@media (max-width: 1100px) { .pf2-nv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pf2-nv-grid { grid-template-columns: 1fr; gap: 10px; } .pf2-nuevos { margin: 36px 0 44px; } }

/* ---------- Cintillo «Llegaron hace poco» (23-nov, quieto) ----------
   Una franja clara: el título a la izquierda y los logos en círculo con
   su nombre debajo. Sin movimiento. En el celular se desliza con el dedo. */
.pf2-cinta { margin: 44px 0 0; padding: 30px 0; background: #F8FAFC; border-top: 1px solid #E2E8F0; }
.pf2-cinta-in { display: flex; align-items: center; gap: 36px; }
.pf2-cinta-tit { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 170px; }
.pf2-cinta-tit h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pf2-cinta-tit h2 em { display: block; font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-style: italic; color: #CA8A04; }
.pf2-cinta-tit a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: #0F172A !important; }
.pf2-cinta-tit a .pf-i { background: #EAB308 !important; }
.pf2-cinta-fila { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; }
.pf2-cinta-fila::-webkit-scrollbar { display: none; }
.pf2-cinta-it { flex: 0 0 116px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; text-align: center; color: #0F172A !important; }
html body .pf .pf2-cinta-logo { position: static !important; width: 76px !important; height: 76px !important; margin-bottom: 6px; border-radius: 50% !important;
    border: 3px solid #fff; box-shadow: 0 0 0 2px #EAB308, 0 8px 18px -10px rgba(15, 23, 42, .5);
    display: grid; place-items: center; background: #0F172A !important; color: #EAB308 !important; font-size: 20px; font-weight: 800; overflow: hidden; transition: transform .15s; }
html body .pf .pf2-cinta-logo.con-img { background: #fff !important; }
.pf2-cinta-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf2-cinta-it:hover .pf2-cinta-logo { transform: translateY(-3px); }
.pf2-cinta-it b { display: block; width: 100%; font-size: 13px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf2-cinta-it small { display: block; font-size: 11.5px; color: #64748B; }
@media (max-width: 640px) {
    .pf2-cinta { margin-top: 36px; padding: 24px 0; }
    .pf2-cinta-in { flex-direction: column; align-items: stretch; gap: 14px; }
    .pf2-cinta-tit { width: auto; flex-direction: row; align-items: center; justify-content: space-between; }
    .pf2-cinta-tit h2 { font-size: 19px; }
    .pf2-cinta-tit h2 em { display: inline; }
    .pf2-cinta-it { flex-basis: 92px; }
    html body .pf .pf2-cinta-logo { width: 64px !important; height: 64px !important; font-size: 17px; }
}
.pf2-cinta-it { flex-basis: 128px !important; max-width: 128px; overflow: hidden; } @media (max-width: 640px) { .pf2-cinta-it { flex-basis: 100px !important; max-width: 100px; } }

/* ---------- Fondo con fotos que pasan solas (25-nov) ---------- */
.pf2-hero.con-fondo { position: relative; overflow: hidden; isolation: isolate; }
.pf2-fondo { position: absolute; inset: 0; z-index: -1; background: #0F172A; }
.pf2-fondo span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06);
    transition: opacity 1.4s ease, transform 7s ease-out; }
.pf2-fondo span.on { opacity: 1; transform: scale(1); }
/* Capa oscura para que el título y el buscador se lean siempre */
.pf2-fondo::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, .94) 0%, rgba(15, 23, 42, .78) 45%, rgba(15, 23, 42, .5) 100%),
                linear-gradient(0deg, rgba(15, 23, 42, .85), transparent 45%); }
.pf2-hero.con-fondo .pf-in { position: relative; z-index: 1; }
@media (max-width: 640px) {
    .pf2-fondo::after { background: linear-gradient(0deg, rgba(15, 23, 42, .95) 10%, rgba(15, 23, 42, .7) 60%, rgba(15, 23, 42, .55)); }
}
@media (prefers-reduced-motion: reduce) { .pf2-fondo span { transition: none; transform: none; } }
/* Fotos más visibles (25-nov): oscuro solo detrás del texto, la derecha casi limpia */
.pf2-fondo::after { background:
    linear-gradient(90deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, .62) 38%, rgba(15, 23, 42, .18) 70%, rgba(15, 23, 42, .05) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, .55), transparent 30%) !important; }
.pf2-hero.con-fondo h1, .pf2-hero.con-fondo .pf2-lugar { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
@media (max-width: 640px) {
    .pf2-fondo::after { background: linear-gradient(0deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .5) 55%, rgba(15, 23, 42, .3) 100%) !important; }
}
