.productos:not(.view-list) > .card {
container: tarjeta-de-producto / inline-size;
padding: 10px !important;
min-height: 0 !important;
overflow: hidden;
}
.productos:not(.view-list) > .card .card-img-wrap {
order: -1;
flex: none;
box-sizing: border-box;
width: calc(100% + 20px);
max-width: none;
height: auto;
aspect-ratio: 1 / 1;
margin: -10px -10px 9px;
padding: 0;
border: 0;
border-bottom: 1px solid rgba(127, 0, 255, 0.35);
border-radius: 0;
background: #0e0016;
box-shadow: none;
}
@media (min-width: 769px) {
.productos:not(.view-list) > .card .card-img-wrap {
aspect-ratio: auto;
height: calc(100cqw + 20px - 1cm);
}
body:not(.light-mode) .productos:not(.view-list) > .card .card-img-wrap.con-fondo-de-la-foto,
body.light-mode .productos:not(.view-list) > .card .card-img-wrap.con-fondo-de-la-foto {
background: var(--pixis-fondo-de-la-foto);
}
}
.productos:not(.view-list) > .card .card-img-wrap img {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
margin: 0;
padding: 0;
border-radius: 0;
object-fit: contain;
}
.productos:not(.view-list) > .card .card-top-bar {
margin-bottom: 4px;
}
.productos:not(.view-list) > .card .card-pill {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.productos:not(.view-list) > .card .precio-label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
body:not(.light-mode) .productos:not(.view-list) > .card.proximo-ingreso {
border-width: var(--pixis-borde-tarjeta, 2px) !important;
}
body.light-mode .productos:not(.view-list) > .card.proximo-ingreso {
border-width: var(--pixis-borde-tarjeta, 1.5px) !important;
}
body.light-mode .productos:not(.view-list) > .card .card-img-wrap {
background: #ffffff;
border-bottom-color: rgba(127, 0, 255, 0.18);
}
@container tarjeta-de-producto (max-width: 199px) {
.productos:not(.view-list) > .card .card-top-bar {
height: 38px;
flex-wrap: wrap;
align-content: center;
column-gap: 4px;
row-gap: 3px;
}
.productos:not(.view-list) > .card .card-pill {
max-width: 100%;
line-height: 14px;
}
.productos:not(.view-list) > .card .card-stock-pill {
margin-left: auto;
line-height: 14px;
}
}
@container tarjeta-de-producto (max-width: 159px) {
.productos:not(.view-list) > .card .oferta-etiqueta-larga {
display: none;
}
.productos:not(.view-list) > .card .oferta-etiqueta-corta {
display: inline;
}
}
