@font-face {
  font-family: "Collection Rating";
  src: url("rolex-card-media/rating-icons.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.rolex-listing .listing-grid {
  gap: 20px;
  align-items: start;
}

.rolex-listing .card {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 0 3px rgb(0 0 0 / 12%);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  font-family: "Google Sans Flex", Arial, Helvetica, sans-serif;
}

.rolex-listing .card > a {
  padding-bottom: 23px;
}

.rolex-listing .card a:hover img {
  transform: none;
}

.rolex-listing .card-img {
  aspect-ratio: 1;
}

.rolex-listing .card-img .card-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

@media (hover: hover) {
  .rolex-listing .card:hover .card-hover,
  .rolex-listing .card:focus-within .card-hover {
    opacity: 1;
  }
}

.rolex-listing .collection-badges {
  top: 7px;
  left: 7px;
  gap: 10px;
}

.rolex-listing .collection-badges > span {
  height: auto;
  min-width: 50px;
  padding: 5px 10px;
  border: 0;
  border-radius: 12px;
  font: 600 12px/1.2 "Google Sans Flex", Arial, Helvetica, sans-serif;
  text-align: center;
}

.rolex-listing .card h3 {
  display: block;
  height: 2.8em;
  min-height: 0;
  margin: 15px 15px 0;
  overflow: hidden;
  -webkit-line-clamp: unset;
  color: #000;
  font: 600 16px/1.4 "Google Sans Flex", Arial, Helvetica, sans-serif;
  letter-spacing: normal;
}

.rolex-listing .card-review {
  position: relative;
  height: 16.84375px;
  min-height: 0;
  margin: 8px 15px 0;
  align-items: flex-end;
}

.rolex-listing .rating-stars {
  width: 90px;
  height: 16px;
  color: transparent;
  font: 0/1 "Collection Rating", sans-serif;
  white-space: nowrap;
}

.rolex-listing .rating-stars::before,
.rolex-listing .rating-stars::after {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1;
}

.rolex-listing .rating-stars::before {
  content: "\f149\f149\f149\f149\f149";
  width: 100%;
  color: #bbb;
}

.rolex-listing .rating-stars::after {
  content: "\f148\f148\f148\f148\f148";
  width: var(--fill);
  color: #eabe12;
}

.rolex-listing .card-review .rating-score,
.rolex-listing .card-review small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rolex-listing .card .price {
  margin: 8px 15px 0;
  color: #c8a96e;
  font: 600 16px/1.4 "Google Sans Flex", Arial, Helvetica, sans-serif;
}

@media (max-width: 700px) {
  .rolex-listing .listing-grid { gap: 10px; }
  .rolex-listing .collection-badges { gap: 5px; }
  .rolex-listing .collection-badges > span {
    min-width: 40px;
    padding: 5px;
    font-size: 10px;
  }
}
