/* Estilos para el slider responsive */
.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    margin-top: 95px !important;
}

.responsive-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.slider-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-list {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-text {
    color: white;
    max-width: 600px;
    padding: 0 20px;
    animation: slideInUp 1s ease-out;
}

.slide-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-text .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Controles del slider */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-btn i {
    font-size: 1.2rem;
    color: #333;
}

/* Indicadores */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .responsive-slider {
        height: 300px;
    }
    
    .slide-text h2 {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-text .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .responsive-slider {
        height: 250px;
    }
    
    .slide-text {
        padding: 0 15px;
    }
    
    .slide-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .slide-text .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Estilos adicionales para la búsqueda */
.search-section {
    border-bottom: 1px solid #dee2e6;
}

.search-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.search-info {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.no-products {
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
}

.no-products i {
    opacity: 0.5;
}

/* Estilos para paginación */
.pagination-section {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    margin: 0 2px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

/* Mejoras para productos móviles */
.productos-movil .product-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.2s ease;
}

.productos-movil .product-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.productos-movil .product-img {
    text-align: center;
    margin-bottom: 15px;
}

.productos-movil .product-img img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 5px;
}
