.t485__uptitle {
    letter-spacing: 0px;
}
.t-feed__post-popup__content {
    max-width: 1360px;
}


   :root {
      --color-bg: #f4f3f0;
      --color-text: #333333;
      --color-text-muted: #7a7a7a;
      --color-blue: #1e4a8a;
      --color-green: #2e8b57;
      --color-gray: #e0e0e0;
      --color-sidebar: #1e4a8a;
      --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.08);
      --shadow-hover: 0 12px 24px rgba(30, 74, 138, 0.15);


    }


    * { box-sizing: border-box; margin: 0; padding: 0; }

    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color:     var(--color-bg); color: var(--color-text); line-height: 1.5; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }


    /* --- Layout --- */
    .layout { max-width: 1500px; margin: 0 auto; display: flex; gap: 32px; padding: 40px 20px; }



/* --- Product Cards --- */
    .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 30px; margin-bottom: 40px; }
    .product-card { background: #fff; border: 1px solid var(--color-gray); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-base); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; }
    .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--color-blue); }
    .product-header { padding: 24px 28px 16px; background: linear-gradient(135deg, var(--color-blue) 0%, #2a5fa0 100%); color: #fff; }
    .product-header h2 { font-size: 22px; margin-bottom: 6px; letter-spacing: -0.3px; }
    .product-header .product-type { font-size: 13px; opacity: 0.85; line-height: 1.5; }
    .product-body { padding: 24px 28px; flex-grow: 1; display: flex; flex-direction: column; }
    .product-body p.product-desc { color: var(--color-text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
    .product-specs { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
    .product-specs th, .product-specs td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--color-gray); font-size: 13px; }
    .product-specs th { color: var(--color-text-muted); font-weight: 500; white-space: nowrap; width: 40%; }
    .product-specs td { color: var(--color-text); font-weight: 600; }
    .product-specs tr:last-child th, .product-specs tr:last-child td { border-bottom: none; }
    .product-badge { display: inline-block; background: #e8f5e9; color: var(--color-green); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
    .product-btn { background: var(--color-green); width: 50%; color: #fff; padding: 10px 24px; border-radius: 6px; font-weight: 600; display: inline-block; transition: background 0.3s, transform 0.2s; margin-top: auto; }
    .product-btn:hover { background: #226c41; transform: translateY(-1px); }
    .product-conditions { font-size: 12px; color: var(--color-text-muted); margin-top: 8px; padding: 8px 12px; background: #fff8e1; border-radius: 6px; border-left: 3px solid #ffc107; }
    .product-conditions strong { color: #e65100; }




    /* --- Sidebar --- */
    .sidebar { flex: 0 0 260px; background: var(--color-sidebar); border-radius: 10px; padding: 24px; position: sticky; top: 80px; align-self: flex-start; max-height: calc(100vh - 100px); overflow-y: auto; }
    .sidebar span { color: #fff; font-size: 16px; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--color-green); }
    .sidebar ul { display: flex; flex-direction: column; gap: 4px; padding-top: 10px;}
    .sidebar ul li a { color: rgba(255,255,255,0.8); padding: 10px 10px; border-radius: 6px; display: block; transition: all 0.3s ease; font-size: 14px; }
    .sidebar ul li a:hover, .sidebar ul li a.active { background: rgba(255,255,255,0.12); color: #fff; padding-left: 18px; }
    .sidebar .sidebar-section { margin-bottom: 24px; }

    /* --- Main --- */
    .main-content { flex: 1; min-width: 0; }
    .breadcrumb { font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; }
    .breadcrumb a { color: var(--color-blue); transition: color 0.3s ease; }
    .breadcrumb a:hover { color: var(--color-green); }

    h1 { font-size: 28px; color: var(--color-blue); margin-bottom: 20px; }
    .lead { font-size: 17px; color: var(--color-text-muted); margin-bottom: 32px; }

    .card-dop { background: #f4f3f0; padding: 52px; margin-bottom: 42px; }
    .card { background: #fff; border: 1px solid var(--color-gray); border-radius: 10px; padding: 32px; box-shadow: var(--shadow-base); margin-bottom: 32px; }
    .card h2 { color: var(--color-blue); font-size: 20px; margin-bottom: 16px; }
    .card p { margin-bottom: 12px; }
    table { width: 100%; border-collapse: collapse; margin-top: 8px; }
    table th, table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-gray); }
    table th { background: #f8f8f8; color: var(--color-blue); font-weight: 600; }
    table tr:hover td { background: #fafafa; }

    .cta { text-align: center; margin-top: 40px; }
    .cta a { background: var(--color-blue); color: #fff; padding: 14px 36px; border-radius: 8px; font-weight: 600; display: inline-block; transition: background 0.3s, transform 0.2s; }
    .cta a:hover { background: #163a6e; transform: translateY(-2px); }

    .nav-links { display: flex; justify-content: space-between; margin-top: 40px; }
    .nav-links a { color: var(--color-blue); font-weight: 600; transition: color 0.3s; }
    .nav-links a:hover { color: var(--color-green); }

    /* --- Advantages Block --- */
    .advantages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 40px 0; }
    .advantage-card { background: #fff; border: 1px solid var(--color-gray); border-radius: 10px; padding: 28px; box-shadow: var(--shadow-base); transition: box-shadow 0.3s ease; }
    .advantage-card:hover { box-shadow: var(--shadow-hover); }
    .advantage-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 18px; text-align: center; }
    .advantage-card h3 { color: var(--color-blue); font-size: 17px; margin-bottom: 10px; }
    .advantage-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 0; }
    .advantage-card .adv-btn { display: inline-block; margin-top: 14px; background: var(--color-green); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background 0.3s; }
    .advantage-card .adv-btn:hover { background: #226c41; }
    .advantages-title { color: var(--color-blue); font-size: 22px; text-align: center; margin-bottom: 28px; }

    /* --- SEO Block --- */
    .seo-block { background: #fff; border: 1px solid var(--color-gray); border-radius: 10px; padding: 32px; box-shadow: var(--shadow-base); margin-bottom: 32px; }
    .seo-block h2 { color: var(--color-blue); font-size: 20px; margin-bottom: 16px; }
    .seo-block h3 { color: var(--color-text); font-size: 17px; margin: 20px 0 10px; }
    .seo-block p { margin-bottom: 12px; }
    .seo-block ul.seo-list { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
    .seo-block ul.seo-list li { margin-bottom: 8px; }
    .seo-block .seo-strong { font-weight: 600; color: var(--color-text); }

    /* --- Instruction Block --- */
    .instruction { background: #fff; border: 1px solid var(--color-gray); border-radius: 10px; padding: 32px; box-shadow: var(--shadow-base); margin-bottom: 32px; }
    .instruction h2 { color: var(--color-blue); font-size: 20px; margin-bottom: 16px; }
    .instruction ol { padding-left: 24px; margin-bottom: 16px; }
    .instruction ol li { margin-bottom: 12px; line-height: 1.6; }
    .instruction p { margin-bottom: 0; color: var(--color-text-muted); }

  


/* Скрываем чекбокс */
.menu-toggle {
  display: none;
}

/* Кнопка бургер (три полоски) */
.burger-btn {
  display: none; /* Скрыта на десктопе */
  position: fixed;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1e4a8a;
  margin: 4px 0;
  transition: background 0.3s, transform 0.3s;
}



 /* ===== Контейнер галереи =====
     Все стили привязаны к .gallery, поэтому не конфликтуют
     со стилями той страницы, куда вы её вставите. */
  .gallery {
    position: relative;          /* точка отсчёта для внутренних элементов */
    width: 90%;
    max-width: 900px;
    margin: 0 auto;              /* по центру доступного места */
    padding: 16px;
    background: #f4f3f0;         /* фон галереи */
    border-radius: 12px;
    box-sizing: border-box;
    user-select: none;
  }

  /* ===== Скрытые radio-кнопки (управляют слайдами) ===== */
  .gallery input {
    display: none;
  }

  /* ===== Область с фото ===== */
  .gallery .slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;        /* пропорции области фото */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  }

  .gallery .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
  }

  .gallery .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* фото заполняет область без искажений */
    display: block;
  }

  /* Показываем активный слайд */
  #s1:checked ~ .slides .slide:nth-of-type(1),
  #s2:checked ~ .slides .slide:nth-of-type(2),
  #s3:checked ~ .slides .slide:nth-of-type(3),
  #s4:checked ~ .slides .slide:nth-of-type(4),
  #s5:checked ~ .slides .slide:nth-of-type(5),
  #s6:checked ~ .slides .slide:nth-of-type(6),
  #s7:checked ~ .slides .slide:nth-of-type(7),
  #s8:checked ~ .slides .slide:nth-of-type(8) {
    opacity: 1;
  }

  /* ===== Стрелки по краям фото ===== */
  .gallery .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #1c1f26;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    transition: background .25s, transform .25s;
  }

  .gallery .arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
  }

  .gallery .arrow.prev { left: 12px; }
  .gallery .arrow.next { right: 12px; }

  /* Стрелки видны только на активном слайде */
  .gallery .slide .arrow {
    opacity: 0;
    pointer-events: none;
  }

  #s1:checked ~ .slides .slide:nth-of-type(1) .arrow,
  #s2:checked ~ .slides .slide:nth-of-type(2) .arrow,
  #s3:checked ~ .slides .slide:nth-of-type(3) .arrow,
  #s4:checked ~ .slides .slide:nth-of-type(4) .arrow,
  #s5:checked ~ .slides .slide:nth-of-type(5) .arrow,
  #s6:checked ~ .slides .slide:nth-of-type(6) .arrow,
  #s7:checked ~ .slides .slide:nth-of-type(7) .arrow,
  #s8:checked ~ .slides .slide:nth-of-type(8) .arrow {
    opacity: 1;
    pointer-events: auto;
  }

  /* ===== Кружочки под фото ===== */
  .gallery .dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .gallery .dots label {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .15);
    border: 2px solid rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: background .25s, transform .25s;
  }

  .gallery .dots label:hover {
    transform: scale(1.25);
    background: rgba(0, 0, 0, .3);
  }

  /* Активный кружок — тёмный */
  #s1:checked ~ .dots label[for="s1"],
  #s2:checked ~ .dots label[for="s2"],
  #s3:checked ~ .dots label[for="s3"],
  #s4:checked ~ .dots label[for="s4"],
  #s5:checked ~ .dots label[for="s5"],
  #s6:checked ~ .dots label[for="s6"],
  #s7:checked ~ .dots label[for="s7"],
  #s8:checked ~ .dots label[for="s8"] {
    background: #2e8b57;
    transform: scale(1.15);
  }
  
  
  
  /* ===== Адаптив: планшеты ===== */
  
    .gallery .slides { aspect-ratio: 4 / 3; }
    .gallery .arrow  { width: 40px; height: 40px; font-size: 24px; line-height: 36px; }
  }


    /* --- Адаптивность: планшеты и мобильные --- */

/* Планшеты (до 1024px): уменьшаем отступы, делаем сетку более плотной */
@media (max-width: 1024px) {
  .layout {
    padding: 32px 16px;
  }
  /*.sidebar {
/*    flex: 0 0 240px;
/*  } */
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
 
}



    @media (max-width: 900px) { 
        .layout {
            flex-direction: column; 
            
        } 
            
  .sidebar {
    position: static;
    flex: 1 1 auto;
    max-height: none;
    width: 30%;
    margin-bottom: 24px;
  }
  .advantages {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
        
    }
   


@media (max-width: 768px) {
    
    nav ul { flex-wrap: wrap; justify-content: center; gap: 16px; }
    
  .burger-btn {
    display: block;
   
  }

  /* Анимация полосок в крестик при открытом меню */
  #menu-toggle:checked ~ .burger-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #menu-toggle:checked ~ .burger-btn span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked ~ .burger-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  

 


/* Позиционирование меню */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0; /* Скрыто за левым краем */
    width: 85%;
    height: 100vh;
    padding: 20px;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    box-shadow: 4px 0 12px rgba(0,0,0,0.15);
    z-index: 999;
    pointer-events: none; /* Обязательно */
  opacity: 0;            /* Опционально */
  }
  
  
   /* Когда чекбокс отмечен — сдвигаем меню на экран */
  #menu-toggle:checked ~ .sidebar {
    left: 200;
    pointer-events: auto;   /* Обязательно */
  opacity: 1;
  }

  .sidebar span, .sidebar span {
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .sidebar li a {
    font-size: 16px;
    padding: 12px 0;
  }
}

  /* ===== Адаптив: мобильные телефоны ===== */
  @media (max-width: 480px) {
    .gallery { width: 94%; padding: 10px; }   /* чуть шире на маленьком экране */
    .gallery .slides { aspect-ratio: 1 / 1; } /* квадратное фото удобнее на телефоне */
    .gallery .arrow { width: 34px; height: 34px; font-size: 20px; line-height: 32px; left: 8px; }
    .gallery .arrow.next { left: auto; right: 8px; }
    .gallery .dots { gap: 10px; }
    .gallery .dots label { width: 12px; height: 12px; }
  }








/* ===== Базовые настройки галереи полный конец ===== */





/* --- МОБИЛЬНАЯ ВЕРСИЯ (без JS) --- */



