/* h1 {
    font-size: 3rem;
    font-weight: var(--f2wh1);
    line-height: 1.1;
} */

.otziv{
    padding: 55px 0px 50px;
    background-color: #ffffff;
  }

.otziv__title-box{
    max-width: 520px;
    padding-left: 140px;
    position: relative;
  }

  .otziv__title-box:before{
    content: "";
    position: absolute;
    width: 110px;
    height: 2px;
    background-color: #ffc222;
    left: 0;
    top: 11px;
  }

  .otziv__title{
    font-size: 28px;
    font-weight: 500;
    line-height: 24px;
    color: #212020;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
  }

  .otziv__text{
    font-size: 1rem;
    margin-bottom: 30px;
    letter-spacing: 0.1px;
    line-height: 24px;
  }

  .container{
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px; 
  }

  /* Кастом кнопка с эффектом */
  /* #button_otziv {
    margin-left: 266px;
    margin-top: -70px;
    position: inherit;
  } */

.buttonThird {
    position: relative;
    padding: 12px 44px;
    background: #ffc222;
    font-size: 17px;
    font-weight: 500;
    color: #181818;
    border: 3px solid #ffc222;
    border-radius: 8px;
    box-shadow: 0 0 0 #fec1958c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .starC-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
  }
  
  .starC-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .starC-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .starC-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .starC-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .starC-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #ffc222);
    z-index: -5;
    transition: all 0.8s ease;
  }
  
  .buttonThird:hover {
    background: transparent;
    color: #000000;
    box-shadow: 0 0 25px #fec1958c;
  }
  
  .buttonThird:hover .starC-1 {
    position: absolute;
    top: -80%;
    left: -30%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .buttonThird:hover .starC-2 {
    position: absolute;
    top: -25%;
    left: 10%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .buttonThird:hover .starC-3 {
    position: absolute;
    top: 55%;
    left: 25%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .buttonThird:hover .starC-4 {
    position: absolute;
    top: 30%;
    left: 80%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .buttonThird:hover .starC-5 {
    position: absolute;
    top: 25%;
    left: 115%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .buttonThird:hover .starC-6 {
    position: absolute;
    top: 5%;
    left: 60%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffc222);
    z-index: 2;
  }
  
  .fil20 {
    fill: #ffc222;
  }
  /* Конец кнопки */

  /* .bar_otziv {
    padding: 0px 0px 200px;
    background-color: #ffffff;
  }

  .container__otziv {
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    padding: 15px 15px;
    background:linear-gradient(0deg, #F1E7EB, #E8ECF8);
    border-radius: 10px;
  }

  .head__otziv {
    width: auto;
    height: 67px;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 15px 15px;
  }
  
  .box__otziv {
    width: 500px;
    height: 300px;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 15px 15px;
    margin: 100px;
  } */

  .reviews-section {
    max-width: 870px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .reviews-rating {
    display: flex;
    align-items: center;
  }
  
  .average-rating {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
    color: #4d4d4d;
  }
  
  .stars {
    color: gold;
    font-size: 20px;
  }
  
  .reviews-count {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #666;
  }
  
  /* .write-review-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .write-review-btn:hover {
    background-color: #0056b3;
  } */
  
  /* Стили для отзывов */
  .reviews-slider-container {
    overflow: hidden; /* Скрываем скролл */
  }
  
  .reviews-slider {
    display: flex;
    transition: transform 0.5s ease; /* Плавная анимация */
  }
  
  .review-item {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .review-header {
    display: flex;
    /* justify-content: space-between; */
    margin-bottom: 10px;
    gap: 30px;
  }
  
  .review-author {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
  }
  
  .review-date {
    font-family: 'Roboto', sans-serif;
    color: #666;
    font-size: 12px;
  }
  
  .review-stars {
    color: gold;
    font-size: 16px;
  }
  
  .review-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.5;
  }
  
/* Кнопки листания */
.slider-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px; /* Интервал между кнопками */
  }
  
  .prev-btn,
  .next-btn {
    padding: 10px 20px;
    background-color: #ffc222;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  .prev-btn:hover,
  .next-btn:hover {
    background-color: #ffc222; /* Цвет при наведении */
  }
  
  /* Кнопка "Написать отзыв" */
  /* .write-review-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  .write-review-btn:hover {
    background-color: #0056b3; 
  } */
  
  /* Форма для отзыва */
  .review-form-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .review-form h3 {
    margin-bottom: 20px;
  }
  
  .review-form label {
    display: block;
    margin-bottom: 10px;
  }
  
  .rating-stars span {
    font-size: 24px;
    cursor: pointer;
  }
  
  .rating-stars span:hover,
  .rating-stars span.selected {
    color: gold;
  }
  
  .close-form-btn {
    margin-top: 10px;
    background-color: #ccc;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  .close-form-btn:hover {
    background-color: #aaa;
  }

  .otziv__box {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
  }

  .review-image img {
    max-width: 200px;
    height: auto;
  }

  .image_size {
    width: 10px;
    height: 10px;
    display: flex;
    /* justify-content: space-between; */
    margin-bottom: 10px;
    gap: 30px;
  }