/* ==========================================================================
 1. ОБЩИЕ СТИЛИ САЙТА И ШРИФТЫ
 ========================================================================== */
body {
 font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
 background-color: #f4f6f9 !important;
 color: #333333 !important;
 line-height: 1.6 !important;
 margin: 0px;
 padding: 0px;
}

/* Ссылки в тексте */
a {
 color: #1a73a3;
 text-decoration: none;
 transition: color 0.2s ease;
}
a:hover {
 text-decoration: underline;
 color: #155d85;
}

/* ==========================================================================
 2. ФИКСИРОВАННАЯ МИНИМАЛИСТИЧНАЯ ШАПКА И ОФИЦИАЛЬНЫЙ ЛОГОТИП
 ========================================================================== */
.sticky-header {
 position: fixed !important;
 top: 0 !important;
 left: 0 !important;
 width: 100% !important;
 z-index: 1000 !important;
 background-color: #ffffff !important;
 box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.sticky-header-spacer {
 height: 145px !important;
}

.brand-header-block {
 max-width: 1200px;
 margin: 0 auto;
 padding: 15px 20px 5px 20px;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 background-color: #ffffff;
}

/* Контейнер логотипа и города */
.brand-logo-zone {
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
 gap: 12px !important;
}

/* Параметры картинки логотипа */
.main-logo-img {
 height: 52px !important; /* Оптимальный размер вровень с текстом */
 width: auto !important;
}

/* Стилизация надписи Leipzig под шрифт логотипа */
.logo-city-text {
 font-family: 'Arial Black', 'Impact', sans-serif !important;
 font-size: 36px !important;
 font-weight: 900 !important;
 font-style: italic !important; /* Наклон в стиле Nuga Best */
 color: #223469 !important; /* Фирменный глубокий синий цвет со знака */
 text-transform: uppercase;
 line-height: 1 !important;
 letter-spacing: -0.5px !important;
}

/* Подпись "seit 2006..." */
.brand-slogan-zone {
 font-family: 'Georgia', serif !important;
 font-size: 16px !important;
 font-style: italic !important;
 color: #4b5563 !important;
 margin-top: 6px !important;
}

/* ==========================================================================
 3. ЕДИНАЯ СТРОКА МЕНЮ
 ========================================================================== */
.custom-nav-bar {
 border-bottom: 2px solid #111111 !important; /* Четкая темная линия, как на оригинале */
 padding: 6px 0 !important;
 background-color: #ffffff !important;
}

.custom-nav-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
 display: flex !important;
 justify-content: center !important;
}

.custom-nav-row {
 display: flex !important;
 justify-content: center !important;
 align-items: center !important;
 flex-wrap: wrap !important;
 gap: 8px !important;
}

.custom-nav-link {
 display: inline-block !important;
 padding: 6px 14px !important;
 color: #111111 !important; /* Строгий черный цвет ссылок */
 text-decoration: none !important;
 font-weight: 700 !important;
 font-size: 14px !important;
 font-family: 'Segoe UI', Roboto, sans-serif !important;
 transition: color 0.2s ease !important;
}

.custom-nav-link:hover {
 color: #1a73a3 !important;
 text-decoration: none !important;
}

/* ==========================================================================
 4. СТРУКТУРА КОНТЕНТА И СОВРЕМЕННЫЕ ТАБЛИЦЫ ТОВАРОВ
 ========================================================================== */
.site-container-full {
 max-width: 1200px;
 margin: 0 auto;
 padding: 10px 20px 20px 20px;
 box-sizing: border-box;
}

.site-main-full {
 width: 100% !important;
}

.main-content-card {
 background: #ffffff !important;
 border: 1px solid #e5e7eb !important;
 border-radius: 8px !important;
 padding: 25px !important;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
 box-sizing: border-box;
}

/* Очистка и модернизация таблиц контента */
.main-content-card table {
 width: 100% !important;
 border-collapse: collapse !important;
 border: 1px solid #e5e7eb !important;
 margin-top: 0px !important;
}

.main-content-card td {
 border: 1px solid #e5e7eb !important;
 padding: 12px !important;
 font-size: 14px !important;
 vertical-align: middle !important;
}

/* Выделение шапки таблицы продуктов */
.main-content-card tr:first-child td {
 background-color: #f8fafc !important;
 font-weight: 600 !important;
 color: #4b5563 !important;
}

/* Действия в таблице (Details, Описание) */
.main-content-card td a {
 color: #7c3aed !important;
 font-weight: 600;
}
.main-content-card td a:hover {
 color: #6d28d9 !important;
}

/* ==========================================================================
 5. МОДЕРНИЗАЦИЯ КНОПОК И ФОРМ
 ========================================================================== */
input[type="submit"], input[type="button"], button {
 background: #1a73a3 !important;
 color: #ffffff !important;
 border: none !important;
 border-radius: 6px !important;
 padding: 10px 20px !important;
 font-size: 14px !important;
 font-weight: 600 !important;
 cursor: pointer !important;
 transition: background 0.2s ease, transform 0.1s ease !important;
 box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
input[type="submit"]:hover, button:hover {
 background: #155d85 !important;
}

input[type="text"], input[type="email"], textarea, select {
 width: 100% !important;
 box-sizing: border-box !important;
 padding: 10px 12px !important;
 border: 1px solid #cccccc !important;
 border-radius: 6px !important;
 font-size: 14px !important;
}

/* ==========================================================================
 6. МОБИЛЬНАЯ АДАПТАЦИЯ (ОТКЛЮЧЕНИЕ ФИКСАЦИИ НА ТЕЛЕФОНАХ)
 ========================================================================== */
@media (max-width: 768px) {
 .sticky-header {
 position: relative !important;
 }
 .sticky-header-spacer {
 display: none !important;
 }
 .site-container-full {
 padding: 10px;
 }
 .main-content-card {
 padding: 15px !important;
 }
 
 /* Перестроение таблиц контента в блоки на смартфонах */
 .main-content-card table, 
 .main-content-card tbody, 
 .main-content-card tr, 
 .main-content-card td {
 display: block !important;
 width: 100% !important;
 box-sizing: border-box;
 }
 .main-content-card tr {
 margin-bottom: 20px;
 border: 1px solid #e5e7eb;
 border-radius: 8px;
 overflow: hidden;
 }
 .main-content-card tr:first-child {
 display: none !important;
 }
 .main-content-card td {
 border: none !important;
 border-bottom: 1px solid #f3f4f6 !important;
 text-align: center !important;
 padding: 15px !important;
 }
 .main-content-card td:last-child {
 border-bottom: none !important;
 }
}

/* ФИНАЛЬНАЯ ТОЧНАЯ КОРРЕКТИРОВКА НАДПИСИ LEIPZIG */
.brand-logo-zone {
 gap: 0px !important; /* Убираем стандартные зазоры полностью */
}

/* КОРРЕКТИРОВКА ТОЛЩИНЫ ШРИФТА ДЛЯ LEIPZIG */
.logo-city-text {
 font-family: 'Arial', sans-serif !important;
 font-size: 30px !important; /* Оставляем идеальную высоту */
 font-weight: 700 !important; /* Сделали буквы тоньше (было 900) */
 font-style: italic !important;
 color: #213a8b !important;
 text-transform: uppercase;
 line-height: 1 !important;
 letter-spacing: -0.5px !important;
 margin-left: -5px !important;
 margin-top: 8px !important; 
}