
/* --- olegtix-player-matches-history --- */
.player-matches-history {
    margin: 24px 0;
}

.player-matches-history__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.player-matches-history__empty {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 12px;
}

.player-matches-history__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-matches-history__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .player-matches-history__title {
        font-size: 18px;
    }
}


/* --- olegtix-block-bookmaker_bonuses --- */
/* Блок бонусов букмекеров - специфические стили */

/* Пагинация */
.block-bookmaker-bonuses__pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.block-bookmaker-bonuses__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-bookmaker-bonuses__pagination .page-numbers li {
  margin: 0;
}

.block-bookmaker-bonuses__pagination .page-numbers a,
.block-bookmaker-bonuses__pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.275;
  text-decoration: none;
  transition: all 0.3s ease;
}

.block-bookmaker-bonuses__pagination .page-numbers a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.block-bookmaker-bonuses__pagination .page-numbers .current {
  background-color: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.block-bookmaker-bonuses__pagination .page-numbers .prev,
.block-bookmaker-bonuses__pagination .page-numbers .next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-bookmaker-bonuses__pagination .page-numbers .prev svg,
.block-bookmaker-bonuses__pagination .page-numbers .next svg {
  width: 24px;
  height: 24px;
}

.block-bookmaker-bonuses__pagination .page-numbers .dots {
  background-color: transparent;
  border: none;
  color: var(--grey);
}

/* Кнопка "Показать еще" в архивном режиме */
.block-bookmaker-bonuses__show-more-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Пустое состояние */
.block-bookmaker-bonuses__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-bookmaker-bonuses__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

.block-bookmaker-bonuses__empty-text--lead {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 12px;
}

.block-bookmaker-bonuses__empty-text--cta {
  margin-bottom: 20px;
}

.block-bookmaker-bonuses__empty-btn {
  display: inline-flex;
  margin-top: 4px;
}

/* Пустое состояние внутри сетки после AJAX (вкладки/фильтры) */
.block-bookmaker-bonuses__grid .block-bookmaker-bonuses__empty--in-grid {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
}

/* Грид для карточек бонусов */
.block-bookmaker-bonuses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .block-bookmaker-bonuses__pagination .page-numbers a,
  .block-bookmaker-bonuses__pagination .page-numbers span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
  }

  .block-bookmaker-bonuses__pagination .page-numbers a,
  .block-bookmaker-bonuses__pagination .page-numbers span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .block-bookmaker-bonuses__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* --- olegtix-block-bookmaker_logos --- */



.bookmaker-logos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bookmaker-logos__item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  transition: opacity 0.2s ease;
}

.bookmaker-logos__item:hover {
  opacity: 0.5;
}

.bookmaker-logos__item a {
  display: block;
  text-decoration: none;
}

.bookmaker-logos__logo {
  max-width: 90px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Адаптивность */
@media (max-width: 768px) {

  .bookmaker-logos__grid {
    gap: 8px;
  }

  .bookmaker-logos__item {
    padding: 8px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .bookmaker-logos__grid {
    gap: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .bookmaker-logos__logo {
    max-width: 80px;
    max-height: 38px;
  }
  .bookmaker-logos__item {
    padding: 6px;
    height: 40px;
  }
}


/* --- olegtix-block-other_apps --- */
.other-apps__container {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
}
.other-apps {
  padding: 0 15px;
  max-width: 1350px;
  margin: 0 auto;
}
.other-apps__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.other-apps__title.title {
  margin: 0;
}
.other-apps__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.other-apps__nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}

.other-apps__nav-btn:hover {
  border-color: rgba(35, 35, 35, 0.22);
  background: rgba(35, 35, 35, 0.03);
}

.other-apps__nav-btn.swiper-button-disabled,
.other-apps__nav-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}

.other-apps__swiper {
  overflow: hidden;
}

.other-apps__slide {
  width: 228px;
}

.other-apps__card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  min-height: 80px;
}
.other-apps__card:hover {
  opacity: 0.7;
}
.other-apps__card-logo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.other-apps__card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.other-apps__card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.other-apps__card-title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 108px;
}
.other-apps__card-rating {
  gap: 6px;
  background: #eff6fd;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px;
  border-radius: 20px;
}

.other-apps__card-rating-star {
  flex: 0 0 auto;
  width: 10px;
  margin-bottom: 1px;
}
@media (max-width: 768px) {
  .other-apps__card {
    flex-direction: column;
    width: 90px;
  }
  .other-apps__container {
    padding: 14px;
  }
  .other-apps__card-title {
    max-width: 90px;
  }
  .other-apps__slide {
    width: 90px;
  }
}


/* --- olegtix-block-other_brokers --- */
.other-brokers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.other-brokers__title.title {
  margin: 0;
}
.other-brokers__navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}
.other-brokers__nav-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  border: 1px solid rgba(35, 35, 35, 0.12);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
}
.other-brokers__nav-btn:hover {
  border-color: rgba(35, 35, 35, 0.22);
  background: rgba(35, 35, 35, 0.03);
}
.other-brokers__nav-btn.swiper-button-disabled,
.other-brokers__nav-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}
.other-brokers__swiper {
  overflow: hidden;
}
.other-brokers__slide {
  height: auto;
}
.other-brokers__slide-inner {
  height: 100%;
}
.other-brokers__slide-inner .broker-card {
  height: 100%;
}

/* Мобильная раскладка broker-card внутри слайда (не зависит от viewport) */
.block-other-brokers .broker-card--compact-slider {
  background-color: var(--white);
  padding: 14px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.block-other-brokers .broker-card--compact-slider .broker-card__content {
  display: contents;
  cursor: default;
  grid-template-columns: unset;
}
.block-other-brokers .broker-card--compact-slider .broker-card__logo {
  grid-column: span 5;
  grid-row: 1;
  width: 100%;
  max-width: 140px;
}
.block-other-brokers .broker-card--compact-slider .broker-card__info {
  display: contents;
  margin: 0;
}
.block-other-brokers .broker-card--compact-slider .broker-card__actions {
  display: contents;
  margin: 0;
}
.block-other-brokers .broker-card--compact-slider .broker-card__detail {
  grid-column: span 4;
  grid-row: 2;
}
.block-other-brokers .broker-card--compact-slider .broker-card__rating {
  grid-column: 6 / -1;
  grid-row: 1;
  justify-self: flex-end;
}
.block-other-brokers .broker-card--compact-slider .broker-card__reliability {
  align-items: center;
}
.block-other-brokers .broker-card--compact-slider .broker-card__reviews {
  align-items: flex-end;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--frebet {
  grid-row: 4;
  grid-column: 1 / -1;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--review {
  grid-row: 5;
  grid-column: 1 / -1;
}
.block-other-brokers .broker-card--compact-slider .broker-card__btn--android {
  grid-row: 6;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .other-brokers__container {
    padding: 14px;
  }
}


/* --- olegtix-block-broker_apps_hero --- */
.store-app {
  background: var(--white);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.store-app__content {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.store-app__main {
  display: flex;
  gap: 24px;
  flex-direction: column;
}
.store-app__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.store-app__naming {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1;
}
.store-app__title {
  font-size: 30px;
  font-weight: 700;
}
.store-app__org {
  color: var(--grey);
}
.store-app__action {
  display: flex;
  gap: 8px;
}
.store-app__devices {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.store-app__img {
  display: flex;
  flex-basis: 200px;
}
.store-app__img img {
  width: 100%;
  height: auto;
}
.store-app__meta {
  display: flex;
}
.store-app__meta-item {
  padding: 0 40px;
  border-right: 1px solid var(--grey);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.store-app__meta-item:first-child {
  padding-left: 0;
}
.store-app__meta-item:last-child {
  border-right: none;
}
.store-app__meta-item-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.store-app__meta-item-text {
  font-size: 12px;
  text-align: center;
  display: flex;
  gap: 3px;
  align-items: center;
}
.green-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #01875f;
  font-weight: 500;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.green-action:hover {
  opacity: 0.7;
}
.store-app__share {
  position: relative;
}
.store-app__share-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px;
  min-width: 220px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease,
    transform 0.15s ease;
}
.store-app__share-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.store-app__share-item {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  text-align: left;
}
.store-app__share-item + .store-app__share-item {
  margin-top: 4px;
}
.store-app__share-item:hover {
  background: var(--grey-light);
}
.store-app__share-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-app__share-item-text {
  flex: 1;
}
.store-app__btn {
  padding: 10px 32px;
}
.store-app__mobile-img {
  display: none;
}
@media (max-width: 992px) {
  .store-app {
    padding: 20px;
  }
}
@media (min-width: 767px) {
  .store-app__btn--mobile {
    display: none;
  }
}
@media (max-width: 767px) {
  .store-app {
    background: transparent;
    padding: 0;
    gap: 12px;
  }
  .store-app__title {
    font-size: 22px;
  }
  .store-app__img {
    display: none;
  }
  .store-app__mobile-img {
    display: flex;
    width: 70px;
  }
  .store-app__header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .store-app__btn:not(.store-app__btn--mobile),
  .store-app__action {
    display: none;
  }
  .store-app__content {
    background: var(--white);
    border-radius: 14px;
    padding: 14px;
  }
  .store-app__main {
    width: 100%;
  }
  .store-app__btn {
    margin-left: auto;
  }
  .store-app__meta {
    justify-content: space-between;
  }
  .store-app__meta-item {
    flex: 1;
  }
  .store-app__header {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .store-app__title {
    font-size: 18px;
    font-weight: 500;
  }
  .store-app__org {
    font-size: 12px;
  }
  .store-app__mobile-img {
    width: 58px;
    overflow: hidden;
    border-radius: 10px;
  }
}
@media (max-width: 525px) {
  .store-app__title {
    font-size: 16px;
  }
}
@media (max-width: 500px) {
  .store-app__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 115px;
  }
  .store-app__meta-item {
    padding: 0 10px;
  }
  .store-app__main {
    gap: 16px;
  }
}
@media (max-width: 420px) {
  .store-app__btn {
    padding: 10px 14px;
  }
}
@media (max-width: 390px) {
  .store-app__devices {
    font-size: 10px;
    padding: 0 15px;
  }
  .store-app__devices-icon {
    width: 17px;
  }
  .store-app__title {
    font-size: 14px;
    max-width: 80px;
  }
}
@media (max-width: 350px) {
  .store-app__btn {
    font-size: 12px;
  }
  .store-app__mobile-img {
    width: 49px;
  }
}


/* --- olegtix-block-broker_bonuses --- */
.block-broker-bonuses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(312px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.block-broker-bonuses__item {
  display: flex;
}

.block-broker-bonuses__item.hidden {
  display: none;
}

.block-broker-bonuses__footer {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.block-broker-bonuses__load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Состояние загрузки */
.block-broker-bonuses.broker-bonuses-loading .block-broker-bonuses__load-more {
  opacity: 0.7;
  pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .block-broker-bonuses__container {
    padding: 0 15px;
  }

  .block-broker-bonuses__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .block-broker-bonuses__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --- olegtix-block-broker_comments --- */
.block-broker-comments__container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.block-all-broker-comments .block-broker-comments__container,
.block-all-broker-comments__container {
  grid-template-columns: 1fr;
}
.block-all-broker-comments--with-sidebar .block-broker-comments__container {
  grid-template-columns: 1fr 300px;
}

.block-all-broker-comments .custom-select__dropdown a.custom-select__option {
  display: flex;
  text-decoration: none;
  justify-content: center;
  color: inherit;
  padding: inherit;
}

.block-all-broker-comments__pagination .page-numbers {
  margin-top: 0;
}
.review-card__broker-logo-link {
  display: inline-block;
  line-height: 0;
}
.review-card__broker-logo-link img {
  display: block;
}
/* Нижний блок с кнопкой загрузки */
.block-broker-comments__footer {
  display: flex;
  justify-content: center;
}

.block-broker-comments__load-more {
  width: 100%;
}

.block-broker-comments.block-broker-comments-loading
  .block-broker-comments__load-more {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.block-broker-comments.block-broker-comments-loading
  .block-broker-comments__load-more::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.child-comments {
  padding: 12px 0 12px 12px;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.review-author {
  display: flex;
  gap: 8px;
  align-items: center;
  line-height: 1;
}
.review-author__avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--grey);
  text-transform: uppercase;
  background: var(--grey-light);
}
.review-author__avatar .ai-info-badge {
  display: none;
}
.review-author__name {
  font-size: 14px;
}
.review-author__date {
  font-size: 12px;
  color: var(--grey);
}
.review-author__meta {
  display: flex;
  row-gap: 3px;
  flex-direction: column;
}
.review-rating__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  margin-top: 4px;
}
.review-card__content {
  margin-top: 12px;
}
.review-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  margin-bottom: 4px;
}
.review-card__text {
  font-size: 14px;
  line-height: 1.57;
  margin-bottom: 2px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.review-card__text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__read-more {
  font-size: 14px;
  cursor: pointer;
  color: var(--primary);
  transition: opacity 0.5s;
}
.review-card__read-more:hover {
  opacity: 0.7;
}
.review-card__footer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grey-light);
  padding-top: 12px;
  margin-top: 24px;
}
.review-card__footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.review-card__status {
  display: flex;
  gap: 8px;
}
.review-card__badge {
  display: flex;
  gap: 4px;
  font-size: 12px;
  align-items: center;
  border-radius: 100px;
  padding: 6px 12px;
}
.review-card__badge--verified {
  background-color: #ebf8ec;
}
.review-card__badge--moderation {
  background-color: var(--grey-light);
}
.review-card__broker-logo {
  max-width: 70px;
  max-height: 24px;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
  flex-shrink: 0;
}
.review-card__footer-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.review-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.review-card__rating {
  display: flex;
  gap: 4px;
  align-items: center;
}
.review-card__reply {
  background-color: var(--grey-light);
  border-radius: 100px;
  padding: 7px 12px;
  display: flex;
  font-size: 14px;
  gap: 6px;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
  cursor: pointer;
}
.review-card__reply:hover {
  opacity: 0.7;
}
.review-card__reply-text {
  line-height: 0;
  display: flex;
}
.review-card__reply-icon {
  display: flex;
}
.comments-list-wrapper > .comment {
  background-color: var(--white);
  padding: 20px;
  border-radius: 14px;
}
.comments-list-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
.review-card__actions .reaction-btn,
.review-card__actions .action-button {
  background-color: var(--grey-light);
  color: var(--text);
  transition: opacity 0.5s;
}

.review-card__actions .reaction-btn path {
  fill: var(--grey);
}
.review-card__actions .reaction-btn--active {
  background-color: var(--primary);
  color: var(--white);
}
.review-card__actions .reaction-btn--active path {
  fill: var(--white);
}
.child-comments {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}
.child-comments .review-card {
  position: relative;
  z-index: 3;
}
.child-comments .review-card::after {
  content: "";
  position: absolute;
  top: 50px;
  z-index: -1;
  left: 20px;
  width: 1px;
  height: calc(100% - 50px);
  background-color: var(--grey-light);
}
.child-comments .review-card__footer {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.child-comments .review-card__content,
.child-comments .review-card__footer {
  padding-left: 50px;
}
.comment-form {
  border-top: 1px solid var(--grey-light);
  flex-direction: column;
  padding-top: 12px;
  margin-top: 12px;
}
.comment-form__title {
  font-size: 20px;
  margin-bottom: 12px;
}
.comment-form__header {
  margin-bottom: 12px;
}
.comment-form__form {
  display: flex;
  flex-direction: column;
}
.comment-form__field {
  display: flex;
}
.comment-form__actions {
  display: flex;
  margin-top: 12px;
  justify-content: flex-end;
  gap: 10px;
}
.comment-form__btn {
  padding: 12.2px 38.5px;
}
@media (max-width: 400px) {
  .comment-form__btn {
    padding: 11.2px 19px;
  }
}
.comment-form__login-link {
  color: var(--primary);
  transition: opacity 0.5s;
}
.comment-form__login-link:hover {
  opacity: 0.7;
}
.form__field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form__textarea {
  width: 100%;
}
.comment-form__fields {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .comment-form__fields {
    flex-direction: column;
  }
}
.form__label {
  display: flex;
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 6px;
}

/* Сортировка комментариев */
.block-broker-comments__sort {
  margin-bottom: 24px;
}

.custom-select {
  position: relative;
  width: 200px;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 10px;
  padding: 0 20px;
  height: 50px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.custom-select__trigger:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-select__text {
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.274999976158142em;
  color: #232323;
}

.custom-select__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  pointer-events: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.custom-select__arrow svg {
  width: 12px;
  height: 7.41px;
}

.custom-select--open .custom-select__arrow svg {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 10px 20px 0px rgba(0, 19, 43, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10;
  max-height: 0;
  overflow: hidden;
}

.custom-select--open .custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 250px;
  overflow: visible;
}

.custom-select__option {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 50px;
  cursor: pointer;
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.274999976158142em;
  color: #232323;
  border-bottom: 1px solid #f4f4f4;
  transition: color 0.2s ease;
}

.custom-select__option:last-child {
  border-bottom: none;
}

.custom-select__option:hover {
  background: rgba(147, 69, 216, 0.05);
}

.custom-select__option--active {
  color: #9345d8;
}

.custom-select__option--active:hover {
  background: rgba(147, 69, 216, 0.1);
}

/* Состояние загрузки при сортировке */
.block-broker-comments--sorting .block-broker-comments__list {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.block-broker-comments--sorting .block-broker-comments__list::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid #f4f4f4;
  border-top-color: #9345d8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 5;
}

.block-broker-comments--sorting .custom-select {
  pointer-events: none;
  opacity: 0.7;
}
@media (max-width: 992px) {
  .block-broker-comments__container {
    grid-template-columns: 1fr;
  }
  .comments-list-wrapper {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .comments-list-wrapper > .comment {
    padding: 0;
  }
}
@media (max-width: 430px) {
  .review-card__footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 11px;
  }
  .review-card__actions .reaction-btn,
  .review-card__actions .action-button {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 8px;
  }
}


/* --- olegtix-block-broker_company_info --- */
.block-broker-company-info__content {
  display: flex;
  flex-direction: column;
}

.company-info-list {
  display: flex;
  flex-direction: column;
}

.company-info-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-light, #f4f4f4);
}

.company-info-item--last {
  border-bottom: none;
  padding-bottom: 0;
}

.company-info-item__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.275em;
  color: var(--grey);
  flex-shrink: 0;
  min-width: 180px;
}

.company-info-item__value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.275em;
  color: var(--text);
  flex: 1;
  text-align: left;
}

.company-info-item__link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-info-item__link:hover {
  color: var(--fiol, #9345d8);
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
  .company-info-item {
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
  }

  .company-info-item__label {
    min-width: auto;
    font-size: 14px;
  }

  .company-info-item__value {
    font-size: 14px;
  }
}

@media (max-width: 590px) {
  .company-info-item {
    padding: 12px 0;
  }
}


/* --- olegtix-block-broker_reliability --- */
.block-broker-reliability__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.reliability-blocks {
  display: flex;
  gap: 24px;
  width: 100%;
}

.reliability-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--grey-light);
  flex: 1;
}

.reliability-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reliability-item__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.reliability-item__icon svg {
  width: 100%;
  height: 100%;
}

.reliability-item__text {
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.reliability-item__number {
  font-size: 20px;
  font-weight: 600;
  width: 64px;
}
@media (max-width: 810px) {
  .reliability-blocks {
    flex-direction: column;
  }
  .reliability-block {
    padding: 20px;
  }
  .reliability-item__text {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .reliability-item__icon {
    width: 36px;
    height: 36px;
  }
  .reliability-item {
    align-items: flex-start;
  }
  .reliability-block {
    padding: 15px;
  }
  .reliability-item__text {
    font-size: 14px;
  }
  .block-broker-reliability__grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .reliability-item__number {
    font-size: 18px;
    width: 59px;
  }
  .reliability-block--numbers .reliability-item__text {
    margin-top: 2px;
  }
}


/* --- olegtix-block-broker_reviews --- */
/* Блок отзывов о букмекерах */

.broker-reviews .review-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
}
.broker-reviews__title {
  margin: 0;
}
.broker-reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.broker-reviews__header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.broker-reviews__all-link {
  font-weight: 500;
}

.broker-reviews__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
.broker-reviews__cta-text {
  font-size: 17px;
}
.broker-reviews__cta-btn {
  flex-shrink: 0;
  padding: 16px 26px;
  min-width: 215px;
}

/* Модалка с формой отзыва */
.broker-reviews__modal-content {
  max-height: 85vh;
  overflow-y: auto;
}

.broker-reviews__review-modal .broker-review-form--modal {
  margin: 0;
}

.broker-reviews__review-modal .broker-review-form__container {
  padding-top: 8px;
}

.broker-reviews__review-modal .broker-review-form__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.broker-reviews__review-modal .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.broker-reviews__navigation {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.broker-reviews__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.broker-reviews__nav-btn:hover {
  background-color: var(--grey-light);
}

.broker-reviews__nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.broker-reviews__slider {
  overflow: hidden;
}

.broker-reviews__wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

.broker-reviews__slide {
  flex-shrink: 0;
  width: 100%;
}

/* Swiper кастомизация */
.broker-reviews__slider .swiper-pagination {
  display: none;
}

.broker-reviews__slider .swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 940px) {
  .broker-reviews__cta-text {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .broker-reviews__cta {
    flex-direction: column;
    align-items: stretch;
    padding-right: 15px;
    gap: 12px;
    margin-top: 16px;
  }

  .broker-reviews__cta-btn {
    width: 100%;
  }
  .broker-reviews__slider .review-card__actions {
    flex-direction: row;
  }
  .block-broker-reviews {
    padding: 40px 0;
  }
  .broker-reviews__container {
    padding-right: 0;
  }
  .broker-reviews__header {
    gap: 16px;
    padding-right: 15px;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .broker-reviews__header-actions {
    justify-content: space-between;
    align-items: center;
  }

  .broker-reviews__navigation {
    align-self: flex-end;
  }

  .review-card {
    padding: 16px;
  }

  .review-card__actions {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  .review-card__rating-actions {
    align-self: flex-end;
  }
}
@media (max-width: 600px) {
  .broker-reviews__header-actions {
    flex: 1 0 100%;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .broker-reviews__nav-btn {
    width: 32px;
    height: 32px;
  }
  .broker-reviews__cta-text {
    font-size: 14px;
  }
  .broker-reviews__cta-btn {
    padding: 12px 19px;
  }
  .broker-reviews__nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .review-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .review-card__rating {
    align-self: flex-end;
  }

  .review-card__badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .review-card__broker-logo {
    align-self: flex-end;
  }
}


/* --- olegtix-block-broker_review_form --- */
.broker-review-form__ratings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rating-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rating-item__inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rating-item__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  margin: 0;
}

.rating-item__value {
  display: flex;
  align-items: flex-end;
  font-size: 18px;
  font-weight: 700;
  margin-top: 3px;
}

/* Звездочки рейтинга */
.rating-item__stars {
  display: flex;
  gap: 4px;
  cursor: pointer;
}

.rating-item__star {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.rating-item__star:hover {
  transform: scale(1.1);
}

.rating-item__star svg {
  width: 28px;
  height: 26px;
  fill: #d7d7d7;
  transition: fill 0.2s ease;
}

.rating-item__star.active svg {
  fill: #ffd700;
}

/* Чекбоксы согласий */
.comment-form__agreements,
.review-author--add-review {
  margin: 24px 0;
}
.comment-form__field--add-review {
  margin: 24px 0;
}
.agreements__item {
  margin-bottom: 9px;
}

.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 12px;
  color: var(--grey);

  line-height: 1.4;
  transition: color 0.2s ease;
}

.checkbox:hover {
  color: var(--primary);
}

.checkbox__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox__mark {
  position: relative;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid #34b945;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox__input:checked + .checkbox__mark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox__input:checked + .checkbox__mark::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox__input:focus + .checkbox__mark {
  box-shadow: 0 0 0 3px rgba(147, 69, 216, 0.2);
}

.checkbox__text {
  flex: 1;
  padding-top: 4px;
}
/* Уведомления */
.notification {
  padding: 16px 20px;
  border-radius: var(--input-border-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  animation: slideIn 0.3s ease-out;
}

.notification--success {
  background: #e8f5e8;
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.notification--error {
  background: #ffebee;
  border: 1px solid #f44336;
  color: #c62828;
}

.notification__content {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.notification__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Стили для ошибок в полях */
.error {
  border-color: #f44336 !important;
  background: #ffebee !important;
}

/* ——— Кастомный выбор БК с логотипами ——— */
.broker-review-form__broker-select {
  margin-bottom: 20px;
}

.broker-select-custom {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.broker-select-custom__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--grey, #555);
  background: var(--white, #fff);
  border: 1px solid #e0e0e0;
  border-radius: var(--input-border-radius, 8px);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  appearance: none;
}

.broker-select-custom__trigger:hover {
  border-color: #c0c0c0;
}

.broker-select-custom__trigger:focus {
  outline: none;
  border-color: var(--primary, #34b945);
  box-shadow: 0 0 0 3px rgba(52, 185, 69, 0.15);
}

.broker-select-custom__trigger[aria-expanded="true"] {
  border-color: var(--primary, #34b945);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.broker-select-custom__trigger .broker-select-custom__placeholder {
  flex: 1;
}

.broker-select-custom__trigger .broker-select-custom__value {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.broker-select-custom__trigger .broker-select-custom__value-logo-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}

.broker-select-custom__trigger .broker-select-custom__value-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.broker-select-custom__trigger .broker-select-custom__value-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a1a1a;
  font-weight: 500;
}

.broker-select-custom__arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.broker-select-custom__trigger[aria-expanded="true"]
  .broker-select-custom__arrow {
  transform: rotate(-135deg);
}

.broker-select-custom__list {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: var(--white, #fff);
  border: 1px solid var(--primary, #34b945);
  border-top: none;
  border-radius: 0 0 var(--input-border-radius, 8px)
    var(--input-border-radius, 8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.broker-select-custom__list[hidden] {
  display: none;
}

.broker-select-custom__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.broker-select-custom__option:hover,
.broker-select-custom__option:focus {
  background: #f0f7f0;
  outline: none;
}

.broker-select-custom__option[aria-selected="true"] {
  background: rgba(52, 185, 69, 0.08);
}

.broker-select-custom__option-logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: #f5f5f5;
}

.broker-select-custom__option-logo--placeholder {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e8e8e8;
}

.broker-select-custom__option-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broker-select-custom.error .broker-select-custom__trigger {
  border-color: #f44336;
  background: #ffebee;
}

.broker-review-form__btn {
  font-size: 18px;
}
.broker-review-form {
  margin-inline: 0;
}
.broker-review-form--post .broker-review-form__title {
  margin-bottom: 0;
}
.broker-review-form--post .broker-review-form__comment {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
@media (max-width: 700px) {
  .broker-review-form__ratings {
    grid-template-columns: repeat(3, 1fr);
  }
  .broker-review-form__btn {
    font-size: 16px;
  }
}
@media (max-width: 530px) {
  .broker-review-form__ratings {
    grid-template-columns: repeat(2, 1fr);
  }
  .rating-item__label {
    font-size: 12px;
  }
  .rating-item__value {
    font-size: 16px;
  }
  .rating-item__inner {
    gap: 5px;
  }
  .broker-review-form__btn {
    font-size: 15px;
  }
}
@media (max-width: 400px) {
  .broker-review-form__ratings {
    gap: 10px;
  }
  .broker-review-form__btn {
    font-size: 14px;
  }
  .rating-item__star svg {
    width: 21px;
    height: 21px;
  }
}

