@font-face {
    font-family: "Matcha Style";
    src: url("./Fuentes/Matcha Style.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}
nav {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 12px 25px;
    background-color: rgba(20, 55, 120, 0.45);
    border-radius: 12px;
    text-align: center;
    white-space: nowrap;
}

nav a {
    display: inline-block;
    margin-right: 12px;
    padding: 10px 22px;
    text-decoration: none;
    color: white;
    font-family: "Matcha Style", cursive;
    font-weight: bold;
    font-size: 18px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

nav a:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

nav a:active {
    transform: translateY(0) scale(0.98);
}

nav a:nth-child(1) {
    background-color: #FFD600;
    color: white;
}

nav a:nth-child(2) {
    background-color: #e53935;
}

#boton-contacto {
    background-color: #43A047;
    color: white;
}

nav a:last-child {
    margin-right: 0;
}

main {
    text-align: center;
    padding: 40px 20px;
}

main h2 {
    font-size: 32px;
    margin-bottom: 10px;
}
main p {
    font-size: 18px;
    margin-top: 10px;
}
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
header {
    padding: 5px 0;
}
body {
    background-image: url("Imagenes/Fondo.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
main h2,
main p,
footer p {
    color: white;
}
main h2,
main p {
    font-family: "Matcha Style", cursive;
}
main h3 {
    color: white;
}
main img {
    width: 200px;
    height: auto;
}
.producto {
    display: inline-block;
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    text-align: center;
    width: 260px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
border: 3px solid rgba(255, 255, 255, 0.8);
}
.producto p {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
}
.producto button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #FFD600;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
transition: transform 0.2s;
}
.producto button:hover {
    transform: scale(1.05);
}

/* ===== BOTÓN FLOTANTE DEL CARRITO ===== */

#carrito {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;

    display: block;
    width: max-content;
    height: auto;
    padding: 10px 15px;

    background-color: #FFD600;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== MENÚ COMPLETO DEL CARRITO ===== */

#menu-carrito {
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);

    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: 75vh;
    overflow-y: auto;
    box-sizing: border-box;

    padding: 20px;
    background: #ffffff !important;
    color: #222222;
    border: 2px solid #dddddd;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#menu-carrito h3 {
    display: block;
    color: #222222;
    font-size: 22px;
    margin: 0 35px 15px 0;
    padding: 0 0 10px;
    background: transparent;
    border-bottom: 1px solid #dddddd;
}

#cerrar-carrito {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: #555555;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== LISTA DE PRODUCTOS ===== */

#lista-carrito {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

#lista-carrito .item-carrito {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 0;
    box-sizing: border-box;

    background: #f5f5f5;
    color: #222222;
    border: 1px solid #dddddd;
    border-radius: 10px;
}

#menu-carrito #lista-carrito .item-carrito strong {
    display: block;
    background: transparent;
    color: #222222;
    padding: 0;
    margin-bottom: 8px;
}

#menu-carrito #lista-carrito .item-carrito p {
    display: block;
    background: transparent;
    color: #222222;
    padding: 0;
    margin: 0 0 10px;
}

#menu-carrito .controles-cantidad {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
    background: transparent;
}

#menu-carrito .controles-cantidad span {
    min-width: 25px;
    text-align: center;
    font-weight: bold;
    color: #222222;
}

/* ===== TOTAL DEL PEDIDO ===== */

#menu-carrito #total-carrito {
    display: block;
    color: #222222;
    font-size: 20px;
    font-weight: bold;
    margin-top: 18px;
    padding: 12px 0 0;
    background: transparent;
    border-top: 1px solid #dddddd;
}

.eslogan {
    text-align: center;
    font-family: "Matcha Style", cursive;
    font-size: 64px;
    margin:  0;
    position: relative;
    top: -20px;
    color: white;
}

.eslogan:first-of-type {
    margin-bottom: 10px;
}
.eslogan:nth-of-type(2) {
    font-size: 42px;
}
.eslogan span:nth-child(4n+1) {
    color: #FFD600;
}

.eslogan span:nth-child(4n+2) {
    color: #e53935;
}

.eslogan span:nth-child(4n+3) {
    color: #43A047;
}

.eslogan span:nth-child(4n+4) {
    color: #2196F3;
}
main h2 span:nth-child(4n+1) {
    color: #FFD600;
}

main h2 span:nth-child(4n+2) {
    color: #e53935;
}

main h2 span:nth-child(4n+3) {
    color: #43A047;
}

main h2 span:nth-child(4n+4) {
    color: #2196F3;
}
main p span:nth-child(4n+1) {
    color: #FFD600;
}

main p span:nth-child(4n+2) {
    color: #e53935;
}

main p span:nth-child(4n+3) {
    color: #43A047;
}

main p span:nth-child(4n+4) {
    color: #2196F3;
}
header a {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s;
}

header a:hover {
    transform: scale(1.05);
}
#contenedor-contacto {
    position: relative;
    display: inline-block;
}
#contenedor-contacto:hover #menu-contacto,
#contenedor-contacto:focus-within #menu-contacto {
    display: block;
}
#menu-contacto {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    transform: none;
    width: max-content;
    min-width: 180px;
    padding: 10px;
    background-color: rgba(20, 55, 120, 0.98);
    border-radius: 12px;
    text-align: center;
    z-index: 99999;
    box-sizing: border-box;
}

#menu-contacto h3 {
    color: white;
    margin-bottom: 10px;
}

#menu-contacto a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px 0;
    padding: 9px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    white-space: nowrap;
}
#menu-contacto svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
#menu-contacto a:nth-of-type(1) {
    background-color: #25D366;
}

#menu-contacto a:nth-of-type(2) {
    background-color: #E1306C;
}

#menu-contacto a:nth-of-type(3) {
    background-color: #1877F2;
}

#menu-contacto a:nth-of-type(4) {
    background-color: #000000;
}

.titulo-pokemon {
    background: #2196F3;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    width: 95%;
    margin: 30px auto 20px auto;
}

.buscador-principal {
    display: inline-flex;
    align-items: center;
    vertical-align: top;
    margin-left: 0;
    height: 43px;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.buscador-principal:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.buscador-principal input {
    width: 180px;
    height: 43px;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 18px;
}

.buscador-principal button {
    height: 43px;
    border: none;
    background-color: #FFD600;
    color: black;
    padding: 0 15px;
    cursor: pointer;
    font-size: 18px;
}

/* ===== TARJETAS DE POKÉMON ===== */

.productos-pokemon {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 15px 10px 25px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.tarjeta-pokemon {
    flex: 0 0 260px;
    background: white;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-pokemon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}


.imagen-pokemon {
    display: block;
    width: 100%;
    height: 220px;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 20px;
    clip-path: inset(0 round 20px);
    cursor: pointer;
    background: transparent;
    transition: transform 0.25s ease;
}

.imagen-pokemon:hover {
    transform: scale(1.03);
}


.tarjeta-pokemon h3 {
    color: #222;
    font-size: 20px;
    margin-top: 12px;
}

.tarjeta-pokemon p {
    color: #222;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
}

.tarjeta-pokemon .boton-agregar-pokemon {
    width: 100%;
    margin-top: 15px;
    padding: 11px 8px;
    border: none;
    border-radius: 9px;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tarjeta-pokemon .boton-agregar-pokemon:hover {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.tarjeta-pokemon:nth-child(4n+1) .boton-agregar-pokemon {
    background-color: #FFD600;
}

.tarjeta-pokemon:nth-child(4n+2) .boton-agregar-pokemon {
    background-color: #e53935;
    color: white;
}

.tarjeta-pokemon:nth-child(4n+3) .boton-agregar-pokemon {
    background-color: #43A047;
    color: white;
}

.tarjeta-pokemon:nth-child(4n+4) .boton-agregar-pokemon {
    background-color: #2196F3;
    color: white;
}

/* ===== GALERÍA DE FOTOS ===== */

.galeria-pokemon {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.galeria-pokemon.abierta {
    display: flex;
}

.contenido-galeria-pokemon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 850px;
}

.foto-galeria-pokemon {
    display: block;
    max-width: 75%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
}

.galeria-pokemon button {
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    background: white;
    color: #222;
}

.galeria-pokemon .cerrar-galeria-pokemon {
    position: absolute;
    top: -50px;
    right: 0;
}

@media (max-width: 600px) {
    .tarjeta-pokemon {
        flex-basis: 230px;
    }

    .imagen-pokemon {
        height: 190px;
    }

    .contenido-galeria-pokemon {
        gap: 8px;
    }

    .foto-galeria-pokemon {
        max-width: 70%;
    }

    .galeria-pokemon button {
        width: 38px;
        height: 38px;
    }
}

/* ===== CARRUSEL POKÉMON CON FLECHAS ===== */

.carrusel-pokemon {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.ventana-pokemon {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.productos-pokemon {
    display: flex;
    gap: 22px;
    padding: 15px 5px 25px;
    overflow: visible;
    scroll-snap-type: none;
    transition: transform 0.35s ease;
    will-change: transform;
}

.tarjeta-pokemon {
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 0;
    box-sizing: border-box;
}

.flecha-pokemon {
    flex: 0 0 42px;
    width: 42px;
    height: 52px;
    border: 2px solid white;
    border-radius: 12px;
    background: #FFD600;
    color: #222;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.flecha-pokemon:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.flecha-pokemon:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

@media (max-width: 900px) {
    .tarjeta-pokemon {
        flex-basis: calc((100% - 44px) / 3);
    }
}

@media (max-width: 650px) {
    .tarjeta-pokemon {
        flex-basis: calc((100% - 22px) / 2);
    }

    .carrusel-pokemon {
        gap: 6px;
    }

    .flecha-pokemon {
        flex-basis: 32px;
        width: 32px;
        height: 44px;
        font-size: 17px;
    }
}
/* Título Peluches destacados */
.titulo-destacados {
    margin-top: 80px !important;
    margin-bottom: 20px;
    padding: 12px 24px;
    background-color: #e53935;
    border-radius: 10px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    color: white !important;
}

main h2.titulo-destacados span {
    color: white !important;
}
/* ===== TÍTULO SKZOO - STRAY KIDS ===== */

.titulo-skzoo {
    background-color: #8E44AD;
    color: white !important;
    padding: 12px 24px;
    border-radius: 10px;
    width: 95%;
    margin: 30px auto 20px auto;
}

main h2.titulo-skzoo span {
    color: white !important;
}
/* ===== TÍTULO MUNDO LYNA ===== */
.titulo-lyna {
    background-color: #F06292;
    color: white !important;
    padding: 12px 24px;
    border-radius: 10px;
    width: 95%;
    margin: 30px auto 20px auto;
}

/* ===== BOTÓN HACER PEDIDO POR WHATSAPP ===== */

#hacer-pedido-whatsapp {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 14px 18px;

    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;

    font-size: 16px;
    font-weight: bold;
    font-family: inherit;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;

    cursor: pointer;
    box-shadow: 0 4px 10px rgba(18, 140, 126, 0.3);

    transition: transform 0.2s ease, box-shadow 0.2s ease,
                filter 0.2s ease;
}

#hacer-pedido-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 7px 16px rgba(18, 140, 126, 0.4);
    filter: brightness(1.08);
}

#hacer-pedido-whatsapp:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(18, 140, 126, 0.25);
}

/* ===== AJUSTES DEL MENÚ DEL CARRITO ===== */

#menu-carrito {
    background-image: none !important;
    background-color: #ffffff !important;
    color: #222222;
}

/* ===== SEPARACIÓN DE PRODUCTOS EN EL CARRITO ===== */

#lista-carrito {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#lista-carrito .item-carrito {
    padding: 12px;
    margin: 0;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

#lista-carrito .item-carrito strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

#lista-carrito .item-carrito p {
    margin: 0 0 10px;
}

/* ===== UN SOLO PANEL PARA TODO EL CARRITO ===== */

#menu-carrito {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
}

#lista-carrito {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

#lista-carrito .item-carrito {
    width: 100%;
    box-sizing: border-box;
}


/* ===== CARRITO FLOTANTE ===== */


/* ===== CARRITO FLOTANTE ===== */


/* ===== BOTÓN FIJO DEL CARRITO ===== */
#carrito {
    position: fixed;
    top: 20px;
    right: 22px;
    bottom: auto;
    z-index: 1000;
    display: block;
    width: max-content;
    height: auto;
    padding: 10px 15px;
    background-color: #FFD600;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== CORRECCIÓN FINAL DEL MENÚ DEL CARRITO ===== */
#menu-carrito {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    bottom: auto;
    right: 0;
    left: auto;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    box-sizing: border-box;
    background: #ffffff !important;
    color: #222222;
    z-index: 1001;
}

/* ===== CAJITAS DE COLORES PARA LOS PRODUCTOS DEL CARRITO ===== */

#lista-carrito .item-carrito:nth-child(4n + 1) {
    background-color: rgba(255, 214, 0, 0.25);
    border: 2px solid #FFD600;
}

#lista-carrito .item-carrito:nth-child(4n + 2) {
    background-color: rgba(229, 57, 53, 0.15);
    border: 2px solid #e53935;
}

#lista-carrito .item-carrito:nth-child(4n + 3) {
    background-color: rgba(67, 160, 71, 0.18);
    border: 2px solid #43A047;
}

#lista-carrito .item-carrito:nth-child(4n + 4) {
    background-color: rgba(33, 150, 243, 0.16);
    border: 2px solid #2196F3;
}

/* ===== MINIATURAS DENTRO DE LAS CAJITAS DEL CARRITO ===== */

#lista-carrito .item-carrito .contenido-item-carrito {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

#lista-carrito .item-carrito .detalle-item-carrito {
    flex: 1 1 auto;
    min-width: 0;
}

#lista-carrito .item-carrito .miniatura-carrito {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    max-width: 64px;
    object-fit: contain;
    border-radius: 8px;
    box-sizing: border-box;
}
/* ===== DESCRIPCIÓN DE POKÉMON ===== */

.descripcion-pokemon {
    max-width: none;
    width: 95%;
    box-sizing: border-box;
    margin: 20px auto 30px;
    padding: 22px;
    background: #2196F3;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    color: white;
    
    text-align: center;
}

.descripcion-pokemon h3 {
    margin: 0 0 12px;
    color: #FFD966;
    font-size: 1.35rem;
    font-family: "Matcha Style", cursive;
}

.descripcion-pokemon p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.caracteristicas-pokemon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.caracteristicas-pokemon span {
    padding: 9px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}

.descripcion-pokemon .cierre-pokemon {
    margin-bottom: 0;
    color: #FFE082;
    font-weight: bold;
}

@media (max-width: 600px) {
    .descripcion-pokemon {
        padding: 16px;
        margin: 16px auto 22px;
    }

    .descripcion-pokemon h3 {
        font-size: 1.15rem;
    }

    .descripcion-pokemon p {
        font-size: 0.92rem;
    }

    .caracteristicas-pokemon {
        gap: 8px;
    }
}
/* ===== DESCRIPCIÓN DE SKZOO ===== */

.descripcion-skzoo {
    max-width: none;
    width: 95%;
    box-sizing: border-box;
    margin: 20px auto 30px;
    padding: 22px;
    background: #8E44AD;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    color: white;
    text-align: center;
}

.descripcion-skzoo h3 {
    margin: 0 0 12px;
    color: white;
    font-size: 1.35rem;
}

.descripcion-skzoo p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.caracteristicas-skzoo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.caracteristicas-skzoo span {
    padding: 9px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}

.descripcion-skzoo .cierre-skzoo {
    margin-bottom: 0;
    color: white;
    font-weight: bold;
}

@media (max-width: 600px) {
    .descripcion-skzoo {
        padding: 16px;
        margin: 16px auto 22px;
    }

    .descripcion-skzoo h3 {
        font-size: 1.15rem;
    }

    .descripcion-skzoo p {
        font-size: 0.92rem;
    }

    .caracteristicas-skzoo {
        gap: 8px;
    }
}
/* ===== DESCRIPCIÓN DE MUNDO LYNA ===== */

.descripcion-lyna {
    max-width: none;
    width: 95%;
    box-sizing: border-box;
    margin: 20px auto 30px;
    padding: 22px;
    background: #F06292;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    color: white;
    text-align: center;
}

.descripcion-lyna h3 {
    margin: 0 0 12px;
    color: white;
    font-size: 1.35rem;
}

.descripcion-lyna p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.caracteristicas-lyna {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.caracteristicas-lyna span {
    padding: 9px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}

.descripcion-lyna .cierre-lyna {
    margin-bottom: 0;
    color: white;
    font-weight: bold;
}

@media (max-width: 600px) {
    .descripcion-lyna {
        padding: 16px;
        margin: 16px auto 22px;
    }

    .descripcion-lyna h3 {
        font-size: 1.15rem;
    }

    .descripcion-lyna p {
        font-size: 0.92rem;
    }

    .caracteristicas-lyna {
        gap: 8px;
    }
}

/* ===== ANIMACIÓN DEL BANNER PICHU PELUCHES ===== */

.eslogan {
    animation: aparecer-eslogan 1.2s ease-out both;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.eslogan:nth-of-type(2) {
    animation-delay: 0.25s;
}

@keyframes aparecer-eslogan {
    from {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Evita animaciones si el visitante las tiene desactivadas */
@media (prefers-reduced-motion: reduce) {
    .eslogan {
        animation: none;
        filter: none;
    }
}

/* ===== DESTELLO DEL ESLOGAN ===== */

.eslogan span {
    display: inline-block;
    animation: destello-letras 3s ease-in-out infinite;
}

.eslogan span:nth-child(2n) {
    animation-delay: 0.3s;
}

.eslogan span:nth-child(3n) {
    animation-delay: 0.6s;
}

@keyframes destello-letras {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 0 transparent;
    }

    50% {
        filter: brightness(1.5);
        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.8),
            0 0 18px rgba(255, 255, 255, 0.45);
    }
}

/* ===== ESTRELLITAS FLOTANTES DEL BANNER ===== */

header {
    position: relative;
    overflow: visible;
}

header::before,
header::after {
    content: "✦";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    font-size: 28px;
    color: #FFD600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    animation: estrellas-flotantes 3s ease-in-out infinite;
}

/* Primera estrella */
header::before {
    top: 25px;
    left: 15%;
}

/* Segunda estrella */
header::after {
    top: 65px;
    right: 15%;
    color: #ffffff;
    font-size: 22px;
    animation-delay: 1.5s;
}

@keyframes estrellas-flotantes {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.45;
    }

    50% {
        transform: translateY(-12px) rotate(45deg) scale(1.35);
        opacity: 1;
    }
}
/* ===== ESTRELLAS FLOTANTES DETRAS DEL CONTENIDO ===== */

#cielo-estrellas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

#cielo-estrellas .estrella {
    position: absolute;
    display: block;
    line-height: 1;
    animation: flotar-estrella var(--duracion) ease-in-out infinite;
    animation-delay: var(--demora);
    will-change: transform, opacity;
}

@keyframes flotar-estrella {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-18px) rotate(35deg) scale(1.2);
        opacity: 1;
    }
}
body {
    isolation: isolate;
}

/* ===== ANIMACIÓN DEL CARRITO ===== */

@keyframes salto-icono-carrito {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    35% {
        transform: translateY(-7px) scale(1.2);
    }

    65% {
        transform: translateY(0) scale(0.95);
    }
}

@keyframes pulso-cantidad-carrito {
    0%, 100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.4);
    }
}

#carrito > svg.animar-carrito-icono {
    animation: salto-icono-carrito 0.45s ease;
}

#cantidad-carrito {
    display: inline-block;
}

#cantidad-carrito.animar-cantidad-carrito {
    animation: pulso-cantidad-carrito 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    #carrito > svg.animar-carrito-icono,
    #cantidad-carrito.animar-cantidad-carrito {
        animation: none;
    }
}

/* ===== INTRO ANIMADA PICHU PELUCHES ===== */

#intro-pichu {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    isolation: isolate;

        /* MISMO FONDO QUE LA PÁGINA */
    background: transparent;

    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease;
}

/* CONTENEDOR DEL LOGO */

.intro-contenido {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* LOGO MÁS CHICO */

#logo-intro {
    width: min(58vw, 280px);
    max-height: 55vh;
    height: auto;
    object-fit: contain;
    border-radius: 50%;

    animation: entrada-logo 1.2s ease-out both;
}

/* MOVIMIENTO DEL FONDO */

@keyframes fondo-pichu {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ENTRADA CON REBOTE */

@keyframes entrada-logo {
    0% {
        opacity: 0;
        transform: translateY(-70vh) scale(0.65);
    }

    65% {
        opacity: 1;
        transform: translateY(0) scale(1.08);
    }

    80% {
        transform: translateY(-15px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* GIRO CONTINUO COMO CARGA */

@keyframes giro-logo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* DESVANECIMIENTO FINAL */

#intro-pichu.intro-finalizada {
    opacity: 0;
    pointer-events: none;
}
/* ===== TÍTULO CATÁLOGO COMPLETO ===== */

.titulo-catalogo-completo {
    background-color: #008B8B;
    color: white !important;
    padding: 12px 24px;
    border-radius: 10px;
    width: 95%;
    margin: 30px auto 20px auto;
    text-align: center;
}

/* ===== FIN TÍTULO CATÁLOGO COMPLETO ===== */
/* ===== TARJETAS MUNDO LYNA ===== */

#productos-lyna .tarjeta-pokemon {
    flex: 0 0 260px;
}

/* ===== FIN TARJETAS MUNDO LYNA ===== */
/* ===== CATÁLOGO COMPLETO ===== */

#productos-catalogo-completo {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 95%;
    margin: 20px auto;
}

#productos-catalogo-completo .tarjeta-pokemon {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

#productos-catalogo-completo .imagen-pokemon {
    cursor: pointer;
}

@media (max-width: 900px) {
    #productos-catalogo-completo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    #productos-catalogo-completo {
        grid-template-columns: 1fr;
    }
}

/* Botón para mostrar más productos del catálogo */
#boton-mostrar-catalogo {
    display: block;
    margin: 25px auto 35px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2196F3, #1565C0);
    color: white;
    font-family: "Matcha Style", cursive;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #FFD600;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto al pasar el mouse */
#boton-mostrar-catalogo:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.45);
}

/* Efecto al hacer clic */
#boton-mostrar-catalogo:active {
    transform: scale(0.97);
}

/* Mensaje del buscador */
#mensaje-busqueda {
    display: block;
    width: fit-content;
    max-width: 90%;
    margin: 8px auto 18px;
    padding: 8px 16px;
    color: #ffffff;
    background: rgba(21, 101, 192, 0.92);
    border: 2px solid #FFD600;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Ocultar el mensaje cuando está vacío */
#mensaje-busqueda:empty {
    display: none;
}

/* ===== MENÚ DESPLEGABLE DE PELUCHES ===== */

#contenedor-peluches {
    position: relative;
    display: inline-block;
}

#menu-peluches {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(20, 55, 120, 0.97);
    border-radius: 10px;
    padding: 8px;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#menu-peluches a.categoria-menu {
    display: block;
    padding: 10px 12px;
    margin: 4px 0;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    white-space: nowrap;
}

#menu-peluches a.categoria-menu:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* Colores de las categorías */
.categoria-football { background: #1565C0; }
.categoria-skozoo { background: #8E44AD; }
.categoria-lyna { background: #F06292; }
.categoria-stitch { background: #039BE5; }
.categoria-bts { background: #7E57C2; }
.categoria-heroes { background: #E53935; }
.categoria-pokemon { background: #43A047; }

/* Ajustes del menú desplegable */
#contenedor-peluches {
    position: relative;
}

#menu-peluches {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
}

/* El botón Peluches conserva el aspecto de la navegación */
#boton-peluches {
    background-color: transparent;
    color: inherit;
    border: none;
    box-shadow: none;
    text-decoration: none;
}
/* Botón Peluches en rojo */
#boton-peluches {
    background-color: #E53935 !important;
    color: white !important;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
}

/* Rojo más oscuro al pasar el mouse */
#boton-peluches:hover {
    background-color: #C62828 !important;
}

/* ===== CIELO DE ESTRELLAS EN LA INTRO ===== */

#intro-pichu {
    background-image: url("Imagenes/Fondo.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#intro-pichu #cielo-estrellas {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: transparent;
}

#intro-pichu .intro-contenido {
    z-index: 1;
}

/* ===== BOTÓN VOLVER ARRIBA ===== */

#volver-arriba {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9990;

    width: 50px;
    height: 50px;
    border: 3px solid #ffffff;
    border-radius: 50%;

   background: #29B6F6;
    color: #111111;

    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease,
        visibility 0.25s ease;
}

#volver-arriba.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#volver-arriba:hover {
   background: #81D4FA;
    transform: translateY(-4px);
}

#volver-arriba:active {
    transform: scale(0.92);
}

@media (max-width: 600px) {
    #volver-arriba {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px;
        font-size: 28px;
    }
}

/* ===== PIE DE PAGINA PICHU PELUCHES ===== */

#pie-pichu {
    width: min(1100px, 94%);
    box-sizing: border-box;
    margin: 45px auto 20px;
    padding: 28px;
    border-radius: 18px;

    background: linear-gradient(135deg, #164A8A, #0D3268);
    color: #ffffff;
    border: 2px solid #29B6F6;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

#pie-pichu .pie-encabezado {
    text-align: center;
    margin-bottom: 24px;
}

#pie-pichu .pie-encabezado h2 {
    margin: 0 0 8px;
    color: #81D4FA;
    font-size: clamp(24px, 4vw, 32px);
}

#pie-pichu .pie-encabezado p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

#pie-pichu .pie-contenido {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

#pie-pichu .pie-contacto,
#pie-pichu .pie-mapa {
    min-width: 0;
}

#pie-pichu h3 {
    color: #81D4FA;
    font-size: 21px;
    margin: 0 0 20px;
}

#pie-pichu .dato-pie {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

#pie-pichu .icono-pie {
    font-size: 23px;
    line-height: 1.4;
    flex-shrink: 0;
}

#pie-pichu .dato-pie strong {
    display: block;
    color: #B3E5FC;
    margin-bottom: 5px;
}

#pie-pichu .dato-pie p,
#pie-pichu .dato-pie a {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#pie-pichu .dato-pie a {
    text-decoration: none;
}

#pie-pichu .dato-pie a:hover {
    color: #81D4FA;
    text-decoration: underline;
}

#pie-pichu .mapa-marco {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 2px solid #81D4FA;
    border-radius: 12px;
    box-sizing: border-box;
    background: #ffffff;
}

#pie-pichu .mapa-marco iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#pie-pichu .boton-mapa {
    display: inline-block;
    margin-top: 14px;
    padding: 11px 18px;
    border-radius: 9px;

    background: #29B6F6;
    color: #102A43;
    font-weight: bold;
    text-decoration: none;

    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

#pie-pichu .boton-mapa:hover {
    background: #81D4FA;
    transform: translateY(-2px);
}

#pie-pichu .pie-final {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(129, 212, 250, 0.5);
    text-align: center;
}

#pie-pichu .pie-final p {
    margin: 0;
    color: #B3E5FC;
    font-size: 13px;
}

/* ADAPTACION PARA CELULARES */

@media (max-width: 700px) {
    #pie-pichu {
        width: 94%;
        padding: 22px 17px;
        margin-top: 30px;
    }

    #pie-pichu .pie-contenido {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #pie-pichu .mapa-marco {
        height: 260px;
    }
}

/* ===== AJUSTES DEL PIE DE PAGINA ===== */

#pie-pichu {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 22px max(20px, calc((100% - 1100px) / 2));

    border-radius: 0;
    border: 0;
    border-top: 3px solid #29B6F6;

    background: linear-gradient(135deg, #164A8A, #0D3268);
    color: #ffffff;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
}

#pie-pichu .pie-encabezado {
    display: none;
}

#pie-pichu .pie-contenido {
    gap: 28px;
    align-items: center;
}

#pie-pichu .pie-contacto h3 {
    text-align: center;
    margin-bottom: 18px;
}

#pie-pichu .dato-pie {
    margin-bottom: 12px;
}

#pie-pichu .mapa-marco {
    height: 220px;
}

#pie-pichu .pie-final {
    margin-top: 18px;
    padding-top: 12px;
}

@media (max-width: 700px) {
    #pie-pichu {
        padding: 22px 18px 14px;
    }

    #pie-pichu .pie-contenido {
        gap: 22px;
    }

    #pie-pichu .mapa-marco {
        height: 200px;
    }
}

/* ===== ADAPTACIÓN PARA CELULARES ===== */
@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    section,
    header,
    main,
    footer {
        max-width: 100%;
    }

    input,
    button,
    select,
    textarea {
        max-width: 100%;
    }
}

/* ===== ENCABEZADO ADAPTADO A CELULARES ===== */
@media screen and (max-width: 600px) {

    /* Título Pichu Peluches */
    .eslogan {
        font-size: clamp(30px, 8.5vw, 44px) !important;
        line-height: 1.15;
        top: 0;
        padding: 0 8px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .eslogan:nth-of-type(2) {
        font-size: clamp(22px, 6vw, 30px) !important;
    }

    /* Menú de navegación */
    nav {
        width: 96%;
        padding: 8px 6px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: normal;
    }

    nav a {
        margin: 0;
        padding: 9px 10px;
        font-size: 15px;
        white-space: nowrap;
    }

    /* Buscador: ocupa una fila completa */
    .buscador-principal {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0;
        flex: 0 0 100%;
    }

    .buscador-principal input {
        width: 0;
        min-width: 0;
        flex: 1;
        font-size: 16px;
    }

    .buscador-principal button {
        flex-shrink: 0;
        padding: 0 12px;
        font-size: 16px;
    }

    /* Evita que el menú desplegable se corte */
    #contenedor-contacto,
    #contenedor-peluches {
        position: relative;
    }

    #menu-contacto,
    #menu-peluches {
        max-width: calc(100vw - 24px);
    }
}

/* ===== CARRUSELES: UNA TARJETA EN CELULARES ===== */
@media screen and (max-width: 600px) {

    .carrusel-pokemon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
    }

    .ventana-pokemon {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .productos-pokemon {
        display: flex;
        flex-wrap: nowrap;
    }

    .productos-pokemon > * {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .flecha-pokemon {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        padding: 6px 0;
        font-size: 17px;
    }
}
