body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
}

	
	body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.body-lock {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

    /* Шапка */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  height: 70px;
  box-sizing: border-box;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* чтобы поверх всего */
  background-color: #fff; /* важно! чтобы не просвечивал фон */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* лёгкая тень */
}

.main-content {
  margin-top: 70px; /* зависит от высоты шапки */
}

.account-link {
  font-size: 14px;       /* размер шрифта */
  text-decoration: none; /* убираем подчеркивание */
  color: #333333;        /* цвет текста, можно любой */
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}



/* Счетчик */
.cart-count {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #70c596;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 9px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    line-height: 1.0;
}

.header-icon {
  font-size: 25px;
  color: #333;
  cursor: pointer;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  margin: 0 5px;
  position: relative; /* чтобы счетчик позиционировался относительно иконки */
    display: inline-block;
}



#searchBtn i {
  color: #6EC1E4; /* нужный цвет, например оранжевый */
  font-size: 22px;
}

/* Цвет для иконки телефона */
#phoneBtn i {
  color: #7ED6A5; 
  font-size: 23px;
}

/* Цвет для иконки корзины */
#cartBtn i {
  color: #F7A07E; 
  font-size: 28px;
}

/* Цвет для бургер-меню */
#burgerBtn i {
  color: #F7A07E;
  font-size: 30px;
}


.header-logo {
  flex-grow: 1;
  text-align: center;
}


.header-logo img {
  max-height: 40px;   /* ограничиваем высоту */
  width: auto;        /* ширина подстраивается автоматически */
  display: block;
  margin: 0 auto;
}


    .mobile-header > div:first-child,
    .mobile-header > div:last-child {
      flex-basis: 30px;
    }

    /* Оверлей и меню */
    .popup-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      z-index: 9999;
    }

    .popup-side {
      position: absolute;
      top: 0; left: 0;
      height: 100%;
      width: 90%;
      max-width: 400px;
      background: #fff;
      padding: 0;
      box-shadow: 4px 0 15px rgba(0,0,0,0.1);
      overflow-y: auto;
      animation: slideIn 0.3s ease forwards;
    }

    .popup-side.slideOut {
      animation: slideOut 0.3s ease forwards;
    }

    @keyframes slideIn {
      from { transform: translateX(-100%); }
      to { transform: translateX(0); }
    }

    @keyframes slideOut {
      from { transform: translateX(0); }
      to { transform: translateX(-100%); }
    }

    .popup-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background: #fff;
       width: 100%;   /* на всю ширину контейнера */
    height: 60px;  /* фиксированная высота */
    box-sizing: border-box; /* учитывает padding в высоте */
	  
    }

 .popup-logo {
    max-height: 42px;
    margin-top: 1px;        /* отступ сверху */
    margin-bottom: -12px;   /* отступ снизу */
    margin-left: 1px;      /* отступ слева */
    margin-right: 0;        /* справа без отступа */
    display: block;         /* чтобы отступы работали корректно */
}

  .close-popup {
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    color: #666666; /* цвет серый */
}

    .popup-menu {
      padding: 0 15px;
    }

  .popup-menu a {
  display: block;
  margin: 16px 0;
  font-size: 16px;
  font-family: 'Inter', sans-serif; /* Шрифт из Google Fonts */
  font-weight: 400; /* Можно 400 (обычный), 600 (полужирный), если нужно */
  text-decoration: none;
  color: #444444;
  transition: color 0.2s;
}

    .popup-menu a:hover {
      color: #007bff;
    }

    /* Каталог */
    .catalog-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: #fff;
      z-index: 10000;
      display: none;
      overflow-y: auto;
      padding: 10px;
    }
	

    .catalog-content {
      max-width: 700px;
      margin: 0 auto;
      padding: 0 5px 30px;
    }

 .catalog-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
       border-bottom: 1px solid #ccc;  /* серая линия */
  padding-bottom: 10px;            /* небольшой отступ между текстом и линией */
}
      
    }

    .catalog-header h2 {
      font-size: 24px;
      font-weight: 600;
      color: #555;
      margin: 0;
    }

    .close-catalog {
      position: relative;
      width: 70px;
      height: 20px;
      cursor: pointer;
    }

    .close-catalog span {
      position: absolute;
      top: 50%; left: 50%;
      width: 24px;
      height: 3px;
      background: #222;
      transform-origin: center;
    }

    .close-catalog span:first-child {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .close-catalog span:last-child {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .close-catalog:hover span {
      background: #007bff;
    }

    .catalog-list, .subcategory-list {
      list-style: none;
      padding-left: 0;
      margin: 0 0 30px 0;
	  
    }
	
    .catalog-list li {
      margin-bottom: 5px;
    }

    .category-link {
      display: block;
      padding: 5px 16px;
      text-decoration: none;
      color: #333;
      background: transparent;
      transition: background 0.2s;
	  position: relative;
  padding-right: 30px;
   line-height: 1.6;
    }
	
.category-link::after {
  content: '>';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Когда открыт родительский li */
li.open > .category-link::after {
  content: '▼';
  /* Можно повернуть стрелку, если хочешь вместо смены символа */
  /* transform: translateY(-50%) rotate(90deg); */
  color: #555;
}

    .category-link:hover {
      background: #f5f5f5;
    }

  
/* Кнопка Каталога товаров */
.popup-menu-catalog {
  padding: 8px 20px 20px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.catalog-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: 100%;
  max-width: 400px;
  height: 45px;

  padding: 0 20px;

  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-color: #777777;
  border-radius: 8px;
  text-decoration: none;

  transition: background-color 0.3s ease;
  box-sizing: border-box;
  justify-content: center;
}

.catalog-menu-button:hover {
  background-color: #3c3c3c;
}

.catalog-menu-button i {
  font-size: 20px;
  vertical-align: middle;
}

.catalog-menu-button svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-right: 6px;
  vertical-align: middle;
}


/* Стили для остальных ссылок меню */
.popup-menu a.menu-link {
  display: block;
  margin: 16px 20px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-decoration: none;
  color: #444444;
  transition: color 0.2s;
}

.popup-menu a.menu-link:hover {
  color: #007bff;
}

.popup-menu-wrapper {
  text-align: left; /* Центрируем содержимое */
  padding: 1px 1px;
  font-family: Arial, sans-serif;
}

.menu-section-title {
  font-weight: 700;
  font-size: 1.0rem;
  margin: 5px 0 12px;
  color: #555;
  user-select: none;
}

.menu-heading {
 display: flex;            /* Располагает дочерние элементы в ряд */
  align-items: center;      /* Вертикальное выравнивание по центру */
  gap: 5px;     
  margin-bottom: 10px;
 margin-top: 25px; 
  
}


.menu-heading span {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  line-height: 1.2;
     margin: 5px;
  padding: 5px;
  user-select: none;
}

.menu-heading img.menu-icon {
 width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
}

.menu-icon {
  width: 24px;   /* ширина */
  height: 24px;  /* высота */
}



.main-links {
  list-style: none; /* Убираем точки */
  padding: 0;
  margin: 0 auto 5px; /* Отступ снизу */
  display: inline-block; /* Чтобы ul по ширине контента */
  text-align: left; /* Выровнять ссылки слева внутри блока */
  min-width: 220px; /* Можно настроить ширину меню */
}

.main-links li {
  margin: 10px 0; /* Отступы между пунктами */
}

.main-links a {
  color: #444;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.main-links a i {
  margin-right: 8px;
  color: #999;
}

.main-links a:hover {
  color: #007bff;
}


/* Выбор языка */
.language-switcher {
  display: flex;
  gap: 15px;
  margin-top: 15px; /* Отступ сверху */
  margin-bottom: 10px;
  font-weight: 700;
  justify-content: center;
  font-size: 15px; 
   margin-top: 15px;
   color: #666;
  text-decoration: none;
}


.language-switcher a {
  color: #666;
  text-decoration: none;
}

.language-switcher a:hover {
  color: #555;
  text-decoration: none;
}



.language-switcher .lang-link {
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
}

.language-switcher .lang-link:hover {
  text-decoration: underline;
}


.contacts {
  text-align: center; /* Центрируем содержимое */
  margin: 25px 0;      /* Отступ сверху и снизу */
  font-size: 16px;     /* Размер шрифта для телефонов */
}

.contacts a {
  display: block;      /* Каждый телефон на новой строке */
  color: #444;         /* Цвет текста */
  text-decoration: none;
  margin: 2px 0;       /* Вертикальный отступ между телефонами */
}

.contacts a i {
  margin-right: 5px;   /* Отступ иконки от номера */
  color: #0078d7;      /* Цвет иконки (синий) */
}

.social-icons {
  text-align: center;  /* Центрируем иконки */
  margin-top: 20px;    /* Отступ сверху */
  margin-bottom: 20px; 
}

.social-icons a {
  display: inline-block; /* Иконки в ряд */
  margin: 0 10px;        /* Отступ слева и справа между иконками */
  font-size: 28px;       /* Размер иконок */
  color: #444;           /* Цвет иконок */
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0078d7;        /* При наведении — синий цвет */
}


.menu-separator {
  border: none;
  border-top: 1px solid #e0e0e0; /* можно заменить на нужный цвет */
  margin: 15px 0;
}


.popup-search {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 100vw; /* ширина — 100% ширины окна */
    max-width: none; /* отменяем ограничение */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 90px;
}


.popup-search input {
  width: 100% !important;
  padding: 10px !important;
  font-size: 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  color: #999 !important;
  box-sizing: border-box;
}

.close-search {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}




/* svg иконки в меню */

.catalog-list .category-link img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 2px;
}


.catalog-list > li {
  margin-bottom: 12px;
}

.catalog-list .category-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  text-decoration: none;
  color: #333;
}

.catalog-list .category-icon {
  width: 10px; /* можно изменить на 32px, если нужно крупнее */
  height: 10px;
  flex-shrink: 0;
}


/* кнопка вход */
.popup-menu-login {
  padding: 5px;
  margin: 20px;
  margin-bottom: 10px;
  background-color: #f7f7f7;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
}

.login-hint {
  margin: 10px 0 20px 0;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

/* Сама кнопка входа */
.login-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
margin-bottom: 10px;
  height: 35px;
  padding: 0 24px;

  font-size: 12px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background-color: #7EA9F7;
  border-radius: 8px;
  text-decoration: none;

  transition: background-color 0.3s ease;
  box-sizing: border-box;
  justify-content: center;
}

.login-menu-button:hover {
  background-color: #005fc3;
}

.login-menu-button i {
  font-size: 14px;
  vertical-align: middle;
}




/* Окно попапа телефона*/
.popup-phone {
    background: #fff;
    padding: 24px 28px;
    border-radius: 14px;
    width: 100vw;      /* ширина на всю ширину окна */
    max-width: none;   /* снимаем ограничение */
    max-height: 180px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}



/* Кнопка закрытия */
.close-phone {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}
.close-phone:hover {
  color: #F7A07E;
}

/* Заголовок */
.popup-phone p {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  color: #222;
  text-align: center;
}

/* Ссылки телефонов */
.phone-link {
  color: #007bff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  transition: color 0.3s ease;
}
.phone-link:hover {
  color: #0056b3;
}





/* Меню-каталог в другом месте (не попап) */
.menu-catalog {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
  max-width: 700px;
}

.menu-catalog li {
  margin-bottom: 5px;
}

.menu-catalog a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  border-radius: 6px;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  transition: background 0.2s ease;
  line-height: 1.6;
  padding-right: 30px;
  font-size: 16px;
}

/* Иконка стрелочки справа */
.menu-catalog a::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* При наведении */
.menu-catalog a:hover {
  background-color: #f8f8f8;
}



















