
/* --- olegtix-block-app_data --- */
.block-app-data {
  margin: 0 15px;
  padding: 40px 0;
}



.block-app-data__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.block-app-data__item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s 
ease;
}

.block-app-data__item--featured {
  background-color: var(--white, #ffffff);
  border: 2px solid var(--gold, #ffd700);
  position: relative;
}

.block-app-data__item--featured::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border-radius: 12px;
  z-index: -1;
}

.block-app-data__item-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.block-app-data__item-icon {
  flex-shrink: 0;
  color: var(--gold, #ffd700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-app-data__item--featured .block-app-data__item-icon {
  color: var(--gold, #ffd700);
}

.block-app-data__item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.block-app-data__item-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #333333);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-app-data__item--featured .block-app-data__item-value {
  font-size: 20px;
  color: var(--gold, #ffd700);
}

.block-app-data__item-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey, #666666);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .block-app-data__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .block-app-data__item {
    padding: 16px 12px;
    min-height: 70px;
  }

  .block-app-data__item-value {
    font-size: 16px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 18px;
  }

  .block-app-data__item-label {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .block-app-data {
    padding: 30px 0;
  }



  .block-app-data__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .block-app-data__item {
    padding: 14px 10px;
    min-height: 65px;
  }

  .block-app-data__item-content {
    gap: 8px;
  }

  .block-app-data__item-value {
    font-size: 15px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 17px;
  }

  .block-app-data__item-label {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .block-app-data {
    padding: 20px 0;
  }

  .block-app-data__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .block-app-data__item {
    padding: 12px 8px;
    min-height: 60px;
  }

  .block-app-data__item-value {
    font-size: 14px;
  }

  .block-app-data__item--featured .block-app-data__item-value {
    font-size: 16px;
  }

  .block-app-data__item-label {
    font-size: 9px;
  }

  .block-app-data__item-icon svg {
    width: 20px;
    height: 20px;
  }
}


/* --- olegtix-block-author_grid --- */
/* Блок сетки авторов */
.block-author-grid {
  margin-top: 40px;
  margin-bottom: 40px;
}

.block-author-grid__header {
  margin-bottom: 32px;
}

.block-author-grid__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .block-author-grid__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .block-author-grid {
    margin-top: 32px;
    margin-bottom: 32px;
  }


  .block-author-grid__header {
    margin-bottom: 24px;
  }


  .block-author-grid__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {

  .block-author-grid__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --- olegtix-block-blog_categories --- */
.block-blog-categories__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.block-blog-categories__title {
  margin: 0;
}

.block-blog-categories__navigation {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.block-blog-categories__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.block-blog-categories__nav-btn:hover {
  opacity: 0.7;
}

.block-blog-categories__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.block-blog-categories__swiper {
  margin-bottom: 24px;
  overflow: hidden;
}

.block-blog-categories__wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.block-blog-categories__slide {
  flex-shrink: 0;
}

/* Пустое состояние */
.block-blog-categories__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-blog-categories__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

@media (max-width: 768px) {
  .block-blog-categories__container {
    padding-right: 0;
  }

  .block-blog-categories__header {
    padding-right: 15px;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .block-blog-categories__navigation {
    display: flex;
    margin-left: 0;
  }

  .block-blog-categories__wrapper {
    flex-wrap: nowrap;
  }

  .block-blog-categories__slide {
    width: 312px;
  }
}


/* --- olegtix-block-bonuses --- */
.block-bonuses__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.block-bonuses__title {
  margin: 0;
}

.block-bonuses__navigation {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.block-bonuses__nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.block-bonuses__nav-btn:hover {
  opacity: 0.7;
}

.block-bonuses__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.block-bonuses__swiper {
  margin-bottom: 24px;
  overflow: hidden;
}

.block-bonuses__wrapper {
  display: flex;
}

.block-bonuses__slide {
  width: 312px;
  flex-shrink: 0;
  height: auto;
}

/* Последний слайд "Больше бонусов" */
.block-bonuses__more {
  height: 100%;
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 2px dashed rgba(147, 69, 216, 0.35);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.block-bonuses__more-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
}

.block-bonuses__more-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
}

.block-bonuses__more:hover {
  border-color: rgba(147, 69, 216, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.block-bonuses__more:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Карточка бонуса */
.bonus-card {
  background: var(--text);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bonus-card__image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.bonus-card__image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.bonus-card__content {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.bonus-card__title {
  font-weight: 700;
  margin: 0;
  flex: 1;
  color: var(--white);
}

.bonus-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bonus-card__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.bonus-card__tag:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.bonus-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--white);
  font-weight: 600;
}

.bonus-card__rating svg {
  width: 16px;
  height: 16px;
}

.bonus-card__btn {
  width: 100%;
  padding: 11.5px 32px;
  font-weight: 700;
  font-size: 18px;
}

.bonus-card__rating-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.bonus-card__rating-label {
  font-size: 12px;
  color: var(--grey-light);
}

.bonus-card__rating-buttons {
  display: flex;
  gap: 10px;
}

.bonus-card__broker-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  height: 24px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 100px;
  padding: 0px 6px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
  justify-content: center;
}

.bonus-card__broker-logo:hover {
  background: rgba(255, 255, 255, 1);
}

.bonus-card__broker-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Пустое состояние */
.block-bonuses__empty {
  text-align: center;
  padding: 60px 20px;
}

.block-bonuses__empty-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

.block-bonuses__empty-text--lead {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 12px;
}

.block-bonuses__empty-text--cta {
  margin-bottom: 20px;
}

.block-bonuses__empty-btn {
  display: inline-flex;
  margin-top: 4px;
}
.bonus-card .broker-promocode__label {
  color: var(--grey-light);
}
/* Адаптивность */
@media (max-width: 768px) {
  .block-bonuses__container {
    padding-right: 0;
  }
  .block-bonuses__header,
  .block-bonuses__footer {
    padding-right: 15px;
  }

  .block-bonuses__header {
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .block-bonuses__navigation {
    margin-left: 0;
  }

  .block-bonuses__slide {
    width: 312px;
  }

  .bonus-card__content {
    padding: 12px;
  }

  .bonus-card__title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bonus-card__image {
    height: 150px;
  }

  .bonus-card__content {
    padding: 10px;
  }

  .bonus-card__title {
    font-size: 16px;
  }
}
@media (max-width: 400px) {
  .block-bonuses__navigation {
    display: none;
  }
}


/* --- 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;
  }
}

