/**
 * Shop product reviews
 *
 * @author    businesstech.fr <modules@businesstech.fr> - https://www.businesstech.fr/
 * @copyright Business Tech - https://www.businesstech.fr/
 * @license   see file: LICENSE.txt
 *
 *           ____    _______
 *          |  _ \  |__   __|
 *          | |_) |    | |
 *          |  _ <     | |
 *          | |_) |    | |
 *          |____/     |_|
 */
#spr .shop_widget-top-right {
  top: 0px;
  right: 0;
  position: fixed;
  z-index: 9999; }

#spr .shop_widget-top-left {
  top: 0px;
  left: 0;
  position: fixed;
  z-index: 9999; }

#spr .shop_widget-middle-right {
  top: 50%;
  right: 0;
  position: fixed;
  z-index: 9999; }

#spr .shop_widget-middle-left {
  top: 50%;
  left: 0;
  position: fixed;
  z-index: 9999; }

#spr .shop_widget-bottom-right {
  bottom: 0px;
  right: 0;
  position: fixed;
  z-index: 9999; }

#spr .shop_widget-bottom-left {
  bottom: 0px;
  left: 0;
  position: fixed;
  z-index: 9999; }

#spr .card-top-left {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-top-left-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-top-left-mobile h5 {
  font-size: 15px !important; }

#spr .card-top-right {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-top-right-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-top-right-mobile h5 {
  font-size: 15px !important; }

#spr .card-middle-right {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-middle-right a {
  margin-left: 10px; }

#spr .card-middle-right-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-middle-right-mobile h5 {
  font-size: 15px !important; }

#spr .card-middle-left {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-middle-left-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-middle-left-mobile h5 {
  font-size: 15px !important; }

#spr .card-bottom-left {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-bottom-left-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-bottom-left-mobile h5 {
  font-size: 15px !important; }

#spr .card-bottom-right {
  padding: 25px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -webkit-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  -moz-box-shadow: 5px 4px 3px -2px rgba(209, 209, 209, 0.88);
  border-radius: 10px; }

#spr .card-bottom-right-mobile {
  padding: 20px;
  margin-top: auto;
  margin-bottom: auto;
  transform: rotate(180deg);
  background-color: white;
  border-radius: 10px; }

#spr .card-bottom-right-mobile h5 {
  font-size: 15px !important; }

#spr .text-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed; }

#spr .card-title-small {
  text-align: center;
  margin-right: 5px; }

#spr .card-text {
  text-align: center; }

#spr .star_custom_size-widget {
  font-size: 30px;
  transform: rotate(180deg);
  margin-left: -10px; }

@media screen and (max-width: 767px) {
  #spr .modern-review-card-mobile {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    padding: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
    #spr .modern-review-card-mobile:active {
      transform: scale(0.95);
      transition: transform 0.2s; } }

@media screen and (max-width: 767px) {
  #spr .rating-container-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px; } }

@media screen and (max-width: 767px) {
  #spr .big-score-mobile {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3px; } }

@media screen and (max-width: 767px) {
  #spr .stars-row-mobile {
    display: flex;
    gap: 2px;
    margin: 2px 0; } }

@media screen and (max-width: 767px) {
  #spr .star-icon-mobile {
    font-size: 12px; } }

@media screen and (max-width: 767px) {
  #spr .reviews-count-mobile {
    font-size: 10px;
    font-weight: 500;
    margin: 2px 0; } }

/* Style desktop */
.modern-review-card {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  border: 1px solid grey; }
  .modern-review-card:hover {
    transform: translateY(-5px); }
  @media screen and (max-width: 767px) {
    .modern-review-card {
      width: 140px;
      height: 140px;
      padding: 10px; } }

.rating-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px; }
  @media screen and (max-width: 767px) {
    .rating-container {
      gap: 4px;
      padding: 8px; } }

.big-score {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); }
  @media screen and (max-width: 767px) {
    .big-score {
      font-size: 24px;
      margin-bottom: 4px; } }

.reviews-count {
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px; }
  @media screen and (max-width: 767px) {
    .reviews-count {
      font-size: 12px;
      margin: 4px 0; } }

.stars-row {
  display: flex;
  gap: 4px;
  margin: 8px 0;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1)); }
  @media screen and (max-width: 767px) {
    .stars-row {
      gap: 2px;
      margin: 4px 0; } }

.star-icon {
  color: #FFD700;
  font-size: 22px;
  transition: transform 0.2s ease; }
  .star-icon:hover {
    transform: scale(1.2); }
  @media screen and (max-width: 767px) {
    .star-icon {
      font-size: 18px; } }

/* Hiding certain elements to match the design */
.max-score,
.rating-details h3,
.review-link {
  display: none; }
