@charset "UTF-8";
/* 1. Настройка блочной модели для всех элементов */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Убираем внутренние и внешние отступы по умолчанию */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Заставляет всю страницу скроллиться плавно, а не рывками */
}

/* 3. Упрощение наследования шрифтов для полей и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* 4. Сброс стандартных списков */
ul[role=list],
ol[role=list] {
  list-style: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* 5. Улучшение отображения медиаэлементов */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Удаление подчеркивания у ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* 7. Убираем базовые стили для кнопок */
button {
  border: none;
  background: none;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

:root .sidebar {
  --bg-color: whitesmoke;
  --text-color: #;
}

body.dark-theme .sidebar {
  --bg-color: #0f1319;
  --text-color: white;
}

body .sidebar {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

:root .header {
  --bg-color: whitesmoke;
  --text-color: #;
  z-index: 99;
}

body.dark-theme .header {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .header {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  z-index: 99;
}

:root .main-content {
  --bg-color: rgba(220, 220, 220, 0.089);
  --text-color: #333333;
}

body.dark-theme .main-content {
  --bg-color: #;
  --text-color: #ffffff;
}

body .main-content {
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*//////////////////////////////////////////тема фона карточек/////////////////////////////////////////////////////////////////*/
:root .card {
  --bg-color: whitesmoke;
  --text-color: #333333;
}

body.dark-theme .card {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .card {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*//////////////////////////////////////////тема фона карточек краткое описание/////////////////////////////////////*/
:root .card__description {
  --bg-color: whitesmoke;
  --text-color: #3b3b3b;
}

body.dark-theme .card__description {
  --bg-color: #0f1319;
  --text-color: rgb(195, 195, 195);
}

body .card__description {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*//////////////////////////////////////////тема фона карточек на странице подробно/////////////////////////////////////*/
:root .card-specification {
  --bg-color: whitesmoke;
  --text-color: #333333;
}

body.dark-theme .card-specification {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .card-specification {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*//////////////////////////////////////////тема фона  на странице подробно для полного описания карточки/////////////////////////////////////*/
:root .ful-detalis__description {
  --bg-color: whitesmoke;
  --text-color: #333333;
}

body.dark-theme .ful-detalis__description {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .ful-detalis__description {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/*///////////////////////////////////////////////////////////////////////////////*/
:root {
  --bg-color: white;
  --text-color: black;
}

/* 2. Переопределяем переменные для тёмной темы */
.dark-theme .wrapper {
  background-color: #0d1117 !important;
  --text-color: #ffffff;
}

/* 3. Применяем переменные к тегу body */
body.wrapper {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Плавный переход */
}

:root .footer {
  --bg-color: whitesmoke;
  --text-color: #333333;
}

body.dark-theme .footer {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .footer {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

:root {
  --bg-color: white;
  --text-color: black;
}

/* 2. Переопределяем переменные для тёмной темы */
body.dark-theme {
  --bg-color: rgb(24, 24, 24);
  --text-color: #ffffff;
}

/* 3. Применяем переменные к тегу body */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Плавный переход */
}

/*--------------------------------------декор для подчеркивания страниц категорий----------------------------------------------*/
.category-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.category-heading__title {
  text-decoration: none;
  /* 1. Отключаем стандартную скучную линию */
  display: inline;
  /* 2. Оставляем текст строчным, чтобы линия облегала только буквы */
  /* 🌟 3. МАГИЯ: Задаем градиент слева направо (Зеленый -> Салатовый -> Желтый) */
  background-image: linear-gradient(to right, #1f471f, #00ff66, #ffcc00);
  /* 4. Настройки размера линии */
  background-position: 0 100%;
  /* Прижимаем линию строго к самому низу букв */
  background-size: 100% 1px;
  /* Первое число (100%) - ширина на все слово, второе (3px) - толщина линии */
  background-repeat: no-repeat;
  /* Запрещаем линии дублироваться вверх */
  /* 5. Делаем небольшой воздушный отступ букв от линии, чтобы они не слипались */
}

/* Создаем один общий класс для стеклянных блоков */
/* Этот стиль сделает аккуратные пробелы между ВСЕМИ строками описания */
.ful-detalis__description {
  line-height: 1.8; /* Увеличивает расстояние между строками */
  white-space: pre-line; /* Заставляет браузер уважать пустые строки из админки */
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  /* 1. Лимит ширины */
  margin: 0 auto;
  /* 2. Центрирование */
  box-sizing: border-box; /* Чтобы отступы не увеличивали общую ширину */
  padding: 0 clamp(1.25rem, 4vw, 3.125rem);
  padding: 0.1rem;
  width: 100%;
}

.header {
  width: 100%;
  padding-block: 10px;
  min-height: clamp(55px, 5vw, 100px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(146, 146, 146, 0.1843137255);
  margin-top: 0px;
}

.header-panel-iner {
  display: flex;
  justify-content: space-between;
  /* Распределяет лого, поиск и навигацию по ширине */
  align-items: center;
  /* Центрирует все элементы по вертикали */
  /* Позволяет элементам переноситься, если нет места */
  gap: clamp(15px, 3vw, 30px);
  /* Безопасные отступы между блоками */
  width: 100%;
}

.header-panel {
  width: 100%;
  min-height: 30px;
  max-height: 30px;
  display: flex;
  justify-content: space-between;
}

.header-iner {
  display: flex;
  justify-content: space-between;
  /* Распределяет лого, поиск и навигацию по ширине */
  align-items: center;
  /* Центрирует все элементы по вертикали */
  /* Позволяет элементам переноситься, если нет места */
  gap: clamp(15px, 3vw, 30px);
  /* Безопасные отступы между блоками */
  width: 100%;
}

/* Сетка для навигации */
.header__nav-list {
  display: flex;
  gap: clamp(10px, 1.5vw, 15px);
  align-items: center;
  /* Центрируем ссылки */
  flex-wrap: wrap;
  /* Чтобы ссылки на смартфонах тоже не слипались */
}

.theme-font {
  background-color: rgb(127, 94, 247);
  border-radius: 30px;
  width: clamp(18px, 2vw, 22px);
  height: clamp(18px, 2vw, 22px);
  order: 1;
}

/* Контейнер-обертка, чтобы абсолютный список не улетал */
.theme-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.info-btn-page {
  display: flex;
  flex: 0 1 auto;
  margin-left: auto;
  align-items: center;
  text-decoration: none;
}

/* Ваша кнопка: выстраивает текст и солнце в один ряд */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px; /* Отступ между словом "Тема:" и вашей иконкой */
  height: 50px;
  color: inherit; /* Наследует цвет текста вашей шапки */
  font-size: 16px;
  font-weight: 500;
  padding: 0 5px;
}

/* Стили текста "Тема:" */
.theme-label-text {
  opacity: 0.95;
}

/* ТВОЕ ЖЁЛТОЕ СОЧНОЕ СОЛНЦЕ:
   Увеличили до 32px, покрасили в золото и добавили жирный фильтр объема */
.theme-icon {
  width: 25px;
  height: 25px;
  display: block;
  color: #ffb703;
  filter: drop-shadow(0 0 0.8px #ffb703) drop-shadow(0 0 0.5px #ffb703);
}

/* ВЫПАДАЮЩИЙ СПИСОК (Абсолютное позиционирование) */
.theme-menu {
  position: absolute;
  top: 100%; /* Встает ровно под кнопкой */
  right: 0; /* Прижимается к правому краю кнопки */
  background: #1f1f2e; /* Плотный темный фон менюшки */
  border: 1px solid #33334d;
  border-radius: 6px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  min-width: 130px;
  z-index: 9999; /* Чтобы всплывало ПОВЕРХ всего контента сайта */
  /* Плавное проявление */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* МАГИЯ БЕЗ JS: Как только человек наводит мышку на кнопку или список,
   менюшка плавно материализуется прямо под солнышком */
.theme-dropdown-wrapper:hover .theme-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Пункты выпадающего списка */
.theme-menu li {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.2s ease;
}

/* Легкая подсветка пунктов при наведении на них */
.theme-menu li:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.header__logo a {
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 0;
  display: flex;
  align-items: center;
}

/* Контейнер формы поиска */
.search-desktop__form {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Поле ввода для ПК: темное, с легким скруглением */
.search-desktop__input {
  width: 300px;
  height: 38px;
  padding: 8px 65px 8px 12px;
  /* 65px справа, чтобы текст не залезал под кнопку ENTER */
  font-size: 14px;
  background-color: #202429;
  /* Цвет из вашего макета */
  border: 1px solid #010102;
  border-radius: 1px;
  color: #fff;
  outline: none;
  transition: all 0.25s ease;
}

.search-desktop__input::placeholder {
  color: #555c63;
}

.search-desktop__input:focus {
  border-color: #7b8288;
}

/* 🌟 КНОПКА ENTER: сидит строго справа ВНУТРИ поисковой строки и нажимается */
.search-desktop__btn {
  position: absolute;
  right: 10px;
  /* Прижимаем к правому краю внутри инпута */
  font-size: 10px;
  font-family: sans-serif;
  font-weight: bold;
  color: #f4f6f8;
  background-color: #222629;
  border: 1px solid #33383e;
  border-radius: 1px;
  padding: 3px 6px;
  cursor: pointer;
  /* Делает курсор пальчиком при наведении на ПК */
  z-index: 5;
  transition: all 0.2s ease;
}

/* Эффект при наведении на ENTER на ПК */
.search-desktop__btn:hover {
  color: #fff;
  background-color: #2b3135;
  border-color: #444a50;
}

.header__navigation {
  color: gray;
  display: flex;
  margin: 0;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header__nav-item {
  display: flex;
}

/* ==================== ОСНОВНОЙ КОНТЕНТНЫЙ БЛОК ==================== */
.main-iner {
  display: flex;
  gap: clamp(10px, 2vw, 20px);
  flex-grow: 1;
  justify-content: space-between;
  /* Растолкает сайдбары и контент по краям */
  align-content: start;
}

/* КОНТЕЙНЕР ДЛЯ КАРТОЧЕК (Базовый стиль для Главной и Категорий) */
.main-content {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 60%;
  /* На главной контент занимает строго 60% */
  width: 100%;
  gap: clamp(12px, 2svw, 20px);
  margin-bottom: 20px;
}

/* ==================== АВТОМАТИКА ДЛЯ СТРАНИЦЫ СКАЧИВАНИЯ ==================== */
/* 1. Если левого меню нет (контент стал первым), правый сайдбар полностью ИСЧЕЗАЕТ */
.main-iner > .main-content:first-child ~ .sidebar {
  display: none !important;
}

/* 2. Если левого меню нет (контент стал первым), расширяем его на 100% ширины */
.main-iner > .main-content:first-child {
  flex-basis: 100% !important;
  width: 100% !important;
}

/* Укажите ширину экрана, на которой элементы в шапке начинают переноситься */
@media (max-width: 800px) {
  .header {
    position: static !important;
    /* Шапка больше не летает над сайтом, а честно стоит на своем месте */
    height: auto !important;
    /* Она расширяется ровно на столько, сколько нужно элементам */
  }
}
.submenu a.active {
  color: yellowgreen;
  font-weight: bold;
}

.sidebar-banner {
  flex-basis: 20% !important;
  /* Четко держит 20% */
  max-width: 20% !important;
  /* 🌟 САМОЕ ГЛАВНОЕ: запрещает сайдбару расширяться хоть на 1 пиксель! */
  overflow: hidden !important;
  /* Намертво срезает всё, что пытается его раздуть */
  box-sizing: border-box;
  padding-top: 0px;
}

.sidebar {
  flex-basis: 20%;
  padding: 5px;
  flex-shrink: 1;
  width: 100%;
}

.sidebar__menu-category {
  display: flex;
  color: white;
  font-size: 20px;
  color: rgb(141, 141, 141);
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  gap: 0.3rem;
  position: relative;
}

.sidebar__menu-category::after {
  content: ""; /* Создает пустой элемент для линии */
  position: absolute;
  left: 0;
  bottom: -4px; /* Расстояние от текста до линии */
  width: 100%; /* Линия идет на всю ширину текста */
  height: 1px; /* Толщина линии */
  background-color: rgb(141, 141, 141); /* Цвет линии совпадает с текстом */
}

.sidebar a {
  text-decoration: none;
  /* Убираем border-bottom отсюда, чтобы он не подчеркивал только буквы */
  border-bottom: none;
  transition: all 0.2s ease;
  /* Растягиваем саму ссылку на всю ширину, чтобы кликалась вся строка */
  display: block;
  width: 100%;
}

/* Нацеливаемся на элемент списка, который занимает всю ширину сайдбара */
.sidebar .sub__li {
  padding-bottom: 5px; /* Отступ между текстом и пунктиром */
  margin-bottom: 5px; /* Расстояние между самими пунктами */
  border-bottom: 1px dashed #999; /* Перенесли пунктир на всю ширину строки */
}

.nav-menu__os-iner {
  background-color: rgb(238, 240, 240);
  padding: 10px;
  border-radius: 1px;
}

:root .nav-menu__os-iner {
  --bg-color: #;
  --text-color: #;
}

body.dark-theme .nav-menu__os-iner {
  --bg-color: ;
  --text-color:white;
}

body .nav-menu__os-iner {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.nav-menu__category-os {
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 5px;
  display: flex;
  /* ЭТИ СТРОЧКИ СМЕЩАЮТ ТОЧКУ ВПРАВО: */
  align-items: center; /* Ровняем текст и точку по вертикали */
  justify-content: space-between; /* Толкаем текст влево, а точку в самый правый край */
  padding-right: 15px;
  /* Отступ от правого края сайдбара, чтобы точка не липла к стене */
}

/* МАЛЕНЬКИЙ CSS-КОД ДЛЯ САМОЙ ЗЕЛЕНОЙ ПУЛЬСИРУЮЩЕЙ ТОЧКИ */
.nav-menu__category-os::after {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #2ecc71; /* Сочный зеленый цвет */
  border-radius: 50%; /* Делаем круглой */
  flex-shrink: 0; /* Чтобы точка не сжималась */
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: pulse-dot 1.6s infinite ease-in-out; /* Бесконечный пульс */
}

/* Сама анимация пульсации (остается без изменений) */
@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}
/* Стили для кликабельных блоков категорий */
.category-clickable {
  cursor: pointer;
}

/* Стили для активной категории (жирный текст и легкий фон) */
.category-active-highlight {
  font-weight: bold;
  background: rgba(218, 165, 32, 0.119);
  padding-left: 1.5rem;
}

/* Прописываем размер через полную секцию, на которую  реагирует сайт */
.category-icon {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px;
  object-fit: contain !important;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem;
  padding: 1rem;
  box-sizing: border-box;
  /* Ваша геометрия карточки */
  width: calc(49% - 0.5rem);
  min-width: 0;
  max-width: 28rem;
  margin: 0 auto;
  border: 1px solid rgba(134, 134, 134, 0.138);
  transition: opacity 0.3s ease;
  /* Подсказываем браузеру оптимизировать анимацию прозрачности */
  will-change: opacity;
}

.card:hover {
  opacity: 0.9;
}

/* 1. БЛОК КАРТИНКИ */
.card__img-iner {
  width: 100% !important;
  /* Блок занимает всю ширину текстовой зоны */
  display: flex !important;
  flex-direction: column !important;
  /* Картинка сверху, система под ней */
  align-items: center !important;
  flex-shrink: 0 !important;
  gap: 0 !important;
  margin: 0 !important;
}

.card__img {
  width: 100% !important;
  max-width: 300px;
  max-height: 250px;
  object-fit: cover !important; /* Снова жестко натягиваем картинку */
  object-position: center !important;
  aspect-ratio: 6/5; /* Возвращаем пропорцию 600 на 500 */
  display: block;
  margin-bottom: 0.9375em !important; /* Отступ 15px */
  border-radius: 2px;
}

/* 2. СТРОКА СИСТЕМЫ (Строго под широкой картинкой) */
.card__sistem {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
  color: #666666;
  padding: 0.125rem 0;
  border: none !important;
  margin: 0 auto !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.card__sistem-os {
  font-weight: 800;
  color: #71bce1;
}

/* 3. ТЕКСТОВЫЙ БЛОК (Описание программы) */
.card__iner {
  width: 100% !important;
  /* Растянут вровень с картинкой и кнопками */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex-grow: 1;
  gap: 0.9375rem !important;
}

.card__content {
  display: block !important;
  width: 100%;
  text-align: center !important;
}

/* Резиновый заголовок */
.card__title {
  margin: 0 0 0.375rem 0;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  white-space: normal !important;
  word-break: break-word !important;
}

.card__name:hover {
  color: yellowgreen;
}

/* Резиновое описание */
.card__description {
  display: block !important;
  width: 100%;
  font-size: clamp(0.85rem, 1.5vw, 0.92rem);
  line-height: 1.45;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word;
  margin: 0;
}

/* 4. ЗОНА КНОПОК */
.card__meta-row {
  width: 100% !important;
  /* Кнопки задают крайнюю ширину */
  margin-top: auto !important;
  padding-top: 0.5rem;
}

/* Флекс-контейнер для кнопок */
.card__btn-iner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 0.75rem;
  width: 100% !important;
}

/* Сами кнопки */
.card__description-btn,
.card__down-btn {
  font-size: clamp(0.75rem, 1.3vw, 0.8125rem);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-weight: 500;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: calc(50% - 0.375rem) !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
  text-decoration: none;
  box-sizing: border-box;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
}

.card__description-btn {
  background-color: #eaeaea;
  color: #333 !important;
}

.card__description-btn:hover {
  background-color: #dfdfdf;
}

.card__down-btn {
  background-color: rgb(34, 139, 34);
  color: #fff !important;
}

.card__down-btn:hover {
  background-color: rgb(27, 110, 27);
}

.card-specification {
  display: flex !important;
  flex-direction: row !important;
  /* На компьютерах контент идет в один ряд */
  flex-wrap: nowrap !important;
  /* Жестко запрещаем ломать верстку и выталкивать сайдбар */
  width: 100%;
  box-sizing: border-box !important;
  justify-content: center;
  gap: 3em;
  margin-top: 3em;
  margin: 0 auto;
  align-content: center;
  background-color: #0f1319;
  padding: 2em;
}

.card__specification-title {
  padding: 0.19rem;
  background: linear-gradient(45deg, #ff0055, #0055ff, #00ffaa, #ffcc00, #ff0055);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-shift 8s ease infinite;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@keyframes rainbow-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.card-specification__table {
  width: 22rem;
}

.card-specification__img {
  width: 100% !important;
  max-width: 24rem !important;
  /* Наши 400px */
  min-width: 0 !important;
  object-fit: cover !important;
}

.card-program-img {
  width: 100% !important;
  /* Высота рассчитывается сама, без пустых полей */
  display: block !important;
  object-fit: cover !important;
  height: 100%;
}

/* ПРАВЫЙ БЛОК: ТАБЛИЦА С ХАРАКТЕРИСТИКАМИ */
.card__specification-table-iner {
  flex: 1 1 60% !important;
  /* Базовая доля 60% ширины */
  width: auto !important;
  min-width: 0 !important;
}

.card__specification-list {
  list-style: none !important;
  padding: 10px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  /* Удобный зазор в rem между строками */
  width: 100% !important;
}

/* Строка таблицы с точками (Держится горизонтально на ПК и планшетах) */
.card__specification-item {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  position: relative !important;
  width: 100% !important;
}

/* Красивые точки-разделители в rem */
.card__specification-item::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0.1rem;
  border-bottom: 0.0625rem dotted rgba(128, 128, 128, 0.2) !important;
  z-index: 1 !important;
}

.program-specs__label {
  font-size: clamp(0.85rem, 1.3vw, 0.95rem) !important;
  /* Резиновый шрифт */
  position: relative !important;
  z-index: 2 !important;
  padding-right: 0.35rem !important;
  /* Отступ до точек */
  min-width: 0 !important;
  flex-grow: 1 !important;
  background: transparent !important;
  padding: top 20em;
}

.program-specs__value {
  font-size: clamp(0.85rem, 1.3vw, 0.95rem) !important;
  /* Резиновый шрифт */
  font-weight: 500 !important;
  position: relative !important;
  z-index: 2 !important;
  padding-left: 0.35rem !important;
  /* Отступ от точек */
  background: transparent !important;
}

.program-specs__value a {
  color: #007bff !important;
  text-decoration: underline !important;
}

.program-screenshots {
  display: flex;
  min-width: 100%;
  justify-content: center;
}

/* ПОЛНОЕ ТЕКСТОВОЕ ОПИСАНИЕ ПОД ТАБЛИЦЕЙ */
.ful-detalis__description {
  padding: 0.9rem !important;
  font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
  line-height: 1.5 !important;
  background-color: #0f1319;
  border: 1px solid gray;
  min-width: 100%;
  line-height: 1.6;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ful-detalis-title {
  display: flex !important;
  justify-content: center !important;
  font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
  margin-bottom: 0.75rem !important;
}

.info {
  display: flex !important;
  gap: 0.5rem !important;
  padding-left: 1rem !important;
  margin: 0 !important;
}

/* ВЕРНУЛИ ВАШУ КНОПКУ: Теперь она снова широкая, как у вас и было изначально */
.btn-download {
  flex-grow: 1 !important;
  /* Растягивается во всю доступную ширину */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: green !important;
  margin: 0.3em;
  /* Вернули ваши родные отступы 15px */
  padding: 0.625rem 1.25rem !important;
  border-radius: 0.375rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  /* Сбросили ограничения ширины */
}

.btn-download__format {
  font-weight: 600 !important;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem) !important;
}

.coments-vk {
  color: yellowgreen !important;
}

.oficial-developer {
  text-decoration: underline !important;
  color: #007bff !important;
}

/* =======================================================
   РЕЗИНОВЫЙ МЕДИА-ЗАПРОС: ДЛЯ ПЛАНШЕТОВ (до 48rem / ровно 768px)
   Когда сайдбар скрывается — таблица падает под картинку и РАЗДВИГАЕТСЯ
   ======================================================= */
/* =======================================================
   РЕЗИНОВЫЙ МЕДИА-ЗАПРОС: ДЛЯ СМАРТФОНОВ (до 18.5rem / ~296px)
   Защищает текст от вылезания на ультра-узких экранах телефонов
   ======================================================= */
.download-buttons {
  margin-top: 2em;
}

.burger-btn {
  display: none;
}

/* Окно просмотра слайдера */
.slider-container {
  width: 100%;
  max-width: 1000px;
  /* Почти на весь ваш ограничивающий контейнер 1200px */
  height: 560px;
  /* Увеличили высоту, чтобы сохранить красивые пропорции 16:9 */
  overflow: hidden;
  /* Прячем всё, что выходит за рамки 1000x560 */
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  /* Центрируем слайдер по центру контентной зоны */
}

/* Длинная лента, где все слайды стоят в ряд */
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

/* Каркас одного слайда */
.slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
}

/* Сама картинка скриншота */
.slide img {
  width: 100%;
  height: 100%;
  display: block;
  /* Сохраняет пропорции интерфейса программы без растягивания в кашу */
  object-fit: cover;
}

.sub__li {
  color: #417e96;
  margin: 0px;
}

/* Настраиваем сам элемент li, чтобы точка стояла ровно по центру текста */
.sub__li--icon {
  display: flex;
  align-items: center;
}

/* Переделываем ::before в настоящий пульсирующий кружок */
.sub__li--icon::before {
  content: "";
  /* Убираем текстовую точку, теперь это графический блок */
  width: 4px;
  /* Ширина точки */
  height: 4px;
  /* Высота точки */
  background-color: green;
  /* Цвет самой точки */
  border-radius: 50%;
  /* Делаем её идеально круглой */
  margin-right: 10px;
  /* Отступ от точки до текста ссылки вместо padding */
  display: inline-block;
}

/* ==================== РЕЗИНОВЫЙ АДАПТИВНЫЙ ФУТЕР ==================== */
.footer {
  width: 100%;
  min-height: 250px;
  /* Минимальная высота, чтобы футер не схлопывался */
  z-index: 0;
  flex-shrink: 0;
  /* Не дает футеру сжиматься, если на странице много контента */
  padding: 30px 0;
  border-top: 1px solid #929292;
  align-content: center;
}

/* Выравниваем все 3 блока по центру высоты и раскидываем по ширине */
.footer-iner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* МАГИЯ: выравнивает все 3 блока строго по центру высоты футера */
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

/* Все 3 блока делят площадь футера поровну */
/* Ограничиваем strong, делаем его мелким столбиком по центру своего блока */
strong {
  display: inline-block;
  max-width: 260px;
  /* Зажимаем текст в аккуратный столбик */
  font-size: 10px;
  /* Микро-шрифт для дисклеймера */
  line-height: 1.4;
  text-align: left;
  /* Сам текст внутри столбика читается слева направо */
}

.email {
  font-size: 12px;
  color: #00ffaa;
}

/* 1. Главный контейнер (строго центрирует блок в main) */
.pagination-container {
  display: flex;
  justify-content: center;
  /* Центрирует список по горизонтали */
  align-items: center;
  /* Центрирует по вертикали */
  margin: 40px 0;
  /* Аккуратные отступы: 40px сверху от карт, 40px снизу */
  width: 100%;
  /* Занимает всю ширину блока main */
}

/* 2. Список кнопок (сбрасываем скрытые отступы браузера) */
.pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  /* Убирает маркеры-точки */
  padding: 0 !important;
  /* ВАЖНО: сбрасывает встроенный отступ браузера влево */
  margin: 0;
  gap: 10px;
  /* Одинаковое расстояние между кнопками */
}

/* 3. Оформление самих кнопок-цифр */
.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  /* Одинаковая ширина для всех кнопок */
  height: 38px;
  /* Одинаковая высота — получаются аккуратные квадраты */
  padding: 0 10px;
  border: 1px solid;
  /* Рамка под цвет вашего текста */
  border-radius: 6px;
  /* Слегка скругленные углы */
  text-decoration: none;
  /* Убирает подчеркивание ссылки */
  font-weight: 600;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* Эффект при наведении курсора на циферку */
.pagination-link:hover {
  opacity: 0.7;
  /* Кнопка слегка бледнеет при наведении */
  transform: translateY(-1px);
  /* Легкое всплытие вверх */
}

/* 4. Стиль для активной (текущей) страницы */
.pagination-link--active {
  background-color: currentColor;
  /* Закрашивает фон цветом текста вашего сайта */
  filter: invert(1);
  /* Делает саму цифру контрастной */
  pointer-events: none;
  /* Запрещает кликать по текущей странице */
}

/* Блок */
.program-chat {
  margin-top: 40px;
  width: 100%;
}

/* Элементы */
.program-chat__title {
  margin-bottom: 15px;
  font-size: 18px;
}

.program-chat__window {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-chat__empty {
  text-align: center;
  opacity: 0.6;
  padding: 20px 0;
}

.program-chat__message {
  display: inline-block;
  align-self: flex-start;
  max-width: 85%;
  border: 1px solid;
  border-radius: 8px;
  padding: 10px 14px;
}

.program-chat__message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
  font-size: 12px;
}

.program-chat__message-author {
  font-weight: bold;
}

.program-chat__message-time {
  opacity: 0.5;
}

.program-chat__message-text {
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.program-chat__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-chat__form-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-chat__input-name,
.program-chat__input-text {
  width: 100%;
  padding: 10px;
  border: 1px solid;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  box-sizing: border-box;
}

.program-chat__input-text {
  min-height: 80px;
  resize: vertical;
}

.program-chat__submit-btn {
  align-self: flex-start;
  padding: 10px 20px;
  border: 1px solid;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.program-chat__submit-btn:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.category-heading__title {
  margin-top: 1em;
}

.category-heading {
  display: flex;
}

.btn-back {
  display: flex;
  justify-content: flex-end;
  flex: 999;
  margin: 0px;
  padding-top: 1em;
  color: green;
  width: 50px;
}

/* ==================== НАМЕРТВО ФИКСИРУЕМ ПРАВЫЙ САЙДБАР ==================== */
/* Базовые стили для пунктов (чтобы анимация была плавной) */
.submenu .sub__li {
  transition: background-color 0.3s ease;
  /* Плавная смена фона */
}

/* Подсветка всей строки при наведении мыши */
/* Изменение цвета текста ссылки внутри подсвеченной строки */
.submenu .sub__li:hover a {
  color: yellowgreen;
  /* Цвет текста при наведении (замените на свой) */
}

.menu-open-btn {
  display: none;
  width: 30px;
  height: 30px;
  background-color: rgb(177, 176, 176);
  color: #333333;
  border-radius: 2px;
}

.header-subcategory {
  display: flex;
  width: 100%;
  padding: 0.5rem;
  margin: 0;
}

.header-subcategory a {
  text-decoration: underline;
  font-size: smaller;
  color: #417e96;
}

.header-subcategory__list {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

/* Контейнер-элемент: выравнивает иконку по центру сайдбара */
.nav-menu__os-banner {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 30px; /* Бронь места под картинку */
  box-sizing: border-box;
}

/* Картинка-элемент: управляет размером логотипа операционной системы */
.nav-menu__os-icon {
  width: 25px;
  height: 25px;
}

/* Ищем картинку, у которой адрес заканчивается строго на win11.svg */
img[src$="win11.svg"] {
  width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.card__os--windows {
  color: #0078d4; /* Синий */
}

.card__os--linux {
  color: peru; /* Черный текст для читаемости */
}

.card__os--android {
  color: green;
}

/***********************************************************TESLA PANEL*******************************************************************/
/* Главный контейнер микро-дисплея */
.tesla-mini-panel {
  width: 100%;
  max-width: 320px;
  display: block !important;
  margin: 5px auto;
  background: #0f1319;
  border: 1px solid #15181e;
  border-radius: 1px;
  padding: 5px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: relative;
  overflow: visible;
}

/*:root .tesla-mini-panel {
  --bg-color: whitesmoke;
  --text-color: #;

}

body.dark-theme .tesla-mini-panel {
  --bg-color: #0f1319;
  --text-color: #ffffff;
}

body .tesla-mini-panel {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;

}*/
/* Блок времени и календаря */
.panel-time-block {
  background: #0f1115;
  border-radius: 1px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: inset 2px 2px 5px #07080a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.panel-calendar {
  color: #a0aec0;
  letter-spacing: 0.2px;
}

.panel-clock {
  color: #00ffaa;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

/* Тонкая верхняя статус-строка */
.panel-status-bar {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5c6475;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

.status-sys-name {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #a0aec0;
}

/* Светодиодный индикатор статуса */
#status-led {
  width: 4px;
  height: 4px;
  background: #ff4a4a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #ff4a4a;
  transition: all 0.3s;
}

.status-brand-name {
  color: #ffffff;
  letter-spacing: 0.5px;
  font-weight: 800;
}

/* Вдавленный экран */
.car-display-screen-mini {
  background: #0f1115;
  border-radius: 1px;
  padding: 12px 10px;
  margin-bottom: 8px;
  box-shadow: inset 2px 2px 5px #07080a;
  border: 1px solid rgba(255, 255, 255, 0.01);
  position: relative;
}

.screen-header {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  display: flex;
  justify-content: space-between;
}

#stream-status {
  color: #5c6475;
  font-size: 9px;
}

/* Контейнер эквалайзера */
.equalizer-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  padding: 0 1px;
}

/* Анимации мигания точек часов и эквалайзера */
@keyframes clock-blink-mini {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
.matrix-clock-dots-mini {
  animation: clock-blink-mini 1s infinite;
}

@keyframes equalizer-wave-mini {
  0%, 100% {
    height: 3px;
  }
  50% {
    height: 22px;
  }
}
.matrix-eq-bar-mini {
  width: 3px;
  height: 3px;
  background: #00ffaa;
  border-radius: 0px;
  animation: equalizer-wave-mini 1s infinite ease-in-out;
  animation-play-state: paused;
}

.panel-playing .matrix-eq-bar-mini {
  animation-play-state: running;
}

/* Индивидуальная скорость для каждой полосы эквалайзера */
.eq-m1 {
  animation-duration: 0.5s;
}

.eq-m2 {
  animation-duration: 0.8s;
}

.eq-m3 {
  animation-duration: 0.4s;
}

.eq-m4 {
  animation-duration: 0.7s;
}

.eq-m5 {
  animation-duration: 0.6s;
}

.eq-m6 {
  animation-duration: 0.9s;
}

/* Обёртка плеера */
.player-control-wrapper {
  width: 100%;
  margin: 8px 0;
  display: block !important;
}

/* Кнопка управления радио */
.radio-control-btn {
  width: 100%;
  height: 80px;
  background: #15181e;
  border: 1px solid #2d3340;
  color: #a0aec0;
  font-weight: bold;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 1px;
  transition: all 0.2s ease;
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.02);
}

.radio-control-btn:hover {
  background: #1c212a;
  color: #ffffff;
  border-color: #00ffaa;
}

.panel-playing .radio-control-btn {
  border-color: #00ffaa;
  color: #00ffaa;
  background: #11141a;
}

/* Тонкий бортовой футер */
.panel-footer {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 600;
  color: #5c6475;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer-live-text {
  letter-spacing: 0.3px;
  color: #4a5568;
}

.footer-badge {
  font-weight: 700;
  color: #ffffff;
  background: #242933;
  border: 1px solid #2d3340;
  padding: 1px 5px;
  border-radius: 1px;
}

/**************************************ПОИСК ДЛЯ МОБИЛОК*********************************/
.search_mobile {
  visibility: hidden;
  height: 0; /* Убираем высоту, чтобы не распирало */
  padding: 0; /* Сбрасываем внутренние отступы */
  margin: 0; /* Сбрасываем внешние отступы */
  overflow: hidden;
}

/* Стили включаются только на телефонах */
@media (max-width: 515px) {
  .search_mobile {
    display: inline-block;
    visibility: visible !important;
    height: auto;
  }
  /* Прячем сам чекбокс */
  .search-trigger-check {
    display: none !important;
  }
  /* Иконка лупы в шапке */
  .search__mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 50%;
    cursor: pointer;
    margin-left: 1rem;
  }
  .search__mobile-icon-btn img {
    width: 30px;
    height: 30px;
  }
  /* Темный полноэкранный фон */
  .search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(14, 17, 19, 0.96); /* Глубокий темный цвет */
    z-index: 9999; /* Поверх всего сайта и сайдбаров */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* Пока закрыто — не кликается */
    transition: opacity 0.25s ease;
  }
  /* МАГИЯ: При клике на лупу плавно показываем окно */
  .search-trigger-check:checked ~ .search-modal {
    opacity: 1;
    pointer-events: auto;
  }
  /* Форма ровно по центру экрана */
  .search-modal__form {
    position: relative;
    display: flex;
    align-items: center;
    width: 85%;
    max-width: 400px;
  }
  /* Черное прямоугольное поле 44px из твоего макета */
  .search-modal__input {
    width: 100%;
    height: 44px;
    background-color: #0e1113;
    border: 1px solid #1a1e21;
    border-radius: 0;
    padding-left: 14px;
    padding-right: 65px; /* Зазор под ENTER */
    font-size: 16px;
    color: #fff;
    outline: none;
  }
  .search-modal__input::placeholder {
    color: #555c63;
  }
  /* Кнопка ENTER, встроенная в правый край строки */
  .search-modal__btn {
    position: absolute;
    right: 12px;
    font-size: 11px;
    font-family: sans-serif;
    font-weight: bold;
    color: #88929a;
    background-color: #222629;
    border: 1px solid #33383e;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
  }
  /* Кнопка-крестик закрытия в углу */
  .search-modal__close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #666e75;
    cursor: pointer;
  }
}/*# sourceMappingURL=style.css.map */