.tab-content {
  display: none;
}
.promo-item--hidden {
    display: none;
}
.show-tab {
  display: block;
}

.tab-content:target {
  display: block;
}

#all:target~.promos-content__buttons>[href="#all"],
#promo:target~.promos-content__buttons>[href="#promo"],
#discount:target~.promos-content__buttons>[href="#discount"] {
  color: red;
}



.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 10px 20px; /* расстояние между ссылками */
  max-width: 100%;
}

.footer__link {
  
  text-decoration: none;
  font-size: 14px;
}

.footer__link:hover {
  text-decoration: underline;
}

/* Мобильная версия — 1 колонка */
@media (max-width: 767px) {
  .footer__links {
      grid-template-columns: 1fr;
      text-align: center;
  }
}

/* Планшет — 2 колонки */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__links {
      grid-template-columns: repeat(2, 1fr);
  }
}
.breadcrumbs {
 margin-bottom: 20px;
 margin-top: 20px;
  font-size: 14px;
  color: #505050;
  
}
.breadcrumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
}
.breadcrumbs a:last-child {
  font-weight: 700; /* Сделать последний элемент жирным */
}
.breadcrumbs svg {
  vertical-align: middle;
}
.breadcrumbs__link {
  font-weight: normal !important;
}
.promos-about-sidebar {
 
}
/* Скрываем по умолчанию */
.static-mobile {
  display: none;
}

/* Показываем на экранах меньше 768px (мобильные) */
@media (max-width: 767px) {
  .static-mobile {
      display: block; /* или inline, flex — в зависимости от твоей разметки */
  }
}
.sidebar-statistic {
  font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 119%;
    color: #676767;
    min-width: 300px;
    padding:20px;
}
/* Скрываем по умолчанию */
.static-pc {
  display: block;
  margin-top: 70px;
  margin-bottom: 40px;
  margin-left: 25px;
}

/* Показываем на экранах меньше 768px (мобильные) */
@media (max-width: 767px) {
  .static-pc {
      display: none; /* или inline, flex — в зависимости от твоей разметки */
  }
}
.assessment-stars {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.assessment-star {
  position: relative;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
  user-select: none;
}

.assessment-star svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: #ccc;
  fill: none;
}

.assessment-star-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 24px;
  width: 0;
  pointer-events: none;
}

.assessment-star-fill svg {
  width: 24px;
  height: 24px;
  fill: #f5ae4b;
  stroke: #f5ae4b;
}

.rating-hide {
  display: none;
}
.footer .social-list,
.footer .social-list__item {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer .social-list__item::before,
.footer .social-list__item::marker {
  content: none;
  display: none;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}
.sidebar-statistic {
  
}
.left-info-side {
 

}
.promos-chars__title {
  margin-top: 20px;
}
/* Контейнер */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Кнопки */
.filters button {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

/* Числа в кнопках */
.filters button span[data-filter="count"] {
  background: #eee;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* Наведение */
.filters button:hover {
  background: #eaeaea;
  border-color: #bbb;
}

/* Активная кнопка */
.filters button.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.filters button.active span[data-filter="count"] {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Для "Нет найдено" блока */
#filter-plug {
  margin-top: 10px;
  font-size: 14px;
  color: #999;
  font-style: italic;
}
.filter-button-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.filter-button-nav button {
  background: #f7f7f7;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.filter-button-nav button span[data-filter="count"] {
  background: #e5e5e5;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.filter-button-nav button:hover {
  background: #eaeaea;
  border-color: #bbb;
}

.filter-button-nav button.active {
  background: #e9331d;
  color: #fff;
  border-color: #e9331d;
}

.filter-button-nav button.active span[data-filter="count"] {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

#filter-plug {
  margin-top: 10px;
  font-size: 14px;
  color: #999;
  font-style: italic;
  flex-basis: 100%;
}

@media (max-width: 600px) {
  .filter-button-nav {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }
  .filter-button-nav button {
      flex: 0 0 auto;
  }
}
.promos-content__item.promo-item {
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  overflow: hidden;
  opacity: 1;
  max-height: 1000px; /* достаточно большой, чтобы вместить элемент */
  padding: initial;
  margin: 10px;
}

.promos-content__item.promo-item.hide {
   display: none;
}
.promos-title__logo {
  display: none;
}

@media (max-width: 850px) {
  .promos-title-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .promos-container .promos-title-head .promos-title {
    text-align: left;
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 20px;
    line-height: 1.25;
    text-wrap: pretty;
  }

  .promos-title__logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e2e2e2;
    border-radius: 12px;
  }

  .promos-title__logo img,
  .promos-title__logo img.toolbar__logo-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 6px;
    object-fit: contain;
  }

  .promos-about-sidebar--main .promos-about__logo {
    display: none;
  }

  .promos-about-sidebar--main {
    display: block;
    grid-template-columns: 1fr;
  }

  .promos-about-sidebar--main .promos-chars .read-more,
  .promos-about-sidebar--main .promos-chars .dots {
    display: none;
  }

  .promos-about-sidebar--main .promos-chars .more {
    display: inline;
  }
}

@media (max-width: 576px) {
  .promos-container .promos-title-head .promos-title {
    font-size: 18px;
  }

  .promos-container.grid {
    gap: 12px;
  }

  .promos-about-sidebar--main {
    display: block;
    overflow: hidden;
    margin-bottom: 0;
  }

  .promos-about {
    padding: 0;
  }

  .promos-about-sidebar--main .assessment-stars {
    gap: 4px;
    margin: 0 0 8px;
  }

  .promos-about-sidebar--main .assessment-stars p {
    margin: 0;
  }

  .promos-about-sidebar--main .promos-chars {
    padding: 0;
  }

  .filter-button-nav {
    padding-top: 0;
  }

  .left-info-side {
    display: none;
  }
}
.left-info-side {

  color: #333;
  max-width: 300px;
  padding: 30px;
  /* background: #f9f9f9; */
  border-radius: 8px;
    /* box-shadow: 0 2px 6px rgb(0 0 0 / 0.1); */
}

.left-info-side p {
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.4;
}

.left-info-side p span {
  font-weight: 600;
  color:#e9331d;
}

.left-info-side p:nth-of-type(2) {
  position: relative;
  padding-top: 12px;
  margin-top: 20px;
  font-size: 17px;
  font-weight: 600;
  border-top: 2px solid #e9331d;
}

.left-info-side p:nth-of-type(2) span {
  color: #28a745;
  font-size: 18px;
  font-weight: 700;
}
.sidebar-statistic table {
  width: 100%;
  border-collapse: collapse;
}

.sidebar-statistic td {
  padding: 8px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}

.sidebar-statistic td:first-child {
  font-weight: 600;
  color: #444;
  width: 70%;
}

.sidebar-statistic td:first-child span {
  margin-right: 6px;
  font-size: 18px;
  vertical-align: middle;
}

.sidebar-statistic td:last-child {
  text-align: right;
  color: #e9331d;
  font-weight: 700;
}

.sidebar-statistic tr.statistic-tr td {
  border-bottom: 2px solid#e9331d;
  color: #555;
  font-weight: 600;
}

.sidebar-statistic {
/*  background: #f9f9f9; */
  border-radius: 8px;
/*  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1); */
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
  .footer__columns {
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }

  .footer__col {
    flex: none;
    width: 100%;
  }

  .page-footer__social {
    justify-content: center;
  }

  .footer__bottom {
    padding: 0 5px;
    font-size: 11px;
  }
  .footer__columns {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
}

.promos-wrapper .about-section {
  margin-left: calc(var(--container-offset) * -1);
  margin-right: calc(var(--container-offset) * -1);
}

@media (max-width: 576px) {
  section.about-section {
    background-color: #fff;
  }

  .about-section > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .about-section__content {
    padding: 20px 20px 20px 28px;
    border-radius: 0;
    background-color: transparent;
  }

  .about-section__content > .about-section {
    margin-bottom: 0;
    overflow-x: auto;
  }
}

.about-section table {
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  font-family: inherit;
  color: inherit;
}

.about-section th,
.about-section td {
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

.about-section th {
  font-weight: 700;
  background: #f8f8f8;
}

.about-section tr:nth-child(even) td {
  background: #fafafa;
}

@media (max-width: 576px) {
  .about-section th,
  .about-section td {
    padding: 8px;
  }
}

.promos-table__table {
  width: 100%;
}

@media (max-width: 576px) {
  .promos-table thead,
  .promos-table tbody {
    margin-left: calc(var(--container-offset) * -1);
    margin-right: calc(var(--container-offset) * -1);
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0;
  }

  .promos-table tbody tr td:nth-child(3) {
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
  }
}

@media (max-width: 375px) {
  .promos-table tbody tr td:nth-child(3) {
    font-size: 11px;
  }
}

.review-img {
  mask-image: none;
  -webkit-mask-image: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}