    @media (max-width: 767px) {
        .hero-slider {
            height: 600px;
        }
        .hero-slide.slide-1 {
            background-image: url('/img/bannershome2025/bannerhome_800x600_11.jpg') !important;
        }
        .hero-slide.slide-2 {
            background-image: url('/img/bannershome2025/bannerhome_800x600_2.jpg') !important;
        }
        .hero-slide.slide-3 {
            background-image: url('/img/bannershome2025/bannerhome_800x600_4.jpg') !important;
        }
        .hero-slide.slide-4 {
            background-image: url('/img/bannershome2025/bannerhome_800x600_3.jpg') !important;
        }
        .hero-content h1 {
            font-size: 2rem;
        }
        .hero-content p.lead {
            display: none;
        }
        .swiper-button-prev, 
        .swiper-button-next {
            display: none !important;
        }
    }

    /* Ajustes para las tarjetas de categoría */
    .category-card {
        background-color: var(--white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: 100%;
        text-decoration: none;
        color: var(--text-color);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    
    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .category-img {
        height: 120px;
        width: 100%;
        background-color: var(--light-gray);
        overflow: hidden;
    }
    
    .category-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .category-info {
        padding: 1rem;
        text-align: center;
        background-color: white;
    }
    
    .category-title {
        font-weight: 600;
        margin: 0;
        font-size: 14px;
    }

    .more-categories {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        position: relative;
    }
    
    .more-categories.show {
        max-height: 1000px;
        padding-top: 15px;
        border-top: 1px solid #eee;
        margin-top: 15px;
    }
    
    /* Indicador visual para móvil */
    @media (max-width: 767px) {
        .more-categories.show::before {
            content: '↓ Más categorías ↓';
            display: block;
            text-align: center;
            color: #666;
            font-weight: 500;
            margin-bottom: 15px;
            animation: bounce 1s ease infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
        
        #toggleCategories {
            position: relative;
        }
        
        #toggleCategories.active::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -10px;
            height: 3px;
            background-color: #ff6b00;
            animation: pulse 1s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.5; }
            50% { opacity: 1; }
            100% { opacity: 0.5; }
        }
    }
    
    /* Ajustes específicos para la distribución de la cuadrícula */
    @media (min-width: 992px) {
        /* LG y superiores (6 columnas) */
        #moreCategories .col-lg-2 {
            width: 16.666667%;
        }
    }
    
    @media (min-width: 768px) and (max-width: 991px) {
        /* MD (3 columnas) */
        #moreCategories .col-md-4 {
            width: 33.333333%;
        }
    }
    
    @media (max-width: 767px) {
        /* SM y XS (2 columnas) */
        #moreCategories .col-6 {
            width: 50%;
        }
    }
    
    /* Aseguramos que los títulos largos se vean bien */
    @media (max-width: 1200px) {
        .category-title {
            font-size: 12px;
        }
    }

/* Estilos adicionales para la información de marca, retailer y precios */
.product-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-brand, 
.product-retailer {
    margin: 0 0 2px 0;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.previous-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .product-meta {
        font-size: 0.7rem;
    }
    
    .previous-price {
        font-size: 0.75rem;
    }
}

/* Estilos para la tarjeta de producto */
.product-card {
    position: relative;
    background-color: var(--white, #ffffff);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--light-gray, #f5f5f5);
    overflow: hidden;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-color, #333333);
}

.product-actions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    background-color: var(--light-gray, #f5f5f5);
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    background-color: var(--secondary-color, #ffa12e);
    color: var(--white, #ffffff);
}

.action-btn:active {
    transform: scale(0.95);
}

.favorite-btn.active {
    background-color: #1A1A1A;
    color: white;
}

.compare-btn.active {
    background-color: var(--secondary-color, #ffa12e);
    color: var(--primary-color, #1d1d1b);
}

@media (max-width: 768px) {
    .product-img {
        height: 160px;
    }
    
    .product-title {
        font-size: 0.9rem;
        height: 2.6em;
    }
    
    .action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .product-img {
        height: 140px;
    }
    
    .action-buttons {
        justify-content: space-between;
    }
    
    .product-actions {
        padding: 0 0.75rem 0.75rem;
    }
}
/* Estilos específicos para el carrusel de descuentos */
#discounted-products-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#discounted-products-carousel .carousel-control-prev,
#discounted-products-carousel .carousel-control-next {
    width: 5%;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#discounted-products-carousel:hover .carousel-control-prev,
#discounted-products-carousel:hover .carousel-control-next {
    opacity: 1;
}

#discounted-products-carousel .carousel-indicators {
    bottom: -40px;
}

#discounted-products-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.5;
}

#discounted-products-carousel .carousel-indicators button.active {
    background-color: var(--secondary-color, #ffa12e);
    opacity: 1;
}

    :root {
        --primary-color: #1d1d1b;
        --secondary-color: #ffa12e;
        --text-color: #333333;
        --light-gray: #f7f7f7;
        --white: #ffffff;
    }
    
    body {
        font-family: 'Arial', sans-serif;
        color: var(--text-color);
        background-color: #f8f9fa;
    }
    
    .btn-primary {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        color: var(--primary-color);
        font-weight: bold;
    }
    
    .btn-primary:hover {
        background-color: #e89429;
        border-color: #e89429;
        color: var(--primary-color);
    }
    
    .section-title {
        font-weight: 700;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 10px;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background-color: var(--secondary-color);
    }
    
    .hero-slider {
        position: relative;
        height: 500px;
        background-color: var(--primary-color);
    }
    
    .hero-slide {
        height: 500px;
        position: relative;
        background-size: cover;
        background-position: center;
        color: var(--white);
    }
    
    .hero-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        background: rgba(0,0,0,0.5);
    }
    
    .product-card {
        background-color: var(--white);
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: 100%;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .product-img {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background-color: var(--light-gray);
    }
    
    .product-img img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        height: 2.8em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .product-price {
        font-weight: bold;
        font-size: 1.25rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .product-actions {
        display: flex;
        justify-content: space-between;
    }
    
    .action-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: var(--text-color);
        background-color: var(--light-gray);
        border: none;
        transition: all 0.2s ease;
    }
    
    .action-btn:hover {
        background-color: var(--secondary-color);
        color: var(--white);
    }
    
    .badge-discount {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: #438900;
        color: var(--white);
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: 700;
        z-index: 99 !important;
        font-size: 14px;
    }
    
    .section-highlighted {
        background-color: var(--light-gray);
        padding: 3rem 0;
    }
    
    .banner {
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 2rem;
        position: relative;
    }
    
    .banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .category-card {
        background-color: var(--white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: 100%;
        text-decoration: none;
        color: var(--text-color);
        transition: all 0.3s ease;
        display: block;
    }
    
    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        color: var(--text-color);
    }
    
    .category-img {
        height: 120px;
        background-color: var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .category-info {
        padding: 1rem;
        text-align: center;
    }
    
    .category-title {
        font-weight: 600;
        margin: 0;
    }
    
    .bottom-banner {
        background-color: var(--secondary-color);
        padding: 3rem 0;
        color: var(--white);
        margin-top: 3rem;
    }
    
    .stats-container {
        background-color: var(--primary-color);
        color: var(--white);
        padding: 3rem 0;
    }
    
    .stat-item {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .stat-text {
        font-size: 1rem;
        opacity: 0.8;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: var(--white);
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--secondary-color);
    }

    .swiper-button-next, .swiper-button-prev {
        color: #fff !important;
    }

    footer {
        background-color: var(--primary-color);
        color: var(--white);
        padding: 3rem 0 1rem;
    }

    .footer-title {
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--secondary-color);
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: var(--white);
        opacity: 0.8;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

    .footer-links a:hover {
        opacity: 1;
        color: var(--secondary-color);
    }

    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.1);
        color: var(--white);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }

    .copyright {
        margin-top: 3rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        opacity: 0.7;
        font-size: 0.9rem;
    }

    @media (max-width: 992px) {
        .hero-slider {
            height: 400px;
        }
        
        .hero-slide {
            height: 400px;
        }
    }

    @media (max-width: 768px) {
        .hero-slider {
            height: 300px;
        }
        
        .hero-slide {
            height: 300px;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
    }
    /* Estilos para el carrusel de productos destacados */
#featured-products-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#featured-products-carousel .carousel-control-prev,
#featured-products-carousel .carousel-control-next {
    width: 5%;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#featured-products-carousel:hover .carousel-control-prev,
#featured-products-carousel:hover .carousel-control-next {
    opacity: 1;
}

#featured-products-carousel .carousel-indicators {
    bottom: -40px;
}

#featured-products-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.5;
}

#featured-products-carousel .carousel-indicators button.active {
    background-color: var(--secondary-color, #ffa12e);
    opacity: 1;
}

/* Asegura que las tarjetas de productos tengan la misma altura */
#featured-products-carousel .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Responsive: ajustes para móviles */
@media (max-width: 767px) {
    #featured-products-carousel .carousel-control-prev,
    #featured-products-carousel .carousel-control-next {
        display: none;
    }
    
    #featured-products-carousel .carousel-indicators {
        bottom: -30px;
    }
    
    #featured-products-carousel .product-title {
        font-size: 0.9rem;
        height: 2.6em;
    }
}

/* Ajustes para el carrusel general */
.carousel-control-prev, 
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    margin-bottom: -20px;
}

/* Ajustes para las tarjetas de producto en carruseles */
.carousel .product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel .product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--light-gray, #f5f5f5);
    overflow: hidden;
}

.carousel .product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel .product-card:hover .product-img img {
    transform: scale(1.05);
}