:root {
    --morado-oscuro: #3d2452;
    --morado: #6b3fa0;
    --lavanda: #c084d9;
    --durazno: #e8a992;
    --naranja: #e8935a;
    --crema: #fdf6f0;
    --blanco: #ffffff;
    --gris: #b8a8c9;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--blanco);
    min-height: 100vh;
    position: relative;
}
.fondo-slideshow { position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at top right, #7a4a9e 0%, #4a2a63 40%, #2a1638 80%); }
.fondo-slideshow .slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    animation: cruzarFundido 32s infinite;
}
.overlay-claro { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(253,246,240,0.55), rgba(42,22,56,0.55)); }
@keyframes cruzarFundido {
    0% { opacity: 0; }
    5% { opacity: 1; }
    12% { opacity: 1; }
    17% { opacity: 0; }
    100% { opacity: 0; }
}

/* ---- Barra superior tipo tienda ---- */
.navbar-publico {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 24px;
    background: rgba(42,22,56,0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(192,132,217,0.3);
}
.navbar-publico .nav-logo img { height: 44px; width: auto; border-radius: 8px; display: block; }
.navbar-publico .nav-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.navbar-publico .nav-links a {
    color: var(--crema); text-decoration: none; font-size: 13px; font-weight: bold;
    letter-spacing: 0.5px; padding: 6px 4px; border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.navbar-publico .nav-links a:hover,
.navbar-publico .nav-links a.activo { color: var(--naranja); border-bottom: 2px solid var(--naranja); }
.navbar-publico .nav-carrito {
    position: relative; color: var(--crema); text-decoration: none; font-size: 22px;
}
.navbar-publico .nav-carrito .badge {
    position: absolute; top: -6px; right: -10px;
    background: var(--naranja); color: #1a1a1a; font-size: 10px; font-weight: bold;
    border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 700px) {
    .navbar-publico { flex-wrap: wrap; gap: 10px; }
    .navbar-publico .nav-links { order: 3; width: 100%; gap: 14px; font-size: 12px; }
}

/* ---- Contenido general ---- */
.contenedor-publico {
    min-height: calc(100vh - 66px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 30px 20px;
}
.logo-header { max-width: 340px; width: 90%; height: auto; border-radius: 14px; margin-bottom: 16px; }
.frase { font-size: 18px; color: var(--crema); margin-bottom: 30px; max-width: 480px; }
.acciones { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.boton-publico {
    background: var(--lavanda); color: #1a1a1a; text-decoration: none;
    padding: 14px 26px; border-radius: 14px; font-weight: bold; font-size: 15px;
    border: 1px solid #a862c9; transition: 0.2s;
}
.boton-publico:hover { background: var(--durazno); transform: translateY(-2px); }
.boton-publico.staff { background: transparent; color: var(--crema); border: 1px solid var(--gris); font-size: 13px; padding: 10px 18px; }
.boton-publico.staff:hover { background: rgba(255,255,255,0.1); }
.footer-publico { margin-top: 40px; font-size: 12px; color: var(--gris); }

/* ---- Páginas de categoría (Tortas, Bocaditos, etc.) ---- */
.titulo-categoria { font-size: 28px; font-weight: 900; color: var(--naranja); margin-bottom: 8px; }
.subtitulo-categoria { color: var(--crema); font-size: 14px; margin-bottom: 30px; }
.proximamente-box {
    background: rgba(42,22,56,0.6); border: 1px dashed var(--lavanda); border-radius: 16px;
    padding: 40px 30px; max-width: 480px;
}
.proximamente-box .icono { font-size: 40px; margin-bottom: 10px; }

/* ---- Redes sociales destacadas (página de inicio) ---- */
.redes-destacadas {
    margin-top: 10cm;
    text-align: center;
}
.redes-destacadas-titulo { font-size: 28px; font-weight: 900; color: var(--naranja); letter-spacing: 1px; margin-bottom: 16px; }
.redes-destacadas-iconos { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.redes-destacadas-frase { font-size: 20px; font-weight: bold; color: var(--crema); }
.redes-destacadas-frase b { color: var(--lavanda); font-size: 22px; }
@media (max-width: 500px) {
    .redes-destacadas { margin-top: 6cm; }
    .redes-destacadas-titulo { font-size: 22px; }
    .redes-destacadas-frase { font-size: 16px; }
    .redes-destacadas-frase b { font-size: 18px; }
}

/* ---- Insignias de redes sociales (círculo con color de marca) ---- */
.social-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.social-badge:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.social-badge svg { width: 55%; height: 55%; }
.social-badge.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-badge.tiktok { background: #000; }
.footer-social-iconos .social-badge { width: 20px; height: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* ---- Footer con redes sociales ---- */
.footer-social {
    text-align: center;
    padding: 30px 20px 24px;
    border-top: 1px solid rgba(192,132,217,0.3);
    background: rgba(26,14,36,0.6);
}
.footer-social-titulo { font-size: 15px; font-weight: 900; color: var(--naranja); letter-spacing: 1px; margin-bottom: 14px; }
.footer-social-iconos { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.footer-social-frase { font-size: 13px; color: var(--crema); }
.footer-social-frase b { color: var(--lavanda); }
