
.rost-original-logo {
  display: inline-flex !important;
  flex: none !important;
  width: 195px !important;
  height: 52px !important;
  background-image: url('/brand-assets/rostovshchik-logo.png');
  background-position: center left;
  background-repeat: no-repeat;
  background-size: contain;
}

.rost-original-logo > * {
  visibility: hidden !important;
}

.rost-codart-credit {
  background: #0f172a;
  color: #aab7cb;
  padding: 16px 24px 24px;
  text-align: center;
  font: 13px Arial, sans-serif;
}

.rost-codart-credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #e2e8f0;
  text-decoration: none;
}

.rost-codart-credit img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Rostovshchik header responsive fix v2 */

/* Логотип не занимает лишнюю ширину */
header .rost-original-logo {
    width: 160px !important;
    min-width: 160px !important;
    height: 46px !important;
}

/* Навигация и кнопка остаются внутри экрана */
header {
    max-width: 100%;
}

header nav {
    gap: 12px !important;
}

header a,
header button {
    flex-shrink: 0;
}

/* Не допускаем горизонтального переполнения страницы */
html, body, #root {
    max-width: 100%;
}

@media (max-width: 1280px) {
    header .rost-original-logo {
        width: 145px !important;
        min-width: 145px !important;
    }

    header nav {
        gap: 8px !important;
    }
}
