/* ===== Скрытые элементы ===== */
.servers-buttons,
.language-switcher {
  display: none !important;
}

/* ===== Сетка товаров ===== */
.product-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1400px) {
  .product-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .product-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Блок "Покупки на сайте..." слева от товаров (ПК) ===== */
@media (min-width: 1000px) {
  .grid-wrapper:not(.grid-wrapper--single) {
    grid-template-columns: 1fr 3fr;
  }
  .grid-wrapper:not(.grid-wrapper--single) > .right-column {
    order: -1;
  }
}

/* ===== Телефон / планшет: блок "Покупки" над товарами ===== */
@media (max-width: 999px) {
  .grid-wrapper:not(.grid-wrapper--single) > .right-column {
    order: -1;
  }
  .right-column .banner-item-link {
    padding: 16px;
  }
  .right-column .banner-content {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* ===== "Как получить товар" + "Правовая документация" в одну строку ===== */
.banners-above-sorting > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.banners-above-sorting .banner-elem {
  display: flex;
  margin-bottom: 0;
}
.banners-above-sorting .banner-item-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}
@media (max-width: 600px) {
  .banners-above-sorting > div {
    grid-template-columns: 1fr;
  }
  .banners-above-sorting .banner-item-link {
    padding: 16px;
  }
}