/**
 * Producto Detail - Custom Styles
 * KONNEX Store
 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-glass {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-display {
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* AR Scan Animation */
@keyframes scan {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(1000%); opacity: 0; }
}

.ar-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to bottom, transparent, #ff6600, transparent);
    box-shadow: 0 0 15px #ff6600;
    z-index: 20;
    animation: scan 3s linear infinite;
    pointer-events: none;
}

/* 360 Viewer Styles */
.viewer-360 {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 10;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.viewer-360.active {
    display: flex;
    opacity: 1;
}

.viewer-360 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    user-select: none;
    -webkit-user-drag: none;
}

.controls-360 {
    position: absolute;
    bottom: 2rem;
    left: 10%;
    right: 10%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Custom Slider Style */
.slider-360 {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.slider-360::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 24px;
    background: #ff6600;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.slider-360:active::-webkit-slider-thumb {
    transform: scale(1.1);
}

.badge-360 {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mega Menu Refined */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid #ff6600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 90;
    padding: 2.5rem 0;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
}

.nav-item-categories:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-swiper-btn::after {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.swiper-pagination-bullet-active {
    background-color: #ff6600;
}
        /* ----- Footer Carbono Elite: Antigravedad e Innovación ----- */
        .footer-elite {
            background-color: #0b0b0c;
            position: relative;
            color: #E0E0E0;
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            border-top: 1px solid rgba(255, 87, 34, 0.2);
            z-index: 10;
        }

        /* Cuadrícula Animada en Perspectiva 3D */
        .footer-elite::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            right: -50%;
            bottom: 0;
            background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: 0;
            transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
            animation: gridMove 15s linear infinite;
            pointer-events: none;
        }

        @keyframes gridMove {
            0% {
                transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px);
            }

            100% {
                transform: perspective(600px) rotateX(60deg) translateY(40px) translateZ(-200px);
            }
        }

        /* Orbe Pulsante del Núcleo Central */
        .footer-elite::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, rgba(255, 87, 34, 0) 70%);
            transform: translate(-50%, -50%);
            z-index: 0;
            animation: pulseOrb 6s ease-in-out infinite alternate;
            pointer-events: none;
        }

        @keyframes pulseOrb {
            0% {
                transform: translate(-50%, -50%) scale(0.9);
                opacity: 0.5;
            }

            100% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 1;
            }
        }

        /* Escáner Láser Superior */
        .footer-accent-line {
            position: absolute;
            top: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #FF5722, transparent);
            box-shadow: 0 0 15px rgba(255, 87, 34, 0.8), 0 0 30px rgba(255, 87, 34, 0.4);
            animation: scanLine 4s ease-in-out infinite alternate;
            z-index: 2;
        }

        @keyframes scanLine {
            0% {
                transform: translateX(-80%);
                opacity: 0.5;
            }

            100% {
                transform: translateX(80%);
                opacity: 1;
            }
        }

        .footer-content {
            padding-top: 80px;
            padding-bottom: 40px;
            position: relative;
            z-index: 2;
        }

        /* Efecto Antigravedad para Columnas */
        .footer-col-wrapper {
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
        }

        .footer-col-wrapper:hover {
            transform: translateY(-8px);
        }

        .footer-logo-link {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            text-decoration: none;
            position: relative;
            z-index: 2;
        }

        .footer-logo-icon {
            color: #FF5722;
            font-size: 38px !important;
            font-weight: 900;
            animation: floatIcon 4s ease-in-out infinite;
            filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6));
        }

        @keyframes floatIcon {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
            }
        }

        .footer-logo-text {
            color: #ffffff;
            font-size: 32px;
            font-weight: 900;
            letter-spacing: -0.05em;
            margin: 0;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
        }

        .footer-brand-phrase {
            color: #A0A0A0;
            font-weight: 300;
            font-size: 15px;
            line-height: 1.6;
            margin: 0;
        }

        .footer-col-title {
            color: #ffffff;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 28px;
            margin-top: 0;
            display: inline-block;
            position: relative;
        }

        /* Línea deslizante bajo título */
        .footer-col-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 20px;
            height: 2px;
            background: #FF5722;
            transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .footer-col-wrapper:hover .footer-col-title::after {
            width: 100%;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .footer-links a {
            color: #A0A0A0;
            text-decoration: none;
            font-size: 15px;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: inline-block;
            position: relative;
        }

        .footer-links a::before {
            content: '›';
            position: absolute;
            left: -15px;
            opacity: 0;
            color: #FF5722;
            transition: all 0.3s ease;
            transform: translateX(-10px);
        }

        .footer-links a:hover {
            color: #ffffff;
            transform: translateX(15px);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .footer-links a:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* Newsletter con Glassmorphism */
        .footer-newsletter-col {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            z-index: 2;
        }

        .footer-newsletter-col:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(255, 87, 34, 0.3);
            box-shadow: 0 25px 50px rgba(255, 87, 34, 0.15);
            background: rgba(255, 255, 255, 0.04);
        }

        .newsletter-desc {
            color: #A0A0A0;
            font-size: 14px;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .newsletter-input {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #ffffff;
            padding: 14px 16px;
            font-size: 14px;
            transition: all 0.3s;
            outline: none;
        }

        .newsletter-input:focus {
            border-color: #FF5722;
            box-shadow: 0 0 15px rgba(255, 87, 34, 0.2);
            background: rgba(0, 0, 0, 0.6);
        }

        .newsletter-input::placeholder {
            color: #666;
        }

        .newsletter-btn {
            background: linear-gradient(135deg, #FF5722, #e64a19);
            color: #ffffff;
            border: none;
            padding: 14px 20px;
            font-weight: 800;
            font-size: 13px;
            letter-spacing: 0.1em;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.4s ease;
            text-align: center;
            box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
            position: relative;
            overflow: hidden;
        }

        .newsletter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
        }

        .newsletter-btn:hover::before {
            left: 100%;
        }

        .live-status {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 25px;
            background: rgba(0, 230, 118, 0.05);
            padding: 8px 15px;
            border-radius: 999px;
            border: 1px solid rgba(0, 230, 118, 0.1);
        }

        .status-text {
            color: #00e676;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .status-led {
            width: 8px;
            height: 8px;
            background-color: #00e676;
            border-radius: 50%;
            box-shadow: 0 0 10px #00e676;
            animation: pulseLed 2s infinite;
        }

        .footer-socials {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: #E0E0E0;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        .social-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #FF5722;
            z-index: -1;
            transform: scale(0);
            border-radius: 50%;
            transition: transform 0.4s ease;
        }

        .social-icon .material-symbols-outlined {
            font-size: 20px;
            transition: color 0.3s;
        }

        .social-icon:hover {
            border-color: #FF5722;
            transform: scale(1.15) translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
        }

        .social-icon:hover::before {
            transform: scale(1);
        }

        .social-icon:hover .material-symbols-outlined {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 25px 0;
            background-color: #050505;
            position: relative;
            z-index: 2;
        }

        .footer-bottom-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        @media (min-width: 768px) {
            .footer-bottom-inner {
                flex-direction: row;
                justify-content: space-between;
            }
        }

        .copyright-text {
            color: #666;
            font-size: 13px;
            margin: 0;
            letter-spacing: 0.05em;
        }

        .footer-legal-links {
            display: flex;
            gap: 24px;
        }

        .footer-legal-links a {
            color: #777;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            text-decoration: none;
            transition: color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .footer-legal-links a:hover {
            color: #FF5722;
        }

        .payment-icons {
            display: flex;
            align-items: center;
            gap: 20px;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .payment-icons:hover {
            opacity: 1;
        }

        .payment-icon-img {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: grayscale(100%) opacity(0.8);
        }

        .payment-icons:hover .payment-icon-img {
            filter: grayscale(0%) opacity(1);
            transform: scale(1.1);
            filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
        }

        .payment-icon-img:hover {
            transform: scale(1.2) translateY(-2px) !important;
            filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.5)) !important;
        }

        /* ----- Footer Particles ----- */
        .footer-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            /* Debajo del contenido, encima de la grilla */
            overflow: hidden;
        }

        .footer-particle {
            position: absolute;
            color: #E0E0E0;
            opacity: 0.05;
            animation: floatParticle 25s infinite linear, sparkParticle 8s infinite alternate ease-in-out;
        }

        .footer-particle svg {
            width: 100%;
            height: 100%;
            fill: currentColor;
            transition: filter 0.3s;
        }

        @keyframes floatParticle {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }

            33% {
                transform: translate(50px, -60px) rotate(120deg);
            }

            66% {
                transform: translate(-30px, 30px) rotate(240deg);
            }

            100% {
                transform: translate(0, 0) rotate(360deg);
            }
        }

        @keyframes sparkParticle {

            0%,
            20%,
            40%,
            60%,
            80%,
            100% {
                opacity: 0.05;
                color: #E0E0E0;
                filter: drop-shadow(0 0 0px transparent);
            }

            10%,
            50%,
            90% {
                opacity: 0.4;
                color: #FF5722;
                filter: drop-shadow(0 0 10px #FF5722);
            }
        }

        .fparticle-1 {
            top: 10%;
            left: 8%;
            width: 45px;
            height: 45px;
            animation-duration: 25s, 7s;
            animation-delay: 0s, 1s;
        }

        .fparticle-2 {
            top: 70%;
            left: 15%;
            width: 65px;
            height: 65px;
            animation-duration: 32s, 9s;
            animation-delay: -5s, 3s;
        }

        .fparticle-1 {
            top: 10%;
            left: 8%;
            width: 100px;
            height: 100px;
            animation-duration: 25s, 7s;
            animation-delay: 0s, 1s;
        }

        .fparticle-2 {
            top: 65%;
            left: 12%;
            width: 140px;
            height: 140px;
            animation-duration: 32s, 9s;
            animation-delay: -5s, 3s;
        }

        .fparticle-3 {
            top: 15%;
            left: 82%;
            width: 120px;
            height: 120px;
            animation-duration: 28s, 6s;
            animation-delay: -10s, 0s;
        }

        .fparticle-4 {
            top: 55%;
            left: 65%;
            width: 160px;
            height: 160px;
            animation-duration: 38s, 8s;
            animation-delay: -15s, 4s;
        }

        .fparticle-5 {
            top: 35%;
            left: 45%;
            width: 110px;
            height: 110px;
            animation-duration: 29s, 10s;
            animation-delay: -2s, 2s;
        }

        .fparticle-6 {
            top: 80%;
            left: 85%;
            width: 90px;
            height: 90px;
            animation-duration: 22s, 5s;
            animation-delay: -8s, 1.5s;
        }

        /* ----- Electric Circuit Waves ----- */
        .footer-electric-paths {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            /* Bien al fondo */
            opacity: 0.6;
            overflow: hidden;
        }

        .electric-path-wrapper {
            position: absolute;
            width: 100%;
            height: 100px;
            opacity: 0;
            animation: pulseWave 6s infinite ease-in-out;
        }

        .electric-path-wrapper svg {
            width: 100%;
            height: 100%;
        }

        .electric-line {
            fill: none;
            stroke: #FF5722;
            stroke-width: 2;
            stroke-dasharray: 2000;
            stroke-dashoffset: 2000;
            filter: drop-shadow(0 0 8px #FF5722);
        }

        .electric-line-blue {
            stroke: #00E5FF;
            filter: drop-shadow(0 0 8px #00E5FF);
        }

        .ep-1 {
            top: 20%;
            left: 0;
            animation-duration: 5s;
            animation-delay: 0s;
        }

        .ep-2 {
            top: 60%;
            left: 0;
            transform: scaleX(-1);
            animation-duration: 7s;
            animation-delay: 2.5s;
        }

        .ep-3 {
            top: 85%;
            left: 0;
            animation-duration: 6s;
            animation-delay: 1.2s;
        }

        .ep-1 .electric-line {
            animation: traceElectric 5s infinite linear 0s;
        }

        .ep-2 .electric-line {
            animation: traceElectric 7s infinite linear 2.5s;
        }

        .ep-3 .electric-line {
            animation: traceElectric 6s infinite linear 1.2s;
        }

        @keyframes pulseWave {

            0%,
            100% {
                opacity: 0;
            }

            10%,
            60% {
                opacity: 1;
            }

            80% {
                opacity: 0;
            }
        }

        @keyframes traceElectric {
            0% {
                stroke-dashoffset: 2000;
            }

            50% {
                stroke-dashoffset: 0;
            }

            100% {
                stroke-dashoffset: -2000;
            }
        }
