/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header superior */
.top-header {
    background: #000;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ee2433;
}

/* Header principal */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
    flex: 1;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Botón de contacto en header */
.header-contact {
    display: flex;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(238, 36, 51, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.3);
    color: white;
}

.contact-btn:hover::before {
    transform: translateX(100%);
}

.contact-btn i {
    font-size: 16px;
}

/* Sección de búsqueda centrada */
.search-section {
    text-align: center;
    margin-bottom: 30px;
}

/* Barra de búsqueda */
.search-bar {
    display: inline-block;
    max-width: 800px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 16px 60px 16px 24px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 18px;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #ee2433;
}

.search-bar button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(238, 36, 51, 0.3), 
                inset 0 1px 0 rgba(255,255,255,0.2);
    overflow: hidden;
    font-size: 18px;
}

.search-bar button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.3);
}

.search-bar button:hover::before {
    transform: translateX(100%);
}

.search-bar button:active {
    transform: translateY(-50%) scale(1.05) rotate(2deg);
    transition: transform 0.1s ease;
}


/* Navegación principal */
.main-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid #e0e0e0;
    border-bottom: 2px solid #ee2433;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu li:hover a::before,
.nav-menu li.active a::before {
    left: 0;
}

.nav-menu li:hover a,
.nav-menu li.active a {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 36, 51, 0.3);
}

.phone-nav {
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(238, 36, 51, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 36, 51, 0.4);
    border-color: rgba(255,255,255,0.2);
}

/* Banner de Fabricación Española */
.fabricacion-banner {
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(238, 36, 51, 0.3);
    z-index: 10;
}

.fabricacion-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    animation: bannerPulse 2s infinite ease-in-out;
}

@keyframes bannerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconRotate 4s infinite ease-in-out;
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

.banner-icon i {
    color: white;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-title {
    color: white;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    margin-bottom: 2px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 3px 6px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.3); }
    100% { text-shadow: 0 3px 6px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.6); }
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-flag {
    height: 22px;
    width: auto;
    display: inline;
    margin-left: 8px;
    animation: flagWave 1.5s infinite ease-in-out;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    vertical-align: middle;
    border-radius: 2px;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg) scale(1.05); }
    75% { transform: rotate(-8deg) scale(1.05); }
}

/* Efectos adicionales del banner - REMOVIDOS para eliminar línea blanca */

/* Responsive para el banner */
@media (max-width: 768px) {
    .fabricacion-banner {
        padding: 6px 0;
    }
    
    .banner-content {
        gap: 10px;
    }
    
    .banner-icon {
        width: 40px;
        height: 40px;
    }
    
    .banner-icon i {
        font-size: 16px;
    }
    
    .banner-title {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .banner-subtitle {
        font-size: 12px;
    }
    
    .banner-flag {
        height: 18px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .banner-subtitle {
        font-size: 11px;
    }
    
    .banner-flag {
        height: 16px;
    }
}

/* Sección Hero con Carrusel */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Contenedor del carrusel */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Slides del carrusel */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Fallback gradient solo si no hay imagen */
.carousel-slide:not([style*="background-image"]) {
    background-image: linear-gradient(135deg, #ee2433 0%, #2c3e50 100%);
}

.carousel-slide.active {
    opacity: 1;
}

/* Overlay para mejor legibilidad */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(238, 36, 51, 0.7) 0%, rgba(44, 62, 80, 0.6) 100%);
    z-index: 2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 300px;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: skewX(-20deg);
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.indicator:hover::before {
    width: 4px;
    height: 4px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-left {
    max-width: 800px;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-logo img {
    height: 80px;
    width: auto;
}

.hero-logo h1 {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-info-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.contact-item i {
    font-size: 18px;
}


/* Sección de productos */
.products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Menú horizontal de categorías */
.category-menu-wrapper {
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.category-menu {
    position: relative;
    width: 100%;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.category-item {
    flex: 1;
    position: relative;
    min-width: calc(100% / 6);
}

.category-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 3;
    min-height: 50px;
    border-radius: 12px;
}

.category-item a span {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Slider animado de fondo - OCULTO */
.category-slider {
    display: none;
}

.category-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

/* Estados activos y hover */
.category-item.active a {
    color: white;
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    box-shadow: 0 8px 25px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


.category-item:hover a {
    color: white;
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    box-shadow: 0 8px 25px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


.category-item.active .category-slider::before {
    transform: translateX(100%);
}

/* Posiciones del slider para cada categoría */
.category-item:nth-child(1).active ~ .category-slider {
    transform: translateX(0%);
}

.category-item:nth-child(2).active ~ .category-slider {
    transform: translateX(100%);
}

.category-item:nth-child(3).active ~ .category-slider {
    transform: translateX(200%);
}

.category-item:nth-child(4).active ~ .category-slider {
    transform: translateX(300%);
}

.category-item:nth-child(5).active ~ .category-slider {
    transform: translateX(400%);
}

.category-item:nth-child(6).active ~ .category-slider {
    transform: translateX(500%);
}

.category-item:nth-child(7).active ~ .category-slider {
    transform: translateX(600%);
}

.category-item:nth-child(6).active ~ .category-slider {
    transform: translateX(500%);
}

/* Efectos adicionales para el slider activo */
.category-item.active ~ .category-slider {
    box-shadow: 0 12px 40px rgba(238, 36, 51, 0.5),
                inset 0 3px 0 rgba(255,255,255,0.4);
    transform: translateY(-2px) scale(1.02);
}

.category-item.active ~ .category-slider::before {
    transform: translateX(100%);
}

/* Responsive para el menú de categorías */
@media (max-width: 768px) {
    /* Ocultar completamente el menú horizontal de categorías en móviles */
    .category-menu-wrapper {
        display: none;
    }
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f1f2f6, #ddd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

/* Solo mostrar el ícono SVG cuando NO hay imagen real cargada */
.product-image:not(:has(.product-main-image))::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM3 8h18v8H3V8z"/></svg>') no-repeat center;
    opacity: 0.3;
}

/* Ocultar el ícono SVG cuando hay imagen real */
.product-image:has(.product-main-image)::before {
    display: none;
}

/* Estilos para imágenes reales de producto */
.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Placeholder de imagen */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    background: transparent;
}

.image-placeholder i {
    font-size: 24px;
    color: #ccc;
    margin-bottom: 5px;
}

.image-placeholder.no-image {
    color: #aaa;
}

.image-placeholder.no-image i {
    color: #bbb;
    font-size: 28px;
}

/* Animación de carga para imágenes */
.product-image:not(:has(.product-main-image)) {
    animation: imagePlaceholderPulse 1.5s ease-in-out infinite;
}

@keyframes imagePlaceholderPulse {
    0%, 100% {
        background: linear-gradient(45deg, #f1f2f6, #ddd);
    }
    50% {
        background: linear-gradient(45deg, #e9ecef, #c3c3c3);
    }
}

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

.product-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    flex-grow: 1;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.product-price-section {
    margin-top: auto;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #ee2433;
    margin-bottom: 10px;
}

.product-discount {
    background: #ee2433;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}
/* Paginación Minimalista y Centrada */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(238, 36, 51, 0.08);
    color: #666;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(238, 36, 51, 0.1);
}

.page-btn:hover {
    background: rgba(238, 36, 51, 0.15);
    color: #ee2433;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 36, 51, 0.2);
}

.page-btn.active {
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

.page-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Estilos para paginación avanzada */
.page-btn.prev-btn,
.page-btn.next-btn {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #666;
    border-color: #dee2e6;
}

.page-btn.prev-btn:hover,
.page-btn.next-btn:hover {
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    border-color: #ee2433;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    color: #666;
    font-weight: bold;
    font-size: 16px;
    user-select: none;
}

.page-info {
    background: rgba(238, 36, 51, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #ee2433;
    border: 1px solid rgba(238, 36, 51, 0.2);
    white-space: nowrap;
}

/* Responsive para paginación */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    
    .page-btn {
        min-width: 35px;
        height: 35px;
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .page-btn.prev-btn,
    .page-btn.next-btn {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .pagination-ellipsis {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .page-info {
        margin-left: 10px;
        margin-top: 10px;
        flex-basis: 100%;
        text-align: center;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-info {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .page-btn {
        min-width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .pagination-ellipsis {
        min-width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

/* Sección Sobre Nosotros */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.philosophy-section {
    margin-bottom: 50px;
}

.philosophy-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #ee2433;
    margin-bottom: 30px;
    text-align: center;
}

.philosophy-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.contact-cta {
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(238, 36, 51, 0.3);
}

.contact-cta h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sección de contacto */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-container h3 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(238, 36, 51, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-method:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(238, 36, 51, 0.15);
}

.contact-method:hover::before {
    transform: translateX(100%);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(238, 36, 51, 0.3);
}

.contact-icon i {
    font-size: 30px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-details {
    position: relative;
    z-index: 2;
}

.contact-details h4 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #ee2433;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ee2433;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #d01e2a;
    transform: translateY(-2px);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-details p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo h2 {
    font-size: 36px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.footer-center h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

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

.footer-categories li {
    margin-bottom: 12px;
}

.footer-categories li a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-categories li a:hover {
    color: #ee2433;
}

.footer-right h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-address,
.footer-phone,
.footer-email {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #ccc;
}

.footer-address i,
.footer-phone i,
.footer-email i {
    color: #ee2433;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-address span,
.footer-phone span,
.footer-email span {
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    /* Header compacto para móvil */
    .top-header {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .logo {
        margin-left: 0;
        justify-content: center;
        flex: 1;
        text-align: center;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .contact-btn span {
        display: none;
    }
    
    .contact-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .search-section {
        margin-bottom: 20px;
    }
    
    .search-bar {
        max-width: 90%;
    }
    
    .search-bar input {
        padding: 12px 50px 12px 20px;
        font-size: 16px;
    }
    
    .search-bar button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Categorías compactas en móvil */
    .category-menu-wrapper {
        margin-bottom: 30px;
        border-radius: 10px;
    }
    
    .category-item a {
        padding: 10px 6px;
        font-size: 11px;
        min-height: 35px;
        border-radius: 8px;
    }
    
    /* Hero responsive */
    .hero {
        background-attachment: scroll;
        min-height: 400px;
    }
    
    .hero::before {
        background: linear-gradient(135deg, rgba(238, 36, 51, 0.4) 0%, rgba(44, 62, 80, 0.5) 100%);
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 30px 15px;
    }
    
    .hero-right {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
    
    .hero-logo img {
        height: 60px;
    }
    
    .hero-logo h1 {
        font-size: 32px;
    }
    
    .hero-description p {
        font-size: 16px;
    }
    
    /* Grid de productos con 2 columnas en móvil */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    /* Productos más pequeños en móvil */
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 11px;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-price {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .product-discount {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-logo img {
        height: 45px;
    }
    
    .footer-logo h2 {
        font-size: 28px;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .footer-center h3,
    .footer-right h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-categories li a {
        font-size: 14px;
    }
    
    .footer-address,
    .footer-phone,
    .footer-email {
        font-size: 14px;
        gap: 8px;
    }
    
    .footer-address i,
    .footer-phone i,
    .footer-email i {
        font-size: 16px;
    }
    
    .phone-nav {
        margin-top: 10px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
}

/* Dropdown menu súper chulo */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    transform: translateY(-2px);
}

.dropdown-toggle i {
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #ee2433;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(238, 36, 51, 0.2));
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg) scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(238, 36, 51, 0.4));
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-width: 280px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 
                0 10px 25px rgba(238, 36, 51, 0.1),
                inset 0 1px 0 rgba(255,255,255,0.9);
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    border: 2px solid rgba(238, 36, 51, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
    filter: drop-shadow(0 -4px 8px rgba(0,0,0,0.1));
    z-index: 2;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(238, 36, 51, 0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown.active .dropdown-menu::after {
    transform: translateX(100%);
}

.dropdown-menu li {
    margin: 0;
    position: relative;
    z-index: 3;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 4px 12px;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 0 8px 8px 0;
}

.dropdown-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
    border-radius: 12px;
}

.dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu li a:hover::after {
    transform: translateX(0);
}

.dropdown-menu li a:hover {
    color: white;
    transform: translateX(12px) scale(1.05);
    box-shadow: 0 8px 20px rgba(238, 36, 51, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Añadir iconos a los elementos del dropdown */
.dropdown-menu li a {
    position: relative;
    padding-left: 50px;
}

.dropdown-menu li:nth-child(1) a::before {
    content: '\f236';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ee2433;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.dropdown-menu li:nth-child(2) a::before {
    content: '\f4b8';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ee2433;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.dropdown-menu li:nth-child(3) a::before {
    content: '\f236';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ee2433;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.dropdown-menu li:nth-child(4) a::before {
    content: '\f576';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ee2433;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.dropdown-menu li:nth-child(5) a::before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ee2433;
    transition: all 0.4s ease;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.dropdown-menu li a:hover::before {
    color: white;
    transform: translateY(-50%) scale(1.2) rotate(5deg);
}

/* Botón hamburguesa súper chulo */
.hamburger-menu {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(238, 36, 51, 0.3), 
                inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.hamburger-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hamburger-menu:hover {
    transform: translateY(-3px) rotate(5deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(238, 36, 51, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.3);
}

.hamburger-menu:hover::before {
    transform: translateX(100%);
}

.hamburger-menu:active {
    transform: translateY(-1px) rotate(2deg) scale(1.05);
    transition: transform 0.1s ease;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.hamburger-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    border-radius: 2px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.hamburger-menu:hover .hamburger-line::after {
    transform: translateX(100%);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: linear-gradient(90deg, #ffffff 0%, #ffe6e8 100%);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: linear-gradient(90deg, #ffffff 0%, #ffe6e8 100%);
}

.hamburger-menu.active {
    background: linear-gradient(135deg, #d01e2a 0%, #b71c2c 100%);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(238, 36, 51, 0.5),
                inset 0 2px 0 rgba(255,255,255,0.2);
}

/* Menú lateral deslizante épico */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-submenu a i,
.side-submenu a img {
  width: 16px !important;        /* mismo ancho para todos los iconos */
  height: 16px !important;       /* misma altura */
  display: inline-block !important;
  vertical-align: middle !important; /* alinear con el texto */
  margin-right: 12px !important;  /* espacio consistente entre icono y texto */
  margin-left: 0 !important;     /* eliminar cualquier margen izquierdo */
  flex-shrink: 0;
}

.side-menu.active {
    visibility: visible;
    opacity: 1;
}

.side-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.side-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 480px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu.active .side-menu-content {
    transform: translateX(0);
}

.side-menu-header {
    padding: 25px;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(238, 36, 51, 0.3);
}

.side-menu-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.close-menu-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.side-menu-nav {
    flex: 1;
    padding: 20px 0;
}

.side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu-list > li {
    border-bottom: 1px solid rgba(238, 36, 51, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.side-menu-list > li.has-submenu {
    overflow: hidden;
}

.side-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    white-space: nowrap;
    overflow: hidden;
}

.side-menu-list > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.side-menu-list > li > a:hover::before {
    transform: scaleY(1);
}

.side-menu-list > li > a:hover {
    background: linear-gradient(135deg, rgba(238, 36, 51, 0.1) 0%, rgba(208, 30, 42, 0.05) 100%);
    color: #ee2433;
}

.side-menu-list > li > a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #ee2433;
    transition: all 0.3s ease;
}

.side-menu-list > li > a:hover i {
    transform: scale(1.2) rotate(5deg);
}

.submenu-arrow {
    margin-left: auto !important;
    margin-right: 0 !important;
    transition: transform 0.3s ease;
}

.has-submenu.active .submenu-arrow {
    transform: rotate(90deg);
}

.side-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(238, 36, 51, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

.has-submenu.active .side-submenu {
    max-height: 350px;
}

.side-submenu li {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
}

.side-submenu li a {
    display: flex;
    align-items: center;
    padding: 15px 25px 15px 50px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    white-space: nowrap;
}

.side-submenu li a::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ee2433;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.side-submenu li a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.side-submenu li a:hover {
    background: rgba(238, 36, 51, 0.1);
    color: #ee2433;
}

.side-submenu li a i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    color: #ee2433;
    font-size: 14px;
    flex-shrink: 0;
}

.side-menu-footer {
    padding: 25px;
    background: rgba(238, 36, 51, 0.05);
    border-top: 1px solid rgba(238, 36, 51, 0.1);
}

.side-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.side-contact-item i {
    color: #ee2433;
    width: 18px;
    text-align: center;
}

/* Clase para ocultar navegación desktop en ciertos casos */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .side-menu-content {
        width: 400px;
    }
}

@media (max-width: 500px) {
    .side-menu-content {
        width: 85vw;
        max-width: 380px;
    }
}

@media (max-width: 400px) {
    .side-menu-content {
        width: 90vw;
        max-width: 350px;
    }
    
    .side-menu-list > li > a {
        padding: 16px 15px;
        font-size: 14px;
    }
    
    .side-submenu li a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.mobile-active {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        border-bottom: 1px solid #eee;
        padding: 15px 20px;
    }
    
    .main-nav {
        position: relative;
    }
    
    .phone-nav {
        display: none;
    }
    
    /* Dropdown en móvil */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li a {
        padding: 12px 40px;
        font-size: 14px;
        background: #f8f9fa;
    }
    
    .dropdown-menu li a:hover {
        background: #ee2433;
        color: white;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    /* Header extra compacto */
    .top-header {
        padding: 4px 0;
        font-size: 11px;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-header {
        padding: 8px 0;
    }
    
    .logo {
        justify-content: center;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
    
    .contact-btn {
        padding: 8px 10px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .search-bar input {
        padding: 10px 45px 10px 16px;
        font-size: 14px;
    }
    
    .search-bar button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Categorías ultra compactas */
    .category-item a {
        padding: 8px 4px;
        font-size: 9px;
        min-height: 30px;
        text-align: center;
    }
    
    .category-item a span {
        display: block;
        line-height: 1.1;
    }
    
    /* Hero más compacto */
    .hero {
        min-height: 350px;
    }
    
    .hero-content {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .hero-logo img {
        height: 45px;
    }
    
    .hero-logo h1 {
        font-size: 24px;
    }
    
    .hero-description p {
        font-size: 14px;
    }
    
    /* Mantener 2 columnas en móvil pequeño */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Productos aún más pequeños */
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 12px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .product-description {
        font-size: 10px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }
    
    .product-price {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .product-discount {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .contact-form-container {
        padding: 0 10px;
    }
    
    .about-content h1 {
        font-size: 28px;
    }
    
    .philosophy-section h2 {
        font-size: 20px;
    }
    
    .philosophy-content p {
        font-size: 14px;
        text-align: left;
    }
    
    .contact-cta {
        padding: 25px 15px;
    }
    
    .contact-cta h3 {
        font-size: 16px;
    }
    
    /* Footer ultra compacto en móvil pequeño */
    .footer {
        padding: 20px 0;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-logo {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-logo h2 {
        font-size: 22px;
    }
    
    .footer-description {
        font-size: 12px;
        line-height: 1.4;
        margin: 0;
    }
    
    .footer-center h3,
    .footer-right h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-categories {
        margin: 0;
    }
    
    .footer-categories li {
        margin-bottom: 8px;
    }
    
    .footer-categories li a {
        font-size: 12px;
    }
    
    .footer-contact {
        gap: 10px;
    }
    
    .footer-address,
    .footer-phone,
    .footer-email {
        font-size: 12px;
        gap: 6px;
    }
    
    .footer-address i,
    .footer-phone i,
    .footer-email i {
        font-size: 14px;
    }
    
    .footer-address span,
    .footer-phone span,
    .footer-email span {
        line-height: 1.3;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: #ccc;
    font-weight: bold;
}

.breadcrumb a {
    color: #ee2433;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d01e2a;
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: #666;
    font-weight: 600;
}

/* Values Section */
.values-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #ee2433;
}

.values-section h3 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ee2433 0%, #d01e2a 100%);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(238, 36, 51, 0.2);
}

.value-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.value-item h4 i {
    color: #ee2433;
    font-size: 24px;
}

.value-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive para valores */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-item {
        padding: 20px;
    }
    
    .value-item h4 {
        font-size: 18px;
    }
    
    .value-item p {
        font-size: 14px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

/* Estilos adicionales para mejor UX */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.product-card.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Mejoras de accesibilidad */
.product-card:focus {
    outline: 2px solid #ee2433;
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #ee2433;
    outline-offset: 1px;
}

/* Estilos para impresión */
@media print {
    .hero,
    .contact-section,
    .footer {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
