/* Aqui reseteo la pagina en sus estados por defecto del navegador */
*{
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0; 
    font-size: 20px;
    text-decoration: none;
    background-color: #000;
    color: #fff;
}

a{
    color: #fff;
    background-color: transparent;
}
ul{
    list-style: none;
}

html{
    scroll-behavior: smooth;
}

.boton-regresar,
.boton-avanzar {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; /* Ancho de la flecha */
    height: 30px; /* Altura de la flecha */
    background-color: transparent;
    color: white; /* Color del ícono */
    font-size: 20px; /* Tamaño del ícono */
    border-radius: 50%; /* Forma de círculo */
    line-height: 40px; /* Alineación vertical del ícono */
    cursor: pointer;
    text-align: center;
    z-index: 10; /* Asegúrate de que estén por encima del contenido del slider */
}

.boton-regresar i,
.boton-avanzar i{
    background-color: transparent;
    transform: translateY(-20%);
    filter: drop-shadow(0 0 10px #000);
}

.boton-regresar {
    left: 10px; /* Posición de la flecha de retroceso */
}

.boton-avanzar {
    right: 10px; /* Posición de la flecha de avance */
}

/* Whatsapp */
.llamado_accion{
    position: fixed;
    z-index: 100;
    bottom: 20px;
    left: 20px;
    padding: 15px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 10px #000a;
}

header{
    box-shadow: 0 0 10px #fff2 !important;
}


.llamado_accion i{
    color: #fff;
font-size: 30px;
background-color: #25D366;

}


/* Slides */
#venta {
    margin-top: 150px;
}


.venta_caja {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    padding: 10px 20px;

}

.slider_container{
    max-width: 650px;
    width: 100%;
}

.venta_left {
    width: 80%;
    position: relative;
    display: flex;
    padding-left: 20px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.thumbnail-slide {
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-slide img {
    width: 100px; /* Ajusta el tamaño según tus necesidades */
    height: auto;
    object-fit: cover;
}

.thumbnail-slide.active {
    border-color: #fff; /* Color para la imagen activa */
    box-shadow: 0 0 10px #fff6;
}

.swiper-slide img{
    width: 100%;
    object-fit: cover;
}

.venta_right{
    width: 40%;
    padding: 20px 10px;
    min-height: 100%;
}

.right{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.venta_right .right_title{
    font-size: 1.5em;
    font-weight: bold;
    font-family: "DM Serif Display", serif;
    font-weight: 200;
    color: #fffa;
}

.right_name h2{
    white-space: nowrap;
    font-size: 5vw;
    font-style: italic;
    margin-bottom: 5px;
    font-family: "DM Serif Display", serif;
    font-weight: 500;
    font-style: normal;
    text-shadow: 0 0 5px #fffa;

}

.right_price{
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #fff;
}

.product_color{
    position: relative;
    color: #fffa;
    width: 200px;
    margin-bottom: 1em;
}

.product_color::after {
    content: "";
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    right: 20px;
    width: 15px;
    height: 15px;
    border: 1px solid #888;
    border-radius: 50%;
    background-color: #000;
}

.principal{
    width: 100px;
}

.right_button{
    width: 100%;
    text-align: center;
    padding-top: 2em;
}

.right_button button{

    border: 1px solid #fff;
    border-radius: 30px;
    padding: 20px;
    width: 100%;
    cursor: pointer;
    transition: all .3s ease;
    letter-spacing: 10px;
}

.right_button button:hover{
    box-shadow: 0 0 10px #8888, 0 0 20px #fff8;
    background-color: #fffe;
    border: 1px solid #0008;
    color: #000e;
}

/* Gorras relacionadas */

#productos-relacionados {
    text-align: center;
    margin-top: 200px;
    overflow-x: hidden;
}

.productos_title h2{
    font-size: 4em;
    margin-bottom: 40px;
    font-style: normal;
    font-family: "Bebas Neue", sans-serif;
    opacity: 0;
    transform: translateX(-100px);
    transition: all .5s ease;
}

.gorras_title_visible h2{
    opacity: 1;
    transform: translateX(0);
}

.gorras_caja {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding: 10px;
    width: 100%;
}

.gorras_caja{
    transform: translateX(500px); /* Mueve el elemento fuera de la vista */
    transition: all .6s ease;
    opacity: 0;
}

.gorras_caja_visible {
    opacity: 1;
    transform: translateX(0);
}



.caja_product {
    flex: 0 0 32%;
}

.caja_product a {
    width: 100%;
    display: block;
}

.product_img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Esto asegura una relación de aspecto cuadrada */
    overflow: hidden;
}

.product_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra completamente el contenedor */
}
.gorra_vista {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gorra_vista.active {
    opacity: 1;
}

.producto_info{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.producto_info .product_name{
    font-size: 1.7em;
}


.product_color.color1::after {
    background-color: #000; /* Color para la primera gorra */
}

.product_color.color2::after {
    background-color: #cb0c00; /* Color para la segunda gorra */
}

.product_color.color3::after {
    background-color: #fff; /* Color para la tercera gorra */
}

.product_price{
    padding-top: 10px;
    font-size: 22px;
}

.product_color{
    margin-top: 0px;
}
/* Ingreso de correo */

#unirme{
    padding-top: 100px;
}

#unirme .container{
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 3em;
}

.unirme_form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    max-width: 460px;
}

.form_text h4{
    font-size: 2em;
    font-style: normal;
    font-family: "Bebas Neue", sans-serif;
}

.form_text h5{
    opacity: .5;
    font-size: .8em;
}

.form_input{
    padding: 0 20px;
    position: relative;
}

.form_input input{
    padding: 5px 10px;
    width: 80%;
    border: none;
    border-bottom: 1px solid #8888;
    outline: none;
}

.form_input button{
    position: absolute;
    right: 14%;
    border: none;
    background-color: transparent;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.form_input button:hover{
    cursor: pointer;
}

.form_input input:active,
.form_input input:focus{
    box-shadow: 0 0 10px #888;
    border-bottom: 1px solid #fff;

}

@media (max-width: 700px){
    .boton-regresar,
    .boton-avanzar {
    display: block;}

    /* gorras */
    .venta_caja{
        flex-direction: column;
        padding: 0;
    }

    .venta_left{
        width: 100%;
        padding: 0 5px;
    }

    .thumbnails {
        display: none;
    }

    .venta_right{
        width: 100%;
    }

    .right{
        align-items: center;
    }
    .right_name h2{
        font-size: 2em;
        margin-bottom: 10px;
    }
    .right_price{
        margin-bottom: 10px;
    }

    /* Productos relacionados */

    #productos-relacionados {
        margin-top: 100px;
    }

    .productos_title h2{
        font-size: 1.8em;
    }

    .gorras_caja{
        overflow-x: auto;
    }

    .caja_product {
        flex: 0 0 100%;
    }

    /* Unirme */

    #comunity{
        flex-direction: column;
        margin: 60px 0;
        gap: 100px;
        justify-content: center;
    }

    .comunity_img{
        width: 95%;
        justify-content: left;
        padding-right: 20px;
    }

    .comunity_text{
        width: 100%;
        justify-content: center;
    }

    .comunity_text h3{
        font-size: 2.2em;
        line-height: 30px;
    }

    #unirme{
        padding-top: 50px;
    }

    .unirme_form{
        width: 100%;
    }

    .form_input{
        padding: 0;
    }

}