/* Equal-width auction cards: flex items must not size themselves from long titles. */
#act-items-list[data-theme="eta"] .act-list{--swp-auction-columns:4;--swp-auction-gap:24px;gap:var(--swp-auction-gap);align-items:stretch;white-space:normal}
#act-items-list[data-theme="eta"] .act-list>.simple-prod{box-sizing:border-box;flex:0 0 calc((100% - (var(--swp-auction-columns) - 1)*var(--swp-auction-gap))/var(--swp-auction-columns));width:calc((100% - (var(--swp-auction-columns) - 1)*var(--swp-auction-gap))/var(--swp-auction-columns));min-width:0;max-width:none;margin:0 0 8px;white-space:normal}
#act-items-list[data-theme="eta"] .simple-prod>.simple-wrap{width:100%;min-width:0;white-space:normal}
#act-items-list[data-theme="eta"] .simple-prod .img-wrap{width:100%;height:auto;aspect-ratio:1/1;flex:none}
#act-items-list[data-theme="eta"] .simple-prod .img-wrap>a.img{display:block;width:100%;height:100%;overflow:hidden}
#act-items-list[data-theme="eta"] .simple-prod .img-wrap>a.img>img{display:block;width:100%;height:100%;object-fit:cover}
#act-items-list[data-theme="eta"] .simple-prod .data,#act-items-list[data-theme="eta"] .simple-prod .top-info{min-width:0;width:100%;white-space:normal}
#act-items-list[data-theme="eta"] .simple-prod a.title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.4;min-height:2.8em}
@media(max-width:991px){#act-items-list[data-theme="eta"] .act-list{--swp-auction-columns:3;--swp-auction-gap:16px}}
@media(max-width:767px){#act-items-list[data-theme="eta"] .act-list{--swp-auction-columns:2;--swp-auction-gap:12px}#act-items-list[data-theme="eta"] .simple-prod .act-item-time-box{max-width:calc(100% - 8px);box-sizing:border-box}}

/* List view on phones: the auction status takes its own row, below the listing. */
@media(max-width:767px){
 body .products.list .simple-wrap:has(> .act-item-time-box){display:grid!important;grid-template-columns:minmax(0,34%) minmax(0,1fr);column-gap:12px;row-gap:12px;align-items:start}
 body .products.list .simple-wrap:has(> .act-item-time-box)>.img-wrap{grid-column:1;grid-row:1;width:100%!important;min-width:0;align-self:stretch}
 body .products.list .simple-wrap:has(> .act-item-time-box)>.data{grid-column:2;grid-row:1;width:100%!important;min-width:0}
 body .products.list .simple-wrap>.act-item-time-box.act-position-absolute{position:static!important;inset:auto!important;transform:none!important;grid-column:1/-1;grid-row:2;width:100%!important;max-width:100%!important;margin:0!important;float:none!important;box-sizing:border-box}
}

/* Compact map carousel: keep the 120px step used by its scrolling controls. */
@media(min-width:1024px){
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:36px 16px 28px!important;gap:2px 8px!important;align-items:start!important;align-content:center!important;height:84px!important;min-height:0!important;overflow:hidden!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.top-info{grid-column:1!important;grid-row:1!important;min-width:0;max-height:36px!important;overflow:hidden}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:18px!important;max-height:36px!important;min-height:0!important;overflow:hidden;overflow-wrap:anywhere}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.category{grid-column:1!important;grid-row:2!important;line-height:16px!important;max-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.price{grid-column:2!important;grid-row:1!important;position:static!important;margin:0!important;white-space:nowrap;font-size:14px!important;line-height:18px!important;max-width:115px}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.spp-listing-type-loop{grid-column:1!important;grid-row:3!important;margin:0!important;min-width:0}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.spp-settlement-public{display:none!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.label{grid-column:2!important;grid-row:3!important;position:static!important;align-self:center;justify-self:end;margin:0!important;font-size:10px!important;line-height:16px!important;max-height:22px;white-space:nowrap}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .img-wrap::after{display:none!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data:has(>.act-item-time-box)>.spp-listing-type-loop{display:none!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data>.act-item-time-box{position:static!important;inset:auto!important;grid-column:1/-1!important;grid-row:3!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;max-height:28px!important;margin:0!important;padding:4px 6px!important;overflow:hidden!important;gap:6px!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .act-item-time-box>.act-strip{position:static!important;order:0!important;flex:0 0 auto!important;padding:0!important;white-space:nowrap;font-size:10px!important;line-height:16px!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .act-item-time-box>.act-dbox{order:1!important;display:flex!important;flex:1 1 auto!important;min-width:0!important;gap:5px!important;align-items:center!important;white-space:nowrap;overflow:hidden}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .act-lab{display:none!important}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .act-left{font-size:11px!important;line-height:16px!important;white-space:nowrap}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .act-mix-date{font-size:9px!important;line-height:16px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body#home .swappy-map-latest #latest-items.swp-map-carousel .simple-prod .data:has(>.act-item-time-box)>.label{grid-row:2!important}
}
