
        @font-face {
            font-family: 'Norms-light';
            src: url('./fonts/TT Norms Pro Light.ttf') format('truetype');
            font-weight: normal; font-style: normal; font-display: swap;
        }

        @font-face {
            font-family: 'Norms-medium';
            src: url('./fonts/TT Norms Pro Medium.ttf') format('truetype');
            font-weight: normal; font-style: normal; font-display: swap;
        }

        @font-face {
            font-family: 'Norms-regular';
            src: url('./fonts/TT Norms Pro Regular.ttf') format('truetype');
            font-weight: normal; font-style: normal; font-display: swap;
        }

        /* Aplica la fuente corporativa Norms */
        body, h1, h2, h3, h4, h5, h6, p, .product-details, .filters, .category-menu, .buy-button, .info-button {
            font-family: 'Norms-regular', Arial, sans-serif;
        }

        html, body {
            overflow-x: hidden;
            max-width: 100%;
        }

        .campaign-cover {

            background: url('./bg_prehalloween.jpg') center center/cover no-repeat, linear-gradient(120deg,#f7cf7b 0%, #ffeabe 100%);
            display: block;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            min-width: 100vw;
            transition: opacity 0.5s;
            }

            .campaign-cover-inner {
            background: rgba(255, 255, 255, 0.9);
            padding: 48px 32px 36px 32px;
            border-radius: 24px;
            box-shadow: 0 8px 48px 0 rgba(80,40,180,0.15);
            text-align: center;
            max-width: 90vw;
            }

            .cover-title {
            font-size: 2.1em;
            color: #c35b0a;
            font-family: 'Norms-medium', Arial, sans-serif;
            font-weight: bold;
            margin-bottom: 22px;
            letter-spacing: 1px;
            }

            .campaign-countdown {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 20px;
            background: linear-gradient(90deg, #f8e6ff 0%, #e0eaff 100%);
            color: #c35b0a;
            font-size: 2em;
            font-family: 'Norms-medium', Arial, sans-serif;
            font-weight: bold;
            letter-spacing: 1.5px;
            box-shadow: 0 2px 12px rgba(140,30,220,0.08);
            border: 2px solid #b7a7e3;
            }

            .campaign-countdown strong {
            color: #c35b0a;
            }
            .campaign-countdown .cc-sep {
            color: #c35b0a;
            margin: 0 8px;
            font-weight: normal;
            font-size: 1.2em;
            }

            @keyframes cc-beat {
                0%   {transform: scale(1); }
                30%  {transform: scale(1.10); }
                60%  {transform: scale(0.95);}
                100% {transform: scale(1);}
            }

            .campaign-countdown.cc-beat {
                animation: cc-beat 0.32s;
            }

        .campaign-countdown.cc-urgent {
            animation: cc-pulse 0.7s infinite alternate;
            background: linear-gradient(90deg, #ffe6e6 0%, #ffe9f7 100%);
            color: #aa0000;
            border-color: #e57ac0;
        }
        @keyframes cc-pulse {
            0% { box-shadow: 0 2px 12px #ffb3b3; }
            100% { box-shadow: 0 4px 24px #ffb3b3; }
        }


.campaign-inactive-message {
    display: flex;
    align-content: center;
    
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    justify-content: center;
    background: url('bg_prehalloween.jpg') center center/cover no-repeat;
}

.inactive-message-text {
    background: rgba(255,255,255,0.85);
    padding: 40px 60px;
    border-radius: 24px;
    color: #c35b0a;
    font-size: 2em;
    font-family: 'Norms-medium', Arial, sans-serif;
    font-weight: bold;
    box-shadow: 0 8px 48px 0 rgba(80,40,180,0.15);
    text-align: center;
    letter-spacing: 1px;
}




        /* Banner escritorio: sólo visible en desktop */
        .promo-banner-desktop { display: block; }
        .promo-banner-desktop img {
            width: 100%;
            height: auto;
            display: block;
            /* margin-bottom: 8px; */
        }

        /* Banner móvil: sólo visible en móvil */
        .promo-banner-mobile { display: none; }

        .logo-asus {
            float: left;
            max-width: 68px;     /* Límite máximo para desktop */
            width: 25%;           /* O el % que mejor encaje en tu header */
            height: auto;         /* Mantiene la proporción */
            min-width: 68px;      /* Opcional: nunca más pequeño que desktop mínimo */
            display: block;
        }
        
    
        h2 {
            font-family: "Norms-regular";
            color: royalblue;
            font-size: 17px;
            text-decoration: none;
            min-height: 65px;
            line-height: 140%;
            padding: 0 20px;
        }

        h3 {
            font-family: "Norms-regular";
            color: #000000;
            font-size: 15px;
            text-decoration: none;
            text-align: left;
            margin:20px 0 0 0;

        }

        .description {
            font-family: "Norms-regular";
            color:#555555;
            font-size: 15px;
            line-height: 140%;
            text-decoration: none;
            flex-wrap: wrap;
            flex-direction: column-reverse;
            justify-content: flex-end;
            min-height: 140px;
            padding: 0 20px;
        }

        a {text-decoration: none;}

        .product-counter{
            font-family:"Norms-light";
            font-size:14px;
            background-color:antiquewhite;
            border-radius: 10px;
            padding:0 10px;
        }

        .form-title{
            font-family:Norms-light;
            font-weight: normal;
            font-size: 15px;
            margin:10px 5px 5px 5px;
        }

        .form-labels{
            font-family:'Norms-light';
            font-weight: normal;
            font-size: 13px;
            margin:0 5px 10px 2px;
            color:#555555;
        }

        input.form-labels, select.form-labels{
            color:#4f6caa;
            width:80%;
            padding: 2px 14px 2px 9px;
            margin-bottom: 10px;
        }
        
        fieldset{
            border-radius: 10px; 
            font-family:'Norms-light';
        }

   
    
        .container {
          display: grid;
          grid-template-columns: 1fr 4fr;
          grid-template-rows: auto auto auto 1fr;
          grid-template-areas:
            "filters comparerow"
            "filters topdeals"
            "filters products"
            "filters products";
          gap: 10px;
        }


        
        .filters {
            grid-area: filters;
            background: #f8f8f8;
            border-right: 1px solid #ddd;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 10px;
            /* grid-row: 1 / span 2;  <-- ELIMINAR ESTA LÍNEA */
        }
    
        .vip-filter {
            background-color: #8760b9;
            border-radius: 7px;
            padding: 2px 14px 2px 9px;
            margin-bottom: 10px;
            /*box-shadow: 0 2px 8px rgba(106,48,182,0.08); */ 
            display: flex;
            align-items: center;
        }

        .vip-checkbox-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #fff;
            font-weight: bold;
        }

        .vip-checkbox-icon {
            display: flex;
            align-items: center;
            font-weight: bold;
            color: #fff;
            font-size: 15px;
            margin-left: 4px;
        }

        .vip-filter input[type="checkbox"] {
            accent-color: #b0bdf7;
            margin-right: 8px;
            width: 18px;
            height: 18px;
        }

        .vip-filter input[type="checkbox"]:checked + .vip-checkbox-icon {
            color: #ffdf00;
            text-shadow: 0 0 4px #fff;
        }


        .product-list {
            grid-column: 2 / -1; /* Ocupa desde la segunda columna hasta el final */
            display: grid;
            grid-area: products;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 10px;
            justify-content: start; /* Alinear a la izquierda */
        }
    
        #compare-row  { grid-area: comparerow; }
        #product-list  { grid-area: products; }
        #top-deals { grid-area: topdeals; }
    
        .product {
            background-color: #efefef;
            font-family: arial;
            font-size: 18px;
            padding: 10px;
            text-align: center;
            position: relative;
            box-sizing: border-box;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 350px;
            max-width: 300px; /* Ancho máximo para las columnas de producto */
        }
        .product-visited {
            background-color: #d3f4ff; /* Color de fondo para productos visitados */
        }
        .product p {
            margin: 5px 0; /* Ajustar el margen para los párrafos dentro de los productos */
        }
        .product img {
            width: 100%;
            height: auto;
            max-height: 200px; /* Altura máxima para las imágenes */
            object-fit: contain; /* Ajustar la imagen manteniendo proporciones */
        }
        .image-container {
            width: 100%;
            height: 200px; /* Altura fija para el contenedor de la imagen */
            display: flex;
            align-items: center;
            justify-content: center;
        }


        .price-label {
            color: #888 !important;
            font-size: 16px !important;
            font-family: 'Norms-light', Arial, sans-serif;
            font-weight: normal;
            text-decoration: none;
            vertical-align: baseline;
        }

        .price-value {
            color: #222; /* Un gris oscuro o negro para más contraste */
            font-size: 22px;
            font-weight: 700;
            font-family: 'Norms-regular', Arial, sans-serif;
            letter-spacing: 0.5px;
            line-height: 1.2;
        }

        .original-price {
            text-decoration: line-through;
            color: #aaa !important;
            font-size: 13px;
            font-family: 'Norms-light', Arial, sans-serif;
            font-weight: normal;
        }

        .price-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0; /* Sin gap entre hijos */
        }

        .sale-price {
            display: inline-block;
            min-width: 0;
            text-align: center;
            background: #ec5858;
            color: #fff !important;
            font-weight: bold;
            border-radius: 5px 0 0 5px;
            font-size: 22px;
            line-height: 40px;
            padding: 0 10px;
            text-decoration: none !important;
            cursor: pointer;
            box-sizing: border-box;
            transition: background 0.15s;
            margin: 0;
        }

        .sale-price:hover {
            background: #d93636;
        }

           

        .discount-label {
            background: #e4aaaa;
            color: #aa0000;
            font-weight: bold;
            border-radius: 0 5px 5px 0;
            font-size: 18px;
            padding: 0 8px;
            min-width: unset;
            display: inline-block;
            align-items: center;
            line-height: 40px;
            margin-left: 0; /* Sin margen */
        }

        .buy-button {
            color: white;
            font-size: 20px;
            font-weight: bold;
            background-color: royalblue;
            padding: 5px 40px;
            border-radius: 5px;
            display: inline-block;
        }
        .info-button {
            color: white;
            font-size: 13px;
            font-size: 13px;
            font-weight: bold;
            background-color: darkgray;
            padding: 0 8px;
            border-radius: 5px;
            display: inline-block;
        }
        .visited-label {
            font-family: 'Norms-light';
            z-index: 2;
            background-color: #5952FA;
            color: white;
            border-radius: 5px;
            padding: 5px 10px;
            font-size: 14px;
            font-weight: bold;
            position: relative;
            top: 0;
            left: 0;
            right: 0;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
    
        .visited-label .remove-icon {
            cursor: pointer;
            margin-left: 10px;
            font-weight: bold;
            font-size: 16px;
        }

        a .price-label,
        a .price-value,
        a .original-price {
        color: #888 !important;
        font-size: inherit;
        text-decoration: none;
        }
        a .original-price {
        color: #aaa !important;
        text-decoration: line-through;
        }
        .sale-price {
        color: #fff !important;
        }
    
.search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
/*    padding: 20px; */
    min-height: 50px;
    grid-column: 1 / -1; /* Hacer que el buscador ocupe toda la fila */
    justify-content: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(12,28,140,0.07);
}

.search-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
}



.promo-banner {
    display: none; /* Oculta el banner como elemento en desktop */
}

.search-left,
.search-center,
.search-right {
    width: 33%;
    min-width: 200px;
    box-sizing: border-box;
}

.search-container input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    max-width: 400px;
    margin-left: 10px;
}
    
    
        .filters input[type="number"],
        .filters select {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
            width: 100%;
        }
        .filters input[type="checkbox"] {
            margin-right: 10px;
        }
        .filters .availability-filter,
        .filters .sale-filter {
            display: flex;
            align-items: center;
        }

        
        .category-menu {
            grid-column: 1 / -1; /* Hacer que el menú de categorías ocupe toda la fila */
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
            overflow-x: auto;
            white-space: nowrap;
            padding: 10px;
            background-color: #f8f8f8;
            border-bottom: 1px solid #ddd;
            font-family: Norms-light;
            font-size: 15px;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;   /* <-- Importante: no permite salto de línea --> */
            min-height: 48px;
        }
          
        
        
        .category-menu a {
            padding: 10px 20px;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            margin-right: 10px;
            border-radius: 5px;
        }
        .category-menu a:hover,
        .category-menu a.active {
            background-color: #ddd;
        }

*/
        
        .category-menu {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;   /* <-- Importante: no permite salto de línea */
        }
        .category-menu a,
        .category-menu button,
        .category-menu .vertical-divider {
            display: inline-flex;
            align-items: center;
            margin: 0;
            font-size: 15px;
        }
        .vertical-divider {
            width: 1px;
            height: 28px;
            background: #c8c8c8;
            margin: 0 10px;
            display: inline-block;
        }

        
        .countdown{
            font-family: "Norms-regular";
            font-size: 13px;
            color: red;
        }


        .carousel-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            opacity: 0;
            transition: opacity 1s ease-in-out; /* Transición de desvanecimiento */
            z-index: 1; /* Asegura que esté debajo de la etiqueta de historial */
        }

        .image-container {
            position: relative;
            border:1px solid gray;
            background-color: white;
        }

        .image-container img.main-image {
            display: block;
            opacity: 1;
            transition: opacity 1s ease-in-out; /* Transición de desvanecimiento */
        }

        .image-container img.carousel-image.visible {
            display: block;
            opacity: 1;
        }

        .image-container img.main-image.hidden {
            opacity: 0;
        }

        .product-details {
            text-align: left;
            list-style-type: disc;
            padding-left: 20px;
            font-family: "Norms-light";
            font-size:11px;
            line-height: 140%;
            min-height: 110px;
        }
    
        .product-details li {
            margin-bottom: 5px;
        }
   
        .error-message {
            grid-column: 1 / -1; /* Ocupa desde la primera columna hasta el final */
            background-color: #ffdddd;
            color: #d8000c;
            padding: 10px;
            border: 1px solid #d8000c;
            margin-bottom: 10px;
            text-align: center;
            display: none; /* Ocultar inicialmente */
            align-self: start; /* Asegura que el contenedor de error solo ocupe el alto necesario */
            position: relative; /* Necesario para el botón de cerrar */
        }
    
        .chat-window {
            border-radius: 10px;
            font-family: arial;
            grid-column: 1 / -1; /* Ocupa desde la primera columna hasta el final */
            background-color: #FFF6DA;
            color: #555555;
            padding: 10px;
            border: 1px solid #0c00d8;
            margin-bottom: 10px;
            text-align: justify;
            display: none; /* Ocultar inicialmente */
            align-self: start; /* Asegura que el contenedor de error solo ocupe el alto necesario */
            position: relative; /* Necesario para el botón de cerrar */
        }

        .close-button {
            position: absolute;
            top: 5px;
            right: 10px;
            background-color: transparent;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }
    
    
        .compare-container {
            display: flex;
            align-items: center;
            background-color: #d3d3d3; /* Color de fondo gris */
            padding: 5px 10px;
            border-radius: 5px; /* Esquinas anguladas */
            margin: 10px;
        }

        .compare-legend {
            margin-top:10px;
        }
    
        .compare-checkbox {
            margin-right: 5px;
            pointer-events: none;
            opacity: 0.5;
        }   

        .compare-label {
            font-family: 'Norms-light';
            font-size: 14px;
            color: #333;
            cursor: pointer; /* Asegura que el cursor cambie al pasar sobre la etiqueta */
            opacity: 0.5;
        }
    
        .compare-checkbox:not(.disabled) {
            pointer-events: auto;
            opacity: 1;
        }

        .compare-label:not(.disabled) {
            pointer-events: auto;
            opacity: 1;
        }
    
        .container-compare{
            border:1px solid lightblue;
            padding:10px;
            font-family: 'Norms-light';
            font-size:12px;
            background-color: aliceblue;
            border-radius: 10px;
        }
    
    
        .autocomplete-list {
            list-style: none;
            padding: 0;
            margin: 0;
            background: white;
            border: 1px solid #eee;
            max-height: 200px;
            overflow-y: auto;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(12,28,140,0.08);
            width: 480px; /* Por ejemplo, ajústalo a tu gusto */
            min-width: 320px;
            max-width: 600px;
            text-align: left; /* Añadido para alinear el texto a la izquierda */
        }


    
        .autocomplete-list li {
            padding: 10px 14px;
            cursor: pointer;
            font-family: 'Norms-light', Arial, sans-serif;
            border-bottom: 1px solid #f0f0f0;
        }
        .autocomplete-list li:last-child {
            border-bottom: none;
        }
    
        .autocomplete-list li:hover {
            background: #f0f6ff;
        }
    
        .autocomplete-partnumber {
            color: #999;
            font-size: 13px;
            margin-top: 2px;
            display: block;
        }
    
        mark {
            background: #ffe36b;
            color: #0C1C8C;
            font-weight: bold;
            padding: 0 2px;
            border-radius: 3px;
        }

        #clear-search {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: #888;
            top: 11px;
            right: 5px;
            padding: 0;
            display: none;
        }
        #clear-search:hover {
            color: #0C1C8C;
        }
    
        .spinner {
            border: 6px solid #eee;
            border-top: 6px solid #0C568C;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        #loading-overlay {
            display: flex;
        }
    
        .product {
            transition: box-shadow 0.2s, transform 0.2s;
        }
        .product:hover {
            box-shadow: 0 8px 24px rgba(50,50,100,0.5);
/*            transform: scale(1.027);*/
            z-index: 2;
        }
/*        .product img {*/
/*            transition: transform 0.2s;*/
/*        }*/
/*        .product:hover img {*/
/*            transform: scale(1.07);*/
/*        }*/

        .product-topdeal {
            border: 2px solid #FF5858;
            background: #fff5f5;
            box-shadow: 0 0 10px #ffeaea;
        }

        .badge-topdeal {
            font-family: 'Norms-light';
            display: inline-block;
            background: #aa0000;
            color: #fff;
            font-size: 13px;
            font-weight: bold;
            border-radius: 7px;
            padding: 4px 10px;
            margin-bottom: 8px;
            margin-right: 6px;
            letter-spacing: 1px;
        }
    
        #top-deals {
            margin-bottom: 24px;
            padding: 20px;
            border-bottom: 2px solid #FF5858;
            background: pink;
            border-radius: 12px;
            grid-area: topdeals;
        }


        .badge-newdeal {
            display: inline-block;
            width:100px;
            padding: 3px 5px 3px 5px !important;
            margin: 5px 0px 4px 5px!important;
            background: #4169e1;
            color: white;
            font-size: 12px;
            font-weight: normal;
            border-radius: 6px;

            vertical-align: middle;
            letter-spacing: 0.5px;
/*            border:1px solid gray;*/
        }

        .badge-oferta {
            height: 15px;
            display: inline-block;
            /* width:50px; */
            padding: 3px 5px 3px 5px !important;
            margin: 5px 0px 4px 5px!important;
            background: #4169e1;
            color: white;
            font-size: 12px;
            font-weight: normal;
            border-radius: 6px;
            vertical-align: middle;
            letter-spacing: 0.5px;
/*            border:1px solid #555555;*/
        }
    
        .badge-row {
            min-height: 15px;  /* Ajusta el alto según tus badges, por ejemplo 24-32px */
            display: flex;
            align-items: flex-start;
            gap: 4px;
            margin-bottom: 6px;
            justify-content: flex-start;
        }

        
        .badge-vip {
            font-family: "Norms-regular";
            display: inline-block;
            background: #6A30B6;
            color: #fff;
            font-size: 12px;
            font-weight: normal;
            border-radius: 7px;
            padding: 4px 11px 4px 6px;
            margin-right: 6px;
            letter-spacing: 1px;
            position: relative;
            cursor: pointer;
        }
        
        .badge-vip .vip-overlay {
            display: none;
            position: absolute;
            left: 50%;
            bottom: 120%; /* Aparece encima y centrado respecto al badge */
            transform: translateX(-50%);
            min-width: 190px;
            max-width: 320px;
            background: #fff;
            color: #333;
            border: 1px solid #bbb;
            border-radius: 7px;
            box-shadow: 0 6px 24px rgba(40,16,120,0.16);
            padding: 10px 14px;
            z-index: 11000;
            font-family:'Norms-light';
            font-size: 13px;
            line-height: 1.4;
            font-weight: normal;
            white-space: normal;
        }

        .badge-vip svg {
            margin-bottom: -2px;
        }



        .badge-vip:hover .vip-overlay,
        .badge-vip:focus .vip-overlay {
            display: block;
        }
     
        .badge-vip .vip-overlay::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 100%;
            transform: translateX(-50%);
            border-width: 8px 8px 0 8px;
            border-style: solid;
            border-color: #fff transparent transparent transparent;
            filter: drop-shadow(0 2px 2px rgba(40,16,120,0.10));
        }
        
    
        #back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            background: transparent;
            border: none;
            outline: none;
            z-index: 1999;
            cursor: pointer;
            padding: 0;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(12,28,140,0.10);
            transition: opacity 0.3s;
            opacity: 0.7;
        }
    
        #back-to-top:hover {
            opacity: 1;
            box-shadow: 0 4px 16px rgba(12,28,140,0.22);
        }
    
        #back-to-top svg {
            display: block;
        }

    
/*        .product-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 0;
            position: relative;
            border-bottom: 1px solid #4169e1; /* Línea horizontal
            padding-bottom: 2px;
        } */
    
        .tab-btn {
            background: #CCD7F6;
            border: none;
            padding: 3px 10px;
            border-radius: 4px 4px 0 0;
            cursor: pointer;
            font-size: 14px;
            color: #333;
            transition: background 0.2s;
            position: relative;
            top: 2px; /* Opcional: sube un poco la pestaña activa para dar relieve */
        }
    
        .tab-btn.active {
            background: #8FA6ED;
            color: #0C1C8C;
            font-weight: bold;
            z-index: 1;
        }
    
        .tab-content {
            position: relative;
            min-height: 32px;
            transition: opacity 0.25s;
            opacity: 1;
        }

        .tab-content.fade-out {
            opacity: 0;
            transition: opacity 0.17s;
        }

        .tab-content.fade-in {
            opacity: 1;
            transition: opacity 0.25s;
        }    
    
        .search-box {
            display: flex;
            align-items: center;
            position: relative;
            width: 100%;
            max-width: 400px;
        }

        .input-wrapper {
            position: relative;
            flex: 1;
            display: flex;
        }

        #search {
            width: 100%;
            padding-right: 30px;
            font-size: 16px;
            border: 1px solid #aaaaaa;
            border-radius: 10px 0 0 10px;
            box-sizing: border-box;
        }

        #clear-search {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: #888;
            display: none;
            z-index: 2;
        }

        #search-btn {
            flex: 0 0 auto;
            padding: 10px 28px;
            font-size: 20px;
            border: 1px solid #ccc;
            border-left: none;
            background: royalblue;
            color: #fff;
            border-radius: 0 10px 10px 0;
            cursor: pointer;
            height: 100%;
        }

        .autocomplete-list {
            box-shadow: 0 2px 8px rgba(12,28,140,0.08);
            border: 1px solid #eee;
            /* ...otros estilos... */
            transition: box-shadow 0.15s, border 0.15s;
        }

        .autocomplete-list:empty {
            box-shadow: none !important;
            border: none !important;
        }
    
        .product-tabs {
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid #4169e1;
            padding-bottom: 2px;
        }
        .tab-group {
            display: flex;
            gap: 10px;
            flex: 1;
        }
        .tab-global-group {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .tab-global-icon {
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.15s;
        }
        .tab-global-icon:hover,
        .tab-global-icon:focus {
            opacity: 1;
        }
        
        
        .tab-btn {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tab-global-icon {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.15s;
}
.tab-global-icon:hover,
.tab-global-icon:focus {
    opacity: 1;
}
     
        
    .tabs-global-bar {
        position: sticky;
        top: 60px;
        z-index: 50;
        background: #fff;
        padding-top: 4px;
    }
        
    .tab-global-btn {
        font-family: "Norms-light";
        font-size: 11px;
/*        background: #f3f7ff;*/
        border: none;
        border-bottom: 1px solid #aaaaaa;
        color: #555555;
        border-radius: 5px;
        padding: 6px 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: background 0.15s;
    }
        
    .tab-global-btn:hover {
        background: #d7e3fa;
    }
     
    .badge-row {
        min-height: 15px;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 6px;
        justify-content: flex-start;
        position: relative;
    }
    .share-product-btn {
        margin-left: auto;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0 0 0 8px;
        display: flex;
        align-items: center;
        opacity: 0.7;
        transition: opacity 0.2s;
    }
    .share-product-btn:hover {
        opacity: 1;
    }
        
        
        
        
    .subscription-block {
            border-radius: 10px;
            padding: 10px;
            text-align: right;
            display: inline-block;
            background-color: #ffe6b8;
        }

        .subscription-form {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: flex-end;
        }

        .subscription-text {
            margin-left: 20px;
            white-space: nowrap;
            color: #555;
            font-size: 13px;
        }

        .subscription-input {
            flex: 1;
            font-size: 14px;
            border: 1px solid #ccc;
            height:30px;
        }

        .subscription-button {
            background-color: #ffc964;
            border: 1px solid #374E7F;
            color: #555555;
            border-radius: 5px;
            padding: 8px 16px;
            cursor: pointer;
            height: 30px;
        }

        .subscription-button:hover {
            background-color: #ffbc3e;
        }



        /* Pre-register Form Block */

        .subscription-block-prelaunch {
            margin-top:20px;
            border: 1px solid gray;
            border-radius: 10px;
            padding: 10px;
            text-align: right;
            display: inline-block;
            background-color: #ffe6b8;
            box-shadow: 0 1px 10px rgba(0,0,0,0.5);
        }

        .subscription-form-prelaunch {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: flex-end;
        }

        .subscription-text-prelaunch {
            font-size: 22px;
            text-align: center;
            padding-right: 20px;
            margin-left: 20px;
            white-space: nowrap;
            color: #555;
        }

        .subscription-input-prelaunch {
            height: 40px;
            border-radius: 10px;
            font-size: 18px;
            font-family: "norms-light";
            flex: 1;
            border: 1px solid #ccc;
        }

        .subscription-button-prelaunch {
            font-family:"Norms-regular";
            font-weight:bold;
            font-size: 18px;
            height: 40px;
            background-color: #ffc964;
            border: 1px solid #374E7F;
            color: #555555;
            border-radius: 5px;
            padding: 8px 16px;
            cursor: pointer;
    
        }

        .subscription-button-prelaunch:hover {
            background-color: #ffbc3e;
        }

        /* Estilos específicos para la campaña (ejemplo) */
        .halloween-campaign .subscription-block {
            background-color: #FFDAB9; /* Un color naranja claro */
        }

        .halloween-campaign .subscription-button {
            background-color: #D2691E; /* Un color marrón anaranjado */
            border: 1px solid #8B4513; /* Un color marrón oscuro */
        }        



        
        
        .compare-row {
            grid-area: comparerow;
            display: flex;
            flex-direction: row;
            gap: 18px;
            overflow-x: auto;
            padding: 16px 0 8px 0;
            background: #f8f8f8;
            border-bottom: 2px solid #ddd;
            margin-bottom: 16px;
            scroll-behavior: smooth;
        }

        .compare-slot {
            min-width: 145px;
            max-width: 190px;
            background: #e0ebfa;
            border: 1px solid #4169e1;
            border-radius: 7px;
            padding: 10px 10px 10px 10px;
            text-align: center;
            position: relative;
            flex: 0 0 auto;
            font-size: 11px;
            margin: 0 2px;
            box-shadow: 0 1px 6px rgba(0,0,0,0.04);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            height: 100%; /* Para igualar */
        }
        .compare-slot img {
            height: 45px;
            max-width: 90px;
            object-fit: contain;
            margin-bottom: 5px;
            margin-top: 2px;
        }
        .compare-slot .remove-compare {
            position: absolute;
            top: 2px;
            right: 4px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 13px;
            color: #aa0000;
            font-weight: bold;
            padding: 0;
            line-height: 1;
        }
        .compare-slot .remove-compare:hover { color: #e74c3c; }
        .compare-slot .title {
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 1px;
            color: #0C1C8C;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 140px;
        }
        .compare-slot .price {
            color: #4169e1;
            font-size: 12px;
            font-weight: 500;
            margin-bottom: 1px;
        }
        .compare-slot .desc {
            font-size: 10px;
            color: #777;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 150px;
            margin-top: 2px;
        }

        
        #compare-row.compare-row-fixed,
        .compare-row.compare-row-fixed {

            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            max-width: 100vw;
            background: #f8f8f8;
            border-top: 2px solid #4169e1;
            box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
            z-index: 3000;
            padding: 8px 0 8px 0;
            margin: 0;
            display: flex;
            flex-direction: row;
            gap: 10px;
            overflow-x: auto;
            scroll-behavior: smooth;
            min-height: 62px;
            align-items: flex-start;
        }
        
        .compare-row,
        .compare-row.compare-row-fixed,
        #compare-row.compare-row-fixed {
            display: flex !important;
            flex-direction: column !important;
            gap: 0;
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            max-width: 100%;
            background: #ffffff;
            border-top: 2px solid #4169e1;
            box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
            z-index: 3000;
            padding: 0;
            margin: 0;
        }

        .compare-bar-header {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 8px;
            min-height: 32px;
            background: #f8f8f8;
            border-bottom: 1px solid #ddd;
            gap: 8px;
            box-sizing: border-box;
        }

        .compare-row-products {
            display: flex;
            flex-direction: row;
            gap: 18px;
            overflow-x: auto;
            padding: 8px 0 8px 0;
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        body.has-compare-bar {
            padding-bottom: 120px; /* Deja espacio al fondo para que no tape contenido */
        }

        .compare-row, .compare-row-products, .compare-bar-header {
            max-width: 100vw;
            overflow-x: hidden;
        }
        
        
        .block-vip {
            /* display: flex; */
            align-items: center;
            background: #6A30B6;
            border-radius: 9px;
            /* min-width: 40px; */
            /* height: 34px; */
            margin-left: 10px;
            box-shadow: 0 0 0 1px #fff, 0 8px 20px 1px rgba(106,48,182,0.14);
            cursor: pointer;
            padding: 5px 5px 0 5px;
        }

        .block-vip,
            .block-vip a,
            .vip-link {
            position: relative; /* El overlay se posiciona respecto a este contenedor */
        }
        
        .block-vip .vip-overlay {
            display: none;
            position: absolute;
            left: 50%;
            bottom: 100%; /* Aparece encima y centrado */
            transform: translateX(-50%);
            overflow-y: visible;
            background: #fff;
            color: #333;
            border: 1px solid #bbb;
            border-radius: 9px;
            box-shadow: 0 8px 32px rgba(40,16,120,0.19);
            padding: 18px 22px 14px 22px;
            z-index: 11000;
            font-family:'Norms-light';
            font-size: 13px;
            line-height: 1.5;
            font-weight: normal;
            white-space: normal;
            padding-bottom: 20px; /* Suficiente para dejar espacio a la flecha */
            min-width:200px
        }
        
        .block-vip:hover .vip-overlay,
        .block-vip:focus .vip-overlay {
            display: block;
        }
        
        .block-vip .vip-overlay::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 100%;
            transform: translateX(-50%);
            border-width: 12px 12px 0 12px;
            border-style: solid;
            border-color: #fff transparent transparent transparent;
            filter: drop-shadow(0 2px 2px rgba(40,16,120,0.10));
            pointer-events: none;
            z-index: 9999;
        }
        
        .block-vip-icon {
        width: 30px !important;
        height: 20px !important;
        display: block;
        /* object-fit: contain;*/
        }
        
        .block-vip-label {
            color: #fff;
            font-family: "Norms-medium", Arial, sans-serif;
            font-size: 14px;
            font-weight: bold;
            letter-spacing: 1px;
            margin-left: 5px;
            /* line-height: 40px; */
        }
        
        .badge-member {
            display: inline-block;
            background: #6A30B6;
            color: #fff;
            font-size: 12px;
            font-weight: normal;
            border-radius: 6px;
            padding: 4px;
            margin: 4px;
            letter-spacing: 0.5px;
        }
        


        @media (max-width: 600px) {

            .campaign-cover {
                /*background: url('bg_prehalloween_m.jpg') center center/cover no-repeat, linear-gradient(120deg,#f7cf7b 0%, #ffeabe 100%);*/

                background-image: url('bg_prehalloween_m.jpg');
                background-position-x:  center;
                background-position-y: top;
                background-repeat: no-repeat;
                background-size: cover;
                background-color:black;
                 
                 
                 

                min-height: 100vh;
                min-width: 100vw;
                padding: 0;
            }
            .campaign-cover-inner {
                margin:20px;
                padding: 24px 8vw 24px 8vw;
                border-radius: 14px;
                max-width: 98vw;
                background: rgba(255, 255, 255, 0.92);
                box-shadow: 0 2px 18px 0 rgba(80,40,180,0.08);
            }
            .cover-title {
                font-size: 1.18em;
                margin-bottom: 16px;
                letter-spacing: 0.5px;
            }
            .campaign-countdown {
                font-size: 1.2em;
                padding: 8px 10px;
                border-radius: 14px;
                letter-spacing: 0.5px;
                border-width: 1.5px;
                box-shadow: 0 1px 6px rgba(140,30,220,0.07);
            }
            .campaign-countdown .cc-sep {
                margin: 0 3px;
                font-size: 1em;
            }


            /* Mostrar el banner móvil a pantalla completa */
            .promo-banner-mobile {
                display: block;
                width: 100vw;
                max-width: 100vw;
                margin-left: calc(-50vw + 50%);
                margin-right: calc(-50vw + 50%);
                text-align: center;
                border-bottom: 1px solid #FFA500;
                z-index: 999;
                background: #FFDAB9;
            }
            .promo-banner-mobile img {
                width: 100vw;
                max-width: 100vw;
                height: auto;
                display: block;
            }
            
            /* Oculta el banner desktop en móvil */
            .promo-banner-desktop { display: none; }
            .search-left { background: none; }

            .container{
                margin:0;
                padding:0;
            }

            .description {
                font-family: "Norms-regular";
                color:#555555;
                font-size: 13px;
                line-height: 110%;
                text-decoration: none;
                flex-wrap: wrap;
                flex-direction: column-reverse;
                justify-content: flex-end;
                min-height: 140px;
                padding: 0 5px;
            }

            .product .price-label {
                font-size: 13px !important;
                color: #999 !important;
                font-family: 'Norms-light', Arial, sans-serif !important;
                font-weight: normal !important;
                text-decoration: none !important;
                vertical-align: baseline !important;
                line-height: 1.2 !important;
            }

            .price-value {
                font-size: 17px;
            }
            




            /*
            .product .original-price {
                font-size: 13x !important;
                color: #aaa !important;
            }
*/
            
            .product-topdeal {
                border-width: 1.5px !important;
                border-radius: 10px !important;
                background: #fff5f5 !important;
                box-shadow: 0 0 5px #ffeaea !important;
            }
            .badge-topdeal {
                font-size: 11px !important;
                padding: 3px 7px !important;
                margin-bottom: 4px !important;
                margin-right: 4px !important;
                border-radius: 6px !important;
            }
            
            .search-container {
                flex-direction: column;
                align-items: stretch;
                padding: 8px 4px;
            }

            
            .search-left, .search-center, .search-right {
                width: 100%;
                margin-bottom: 10px;
            }

            #search {
                font-size: 16px;
                padding: 8px;
                width: 100%;
                height:48px;;
            }


            #search-btn {
                flex: 0 0 auto;
                padding: 10px 28px;
                font-size: 20px;
                border: 1px solid #ccc;
                border-left: none;
                background: royalblue;
                color: #fff;
                border-radius: 0 10px 10px 0;
                cursor: pointer;
                height: 50px;
            }

            .search-box {
                display: flex;
                align-items: center;
                position: relative;
                width: 100%;
                /* max-width: 400px; */
               max-width: 100%;
               height:100%;
            }

            .container, .product-list {
                width: 100vw;
                max-width: 100%;
                /* padding: 0 2vw;*/
                box-sizing: border-box;
                margin: 0;
            }

            .product-list {
                grid-template-columns: repeat(2, 1fr);
                width: 100%;
                max-width: 100vw;
                box-sizing: border-box;
                margin: 0;
                padding: 10px;
            }

            .product {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                box-sizing: border-box;
                padding: 6px 0;
            }

            .image-container {
                aspect-ratio: 1 / 1;
                width: 90%;
                height: auto;
                max-width: 90%;
                max-height:auto;
                box-sizing: border-box;
                overflow: hidden;
                display: flex;
                align-items: center;
                justify-content: center;
                padding:20px;
                margin:auto
            }

            .image-container img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                display: block;
                margin: 0 auto;
                box-sizing: border-box;
            }
            
            .image-container img,
            .image-container .main-image,
            .image-container .carousel-image {
                width: 100%;
                max-width: 100%;
                height: 100%;
                max-height: 120px; /* igual que el contenedor */
                object-fit: contain;
                display: block;
                margin: 0 auto;
                box-sizing: border-box;
            }


            .badge-vip {
                font-size: 11px !important;
                padding: 3px 5px 3px 5px !important;
                margin: 5px 0px 4px 5px!important;
                border-radius: 5px !important;
                line-height: 1.2 !important;
                height: 22px !important;
                min-width: unset !important;
                display: inline-flex !important;
                align-items: center !important;
            }
            .badge-vip img,
            .badge-vip > img {
                width: 13px !important;
                height: 11px !important;
                margin: 0 3px 0 0 !important;
                vertical-align: middle;
                display: inline-block;
            }
            .badge-oferta,
            .badge-newdeal {
                font-size: 11px !important;
                padding: 3px 5px 3px 5px !important;
                margin: 5px 0px 4px 5px!important;
                height: 22px !important;
                display: inline-flex !important;
                align-items: center !important;
            }
            .badge-row {
                gap: 2px !important;
                margin-bottom: 4px !important;
                min-height: 22px !important;
            }

            .compare-row, .compare-row-products {
                overflow-x: auto !important;
                width: 100%;
                box-sizing: border-box;
                padding: 8px 0;
                gap: 12px;
                scroll-behavior: smooth;
            }
            .compare-slot {
                min-width: 90px;
                max-width: 110px;
                font-size: 10px;
                padding: 4px 2px;
                box-sizing: border-box;
                word-break: break-word;
            }

            .logo-asus {
                max-width: 180px; /* O el máximo que quieras permitir en móvil */
                width: 38vw;      /* O el % que te guste en móvil; prueba entre 25vw y 50vw */
                min-width: 80px;  /* Opcional para evitar que se haga muy pequeño */
            }

            .container {
                grid-template-columns: 1fr; /* Una columna para pantallas muy pequeñas */
            }

            .product, product-visited, .product-topdeal {
                max-width: 100%;
                min-width: 0;
                width: 100%;
                box-sizing: border-box;
                padding: 6px 0;
            }

            .product img {
                max-height: 120px;
            }
            
            .product-details {
                font-size: 10px;
                min-height: 60px;
            }

            .badge-topdeal {
                font-size: 11px !important;
                padding: 3px 7px !important;
                margin: 0 4px !important;
                border-radius: 6px !important;
            }

            .compare-row.compare-row-fixed {
                min-height: 95px; /* antes 62px o 60px */
                padding: 12px 0;
                gap: 12px;
            }
            
            .compare-slot {
                min-width: 80px;
                max-width: 106px;
                font-size: 9px;
                padding: 2px 3px 4px 3px;
            }
            .compare-slot img {
                height: 24px;
                max-width: 44px;
            }

            .category-menu {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
                padding-left: 0;
                margin-left: 0;
                width: 100%;
                }
                .category-menu a {
                flex: 0 0 auto;
                min-width: 0;
                max-width: none;
                /* Ajusta el padding si quieres más compacto */
                padding: 8px 14px;
            }

            .filters input,
            .filters select {
                font-size: 13px;
                padding: 3px 10px;
            }

            .vip-overlay,
            .block-vip .vip-overlay {
                min-width: 120px;
                max-width: 90vw;
                font-size: 12px;
                padding: 8px;
            }

            .vip-overlay {
                display: none;
                position: absolute;
                left: 50%;
                bottom: 100%; /* Aparece justo encima del icono */
                transform: translateX(-50%);
                /* ancho, color, padding, etc... */
                min-width: 300px;
                background: #fff;
                box-shadow: 0 6px 24px rgba(40,16,120,0.16);
                z-index: 11000;
            }

            .block-vip:hover .vip-overlay,
                .block-vip:focus .vip-overlay {
                display: block;
            }

              #back-to-top {
                bottom: 12px;
                right: 12px;
            }
            #back-to-top svg {
                width: 22px;
                height: 22px;
            }

            body.has-compare-bar {
                padding-bottom: 160px;
            }

            .autocomplete-list {
                min-width: 0;
                max-width: 98vw;
                width: 98vw;
                left: 1vw;
                font-size: 13px;
            }
            
            .price-row { gap: 0; }
            .sale-price { font-size: 16px; padding: 0 6px; width: auto; display: inline-block; }
            .discount-label { font-size: 13px; padding: 0 4px; }
            
            .block-vip { min-width: 30px; height: 28px; padding: 5px; line-height: 10px;}
            .block-vip-label { font-size: 11px; margin-left: 3px; }
            .block-vip-icon { height: 15px !important; }
            
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                grid-template-areas:
                "filters"
                "topdeals"
                "products";
                margin-top: 220px; /* Ajusta según el alto real del header en móvil */
            }
        }

        @media (max-width: 900px) {
            .product-list {
                grid-template-columns: repeat(2, 1fr); /* 2 columnas para pantallas pequeñas */
                justify-items: start; /* Alinear a la izquierda */
            }
        }

        @media (max-width: 1200px) {
            .product-list {
                grid-template-columns: repeat(2, 1fr); /* 3 columnas para pantallas medianas */
                justify-items: start; /* Alinear a la izquierda */
            }
        }

        
   