@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    -webkit-tap-highlight-color: transparent; /* Quita el destello en móviles */
}

*:focus {
    outline: none; /* Quita el cuadrado azul en computadoras */
}

header{
    background-color: antiquewhite;
    font-family: Poppins;
    margin: 30px;
    border-radius: 10px;
    padding: 0 30px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body{
    background-image: url(resources/Categorias/fondo-cartoon.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.body-anime{
    background-image: url(resources/Categorias/anime.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    }

.body-lgtb{
    background-image: url(resources/Categorias/lgtb.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-basicas{
    background-image: url(resources/Categorias/basic.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-anti{
    background-image: url(resources/Categorias/anti.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-mangas{
    background-image: url(resources/Categorias/mangas.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-deportiva-1{
    background-image: url(resources/Categorias/depor1.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-deportiva-2{
    background-image: url(resources/Categorias/depor2.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.body-extra{
    background-image: url(resources/Categorias/vans.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.body-tobi{
    background-image: url(resources/Categorias/tobi.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.menu-anime{
    display: flex;
    gap: 20px;
}

button {
  background: #fbca1f;
  font-family: inherit;
  padding: 0.6em 1.3em;
  font-weight: 900;
  font-size: 18px;
  border: 3px solid black;
  border-radius: 0.4em;
  box-shadow: 0.1em 0.1em;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.15em 0.15em;
}

button:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em;
}


.price{
    background-color: #fbca1f;
    font-family: 'Poppins', sans-serif; /* Usamos la fuente importada */
    font-weight: 600; /* Un poco más gruesa para que destaque */
    color: #000000; /* Color de texto para buen contraste */
    
    /* Posicionamiento y Transformación para el efecto de cinta */
    position: absolute;
    top: 15px;      /* Ajusta la distancia desde arriba */
    right: -35px;    /* Ajusta para que la esquina "sobresalga" un poco */
    transform: rotate(35deg); /* Gira la banda 45 grados */
    width: 150px;    /* Ancho de la banda (ajustar según el texto) */
    
    /* Estilo visual */
    text-align: center;
    padding: 5px 0;  /* Padding vertical para grosor de cinta */
    font-size: 18px; /* Ajustamos el tamaño para que quepa bien */
    
    /* Bordes y Sombra (ajustados para el efecto cinta) */
    border: solid 1px #e0b01a; /* Un tono ligeramente más oscuro */
    border-radius: 0; /* Generalmente las cintas no tienen esquinas redondeadas */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Sombra más sutil y realista */
    
    /* Asegura que el precio esté por encima de la imagen */
    z-index: 1;
}


.icono-carrito{
    position:fixed;
    bottom:20px;
    right:20px;
    background:rgb(20, 0, 73);
    color:white;
    padding:10px 15px;
    border-radius:20px;
    text-decoration:none;
    font-size:18px;
    border: solid 1px #fff;
    z-index: 2;
}


#contador-carrito{
    background:rgb(89, 189, 189);
    padding:3px 8px;
    border-radius:50%;
    margin-left:5px;
    font-family: Poppins;

}

.photos{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.images img{
    border-radius: 20px 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.top-bar a{
    text-decoration: none;
    color: black;
}

a:hover{
    text-decoration: underline;
}


.images{
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 30px 30px 20px 30px;
    border-radius: 40px 0;
    cursor: pointer;
    transition: all .3s;
    width: 250px;
    position: relative;
}

.images:hover{
    transform: scale(1.07);
    position: relative;
}

.description{
    text-align: center;
    font-family: Poppins;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 80px 0 80px ;
    border: solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.sport{
    color: #fff;
}

.lgtb{
    color: #fff;
}

.end-page{
    text-align: center;
    color: #000000;
}

.end-page a{
    text-decoration: none;
    color: #000000;
}

.end-page-anime{
    margin-top: 50px;
    text-align: center;
    color: #ffffff;
}

.end-page-anime a{
    text-decoration: none;
    color: #ececec;
}

@media (max-width: 768px) {
    header{
        max-width: 100%;
        text-size-adjust: 70%;
    }

    .photos{
        gap: 20px;
    }
    .images{
        padding: 15px;
        width: 35%;
    }
    .images:hover{
        transform: scale(1.05);
    }
    .body-lgtb{
        background-position: -900px;
    }

    .description{
        margin: 10px 10px 30px 10px;
    }
    .price{
        width: 90px;
        padding: 1px 0;
        right: -10px;
        height: 40px;
        font-size: 12px;
        top: 2px;

    }
}