:root {
    --primary: #0A3D62;
    --primary-dark: #0A3D62;
    --secondary: #0A3D62;
    --accent: #3DC1D3;
    --medium: #3DC1D3;
    --light: #FFFFFF;
    --orange: #E67E22;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Montserrat', sans-serif;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes glow {
    from { box-shadow: 0 0 10px 0 rgba(10, 61, 98, 0.6); }
    to { box-shadow: 0 0 20px 5px rgba(10, 61, 98, 0.9); }
}

@keyframes flashSale {
    0%, 100% { background-color: rgba(10, 61, 98, 0.1); }
    50% { background-color: rgba(10, 61, 98, 0.2); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 193, 7, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.8), 0 0 60px rgba(255, 193, 7, 0.6);
        transform: scale(1.02);
    }
}

@keyframes flash-border {
    0%, 100% { border-color: #fbbf24; }
    50% { border-color: #f59e0b; }
}

@keyframes countdown-pulse {
    0%, 100% { 
        background-color: rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        background-color: rgba(0, 0, 0, 0.5);
        transform: scale(1.05);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.flash-sale {
    animation: flashSale 1s ease-in-out infinite;
}

.flash-sale-banner {
    animation: pulse-glow 2s ease-in-out infinite;
}

.flash-sale-mobile {
    animation: flash-border 1.5s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.countdown-container {
    animation: countdown-pulse 1s ease-in-out infinite;
}

.zoom-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-on-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.discount-badge {
    background: linear-gradient(135deg, var(--orange), #FF5722);
    color: white;
}

.new-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-thumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary);
}

.review-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 6px;
    border-radius: 3px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

@media (max-width: 768px) {
    .product-gallery {
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        width: 100%;
    }
    
    .product-gallery .swiper-slide {
        padding: 0 10px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .mobile-stack {
        flex-direction: column;
        width: 100%;
    }
    
    .mobile-full-width {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Prevenir desbordamiento en elementos móviles */
    .swiper-container,
    .product-images,
    .product-details,
    .review-section,
    .related-products {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}
