/*
 * AdeptDEV × NANU Market — Product card rating UX v7.32
 * Internal signature: AdeptDEV — https://t.me/adeptdevs
 */

#product-category .adev-card-rating,
#product-search .adev-card-rating {
  position: relative !important;
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 24px !important;
  margin: 0 0 10px !important;
  padding: 3px 7px 3px 5px !important;
  align-items: center !important;
  gap: 7px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  opacity: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}

#product-category .adev-card-rating.is-empty,
#product-search .adev-card-rating.is-empty {
  opacity: 1 !important;
}

#product-category .adev-card-rating:hover,
#product-search .adev-card-rating:hover,
#product-category .adev-card-rating:focus-visible,
#product-search .adev-card-rating:focus-visible {
  background: rgba(55,54,54,.035) !important;
  border-color: rgba(55,54,54,.08) !important;
  transform: translateY(-1px) !important;
}

#product-category .adev-card-rating:focus-visible,
#product-search .adev-card-rating:focus-visible {
  outline: 2px solid rgba(236,102,8,.34) !important;
  outline-offset: 2px !important;
}

#product-category .adev-stars,
#product-search .adev-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

#product-category .adev-stars i,
#product-search .adev-stars i {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(55,54,54,.22) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  transform: none !important;
  transition: color .16s ease, transform .16s ease !important;
}

#product-category .adev-stars i.is-on,
#product-search .adev-stars i.is-on {
  color: #ec6608 !important;
}

#product-category .adev-card-rating:hover .adev-stars i,
#product-search .adev-card-rating:hover .adev-stars i {
  transform: translateY(-1px) !important;
}

#product-category .adev-reviews,
#product-search .adev-reviews {
  display: inline-block !important;
  min-width: 0 !important;
  max-width: 120px !important;
  overflow: hidden !important;
  color: rgba(55,54,54,.56) !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.nx-dark #product-category .adev-card-rating:hover,
body.nx-dark #product-search .adev-card-rating:hover,
body.nx-dark #product-category .adev-card-rating:focus-visible,
body.nx-dark #product-search .adev-card-rating:focus-visible {
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(255,255,255,.10) !important;
}

body.nx-dark #product-category .adev-stars i,
body.nx-dark #product-search .adev-stars i {
  color: rgba(255,255,255,.22) !important;
}

body.nx-dark #product-category .adev-stars i.is-on,
body.nx-dark #product-search .adev-stars i.is-on {
  color: #ec6608 !important;
}

body.nx-dark #product-category .adev-reviews,
body.nx-dark #product-search .adev-reviews {
  color: rgba(255,255,255,.58) !important;
}

@media (max-width: 767px) {
  #product-category .adev-card-rating,
  #product-search .adev-card-rating {
    min-height: 22px !important;
    margin-bottom: 8px !important;
    padding: 2px 5px 2px 3px !important;
    gap: 5px !important;
  }
  #product-category .adev-stars i,
  #product-search .adev-stars i { font-size: 12px !important; }
  #product-category .adev-reviews,
  #product-search .adev-reviews { font-size: 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #product-category .adev-card-rating,
  #product-search .adev-card-rating,
  #product-category .adev-stars i,
  #product-search .adev-stars i { transition: none !important; }
}
