/* Shared by the React catalog and its server fallback. Reserve before SDK load. */
html[data-site-profile="ru"] .catalog-ad-grid,
html[data-site-profile="ru"] #seo-static .catalog-ad-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.catalog-ad-slot {
  grid-column: 1 / -1;
  grid-row: 3;
  min-width: 0;
  margin: 16px 0;
}
.catalog-ad-grid[data-card-count="1"] > .catalog-ad-slot { grid-row: 2; }
.catalog-ad-label { display: block; font-size: 12px; line-height: 16px; color: #737373; margin-bottom: 8px; }
.catalog-ad-host { width: 100%; height: 250px; min-width: 0; }
.catalog-ad-host > div { width: 100%; height: 250px; max-height: 250px; }
@media (min-width: 640px) {
  html[data-site-profile="ru"] .catalog-ad-grid,
  html[data-site-profile="ru"] #seo-static .catalog-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-ad-grid[data-card-count="2"] > .catalog-ad-slot { grid-row: 2; }
}
@media (min-width: 768px) {
  html[data-site-profile="ru"] .catalog-ad-grid,
  html[data-site-profile="ru"] #seo-static .catalog-ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-ad-grid[data-card-count="3"] > .catalog-ad-slot { grid-row: 2; }
}
@media print {
  .catalog-ad-slot { display: none !important; }
}
