/* ===== Perfil público del negocio ===== */
.pp-negocio { background: #f7f7f8; padding-bottom: 50px; }

/* ---------- Portada ---------- */
.pp-portada {
    height: 260px;
    background: linear-gradient(135deg, #06a3da 0%, #0587b5 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.pp-portada::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .45) 100%);
}

/* ---------- Cabecera con logo y nombre ---------- */
.pp-cabecera {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-top: -70px;
    padding: 0 0 24px;
}
.pp-logo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 5px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.pp-logo--letra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rn-azul, #06a3da);
    color: #000;
    font-size: 60px;
    font-weight: 700;
}
.pp-cabecera__info { flex: 1; min-width: 0; padding-bottom: 6px; }
.pp-cabecera__info h1 { margin: 0 0 6px; font-size: 32px; font-weight: 700; color: var(--rn-texto, #1f2328); }
.pp-etiquetas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--rn-borde, #e5e7eb);
    font-size: 13px;
    color: var(--rn-texto, #1f2328);
}
.pp-chip--abierto { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.pp-chip--cerrado { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.pp-cabecera__acciones { display: flex; gap: 10px; padding-bottom: 6px; }
.pp-boton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: filter .2s ease;
}
.pp-boton:hover { filter: brightness(.94); }
.pp-boton--whatsapp { background: #25d366; color: #fff !important; }
.pp-boton--llamar { background: var(--rn-azul, #06a3da); color: #000 !important; }
.pp-boton--mapa { background: #fff; border: 1px solid var(--rn-azul, #06a3da); color: #0587b5 !important; }
.pp-boton--mapa:hover { background: #e6f6fc; }

/* ---------- Tarjetas de la columna lateral ---------- */
.pp-tarjeta {
    background: #fff;
    border: 1px solid var(--rn-borde, #e5e7eb);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}
.pp-tarjeta h4 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--rn-texto, #1f2328); }
.pp-tarjeta p { margin: 0; color: #4b5563; line-height: 1.6; font-size: 14px; }
.pp-contacto { list-style: none; margin: 0; padding: 0; }
.pp-contacto li { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; color: #374151; border-bottom: 1px solid #f3f4f6; }
.pp-contacto li:last-child { border-bottom: none; }
.pp-contacto i { width: 18px; margin-top: 3px; color: var(--rn-azul-osc, #0587b5); text-align: center; }
.pp-contacto a { color: #374151; word-break: break-word; }
.pp-contacto a:hover { color: var(--rn-azul-osc, #0587b5); }
.pp-horarios { width: 100%; font-size: 14px; }
.pp-horarios td { padding: 6px 0; color: #374151; }
.pp-horarios td:last-child { text-align: right; }
.pp-horarios tr.hoy td { font-weight: 700; color: #000; }
.pp-horarios tr.cerrado td:last-child { color: #9ca3af; }

/* ---------- Navegación entre secciones ---------- */
.pp-navegacion {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.pp-navegacion a {
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--rn-borde, #e5e7eb);
    font-size: 14px;
    font-weight: 500;
    color: var(--rn-texto, #1f2328);
    text-decoration: none !important;
}
.pp-navegacion a:hover,
.pp-navegacion a.activo { background: var(--rn-azul, #06a3da); border-color: var(--rn-azul, #06a3da); color: #000; }

/* ---------- Secciones de productos ---------- */
.pp-seccion { padding-top: 30px; scroll-margin-top: 90px; }
.pp-seccion[hidden] { display: none !important; }
.pp-pestanas { margin-bottom: 0; }
.pp-seccion__titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.pp-seccion__titulo h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--rn-texto, #1f2328); }
.pp-seccion__titulo h3 i { margin-right: 6px; }
.pp-seccion__titulo span { font-size: 13px; color: var(--rn-gris, #6b7280); }
.pp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.rn-card--agotado .rn-card__media img { filter: grayscale(.7); opacity: .75; }

/* ---------- Paginación ---------- */
.pp-paginacion { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.pp-paginacion a,
.pp-paginacion span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--rn-borde, #e5e7eb);
    background: #fff;
    font-size: 14px;
    color: var(--rn-texto, #1f2328);
    text-decoration: none !important;
}
.pp-paginacion a:hover { border-color: var(--rn-azul, #06a3da); }
.pp-paginacion span.actual { background: var(--rn-azul, #06a3da); border-color: var(--rn-azul, #06a3da); font-weight: 700; }

/* ---------- Estados vacíos ---------- */
.pp-vacio {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 50px 20px;
    text-align: center;
    color: var(--rn-gris, #6b7280);
}
.pp-vacio i { display: block; margin-bottom: 12px; font-size: 48px; color: #d1d5db; }
.pp-vacio h3 { color: var(--rn-texto, #1f2328); font-size: 22px; }

.pp-seccion__titulo a { font-size: 14px; font-weight: 500; color: var(--rn-texto, #1f2328); white-space: nowrap; }
.pp-seccion__titulo a:hover { color: var(--rn-azul-osc, #0587b5); }

/* ---------- Caja para enviar mensaje ---------- */
.msj-caja { background: #fff; border: 1px solid var(--rn-borde, #e5e7eb); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.msj-caja h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--rn-texto, #1f2328); }
.msj-caja h4 i { margin-right: 6px; color: var(--rn-azul-osc, #0587b5); }
.msj-caja textarea { margin-bottom: 10px; font-size: 14px; resize: vertical; }
.msj-aviso { font-size: 14px; color: #4b5563; margin-bottom: 12px; }
.msj-aviso a { font-weight: 600; color: var(--rn-azul-osc, #0587b5); }
.msj-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: var(--rn-texto, #1f2328);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}
.msj-boton:hover { background: #000; }
.msj-registro { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--rn-gris, #6b7280); }
.msj-registro a { font-weight: 600; color: var(--rn-azul-osc, #0587b5); }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .pp-portada { height: 180px; }
    .pp-cabecera { flex-direction: column; align-items: center; text-align: center; margin-top: -60px; }
    .pp-logo { width: 120px; height: 120px; }
    .pp-cabecera__info h1 { font-size: 26px; }
    .pp-etiquetas { justify-content: center; }
    .pp-cabecera__acciones { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
    .pp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pp-cabecera__acciones { flex-direction: column; }
    .pp-boton { justify-content: center; }
}
/* ---------- Ubicación en Google Maps ---------- */
.pp-ubicacion {
    scroll-margin-top: 100px;
}

.pp-ubicacion__mapa {
    position: relative;
    overflow: hidden;
    height: 220px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #eef0f3;
}

.pp-ubicacion__mapa iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pp-ubicacion__direccion {
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.pp-ubicacion__acciones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-ubicacion__boton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--rn-azul, #06a3da);
    border-radius: 8px;
    color: #0587b5 !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.pp-ubicacion__boton:hover {
    background: #e6f6fc;
}

.pp-ubicacion__boton--llegar {
    background: var(--rn-azul, #06a3da);
    color: #000 !important;
}

.pp-ubicacion__boton--llegar:hover {
    background: #0587b5;
}

@media (max-width: 991px) {
    .pp-ubicacion__mapa {
        height: 260px;
    }
}
