/*
Theme Name: IZILAB
Author: IZILAB
Author URI: http://izilab.pro
Version: 1.0
*/

body {
    font-family: Arial, sans-serif;
}


.achievements-section2 {
    padding: 30px 0;
    background-color: #fff;
    text-align: left;
    line-height: 26px;
}


h2.about-box2  {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

.header {
  width: 100%;
  height: 100px;
  background-color: #fff; /* Вы можете изменить цвет фона */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Задайте максимальную ширину для контента */
  margin: 0 auto;
  height: 100%;
  padding: 0 20px; /* Добавьте отступы по бокам */
}

.header-logo img {
  height: 100px; /* Размер логотипа */
  width: auto;
}

.header-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px; /* Расстояние между элементами меню */
}

.header-menu a {
  text-decoration: none;
  color: #333; /* Темно-серый цвет */
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-menu a:hover {
  color: #000; /* Цвет при наведении */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }

  .header-menu {
    display: none; /* Скройте меню на маленьких экранах */
  }

  /* Здесь можно добавить код для "бургер-меню" */
}

.about-section {
  position: relative;
  width: 100%;
  min-height: 900px; /* Установите желаемую высоту */
  background: url('img/lab.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4); /* Полупрозрачный белый фон поверх изображения */
}

.about-content {
  position: relative;
  z-index: 1; /* Чтобы контент был поверх полупрозрачного фона */
  padding: 20px;
}

.about-box {
  background-color: rgba(255, 255, 255, 0.9); /* Белый полупрозрачный фон для блока с текстом */
  padding: 40px;
  border-radius: 5px;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-box h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 10px;
}

hr {
  width: 50px;
  height: 2px;
  background-color: #00963f; /* Цвет линии-разделителя */
  border: none;
  margin: 0 auto 20px;
}

.about-box p {
  font-size: 1em;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.about-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-green {
  background-color: #00963f;
  color: #fff;
  border: 2px solid #00963f;
}

.btn-green:hover {
  background-color: #45a049;
}

.btn-transparent {
  background-color: transparent;
  color: #00963f;
  border: 2px solid #00963f;
}

.btn-transparent:hover {
  background-color: #00963f;
  color: #fff;
}

.achievements-section {
  padding: 80px 0; /* Отступы сверху и снизу */
  background-color: #fff; /* Цвет фона, если нужно */
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.achievements-header h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 10px;
}

.achievements-header p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 50px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.achievement-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achievement-icon {
  width: 120px; /* Размер иконок */
  height: auto;
  margin-bottom: 15px;
}

.achievement-item p {
  font-size: 1em;
  color: #333;
  line-height: 1.4;
}

.achievement-item strong {
  font-size: 1.2em;
  font-weight: bold;
}

/* Адаптивность для разных размеров экрана */
@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

.news-section {
  padding: 80px 0;
  background-color: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5em;
  color: #333;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-image img {
  width: 100%;
  height: 200px; /* Задайте фиксированную высоту для изображений */
  object-fit: cover; /* Изображение будет обрезать, чтобы заполнить область */
  display: block;
}


.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-top: 0;
  margin-bottom: 10px;
}

.news-date {
  font-size: 0.9em;
  color: #999;
  margin: 0;
}

/* Адаптивность для разных размеров экрана */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  width: 100%;
  background-color: #00963f; /* Темно-зеленый цвет */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-menu ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Чтобы меню переносилось на новую строку на мобильных */
  gap: 20px;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-menu a:hover {
  opacity: 0.8;
}

.footer-content {
  margin-top: 20px;
}

.copyright {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.disclaimer {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.5;
}

/* Адаптивность */
@media (max-width: 576px) {
  .footer {
    padding: 30px 15px;
  }

  .footer-menu ul {
    flex-direction: column;
    align-items: center;
  }
}

        .tab-button {
            /* Базовые стили для ссылки, чтобы выглядела как вкладка */
            background-color: transparent;
            border: none;
            cursor: pointer;
            padding: 10px 15px;
            font-size: 16px;
            transition: all 0.3s;
            position: relative;
            outline: none;
            text-decoration: none; /* Убираем подчеркивание у ссылок */
            color: #000; /* Исходный цвет - серый */
            margin-right: 1rem; /* Отступ между вкладками */
            padding-bottom: 12px; 
            font-weight: 500;
        }

        /* Стиль для АКТИВНОЙ вкладки (используем класс .active для симуляции) */
        .tab-button.active {
            color: #00963f;
            font-weight: bold;
        }

        /* Линия под активной вкладкой */
        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -2px; 
            left: 0;
            width: 100%;
            height: 3px; 
            background-color: #00963f;
        }
        
        /* Скрываем весь контент вкладок и логику :target */
        .tab-content {
            /* Этот контент будет загружаться на каждой отдельной странице */
            display: block;
            margin-top: 40px;
        }

        .justify-center {
    justify-content: center;
}


/* ====== Общие переменные ====== */
:root{
  --f-bg:#f3f4f6;          /* фон фильтра */
  --f-surface:#fff;        /* фон полей */
  --f-border:#dfe3e8;
  --f-text:#111827;
  --f-muted:#9aa0a6;
  --f-brand:#00963f;       /* зелёная кнопка */
  --f-ring:rgba(0,150,63,.25);
  --f-radius:8px;
}

/* ====== Плашка фильтра ====== */
.mp-filter{
  background:var(--f-bg);
  border:1px solid var(--f-border);
  border-radius:10px;
  padding:14px;
  margin:18px 0 22px;
}

/* ====== Вёрстка полей ====== */
.mp-filter__row{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:12px;
  align-items:center;
}
@media (max-width:900px){
  .mp-filter__row{ grid-template-columns:1fr; }
}

/* скрытые подписи */
.mp-filter label{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}

/* поля */
#mp-q,
.mp-select{
  width:100%;
  height:44px;
  border:1px solid var(--f-border);
  border-radius:var(--f-radius);
  background:var(--f-surface);
  padding:0 12px;
  font:500 14px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--f-text);
  transition:border-color .15s, box-shadow .15s;
}
#mp-q::placeholder{ color:var(--f-muted); }

/* иконка лупы */
#mp-q{
  padding-left:38px;
  background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%239aa0a6' stroke-width='2'/%3E%3Cpath d='M20 20L16.65 16.65' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:10px 50%;
}

/* селект со стрелкой */
.mp-select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
}

#mp-q:focus, .mp-select:focus{
  outline:none;
  border-color:var(--f-brand);
  box-shadow:0 0 0 4px var(--f-ring);
}

/* ====== Кнопка ====== */
.mp-filter button{
  height:44px;
  padding:0 16px;
  border:0;
  border-radius:8px;
  background:var(--f-brand);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease, transform .06s;
}
.mp-filter button:hover{ background:#00a948; }
.mp-filter button:active{ transform:translateY(1px); }

/* ====== Контейнер товаров — в ширину фильтра ====== */
.mp-results-full{
  max-width:1200px;              /* совпадает с шириной .container */
  margin:0 auto;                 /* центрируем */
  padding: 20px;                /* вертикальные отступы */
}

/* ====== Сетка карточек ====== */
.mp-results-full .mp-grid,
#mp-results .mp-grid,
#mp-results .news-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:30px;
}

@media (max-width:1000px){
  .mp-results-full .mp-grid,
  #mp-results .mp-grid,
  #mp-results .news-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}
@media (max-width:600px){
  .mp-results-full .mp-grid,
  #mp-results .mp-grid,
  #mp-results .news-grid{
    grid-template-columns:1fr;
  }
}

.mp-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mp-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 20px;
  text-align: center;
}

.mp-card__thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.mp-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.mnn{
  font-size: 14px;
}

.mnn span{
  font-weight: bold;
}

.sub-heading {
    /* Style for sub-headings like "Активное вещество" and "Вспомогательные вещества" */
    margin-top: 15px;
    font-weight: bold;
}

.list-item {
    /* Standard text line style */
}

.breadcrumbs ol {margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:.4rem;}
.breadcrumbs li {display:inline-flex; align-items:center;}
.breadcrumbs li+li::before {content:"/"; margin:0 .4rem; opacity:.5;}
.breadcrumbs a {text-decoration:none;}
.breadcrumbs .is-current {opacity:.8;}

a{
  color: #00963f;
}

a:hover{
  text-decoration: underline;
}


.product-container {
    /* Разметка: Выстраивает блоки в строку */
    display: flex; 
    flex-wrap: wrap;
    gap: 10px; /* Добавляет промежуток между блоками */
}

.block {
    /* Разметка: Обеспечивает, что блоки занимают примерно 50% и являются гибкими */
    flex: 1 1 calc(50% - 5px); /* 50% минус половина gap */
    box-sizing: border-box; 
    padding: 10px; /* Минимальный отступ для содержимого */
}

/* Разметка: Медиазапрос для адаптивности */
@media (max-width: 600px) {
    .container {
        /* Разметка: Перестраивает блоки в вертикальный столбец на узких экранах */
        flex-direction: column;
    }

    .block {
        /* Разметка: Блоки занимают полную ширину при вертикальном расположении */
        flex-basis: 100%;
    }
}

.product-container {
    /* Обводка вокруг всего контейнера */
    border: 1px solid #f5f5f5; /* 1px толщина, сплошная линия, серый цвет (можно выбрать любой) */
    border-radius: 10px;
    display: flex; /* Используем flexbox для расположения блоков в ряд */
    /* Вы можете добавить другие стили, например, ширину или отступы */
}

.product-container > .block-1 {
    /* Граница справа для создания линии между block-1 и block-2 */
    border-right: 1px solid #f5f5f5; /* 1px толщина, сплошная линия, серый цвет */
    /* Другие стили для первого блока */
    flex: 0 0 400px; /* Пример: фиксированная ширина 200px для первого блока */
}

.product-container > .block-2 {
    /* Другие стили для второго блока */
    flex-grow: 1; /* Второй блок занимает оставшееся пространство */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
  .product-container {
      /* Обводка вокруг всего контейнера */
      border: 0; /* 1px толщина, сплошная линия, серый цвет (можно выбрать любой) */
      display: flex; /* Используем flexbox для расположения блоков в ряд */
      /* Вы можете добавить другие стили, например, ширину или отступы */
  }

  .product-container > .block-1 {
      /* Граница справа для создания линии между block-1 и block-2 */
      border-right: 0; /* 1px толщина, сплошная линия, серый цвет */
      /* Другие стили для первого блока */
      flex: 0 0 400px; /* Пример: фиксированная ширина 200px для первого блока */
  }

  .product-container > .block-2 {
      /* Другие стили для второго блока */
      flex-grow: 1; /* Второй блок занимает оставшееся пространство */
  }
  .block {
      padding: 0px; /* Минимальный отступ для содержимого */
  }  
}