.ty-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .ty-tooltip .ty-tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: 350px;
    background-color: white;
    color: #222;
    border-radius: 6px;
    padding: 10px 15px;
    position: absolute;
    z-index: 10;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .ty-tooltip .ty-tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgb(255, 255, 255) transparent;
  }

  .ty-tooltip:hover .ty-tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  /* Puan sıralama kapsayıcı */
  .ty-rating-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  /* Tek bir satırdaki puan ve yıldızlar */
  .ty-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    margin-left: -5px;
  }

  /* Progress bar container */
  .ty-progress-bar-container {
    flex-grow: 1;
    border-radius: 50px;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: rgb(206, 206, 206);
    height: 8px;
  }

  /* Progress bar */
  .ty-progress-bar {
    margin-top: -4px;
    margin-left: -4px;
    width: 0%;
    height: 8px;
    background-color: #F39200;
    border-radius: 50px;
    transition: width 1s ease-in-out;
  }

  /* Yıldızlar */
  .ty-stars {
    display: flex;
    gap: 2px;
  }

  /* Yıldız şekli */
  .ty-star {
    position: relative;
    font-size: 24px;
    color: rgb(206, 206, 206);
    display: inline-block;
  }

  /* Yarım yıldız için içini dolduran katman */
  .ty-star .ty-half-star {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: gold;
  }

  /* Puan numaraları */
  .ty-rating-number {
    font-weight: bold;
    width: 20px;
    text-align: right;
  }

  /* Yorum sayısı */
  .ty-comment-count {
    font-size: 14px;
    color: #555;
    min-width: 50px;
    text-align: left;
  }

  #ty-main-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
  }

  /* Değerlendirme ve soru-cevap bilgilerini yıldızların yanına yerleştirecek alan */
  #ty-review-info {
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;
  }

  .ty-hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }