.sliderpro {
    margin: 40px 0;
}

.slider-wrapper {
    position: relative;
}

.slider-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.card {
    min-width: 220px;
    background: #fff;
    margin-right: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.price {
    color: #00a650;
    font-weight: bold;
}

.nav {
    position: absolute;
    top: 40%;
    background: #fff;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.prev { left: 0; }
.next { right: 0; }

.slider-track {
    cursor: grab;
}

.slider-track.dragging {
    cursor: grabbing;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/*AGREGAR ETIQUETAS TIPO ML*/
.img-container {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* etiqueta arriba */
.badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #3483fa;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* contenedor inferior */
.badge-bottom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* badges individuales */
.badge-bottom span {
    background: #fff;
    color: #333;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* descuento */
.badge-discount {
    color: #00a650;
    font-weight: bold;
}

/* envio */
.badge-envio {
    color: #00a650;
}

/* full */
.badge-full {
    color: #00a650;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 5px;
}

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-right: 5px;
}

.discount {
    color: #00a650;
    font-weight: bold;
    font-size: 14px;
}

.badges-info {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badges-info span {
    background: #fff;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* estilo ML */
.envio {
    color: #00a650;
}

.full {
    font-weight: bold;
    color: #00a650;
}

.badge-bottom {
    display: none !important;
}

.badge-oferta {
    display: inline-block;
    background: #3483fa;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    font-weight: 600;
}

.badge-top {
    display: none !important;
}










/* CARD GENERAL */
.card {
    background: #fff !important;
    border-radius: 8px;
    padding: 12px;
    min-width: 260px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: 0.2s;
}

/* hover tipo ML */
.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* IMAGEN */
.img-container {
    background: #fff;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* imagen producto */
.img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* TITULO */
.card h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0;
    color: #333;
}

/* PRECIO */
.price {
    margin-top: 5px;
}

/* precio anterior */
.old-price {
    display: block;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* precio actual */
.current-price {
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

/* descuento */
.discount {
    color: #00a650;
    font-weight: bold;
    margin-left: 5px;
}

/* BADGES */
.badges-info {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* envio */
.envio {
    color: #00a650;
    font-size: 13px;
}

/* full */
.full {
    font-size: 12px;
    font-weight: bold;
    color: #00a650;
}

/* OFERTA DEL DIA */
.badge-oferta {
    display: inline-block;
    background: #3483fa;
    color: #fff;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 3px;
    margin-top: 6px;
}

/* CONTENEDOR SLIDER */
.slider-track {
    gap: 16px;
}

.card {
    background: #fff !important;
}

.sliderpro {
    background: transparent !important;
}


/* precio contenedor */
.price {
    margin-top: 6px;
}

/* precio anterior */
.old-price {
    display: block;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

/* fila principal */
.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* PRECIO GRANDE ML */
.price-main {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    letter-spacing: -0.5px;
}

/* descuento */
.discount {
    font-size: 14px;
    color: #00a650;
    font-weight: 600;
}


.price-main {
    font-size: 24px;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.img-container {
    background: #fff;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/*codigo puesto por linkisw*/
.card {
     
    width: 280px;
   
}