/* SEO_CATEGORY_023C - star rows on category cards, phones (2 cards per row).
   The "Đã xác minh" / "Verified" badge becomes the round shield only (like the homepage cards; the words
   stay for screen readers), and the stars and Etsy tag get a little smaller, so both rows show the full
   score and count, e.g. "4.5 (2)" and "Etsy ★★★★★ 5.0 (72)". Desktop is not changed. */
@media (max-width: 600px) {
  .items_container .item_card .cfp-own-label {
    width: 17px;
    height: 17px;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .items_container .item_card .cfp-own-label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .items_container .item_card > .cfp-card-rating {
    gap: 3px;
    font-size: 0.72rem;
  }

  .items_container .item_card > .cfp-card-rating .cfp-stars {
    font-size: 11.5px;
    letter-spacing: 0;
  }

  .items_container .item_card > .etr-card-rating .etr-tag {
    font-size: 8.5px;
    padding: 0 3px;
  }
}

/* LAYOUT_FIX_023G: card description = exactly 2 lines. In Times New Roman the accent marks of line 3
   (ẫ, ổ, ầ ...) reached up into the visible box and showed as dots under line 2. Taller lines + a thin
   strip cut off at the bottom hide them; the tails of g / y / p on line 2 stay visible. */
.items_container .item_card .item_card_desc {
  line-height: 1.55;
  height: calc(2 * 1.55em);
  min-height: calc(2 * 1.55em);
  max-height: calc(2 * 1.55em);
  clip-path: inset(0 0 0.2em 0);
}
