/* BJP Store: quiet ratings between the photo and product name. */
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating-slot { min-height: 28px; margin: 0 0 6px; }
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) a.bjp-card-rating {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px;
  max-width: 100%; padding: 0; margin: 0; border: 0; background: transparent;
  color: #1e1e1c; font-size: 13px; line-height: 1.3; text-decoration: none;
  white-space: nowrap; vertical-align: top;
}
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .stars {
  display: inline-flex !important; align-items: center; gap: 2px;
  width: auto !important; height: 16px; margin: 0; padding: 0;
}
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star {
  display: block; width: 14px; height: 16px; margin: 0; padding: 0;
}
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star::before { color: #b48317 !important; font-size: 14px; line-height: 16px; }
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating-value { font-weight: 700; }
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating-count { color: #686868; font-weight: 400; }
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating:hover .bjp-card-rating-count { color: #1e1e1c; text-decoration: underline; }
:is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating:focus-visible { outline: 2px solid #1e1e1c; outline-offset: 3px; border-radius: 2px; }
body.type-detail #ratingTab { scroll-margin-top: 150px; }
@media (max-width: 767px) {
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) a.bjp-card-rating { gap: 5px; font-size: 12px; }
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .stars { gap: 1px; }
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star { width: 13px; }
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star::before { font-size: 13px; }
  body.type-detail #ratingTab { scroll-margin-top: 80px; }
}
@media (max-width: 359px) {
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) a.bjp-card-rating { gap: 4px; font-size: 11px; }
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star { width: 11px; }
  :is(body.type-category #products, body.type-index .homepage-products-4, body.type-index .homepage-products-1, body.type-index .homepage-products-9) .bjp-card-rating .star::before { font-size: 11px; }
}
