.s-message {
	display:none !important;
}
input[name="n-message"] {
    display: block;
    width: 5px;
    height: 3px;
    margin-bottom: -3px;
    opacity: 0.01;
}
#all .modal {
    top: 1rem;
    height: auto;
}
#all .modal .close {
    top: 0;
    right: 0;
}
#all .modal .content {
    height: auto;
}
#all .modal .content div textarea {
    height: 100px;
}
#all .modal .content .button {
    margin-top: 15px;
}
@media screen and (max-width: 1000px) {
    #all .modal .content div textarea {
        left: 20px;
        position: relative !important;
    }
    #all .upload {
        top: 0;
    }
}

/* ==========================================================================
   Стили вертикального таймлайна регламента ТО флагштоков (.fs-stepper-list)
   ========================================================================== */

/* Сброс стандартных маркеров и отступов */
.fs-stepper-list {
  list-style: none;
  counter-reset: fs-step-counter;
  padding-left: 0;
  margin: 32px 0;
}

/* Обертка шага с отступом слева под цифру и линию */
.fs-stepper-list > li {
  position: relative;
  counter-increment: fs-step-counter;
  padding-left: 54px;
  margin-bottom: 32px;
  list-style-type: none;
}

/* Вертикальная пунктирная линия */
.fs-stepper-list > li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: -32px;
  border-left: 1.5px dotted #9ca3af;
}

/* Убираем линию у последнего шага */
.fs-stepper-list > li:last-child::before {
  display: none;
}

/* Цифра в контурном круге */
.fs-stepper-list > li::after {
  content: counter(fs-step-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #1f2937;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* Заголовок этапа */
.fs-stepper-list h4 {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  line-height: 1.35;
}

/* Пояснение курсивом */
.fs-stepper-list .fs-note {
  margin: 0 0 14px 0;
  font-style: italic;
  font-size: 14px;
  color: #4b5563;
}

/* Текст описания этапа */
.fs-stepper-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;
}

/* ==========================================================================
   Стили раскрывающегося аккордеона FAQ (.fs-faq-block)
   ========================================================================== */

.fs-faq-block {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Карточка вопроса */
.fs-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fs-faq-item:hover {
  border-color: #cbd5e1;
}

/* Выделение открытой карточки */
.fs-faq-item[open] {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.08);
}

/* Строка заголовка-вопроса */
.fs-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none; /* Убирает стандартный треугольник браузера */
  user-select: none;
  font-weight: 600;
  font-size: 16px;
  color: #0f172a;
  background-color: #f8fafc;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Убираем треугольник в Safari / WebKit */
.fs-faq-question::-webkit-details-marker {
  display: none;
}

.fs-faq-question:hover {
  background-color: #f1f5f9;
  color: #1976d2;
}

.fs-faq-item[open] .fs-faq-question {
  background-color: #ffffff;
  color: #1976d2;
  border-bottom: 1px solid #edf2f7;
}

/* Иконка плюс / минус */
.fs-faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.fs-faq-icon::before,
.fs-faq-icon::after {
  content: "";
  position: absolute;
  background-color: #64748b;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

/* Горизонтальная черта */
.fs-faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

/* Вертикальная черта */
.fs-faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

/* При открытии вертикальная палочка вращается и складывается в "минус" */
.fs-faq-item[open] .fs-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.fs-faq-item[open] .fs-faq-icon::before {
  background-color: #1976d2;
}

/* Блок с ответом */
.fs-faq-answer {
  padding: 18px 20px;
  background-color: #ffffff;
}

.fs-faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

/* ==========================================================================
   Стили блока FAQ (как на странице DTF-печати)
   ========================================================================== */

.faq-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 20px auto 0;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #224480; /* Фирменный синий цвет Флагшток Сервис */
  box-shadow: 0 8px 24px rgba(34, 68, 128, 0.08);
  background: #ffffff;
}

.faq-summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1e293b;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: #224480;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 24px 24px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-content p {
  margin: 0;
}
/* ==========================================================================
   Сетка промо-блоков для карточек товаров (раздел Знаменные ленты и др.)
   3 блока в ряд на десктопе, 1 блок на строку на мобильных
   ========================================================================== */

.product-cards-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  margin: 20px 0 15px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

.product-cards-grid .product-card-item {
  width: 31.5% !important; /* 3 карточки в ряд с мягкими зазорами в процентах */
  max-width: 31.5% !important;
  margin-bottom: 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-cards-grid .product-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.product-cards-grid .product-card-img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  background: #f8fafc !important;
}

.product-cards-grid .product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  border: none !important;
  transition: transform 0.3s ease;
}

.product-cards-grid .product-card-item:hover .product-card-img img {
  transform: scale(1.03);
}

.product-cards-grid .product-card-title {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 !important;
  padding-top: 10px !important;
  border-top: 2px solid #0093d5 !important; /* фирменная синяя линия */
}

.product-cards-grid .product-card-title a {
  color: #023667 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color 0.2s ease;
}

.product-cards-grid .product-card-title a:hover {
  color: #0093d5 !important;
}

/* Мобильная адаптация: строго по 1 карточке на всю ширину экрана */
@media screen and (max-width: 768px) {
  .product-cards-grid {
    display: block !important;
    margin: 15px 0 10px 0 !important;
  }
  .product-cards-grid .product-card-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px !important;
  }
  .product-cards-grid .product-card-img {
    height: 220px !important;
  }
}
/* ==========================================================================
   Стиль 1: Фирменный список с маркером-галочкой
   (Применяется к .check-list и обычным спискам новостей, ИСКЛЮЧАЯ .feature-list)
   ========================================================================== */
ul.check-list,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 24px 0 30px 0 !important;
}

ul.check-list > li,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li {
  position: relative !important;
  list-style: none !important;
  padding-left: 42px !important;
  margin-bottom: 16px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
}

/* Круглая подложка */
ul.check-list > li:before,
ul.check-list > li::before,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li:before,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 3px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background-color: #eaf0fa !important;
  border: 1px solid #d0deee !important;
  box-sizing: border-box !important;
}

/* Синяя галочка */
ul.check-list > li:after,
ul.check-list > li::after,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li:after,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 8px !important;
  top: 8px !important;
  width: 5px !important;
  height: 10px !important;
  border: solid #264a8a !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  box-sizing: border-box !important;
}

ul.check-list > li strong,
.right .text ul:not(.feature-list):not(.compact-list):not(.chevron-list) > li strong {
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   Стиль 2: Плашки с синей акцентной полосой (#224480)
   ========================================================================== */
ul.feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}

ul.feature-list > li {
  position: relative !important;
  list-style: none !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #224480 !important;
  border-radius: 4px !important;
  padding: 14px 18px !important;
  margin-bottom: 12px !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 3px rgba(34, 68, 128, 0.05) !important;
}

/* Жестко глушим псевдоэлементы внутри плашек */
ul.feature-list > li:before,
ul.feature-list > li::before,
ul.feature-list > li:after,
ul.feature-list > li::after {
  content: none !important;
  display: none !important;
}

ul.feature-list > li strong {
  color: #224480 !important;
  font-weight: 700 !important;
}
/* ==========================================================================
   Стиль 3: Лаконичный компактный список (14.5px) с аккуратным маркером-точкой
   Использование: <ul class="compact-list"><li>...</li></ul>
   ========================================================================== */
ul.compact-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0 20px 0 !important;
}

ul.compact-list > li {
  position: relative !important;
  padding-left: 24px !important;
  margin-bottom: 9px !important;
  font-size: 14.5px !important;        /* Компактный аккуратный размер */
  line-height: 1.5 !important;
  color: #334155 !important;
}

/* Элегантный акцентный маркер: синий квадратик со скруглением */
ul.compact-list > li::before {
  content: "" !important;
  position: absolute !important;
  left: 3px !important;
  top: 7px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 2px !important;        /* Для ромбика можно добавить transform: rotate(45deg); */
  background-color: #224480 !important; /* Ваш фирменный синий */
  box-shadow: 0 0 0 3px #eaf0fa !important; /* Легкий ореол вокруг точки */
  box-sizing: border-box !important;
}

/* Акцент на ключевых терминах */
ul.compact-list > li strong {
  color: #0f172a !important;
  font-weight: 600 !important;
}
/* ==========================================================================
   Стиль 4: Список с шевронами (лаконичный и строгий)
   Использование: <ul class="chevron-list"><li>...</li></ul>
   ========================================================================== */
ul.chevron-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 !important;
}

ul.chevron-list > li {
  position: relative !important;
  padding-left: 32px !important;
  margin-bottom: 12px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}

ul.chevron-list > li::before {
  content: "›" !important;
  position: absolute !important;
  left: 0 !important;
  top: 1px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 4px !important;
  background: #f1f5f9 !important;
  color: #5b77a9 !important; /* голубой акцент */
  font-size: 18px !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
/* ==========================================================================
   Стиль 5: Нумерованные шаги с круглыми бейджами
   Использование: <ol class="step-list"><li>...</li></ol>
   ========================================================================== */
ol.step-list {
  list-style: none !important;
  counter-reset: step-counter !important;
  padding: 0 !important;
  margin: 25px 0 !important;
}

ol.step-list > li {
  counter-increment: step-counter !important;
  position: relative !important;
  padding-left: 48px !important;
  margin-bottom: 18px !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}

ol.step-list > li::before {
  content: counter(step-counter) !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #023667 !important; /* фирменный темно-синий */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(2, 54, 103, 0.25) !important;
}

ol.step-list > li strong {
  color: #0f172a !important;
}
/* ==========================================================================
   Блок-предупреждение с акцентной красной полосой слева
   Использование: <div class="info-alert">...</div>
   ========================================================================== */
.info-alert {
  display: block !important;
  background-color: #fff9f9 !important; /* Мягкий светлый фон с легким теплым оттенком */
  border: 1px solid #fed7d7 !important;
  border-left: 5px solid #d9383a !important; /* Яркая красная полоса внимания */
  border-radius: 4px !important;
  padding: 16px 20px !important;
  margin: 25px 0 !important;
  box-sizing: border-box !important;
  clear: both !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #2d3748 !important;
}

.info-alert .alert-title {
  display: block !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #c53030 !important; /* Насыщенный темно-красный цвет для заголовка */
  margin-bottom: 6px !important;
}
/* ==========================================================================
   Фирменные кнопки в стиле сайта (с красным hover и прописным шрифтом)
   ========================================================================== */

/* Контейнер для центрирования и выравнивания в ряд */
.btn-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 28px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Базовая кнопка */
.btn-accent {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 24px !important;
  background-color: #224480 !important; /* Фирменный синий в обычном состоянии */
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important; /* Все буквы заглавные */
  letter-spacing: 0.8px !important;     /* Характерный межбуквенный интервал */
  text-decoration: none !important;
  text-align: center !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;          /* Прямые углы без скруглений */
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease-in-out !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

/* Красный цвет при наведении */
.btn-accent:hover {
  background-color: #d92323 !important; /* Насыщенный красный цвет */
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Фиксированная ширина под нужный размер */
.btn-w200 { width: 200px !important; }
.btn-w250 { width: 250px !important; }
.btn-w300 { width: 300px !important; }

/* Адаптивность для смартфонов */
@media screen and (max-width: 768px) {
  .btn-row {
    flex-direction: column !important;
    gap: 12px !important;
    margin: 20px 0 !important;
  }
  
  .btn-accent {
    width: 100% !important;
    max-width: 300px !important;
    min-height: 44px !important;
    font-size: 13.5px !important;
  }
}