/* Оригинальные баннеры сохраняют весь текст; разметка работает без JavaScript. */
.tf-site .tf-home-promotions,
.tf-site .tf-promotions-page {
  max-width: var(--tf-max);
}
.tf-site .tf-home-promotions {
  padding-block: 36px;
}
.tf-site .tf-promotions-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.tf-site .tf-promotions-heading h2,
.tf-site .tf-promotions-heading h3:where(#home-promotions-title) {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase;
}
.tf-site .tf-promotions-all {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  color: var(--tf-muted);
  font-size: 18px;
  line-height: 1.4;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.tf-site .tf-promotions-all:focus-visible {
  color: var(--tf-red);
  text-decoration: underline;
}
@media (hover:hover){
.tf-site .tf-promotions-all:hover {
  color: var(--tf-red);
  text-decoration: underline;
}
}
.tf-site .tf-home-promotions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.tf-site .tf-promotion-card {
  display: block;
  min-width: 0;
  border-radius: 0;
}
.tf-site .tf-promotion-card picture {
  display: block;
}
.tf-site .tf-promotion-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 408;
  object-fit: contain;
}
/* У цветной подборки свой оригинальный формат; остальные карточки не меняются. */
.tf-site .tf-promotion-card[data-promotion-id="choose-color"] img { aspect-ratio: auto; }
.tf-site .tf-promotion-card:focus-visible {
  outline: 2px solid var(--tf-red);
  outline-offset: 4px;
}
.tf-site .tf-promotions-page {
  padding-block: 64px 72px;
}
.tf-site .tf-promotions-page h1 {
  margin: 0 0 64px;
  font-size: 48px;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
}
.tf-site .tf-promotions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 60px;
}
@media (max-width: 1023px) and (min-width: 768px) {
  .tf-site .tf-promotions-heading h2,
  .tf-site .tf-promotions-heading h3:where(#home-promotions-title) { font-size: 28px; }
  .tf-site .tf-home-promotions-list { gap: 20px; }
  .tf-site .tf-promotions-grid { gap: 36px; }
}
@media (max-width: 767px) {
  .tf-site .tf-home-promotions { padding-block: 28px; }
  .tf-site .tf-promotions-heading { gap: 16px; margin-bottom: 24px; }
  .tf-site .tf-promotions-heading h2,
  .tf-site .tf-promotions-heading h3:where(#home-promotions-title) { max-width: 180px; font-size: 20px; line-height: 1.5; }
  .tf-site .tf-promotions-all { font-size: 14px; font-weight: 700; }
  .tf-site .tf-home-promotions-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 5px);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    margin: -6px 0;
    padding: 6px 0;
    scrollbar-width: none;
  }
  .tf-site .tf-home-promotions-list::-webkit-scrollbar { display: none; }
  .tf-site .tf-home-promotions-list .tf-promotion-card { scroll-snap-align: start; border-radius: var(--tf-radius); }
  .tf-site .tf-home-promotions-list .tf-promotion-card:focus-visible { outline-offset: -2px; }
  .tf-site .tf-home-promotions-list img { aspect-ratio: auto; border-radius: var(--tf-radius); }
  .tf-site .tf-promotions-page { padding-block: 32px 48px; }
  .tf-site .tf-promotions-page h1 { margin-bottom: 24px; font-size: 26px; line-height: 1.3; }
  .tf-site .tf-promotions-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-site .tf-home-promotions-list { scroll-behavior: auto; }
}
