body  {
    background-color: black;
    color: white;
    font-family: "helvetica neve", Arial, sans-serif;
}
h1  {
    font-size: 50px;
    text-align: center;
    margin: 80px;
}
p  {
    text-align: center;
    font-size: 20px;
}
nav  {
    text-align: center;
    margin-top: 40px;
}

nav a  {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
}

header  {
    border-bottom: 1px solid white;
    padding-bottom: 30px;
}

section  {
    padding: 60px 20px;
    text-align: center;
}

.producto  {
    border: 1px solid white;
    width: 300px;
    margin: 40px auto;
    padding: 10px 20px;
    border-radius: 15px;
}

button  {
    background-color: white;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.producto img  {
    width: 250px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.precio  {
    font-size: 26px;
    font-weight: bold;
    margin: 10px 0;
}

.tallas  {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.tallas button {
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 45px;
}
.tallas button {
    width: 45px !important;
    height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
}
.talla-seleccionada {
    text-align: center;
    margin-top: 15px;
}
.lista-productos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.producto {
    transition: transform 0.3s;
}

.producto:hover {
    transform: translate(-6px);
}

button {
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.8;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 14px;
    font-size: 15px;
    letter-spacing: 1px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3;
}

nav a:hover {
    border-bottom-color: white;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
}

header h1 {
    font-size: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

header p {
    color: #bbbbbb;
    margin-top: 0;
    margin-bottom: 25px;
}

.producto {
    background-color: #111111;
    border-radius: 16px;
    padding: 20px;
}

.precio {
    font-size: 22px;
    font-weight: bold;
    margin: 8px 0;
}

nav {
    margin-top: 0;
    background: linear-gradient();
    text-align: flex;
    align-items: center;
    padding: 14px 30px;
    position: sticky;
    top: 0;
    background-color: black;
    z-index: 10;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

select {
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    margin: 10px 0;
}
#nosotros,
#contacto {
    text-align: center;
    padding: 40px 20px;
}

#contacto a {
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 10px;
    margin-top: 15px;
}

#contacto a:hover {
    opacity: 0.8;
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333333;
    color: #bbbbbb;
    font-size: 14px;
}

.menu-item {
    display: inline-block;
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 12px 10px;
    min-width: 130px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.menu-item:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    margin: 6px 0;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    width: 220px;
    height: auto;
    display: block;
}

header {
    text-align: left;
    padding: 25px 40px 20px;
    border-bottom: 1px solid white;
}

.nav-logo img {
    width: 180px;
    height: auto;
    display: block;
}
.nav-logo {
    display: inline-block;
    vertical-align: middle;
}
nav {
    position: sticky;
    top: 0;
    background-color: black;
    z-index: 10;
    text-align: center;
    padding: 20px 0;
    position: sticky;
}

.nav-logo {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
}

.nav-logo img {
    width: 180px;
    height: auto;
    display: block;
}
.separador-menu {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #555;
    margin: 0 15px;
    vertical-align: middle;
}
.lista-productos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.producto {
    width: 300px;
    min-width: 300px;
    flex: 0 0 300px;
    box-sizing: border-box;
    margin: 20px 0;
}
.color-seleccionado {
    background-color: #555;
    color: white;
    border: 2px solid white;
}
.carrusel {
    position: relative;
    width: 100%;
}

.carrusel img {
    width: 250px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.izquierda {
    left: 5px;
}

.derecha {
    right: 5px;
}
body {
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 190, 100, 0.55) 0%, transparent 32%),
        radial-gradient(circle at 85% 25%, rgba(60, 110, 255, 0.60) 0%, transparent 38%),
        radial-gradient(circle at 70% 75%, rgba(150, 70, 255, 0.50) 0%, transparent 36%),
        radial-gradient(circle at 20% 85%, rgba(30, 190, 200, 0.40) 0%, transparent 34%),

        /* ✨ Luz blanca suave */
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 30%),

        #05060d;

    background-attachment: fixed;
    background-size: 160% 160%;
    animation: moverFondo 8s ease-in-out infinite alternate;
}

@keyframes moverFondo {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}
nav {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.10) 100%
    );
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0 0 24px 24px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px rgba(255, 255, 255, 0.1);
}

nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.14),
        transparent
    );
    border-radius: 0 0 50% 50% / 0 0 30% 30%;
    pointer-events: none;
    z-index: -1;
}
/* ================================
   TARJETAS — LIQUID GLASS PREMIUM
   ================================ */

.producto {
    position: relative;
    overflow: hidden;

    /* Cristal */
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.09) 35%,
            rgba(255, 255, 255, 0.04) 65%,
            rgba(255, 255, 255, 0.12) 100%
        );

    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);

    /* Borde de cristal */
    border: 1px solid rgba(255, 255, 255, 0.38);

    border-radius: 26px;

    /* Profundidad */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.48),
        0 5px 18px rgba(0, 0, 0, 0.28),

        /* brillo interior */
        inset 0 1px 1px rgba(255, 255, 255, 0.75),
        inset 1px 0 1px rgba(255, 255, 255, 0.25),
        inset -1px 0 1px rgba(255, 255, 255, 0.12),
        inset 0 -1px 2px rgba(255, 255, 255, 0.08);

    /* Animación suave */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* Reflejo superior del cristal */
.producto::before {
    content: "";
    position: absolute;

    top: 0;
    left: -10%;
    width: 120%;
    height: 48%;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.10) 30%,
            transparent 100%
        );

    border-radius: 26px 26px 50% 50%;

    pointer-events: none;

    z-index: 1;
}


/* Brillo diagonal del cristal */
.producto::after {
    content: "";
    position: absolute;

    top: -80%;
    left: -80%;

    width: 55%;
    height: 240%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );

    transform: rotate(25deg);

    pointer-events: none;

    transition: left 0.8s ease;
}


/* Efecto al pasar el mouse */
.producto:hover {
    transform: translateY(-8px) scale(1.015);

    border-color: rgba(255, 255, 255, 0.58);

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(255, 255, 255, 0.10),

        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 1px 0 1px rgba(255, 255, 255, 0.35),
        inset -1px 0 1px rgba(255, 255, 255, 0.18);
}


/* Reflejo se mueve al pasar el mouse */
.producto:hover::after {
    left: 140%;
}
@media (max-width: 700px) {
    .nav-logo {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 10px !important;
    }

    .nav-logo img {
        margin: 0 auto;
    }

    nav a {
        margin: 0 8px;
        font-size: 14px;
    }
}
.submenu {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.carrusel img {
    transition: opacity 0.45s ease;
}
.precio {
    display: inline-block;
    padding: 6px 22px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
body {
    background-size: 160% 160%;
    animation: moverFondo 15s ease-in-out infinite alternate;
}

@keyframes moverFondo {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}
nav {
    transition: transform 0.4s ease;
}

nav.nav-oculto {
    transform: translateY(-110%);
}
.producto > button {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.34) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );

    color: white;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 12px 34px;

    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.38),
        inset 0 1px 2px rgba(255, 255, 255, 0.75),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.producto > button:hover {
    transform: translateY(-3px) scale(1.035);

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.16) 100%
    );

    border-color: rgba(255, 255, 255, 0.70);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(255, 255, 255, 0.16),
        inset 0 1px 2px rgba(255, 255, 255, 0.85);
}

.producto > button:active {
    transform: translateY(0) scale(0.98);
}

.producto > button:hover {
    transform: scale(1.05);
}
.producto select {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.10) 100%
    );
    color: white;

    padding: 10px 18px;

    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.65),
        inset 0 -1px 1px rgba(0, 0, 0, 0.18);

    transition: all 0.25s ease;
}

.producto select:hover {
    border-color: rgba(255, 255, 255, 0.60);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.40),
        inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

.producto select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.18),
        inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

.producto select option {
    background-color: #14142b;
    color: white;
}
.colores button {
    position: relative;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.10) 45%,
        rgba(255, 255, 255, 0.04) 100%
    );

    color: white;
    padding: 9px 20px;

    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);

    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 999px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.75),
        inset 0 -1px 1px rgba(255, 255, 255, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.colores button:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.40),
        0 0 18px rgba(255, 255, 255, 0.10),
        inset 0 1px 2px rgba(255, 255, 255, 0.85);
}


/* Hover */
.colores button:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.40),
        0 0 18px rgba(255, 255, 255, 0.10),
        inset 0 1px 2px rgba(255, 255, 255, 0.85);
}


/* Color seleccionado */
.colores button.color-seleccionado {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.16) 100%
    );

    border: 2px solid white;

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.85);
}
.carrusel {
    padding-bottom: 50px;
}

.carrusel img {
    display: block;
    margin: 0 auto;
}

.carrusel .flecha {
    top: auto;
    bottom: 4px;
    transform: none;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 16px;
    color: white;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.30) 0%,
        rgba(255, 255, 255, 0.10) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.2s, opacity 0.2s;
}

.carrusel .flecha.izquierda {
    left: calc(50% - 46px);
}

.carrusel .flecha.derecha {
    right: calc(50% - 46px);
}

.carrusel .flecha:hover {
    transform: scale(1.12);
}
@property --angulo {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes girarBorde {
    to {
        --angulo: 360deg;
    }
}

.colores button.color-seleccionado {
    position: relative;
    border-color: transparent;
}

.colores button.color-seleccionado::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 999px;
    background: conic-gradient(from var(--angulo), var(--borde-colores, #fff, #fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: girarBorde 3s linear infinite;
    pointer-events: none;
}
#carrito {
    display: none;

    position: fixed;
    top: 75px;
    right: 20px;

    width: 360px;
    max-width: calc(100vw - 40px);
    max-height: 70vh;

    overflow-y: auto;

    padding: 22px;

    color: white;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );

    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.65);

    z-index: 1000;

    animation: aparecerCarrito 0.3s ease;
}

#carrito.abierto {
    display: block;
}

#carrito h2 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 22px;
    text-align: center;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35);
}

@keyframes aparecerCarrito {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 600px) {
    #carrito {
        top: 70px;
        right: 10px;
        left: 10px;

        width: auto;
        max-width: none;

        max-height: 75vh;

        padding: 18px;

        border-radius: 20px;
    }
}
#lista-carrito button {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.30) 0%,
        rgba(255, 255, 255, 0.10) 100%
    );
    color: white;
    padding: 4px 12px;
    margin-left: 8px;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.2s, opacity 0.2s;
}

#lista-carrito button:hover {
    transform: scale(1.1);
}
nav a.activo {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-radius: 999px;
    padding: 8px 12px;
    margin: 0 2px;
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

nav a.activo::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 999px;
    background: conic-gradient(from var(--angulo), #fff, rgba(255, 255, 255, 0.1), #fff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: girarBorde 3s linear infinite;
    pointer-events: none;
}
#buscador {
    display: block;
    width: 90%;
    max-width: 380px;
    margin: 20px auto;
    padding: 12px 22px;
    color: white;
    font-size: 15px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    outline: none;
}

#buscador::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#portada {
    padding: 20px;
}

.portada-carrusel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 420px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.portada-carrusel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.portada-carrusel img.activa {
    opacity: 1;
}
nav {
    top: 15px;
    margin: 15px auto 0;
    width: 94%;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

nav::before {
    border-radius: 999px 999px 0 0;
}

nav.nav-oculto {
    transform: translateY(-200%);
}
.producto p:not(.precio) {
    display: none;
}
@media (max-width: 600px) {
    .portada-carrusel {
        height: 220px;
    }
}
.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    background: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.75) 0%,
        rgba(37, 211, 102, 0.45) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}
/* =========================
   AVISO CARRITO
========================= */

.aviso-carrito {
    position: fixed;
    top: 90px;
    right: 25px;

    padding: 14px 22px;

    color: white;
    font-weight: bold;
    font-size: 15px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.28),
        rgba(255, 255, 255, 0.10)
    );

    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 999px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.40),
        inset 0 1px 2px rgba(255, 255, 255, 0.70);

    z-index: 9999;

    animation: aparecerAviso 0.35s ease forwards;
}

.aviso-carrito.ocultar {
    animation: desaparecerAviso 0.3s ease forwards;
}

@keyframes aparecerAviso {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes desaparecerAviso {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
}
@media (max-width: 600px) {
    .aviso-carrito {
        top: 80px;
        left: 15px;
        right: 15px;

        width: auto;
        text-align: center;

        padding: 13px 18px;
        font-size: 14px;
    }
}
#paginacion {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.pagina-btn {
    width: 42px;
    height: 42px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.pagina-btn.actual {
    background: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}
.pagina-btn {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.pagina-btn {
    position: relative;
}

.pagina-btn.actual::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(from var(--angulo), #fff, rgba(255, 255, 255, 0.1), #fff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: girarBorde 3s linear infinite;
    pointer-events: none;
}
@supports (offset-path: inset(0 round 999px)) {
    nav::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #fff;
        box-shadow:
            0 0 8px 2px rgba(255, 255, 255, 0.8),
            0 0 20px 6px rgba(255, 255, 255, 0.3);
        offset-path: inset(0 round 999px);
        offset-distance: 0%;
        animation: recorrerMenu 10s linear infinite;
        pointer-events: none;
    }

    @keyframes recorrerMenu {
        0% {
            offset-distance: 0%;
            animation-timing-function: ease-in-out;
        }
        40% {
            offset-distance: 45%;
            animation-timing-function: linear;
        }
        50% {
            offset-distance: 50%;
            animation-timing-function: ease-in-out;
        }
        90% {
            offset-distance: 95%;
            animation-timing-function: linear;
        }
        100% {
            offset-distance: 100%;
        }
    }
    .portada-carrusel img {
    transition: opacity 0.8s ease, transform 0.6s ease;
}

.portada-carrusel:hover img.activa {
    transform: scale(1.05);
}
body::before {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(60, 110, 255, 0.55) 0%, transparent 38%),
        radial-gradient(circle at 75% 25%, rgba(255, 190, 100, 0.50) 0%, transparent 36%),
        radial-gradient(circle at 30% 80%, rgba(150, 70, 255, 0.50) 0%, transparent 36%),
        radial-gradient(circle at 80% 75%, rgba(30, 190, 200, 0.45) 0%, transparent 34%);
}

body.revuelto::before {
    animation: revolverColores 1.8s ease-in-out;
}

@keyframes revolverColores {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(1);
    }
    40% {
        opacity: 1;
        transform: rotate(90deg) scale(1.3);
    }
    100% {
        opacity: 0;
        transform: rotate(180deg) scale(1);
    }
}
footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}
/* =========================
   AVISO DE COOKIES
   ========================= */

#aviso-cookies {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
}

.cookies-contenido {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: white;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0.08)
    );

    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.65);
}

.cookies-texto {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookies-icono {
    font-size: 32px;
}

.cookies-texto h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.cookies-texto p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.cookies-botones {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookies-botones button {
    padding: 10px 20px;

    color: white;
    font-weight: bold;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.30),
        rgba(255, 255, 255, 0.10)
    );

    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.30),
        inset 0 1px 1px rgba(255, 255, 255, 0.55);

    cursor: pointer;
    transition: all 0.25s ease;
}

.cookies-botones button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.38),
        inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* En celulares */
@media (max-width: 600px) {
    #aviso-cookies {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookies-contenido {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .cookies-texto {
        align-items: flex-start;
    }

    .cookies-botones {
        width: 100%;
    }

    .cookies-botones button {
        flex: 1;
    }
}
/* =========================
   BOTÓN CHATBOT
   ========================= */

.chatbot-flotante {
    position: fixed;
    right: 20px;             /* Alineado exactamente con WhatsApp */
    bottom: 90px;            /* Posicionado justo encima de WhatsApp */

    width: 56px;             /* Mismo ancho que el de WhatsApp */
    height: 56px;            /* Mismo alto que el de WhatsApp */

    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.34),
        rgba(255,255,255,0.10)
    );

    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);

    color: white;
    font-size: 25px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.40),
        inset 0 1px 2px rgba(255,255,255,0.75);

    cursor: pointer;
    z-index: 9999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.chatbot-flotante:hover {
    transform: translateY(-4px) scale(1.08);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.50),
        0 0 18px rgba(255,255,255,0.20),
        inset 0 1px 2px rgba(255,255,255,0.85);
}

.chatbot-flotante:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .chatbot-flotante {
        right: 20px;
        bottom: 86px;        /* Evita que se solape con WhatsApp en celulares */
        width: 54px;
        height: 54px;
        font-size: 23px;
    }
}

/* =========================
   VENTANA DEL CHATBOT
   ========================= */

.chatbot {
    display: none;

    position: fixed;
    right: 25px;
    bottom: 95px;

    width: 350px;
    max-width: calc(100vw - 40px);
    max-height: 70vh;

    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.22),
            rgba(255,255,255,0.08)
        );

    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);

    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.45),
        inset 0 1px 2px rgba(255,255,255,0.65);

    overflow: hidden;

    z-index: 9998;
}

.chatbot.abierto {
    display: block;
    animation: aparecerChatbot 0.3s ease;
}

@keyframes aparecerChatbot {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Cabecera */

.chatbot-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.chatbot-cabecera strong {
    display: block;
    font-size: 17px;
}

.chatbot-cabecera span {
    display: block;
    margin-top: 4px;

    font-size: 12px;
    color: rgba(255,255,255,0.65);
}

/* Botón cerrar */

.chatbot-cerrar {
    width: 34px;
    height: 34px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: white;
    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition: 0.25s ease;
}

.chatbot-cerrar:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

.chatbot-cerrar:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

/* Mensajes */

.chatbot-mensajes {
    padding: 20px;

    max-height: calc(70vh - 80px);
    overflow-y: auto;
}

.mensaje-bot {
    padding: 14px 16px;
    margin-bottom: 12px;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;

    font-size: 14px;
    line-height: 1.5;

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.20);
}

/* Opciones */

.chatbot-opciones {
    display: flex;
    flex-direction: column;
    gap: 9px;

    margin-top: 16px;
}

.chatbot-opciones button {
    width: 100%;

    padding: 11px 14px;

    text-align: left;

    color: white;
    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.18),
            rgba(255,255,255,0.07)
        );

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.chatbot-opciones button:hover {
    transform: translateX(3px);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.30),
            rgba(255,255,255,0.12)
        );
}

/* Celulares */

@media (max-width: 600px) {
    .chatbot-mensajes {
    max-height: calc(75vh - 80px);
    overflow-y: auto;
}

    .chatbot {
        right: 18px;
        bottom: 85px;

        width: auto;
        max-width: none;

        left: 18px;

        border-radius: 22px;
    }
}
/* =========================
   PANTALLA DE TALLAS CHATBOT
   ========================= */

.chatbot-pantalla {
    display: none;
    padding: 20px;
    color: white;
}

.chatbot-pantalla h3 {
    margin-top: 0;
    font-size: 20px;
}

.chatbot-pantalla h4 {
    margin: 18px 0 10px;
    font-size: 16px;
}

.chatbot-pantalla p {
    line-height: 1.5;
    font-size: 14px;
}

.tabla-tallas {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.tabla-tallas div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tabla-tallas div:last-child {
    border-bottom: none;
}

.tabla-tallas span,
.tabla-tallas strong {
    text-align: center;
}

.consejo-tallas {
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    line-height: 1.5;
    font-size: 13px;
}

.chatbot-pantalla > button {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.14);
    color: white;
    font-weight: bold;
    cursor: pointer;
}
/* 1. Fondo de la página (El vidrio necesita un fondo atractivo para resaltar) */
body {
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
}

/* 2. Estilo para la Portada / Banner principal */
.portada {
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3)),
              url("Images/portada.jpg") center/cover no-repeat;
  margin-bottom: 40px;
}

/* 3. Rejilla organizada para los productos */
.lista-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

/* 4. Tarjetas con efecto LIQUID GLASS */
.producto {
  /* Fondo cristalino semi-transparente */
  background: rgba(255, 255, 255, 0.07);
  
  /* Desenfoque del fondo estilo vidrio */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  
  /* Borde fino tipo cristal */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 20px;
  
  /* Sombra flotante suave */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

/* Efecto al pasar el mouse por encima */
.producto:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Estilo para los botones y desplegables dentro del cristal */
.producto select,
.producto button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.producto select option {
  background: #1e293b; /* Color de fondo para las opciones del desplegable */
  color: #fff;
}

.producto button {
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  margin-top: 10px;
}

.producto button:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* MARCO CÁPSULA GLASS */
.filtro-marcas {
  max-width: 650px;
  margin: 20px auto 35px auto;
  padding: 12px 0;
  
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  
  overflow: hidden; /* Oculta lo que sale de la cápsula */
  position: relative;
}

/* PISTA EN MOVIMIENTO CONTINUO */
.carrusel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  /* El número 20s controla la velocidad (más alto = más lento) */
  animation: carruselInfinito 20s linear infinite;
}

/* Al pasar el mouse/cursor, el carrusel se detiene para hacer clic fácil */
.filtro-marcas:hover .carrusel-track {
  animation-play-state: paused;
}

/* ANIMACIÓN DE DESPLAZAMIENTO INFINITO */
@keyframes carruselInfinito {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* BOTONES INDIVIDUALES */
.btn-marca {
  flex: 0 0 auto;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-marca:hover,
.btn-marca.activo {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* En celulares donde no caben todos, se alinean a la izquierda para poder deslizar */
@media (max-width: 768px) {
  .filtro-marcas {
    justify-content: flex-start;
  }
}

/* Oculta barra en Chrome/Safari */
.filtro-marcas::-webkit-scrollbar {
  display: none;
}

/* BOTONES MÁS GRANDES CON LIQUID GLASS */
.btn-marca {
  /* Evita que los botones se deformen o se encojan en el carrusel */
  flex: 0 0 auto; 
  white-space: nowrap;

  /* Estilo Cristal (Liquid Glass) */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  
  /* Tamaño más grande y presencia */
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* EFECTO HOVER Y BOTÓN SELECCIONADO */
.btn-marca:hover,
.btn-marca.activo {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.btn-marca:hover,
.btn-marca.activo {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Insignia de marca dentro de cada tarjeta */
.insignia-marca {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}
/* 1. RESTAURAR TU FONDO ORIGINAL (Quita el fondo azul) */
body {
  /* Si tenías un fondo negro u otro color, ponlo aquí (ejemplo: #0f0f0f o #121212) */
  background-color: #0d0f12; 
  color: #ffffff;
}

/* 2. REJILLA DE 4 COLUMNAS PARA LOS PRODUCTOS */
.lista-productos {
  display: grid;
  /* Reducimos el ancho mínimo a 210px para que quepan 4 productos por fila */
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

/* 3. BOTONES DE MARCA MÁS GRANDES Y VISIBLES */
.btn-marca {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  
  /* Aumentamos el tamaño de texto y relleno */
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-marca:hover,
.btn-marca.activo {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* 4. INSIGNIA DE MARCA DENTRO DE LA TARJETA MÁS VISIBLE */
.insignia-marca {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.lista-productos {
  display: grid;
  /* Fuerza exactamente 4 columnas de igual tamaño */
  grid-template-columns: repeat(4, 1fr); 
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
}

/* Adaptación para pantallas de celular y tablets */
@media (max-width: 900px) {
  .lista-productos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .lista-productos {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   EFECTO RGB BLANCO GIRATORIO PARA LA PÍLDORA SELECCIONADA
   ========================================================= */

.btn-marca {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Estado activo cuando seleccionas la píldora */
.btn-marca.activo {
  border-color: transparent !important;
  color: #ffffff;
  /* Glow / Resplandor blanco exterior */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
              0 0 35px rgba(255, 255, 255, 0.2);
}

/* Haz de luz blanca giratorio */
.btn-marca.activo::before {
  content: '';
  position: absolute;
  top: -200%;
  left: -200%;
  width: 500%;
  height: 500%;
  background: conic-gradient(
    transparent 0deg,
    transparent 260deg,
    rgba(255, 255, 255, 0.2) 290deg,
    #ffffff 330deg,
    transparent 360deg
  );
  animation: girarRGBBlanco 2s linear infinite;
  z-index: -2;
}

/* Relleno interno estilo cristal que deja ver solo el borde brillante */
.btn-marca.activo::after {
  content: '';
  position: absolute;
  inset: 2px; /* Grosor del borde de luz giratorio (2px) */
  background: rgba(20, 25, 35, 0.85); /* Fondo oscuro cristalino */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 30px;
  z-index: -1;
}

/* Animación de giro del halo blanco */
@keyframes girarRGBBlanco {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}/* Estilos base de la navegación */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  transition: all 0.3s ease;
}
/* Contenedor principal del carrusel */
.brands-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px; /* Ajusta según el ancho de tu buscador */
  margin: 15px auto;
  gap: 8px;
}

/* Tira horizontal de botones */
.brands-carousel {
  display: flex;
  flex-wrap: nowrap; /* EVITA QUE SE SALGAN HACIA ABAJO */
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Oculta barra en Firefox */
  -ms-overflow-style: none; /* Oculta barra en IE/Edge */
  padding: 6px 2px;
  width: 100%;
}

.brands-carousel::-webkit-scrollbar {
  display: none; /* Oculta barra en Chrome/Safari */
}

/* Estilo de cada cápsula de marca */
.brand-chip {
  flex: 0 0 auto; /* OBLIGA A MANTENER EL TAMAÑO SIN DEFORMARSE */
  white-space: nowrap; /* EVITA CORTE DE TEXTO EN VARIAS LÍNEAS */
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.brand-chip:hover,
.brand-chip.active {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Flechas laterales */
.carousel-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  backdrop-filter: blur(5px);
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* Contenedor sin flechas */
.brands-carousel-wrapper {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 10px;
}

.brands-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 5px;
  width: 100%;
}

.brands-carousel::-webkit-scrollbar {
  display: none;
}

/* Chip / Botón Base */
.brand-chip {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 22px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(10px);
  overflow: hidden; /* Mantiene la luz blanca dentro del borde */
  transition: all 0.3s ease;
}

/* Estado Activo: Resplandor blanco + Luz blanca orbitando */
.brand-chip.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* La "bolita" / destello de luz blanca que se mueve en el borde */
.brand-chip.active::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    transparent,
    transparent,
    #ffffff
  );
  animation: rotateLight 2.5s linear infinite;
  z-index: -1;
}

/* Máscara interior para que la luz solo se vea como un borde brillante */
.brand-chip.active::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: #0f111a; /* Pon aquí el color exacto del fondo de tu web */
  border-radius: 24px;
  z-index: -1;
}

@keyframes rotateLight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.brand-chip:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
.auto-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-nav.prev { left: 12px; }
.carousel-nav.next { right: 12px; }
/* === Arreglos carrusel de marcas === */
.brands-carousel {
  scroll-behavior: auto; /* smooth rompe el giro automático */
}
.brand-chip.active::after {
  background: #000; /* mismo color del fondo de la web */
}
/* ===== FONDO PREMIUM "AURORA" ===== */
html {
  background: #07080d;
}
body {
  background: transparent !important;
  background-size: auto !important;
  animation: none !important;
  color: #fff;
  min-height: 100vh;
}

html::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 40% at 18% 22%, rgba(60, 110, 255, 0.34) 0%, transparent 70%),
    radial-gradient(36% 36% at 82% 18%, rgba(255, 190, 100, 0.20) 0%, transparent 70%),
    radial-gradient(42% 42% at 72% 82%, rgba(150, 70, 255, 0.30) 0%, transparent 70%),
    radial-gradient(38% 38% at 22% 85%, rgba(30, 190, 200, 0.22) 0%, transparent 70%);
  animation: auroraFlotar 38s ease-in-out infinite alternate;
  will-change: transform;
}

html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.45) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@keyframes auroraFlotar {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, -4%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-4%, 3%, 0) rotate(-6deg) scale(1.04); }
}

/* Destello al agregar al carrito */
body::before {
  z-index: -1 !important;
  inset: 0 !important;
  mix-blend-mode: screen;
  background:
    radial-gradient(45% 45% at 25% 30%, rgba(60, 110, 255, 0.55) 0%, transparent 70%),
    radial-gradient(40% 40% at 78% 25%, rgba(255, 190, 100, 0.45) 0%, transparent 70%),
    radial-gradient(45% 45% at 70% 80%, rgba(150, 70, 255, 0.50) 0%, transparent 70%),
    radial-gradient(40% 40% at 25% 80%, rgba(30, 190, 200, 0.45) 0%, transparent 70%) !important;
}
body.revuelto::before {
  animation: destelloCarrito 1.4s cubic-bezier(.22, .8, .3, 1) !important;
}
@keyframes destelloCarrito {
  0%   { opacity: 0;   transform: scale(0.9) rotate(0deg); }
  35%  { opacity: 0.9; transform: scale(1.08) rotate(25deg); }
  100% { opacity: 0;   transform: scale(1.2) rotate(60deg); }
}

@media (prefers-reduced-motion: reduce) {
  html::before { animation: none; }
}
/* ===== TARJETAS MÁS TRANSPARENTES (liquid glass) ===== */
.producto {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.01) 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(6px) saturate(170%);
  -webkit-backdrop-filter: blur(10px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 1px 0 1px rgba(255, 255, 255, 0.18),
    inset -1px 0 1px rgba(255, 255, 255, 0.08);
}
.producto::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 35%,
    transparent 100%
  );
}
.producto:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.02) 70%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.45);
}
/* === CELULAR: centrar las tarjetas === */
@media (max-width: 500px) {
  .lista-productos {
    justify-items: center;
  }
  .producto {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 340px;
    flex: 1 1 auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center;
  }
}
/* === CELULAR: menú más compacto y ordenado === */
@media (max-width: 700px) {
  nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    row-gap: 2px;
    width: calc(100% - 20px);
    margin: 10px auto 0;
    top: 10px;
    padding: 12px 10px 10px !important;
    border-radius: 26px !important;
  }
  nav::before {
    border-radius: 26px 26px 0 0 !important;
  }
  @supports (offset-path: inset(0 round 26px)) {
    nav::after {
      offset-path: inset(0 round 26px);
    }
  }
  nav .nav-logo {
    grid-column: 1 / -1;
    margin: 0 auto 6px !important;
  }
  nav .nav-logo img {
    max-height: 34px;
    width: auto;
  }
  nav .separador-menu {
    display: none;
  }
  nav .menu-item {
    display: block;
    text-align: center;
  }
  nav a {
    display: block;
    margin: 0 !important;
    padding: 9px 2px;
    font-size: 13px !important;
    letter-spacing: 0.2px !important;
    text-align: center;
    white-space: nowrap;
  }
}
/* Botones flotantes del mismo tamaño y perfectamente alineados */
.chatbot-flotante {
  width: 58px;
  height: 58px;
  right: 20px;
}
@media (max-width: 600px) {
  .chatbot-flotante {
    width: 58px;
    height: 58px;
    right: 20px;
  }
}/* Centrar el icono dentro del botón del chatbot */
.chatbot-flotante {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

/* Mismo tamaño que el de WhatsApp para que queden alineados */
.chatbot-flotante {
  width: 58px;
  height: 58px;
}
@media (max-width: 600px) {
  .chatbot-flotante {
    width: 58px;
    height: 58px;
  }
}
/* === Halloween: efecto al agregar al carrito === */
.halloween-particula {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation-name: halloweenVolar;
  animation-timing-function: cubic-bezier(.2, .7, .3, 1);
  animation-fill-mode: forwards;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
@keyframes halloweenVolar {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(0deg); }
  15%  { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.1) rotate(var(--giro));
  }
}