

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}




#new{ width: 100%;;
      padding: 40px 20px 40px 20px;background-color: #}




/*titulooooooooooooooooooooooooooooooooooooooooooooooooooo*/
.new-titulo{ width: 100%;
             text-align: center;
             padding: 0px 0px 15px 0px}

.new-titulo h1{ font-family: ebrima;
                font-size: 32px;
                color: #222;
                margin: 0;}

.new-titulo h1 span{ background-color: #ff0000;
                     color: #fff;
                     border-radius: 10px;
                     padding: 4px;
                     margin: 0}

.new-titulo p{ font-family: "Montserrat";
                font-size: 13px;
                color: #222;
                margin: 5px 0px 0px 0px}


.productos-new {
    position: relative;
    width: 100%; /* Ampliado para dar espacio a los 6 productos */
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: "Montserrat";
}

.contenedor-productos-new {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.lista-productos-new {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    cursor: grab;
    user-select: none;
    width: 100%;
}

/* Configuración matemática exacta para 6 columnas */
.product-card {
    flex: 0 0 calc((100% - (20px * 5)) / 6); 
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 50px 12px 20px 12px;
    text-align: center;
    position: relative;
    
}

.product-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

.product-card h3 {
    font-size: 14px;
    margin: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card h1{ font-family: ebrima;
                  font-size: 15px;
                  color: #222;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;} 

.product-card h2{ font-family: "Montserrat";
                  font-size: 15px;
                  color: #222;
                  font-weight: 500;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;}



.buy-btn {  width: 120px;
            margin: 10px  auto 0px auto;
            border: 2px solid #ff0000;
            color: #ff0000;
            font-size: 14px;
            padding: 7px 0px 7px 0px;
            text-align: center;
            border-radius: 5px;
            cursor: pointer;}

.buy-btn:hover{ background: #ff0000;color: #fff }  



/*etiqueta rojo*/
#etiqueta{ width: 100%;
           max-width: 100px;
           position: absolute;
           top: 10px;
           left: 10px}

/*etiqueta rojo*/
#cortaicono{ width: 100%;
             max-width: 40px;
             position: absolute;
             top: 10px;
             right:10px}




.productos-new .arrow {
    width: 40px;
    height: 40px;
    background: #ff0000;
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
}

.flecha-atras-new { left: 0; }
.flecha-siguiente-new { right: 0; }
.arrow:hover { background: #111; }

/* Adaptación responsiva pantallas medianas y móviles */
@media (max-width: 1200px) {
    .product-card { flex: 0 0 calc((100% - (20px * 3)) / 4); }
}

@media (max-width: 768px) {
    .product-card { flex: 0 0 calc((100% - (20px * 1)) / 2); }


    .product-card h1{ font-family: ebrima;
                      font-size: 13px;} 

    .product-card h2{ font-size: 13px;}

}

@media (max-width: 500px) {
    .product-card { flex: 0 0 100%; }
}
