     /* Estilos para el carrito flotante */
        .floating-cart-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9999;
        }
        .floating-cart-btn .btn-cart-floating {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: black;
            border: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .floating-cart-btn .btn-cart-floating:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0,0,0,0.3);
        }
        .floating-cart-btn .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #dc3545;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* Sidebar del carrito */
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100%;
            background: white;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            z-index: 1050;
            transition: right 0.3s ease;
            padding: 20px;
            overflow-y: auto;
        }
        .cart-sidebar.active {
            right: 0;
        }
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1049;
            display: none;
        }
        .cart-overlay.active {
            display: block;
        }
        
        /* Estilos para productos */
        .products-single {
            transition: transform 0.3s ease;
            margin-bottom: 30px;
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            background: white;
        }
        .products-single:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .box-img-hover {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        .box-img-hover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .products-single:hover .box-img-hover img {
            transform: scale(1.05);
        }
        .mask-icon {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .products-single:hover .mask-icon {
            opacity: 1;
        }
        .mask-icon ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            gap: 15px;
        }
        .mask-icon ul li a {
            color: white;
            background: rgba(255,255,255,0.2);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid white;
        }
        .mask-icon ul li a:hover {
            background: white;
            color: #333;
            transform: scale(1.1);
        }
        .mask-icon .cart {
            margin-top: 20px;
            background: #ff4747;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        .mask-icon .cart:hover {
            background: #e63939;
            transform: translateY(-2px);
        }
        .why-text {
            padding: 20px;
            text-align: center;
        }
        .why-text h4 {
            font-size: 16px;
            margin-bottom: 10px;
            color: #333;
            height: 40px;
            overflow: hidden;
        }
        .why-text h5 {
            color: #ff4747;
            font-size: 20px;
            font-weight: bold;
            margin: 0;
        }
        .why-text h5 del {
            display: none; /* Ocultar el precio tachado */
        }
        .why-text .text-muted {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        
        /* Notificación */
        .notificacion-carrito {
            position: fixed;
            bottom: 100px;
            right: 30px;
            background: #28a745;
            color: white;
            padding: 15px 20px;
            border-radius: 5px;
            z-index: 9998;
            display: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
        /* Spinner de carga */
        .spinner-container {
            text-align: center;
            padding: 50px;
        }
        .spinner-container i {
            font-size: 48px;
            color: #007bff;
        }
        
        /* Subcategorías en sidebar */
        .subcategoria-item {
            padding-left: 30px !important;
            font-size: 14px;
            color: #666;
            border-left: 3px solid #eee;
            margin-left: 10px;
            margin-bottom: 5px;
        }
        .subcategoria-item:hover {
            color: #ff4747;
            border-left-color: #ff4747;
            background: rgba(255, 71, 71, 0.05);
        }
        .categoria-item {
            font-weight: 600;
            color: #333;
            border-left: 3px solid transparent;
        }
        .categoria-item:hover {
            border-left-color: #007bff;
            background: rgba(0, 123, 255, 0.05);
        }
        
        /* Estilo para el modal */
        .modal-content {
            border-radius: 10px;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        .modal-header {
            background: #f8f9fa;
            border-bottom: 1px solid #eee;
            border-radius: 10px 10px 0 0;
        }
        .modal-body img {
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .cart-sidebar {
                width: 100%;
                right: -100%;
            }
            .floating-cart-btn {
                bottom: 20px;
                right: 20px;
            }
            .floating-cart-btn .btn-cart-floating {
                width: 50px;
                height: 50px;
            }
            .box-img-hover {
                height: 200px;
            }
            .notificacion-carrito {
                bottom: 80px;
                right: 20px;
                font-size: 14px;
                padding: 12px 15px;
            }
        }
        
        @media (max-width: 576px) {
            .floating-cart-btn {
                bottom: 15px;
                right: 15px;
            }
            .products-single {
                margin-bottom: 20px;
            }
        }
        
        /* Precio sin estilos extraños */
        .price, .precio {
            text-decoration: none !important;
            color: #ff4747 !important;
            font-weight: bold !important;
        }
        
        /* Ajustes para el modal precio */
        #detalles-producto .text-danger {
            text-decoration: none !important;
        }
        
        /* Corregir el comportamiento de las categorías */
        .categoria-contenedor .categoria-item[aria-expanded="true"] .fa-chevron-down {
            transform: rotate(180deg);
        }
        .categoria-contenedor .categoria-item .fa-chevron-down {
            transition: transform 0.3s ease;
        }

        /* ESTILOS PARA PRODUCTOS - MEJORADOS */
.producto-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* CONTENEDOR DE IMAGEN MEJORADO */
.producto-imagen-contenedor {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 8px 8px 0 0;
    padding: 15px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-imagen {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.producto-card:hover .producto-imagen {
    transform: scale(1.05);
}

/* CONTENIDO DEL PRODUCTO */
.producto-contenido {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.producto-nombre {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.producto-precio {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
}

.producto-precio small {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}

/* BOTONES DEL PRODUCTO */
.producto-botones {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-agregar-carrito {
    background: black;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.btn-agregar-carrito:hover {
    background: black;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-ver-detalles {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.btn-ver-detalles:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

/* VISTA LISTA */
.vista-lista .producto-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px;
}

.vista-lista .producto-imagen-contenedor {
    flex: 0 0 150px;
    min-height: 150px;
    padding: 10px;
    margin-right: 20px;
}

.vista-lista .producto-contenido {
    flex-grow: 1;
    background: none;
    padding: 0;
}

.vista-lista .producto-nombre {
    font-size: 16px;
    height: auto;
    margin-bottom: 10px;
}

.vista-lista .producto-botones {
    flex-direction: row;
    margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .producto-imagen-contenedor {
        min-height: 200px;
    }
    
    .producto-imagen {
        max-height: 150px;
    }
    
    .producto-nombre {
        font-size: 14px;
        height: 38px;
    }
    
    .producto-precio {
        font-size: 16px;
    }
    
    .vista-lista .producto-item {
        flex-direction: column;
        text-align: center;
    }
    
    .vista-lista .producto-imagen-contenedor {
        flex: 0 0 auto;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .vista-lista .producto-botones {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .producto-imagen-contenedor {
        min-height: 180px;
        padding: 10px;
    }
    
    .producto-imagen {
        max-height: 130px;
    }
    
    .producto-botones {
        flex-direction: column;
    }
    
    .btn-agregar-carrito,
    .btn-ver-detalles {
        width: 100%;
    }
}
.categoria-item.active {
background: black;
color: white;
}

.btn-outline.active{
    background: black;
color: white;
}
.black{
        background: black;
color: white;
}

.black:hover{
        background: gray;
color: black;
}