.centered-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.category-nav-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-content-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.products-grid-container {
    width: 100%;
    padding: 0 10px;
}

.nav-link {
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    margin: 0 5px;
}

.nav-link.active {
    background-color: #fac564;
    color: #000 !important;
    font-weight: 600;
}

.category-icon {
    margin-right: 8px;
}
     /* Efecto hover básico */
     .product-img-container {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .product-img {
        transition: transform 0.3s;
        width: 100%;
        display: block;
    }
    
    .product-img-container:hover {
        box-shadow: 0 5px 15px rgba(250, 197, 100, 0.4);
    }
    
    .product-img-container:hover .product-img {
        transform: scale(1.05);
    }
    
    /* Indicador de zoom */
    .zoom-indicator {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(250, 197, 100, 0.9);
        color: #000;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .product-img-container:hover .zoom-indicator {
        opacity: 1;
    }
    
    /* Modal de zoom */
    .product-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        animation: fadeIn 0.3s;
    }
    
    .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90vh;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: zoomIn 0.3s;
        border: 3px solid #fac564;
        border-radius: 5px;
    }
    
    .close-modal {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }
    
    .close-modal:hover {
        color: #fac564;
        cursor: pointer;
    }
    
    @keyframes zoomIn {
        from {transform: translate(-50%, -50%) scale(0.5); opacity: 0;}
        to {transform: translate(-50%, -50%) scale(1); opacity: 1;}
    }
    
    @keyframes fadeIn {
        from {opacity: 0;}
        to {opacity: 1;}
    }
    
    /* Efecto de carga */
    .loading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fac564;
        font-size: 24px;
    }

    .image-title {
        color: #fac564;
        text-align: center;
        margin-top: 10px;
        font-size: 1.2em;
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }
        /* ESTILOS PERFECTAMENTE AJUSTADOS */
    .products-main-container {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }
    
    .product-grid-container {
        width: 95%;
        max-width: 1400px;
    }
    
    .product-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 25px;
        justify-items: center;
    }
    
    .product-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    
    .product-image-container {
        height: 200px;
        width: 100%;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }
    
    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.5s ease;
    }
    
    .product-card:hover .product-image {
        transform: scale(1.05);
    }
    
    /* Efecto de lupa al pasar el ratón */
    .zoom-indicator {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(250, 197, 100, 0.9);
        color: #000;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .product-image-container:hover .zoom-indicator {
        opacity: 1;
    }
    
    .product-content {
        padding: 18px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .product-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
        text-align: center;
        line-height: 1.3;
    }
    
    .product-description {
        color: #666;
        font-size: 14px;
        margin-bottom: 15px;
        text-align: center;
        flex-grow: 1;
        line-height: 1.4;
    }
    
    /* BOTÓN AMARILLO EXACTO #fac564 */
    .add-button {
        background: #fac564;
        color: #333;
        border: none;
        padding: 10px 15px;
        border-radius: 25px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        width: 100%;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .add-button:hover {
        background: #f8b950;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    /* ESTILOS PARA PRECIOS */
    .product-price {
        font-weight: 700;
        color: #222;
        font-size: 17px;
        margin: 8px 0;
        text-align: center;
    }
    
    /* ESTILOS ESPECÍFICOS PARA PIZZAS */
    .pizza-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }
    
    .pizza-option {
        background: #f9f9f9;
        border-radius: 10px;
        padding: 12px;
        text-align: center;
    }
    
    /* ENLACE ALÉRGENOS */
    .allergens-link {
        display: block;
        text-align: center;
        color: #888;
        font-size: 12px;
        margin-top: 12px;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .allergens-link:hover {
        color: #555;
        text-decoration: underline;
    }
    
    /* Modal para imágenes ampliadas */
    .product-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        animation: fadeIn 0.3s;
    }
    
    .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90vh;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: zoomIn 0.3s;
        border: 3px solid #fac564;
        border-radius: 5px;
    }
    
    .close-modal {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }
    
    .close-modal:hover {
        color: #fac564;
        cursor: pointer;
    }
    
    @keyframes zoomIn {
        from {transform: translate(-50%, -50%) scale(0.5); opacity: 0;}
        to {transform: translate(-50%, -50%) scale(1); opacity: 1;}
    }
    
    @keyframes fadeIn {
        from {opacity: 0;}
        to {opacity: 1;}
    }
    
    /* Efecto de carga */
    .loading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fac564;
        font-size: 24px;
    }

    .image-title {
        color: #fac564;
        text-align: center;
        margin-top: 10px;
        font-size: 1.2em;
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }
    
    /* RESPONSIVE */
    @media (max-width: 1200px) {
        .product-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }
    
    @media (max-width: 768px) {
        .product-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    
    @media (max-width: 480px) {
        .product-grid {
            grid-template-columns: minmax(0, 1fr);
        }
        
        .product-image-container {
            height: 180px;
        }
    }