/* Seoul Buyer: portrait product thumbnails across catalog pages */
#allrecords .t-store__card .t-store__card__imgwrapper,
#allrecords .t-store__card-preloader .t-store__card__img-preloader {
  height: 0 !important;
  padding-bottom: calc(100% * 4 / 3) !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  box-sizing: content-box !important;
}

#allrecords .t-store__card .t-store__card__bgimg {
  width: 100% !important;
  height: 100% !important;
  background-size: contain !important;
  background-position: center !important;
}

/* Seoul Buyer — current and previous prices for discounted products */
#allrecords .js-store-price-wrapper:has(> :is(.t-store__card__price_old, .t-store__prod-popup__price_old):not([style*="display: none"], [style*="display:none"]) > .js-store-prod-price-old-val:not(:empty)) > :is(.t-store__card__price, .t-store__prod-popup__price):has(> .js-store-prod-price-val:not(:empty)) {
  color: #c52222 !important;
}

#allrecords .js-store-price-wrapper:has(> :is(.t-store__card__price_old, .t-store__prod-popup__price_old):not([style*="display: none"], [style*="display:none"]) > .js-store-prod-price-old-val:not(:empty)) > :is(.t-store__card__price_old, .t-store__prod-popup__price_old) {
  color: #6b6b6b !important;
}
