/* The total remains the prominent shopping price; the asking price is secondary. */
body :is(ul.products li.product, .kimmie-seller-product, .kimmie-public-product-card) {
  container-type: inline-size;
}
body .kimmie-buyer-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 9px;
  max-width: 100%;
  line-height: 1.3;
}
body .kimmie-buyer-price__base {
  color: #687680;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}
body .kimmie-buyer-price__total {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1c579c;
  font-size: 20px;
  font-weight: 750;
  white-space: nowrap;
}
/* Override the theme's amount styles without changing prices in cart or account. */
body .kimmie-buyer-price :is(.amount, .woocommerce-Price-currencySymbol) {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
body .kimmie-buyer-price__shield {
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v6c0 5-3.4 8.4-8 9-4.6-.6-8-4-8-9V6l8-3Z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v6c0 5-3.4 8.4-8 9-4.6-.6-8-4-8-9V6l8-3Z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 600px) {
  body .kimmie-buyer-price { column-gap: 6px; }
  body .kimmie-buyer-price__base { font-size: 12px; }
  body .kimmie-buyer-price__total { gap: 4px; font-size: 18px; }
  body .kimmie-buyer-price__shield { flex-basis: 16px; width: 16px; height: 18px; }
}
/* Related items can be narrower than phone cards even on a desktop screen. */
@container (max-width: 175px) {
  body .kimmie-buyer-price { column-gap: 4px; }
  body .kimmie-buyer-price__base { font-size: 11px; }
  body .kimmie-buyer-price__total { gap: 3px; font-size: 16px; }
  body .kimmie-buyer-price__shield { flex-basis: 14px; width: 14px; height: 16px; }
  body .kimmie-seller-product__body { padding-right: 8px; padding-left: 8px; }
}
@container (max-width: 150px) {
  body .kimmie-buyer-price { column-gap: 3px; }
  body .kimmie-buyer-price__base { font-size: 10px; }
  body .kimmie-buyer-price__total { font-size: 14px; }
  body .kimmie-buyer-price__shield { flex-basis: 12px; width: 12px; height: 14px; }
}
