/* estilosCategoriaNolos.css */
/* estilosCategoriaNolos.css */
/* ========================================
   MENÚ LATERAL FLOTANTE (SOCIAL Y MOTO)
   ======================================== */
.floating-social-menu {
    position: fixed;
    top: 50%;
    right: 15px; /* Separación del borde derecho */
    transform: translateY(-50%); /* Lo centra verticalmente perfecto */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse (se hace grande y se mueve un poco a la izquierda) */
.float-btn:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Colores Oficiales de cada botón */
.moto-btn {
    background-color: #ff9800; /* Naranja llamativo para la moto */
}
.wa-btn {
    background-color: #25D366; /* Verde WhatsApp */
}
.ig-btn {
    /* Degradado oficial de Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.fb-btn {
    background-color: #1877F2; /* Azul Facebook */
}

/* Responsivo para celulares (Se hacen un poco más pequeños para no estorbar) */
@media (max-width: 768px) {
    .floating-social-menu {
        right: 10px;
        gap: 10px;
    }
    .float-btn {
        width: 42px;
        height: 42px;
    }
    .float-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* 1. Forzar el fondo oscuro en toda la página */
body {
    background-color: #0a0505 !important;
    color: #f7e1cd !important;
}

/* 2. Ajuste del Header para que el logo y la hamburguesa se vean bien */
header {
    background-color: #492817 !important; /* Chocolate NOLOS */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 10% !important;
    height: 90px !important;
}

.logo-img {
    max-height: 60px !important;
    width: auto !important;
}

/* 3. Centrar el título de la categoría */
.category-hero {
    padding: 6rem 10% 2rem !important;
    background: linear-gradient(135deg, #0a0505 0%, #492817 100%) !important;
    text-align: center;
}

#category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    color: #f7e1cd !important;
}

/* 4. Las tarjetas de producto (Grid) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 10% 6rem;
    background-color: #0a0505 !important;
}

.product-item {
    background: #662a2a !important; /* Rojo medio de la marca */
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-price {
    font-size: 1.5rem;
    color: #f7e1cd;
    font-weight: 600;
    margin-top: 1rem;
    display: block;
}
/* --- AJUSTE MENU HAMBURGUESA PC --- */
.menu-toggle {
    display: flex !important;
    position: absolute !important;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

@media (min-width: 769px) {
    .nav-menu {
        position: fixed !important;
        top: 0;
        right: -100% !important;
        width: 320px !important;
        height: 100vh;
        background: rgba(20, 10, 10, 0.8) !important;
        backdrop-filter: blur(15px);
        flex-direction: column !important;
        padding-top: 100px !important;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    .nav-menu.active { right: 0 !important; }
    .nav-menu ul { flex-direction: column !important; align-items: center !important; gap: 2rem !important; }
}

/* --- DISEÑO DE PRODUCTOS --- */
.category-hero {
    padding: 6rem 10% 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0a0505 0%, #492817 100%);
}

#category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    color: #f7e1cd;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 10% 6rem;
    background-color: #0a0505;
}

.product-item {
    background: #662a2a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    color: #f7e1cd;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.product-info p {
    font-size: 0.9rem;
    color: #8b685d;
    margin-bottom: 1.5rem;
}

.product-price {
    font-weight: 600;
    color: #f7e1cd;
    font-size: 1.3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.back-link {
    color: #8b685d;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: color 0.3s;
}

.back-link:hover { color: #f7e1cd; }

/* ========================================
   BOTÓN "PEDIR" DENTRO DE LA TARJETA
   ======================================== */
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* El precio ya lo tienes en tu CSS, pero nos aseguramos de que no tenga márgenes raros */
.product-price {
    margin: 0 !important;
}

.btn-pedir-card {
    background-color: #ff9800; /* Naranja NOLOS para llamar la atención */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-pedir-card:hover {
    background-color: #e68a00;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.4);
}
/* ========================================
   AJUSTES CUADRÍCULA DE SABORES (PIZZAS)
   ======================================== */

/* Fuerza a que en PC sean varias columnas y en celular pase a 1 sola automáticamente */
#lista-sabores {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 12px !important;
}

/* Evita que el texto y el cuadrito se separen demasiado */
.sabor-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ajusta el tamaño y posición del cuadrito (checkbox) */
.sabor-label input[type="checkbox"] {
    margin: 3px 0 0 0 !important; /* Lo baja un pelín para alinearlo con el texto */
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    appearance: auto !important;
}

/* Ordena el texto */
.sabor-label span {
    color: white !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
}