.caja-producto{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 12px;
}
.foto-producto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
    /* background-color: black; */
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.imagen-producto{
    position: absolute;
    height:100%;
    width: 100%;
    object-fit: contain;
    /*transition: opacity 0.1s ease;*/
}
.imagen-primaria-producto{
    opacity: 1;
}
.imagen-secundaria-producto{
    opacity: 0;
}
.foto-producto:hover .imagen-primaria-producto{
    opacity: 0;
}
.foto-producto:hover .imagen-secundaria-producto{
    opacity: 1;
}

.info-producto{
    cursor: pointer;
    min-width: 160px;
}
.nombre-producto{
    font-weight: 650;
    letter-spacing: -0.5px;
    font-size: 14px;
    text-rendering: optimizeLegibility;
    line-height: 1.4rem;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 32vh;
}
.sub-producto{
    font-weight: 500;
    margin-top: 2px;
    margin-bottom: 9px;
    color: #999;
    font-size: 11px;
    text-rendering: optimizeLegibility;
}
.price-product{
    margin-top: 6px;
    text-rendering: optimizeLegibility;
}
.fila-talles{
    display: none;
    flex-direction: row;
    gap: 9px 8px;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    margin-top: 3px;
    position: relative;
    z-index: 3;
}
.talle-box, .add-product-button{
    display: flex;
    justify-content: center;
    align-items: center;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    width: 28px;
    height: 26px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.fila-talles-esconder{
    transform: translateY(-39px) !important;
    opacity: 0 !important;
    pointer-events:none !important;
}
.texto-talle-mostrar{
    opacity: 1 !important;
    transform: translateY(8px) !important;
    pointer-events: auto !important;
}
.texto-talle{
    transition: transform .15s ease-in-out, opacity .15s ease-in-out;
    opacity: 0;
    transform: translateY(13px);
    pointer-events:none;
    color: #00000061 !important;
    bottom: 0 !important;
    font-weight:400 !important;
    z-index: 3;
}
.notouch{
    pointer-events: none !important;
}
.texto_sold_out{
    position: absolute;
    z-index: 11;
    /* text-shadow: 0 0px 7px #00000036; */
    color:black;
    font-weight:800;
    font-size: 14px;
    font-family: "Geist",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif !important;
    pointer-events:none;
}
.talle-box-nostock{
    border-color: #d0d0d0 !important;
    color: #a4a2a2 !important;
    background-color: #ececec !important;
    cursor: default !important;
    pointer-events: none !important;
    font-weight: 400 !important;
}
.check{
    background-color: red !important;
    color: white !important;
    border: 1px solid red !important;
    font-weight: 550 !important;
}
.comprar-button-contenedor{
    cursor:not-allowed;
}
.comprar-button-contenedor-on{
    cursor:pointer;
}
.comprar-button{
    text-transform: uppercase;
    color: #7F7F7F;
    font-size: 12px;
    font-weight: 500;
    margin-top: 3px;
    position: relative; /* Esto asegura que el ::after esté limitado al ancho del botón */
    width:auto;
    text-decoration:none;
    text-align: center;
    pointer-events: none;
}
.comprar-button-on{
    color: black;
    pointer-events: auto;
}
.comprar-button-on::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; /* La barra ocupa el 100% del ancho del botón */
    height: 1px;
    background-color: black;
    transform: translateY(-1px); /* Posiciona la barra fuera de vista */
    opacity: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.comprar-button-on:hover::after {
    transform: translateY(0.5px); /* Barra se desliza hacia su posición */
    opacity: 1;
}
@media (max-width:1080px){
    .contenedor-correo{
        flex-direction: column;
        padding: 100px 0;
        gap: 70px;
    }
    .foto-producto{
        width: 280px;
        height: 280px;
    }
    .fila-talles{
        display: flex !important;
        transform: translateY(-30px) !important;
        margin-top: 0px !important;
        transition: transform .15s ease-in-out, opacity .15s ease-in-out;
    }
}