/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

h1{
	font-size: 25px;
}

img {
  max-width: 100%;
  height: auto;
}


.container {
  display: flex;
  flex-wrap: wrap; /* Элементы переносятся на новую строку, если не помещаются */
}

.item {
  flex: 1 1 200px; /* Элементы растягиваются и сжимаются, минимальная ширина 200px */
}

/* Заголовок */
header {
    background-color: #333;
    color: #fff;
    padding: 5px;
    display: flex;
    text-align: center;
    justify-content: flex-start;
}

.bottom {
    background-color: #347;
    color: #fff;
    padding: 5px;
    display: flex;
    text-align: center;
    justify-content: flex-start;
}

/* Меню навигации */
.menu {
    background-color: #467;
}

.menu ul {
    list-style-type: none;
	font-size: 18px;
    margin: 0 ;
    padding: 0 80px;
    display: flex; 
    justify-content: space-between; 
}

.menu li {
    margin: 0 10px; 
    padding: 0 30px ;
}

.menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px ;
    text-decoration: none;
}

.menu li a:hover {
    background-color: #111;
}


/* Сброс позиций float */
nav::after {
    content: "";
    clear: both;
    display: table;
}

/* Раздел с товарами */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.product-item {
    width: 300px;
    margin: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-item img {
    max-width: 100%;
    height: auto;
}

.product-item h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.product-item p {
    color: #555;
}
.product-item a {
	text-decoration: none;
}


 .zoomed {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  	  width: auto !important; 
  	  height: auto !important;
	  max-width: 90% !important;
      max-height: 90% !important;
      z-index: 1000;
      cursor: zoom-out !important;
      border: 2px solid #fff;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

 .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 999;
      cursor: zoom-out;
    }

.prod_image{
	width:350px; 
	height:auto; 
	cursor:pointer;
	margin: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.td1 {
  border-style: solid;
  border-width: 1px;
  border-color: #aaf;
  border-collapse: collapse; 
}

.td1 td {
  text-align: left;
  padding: 4px;
  padding-left: 20px;
  border-width: 1px;
  border-style: solid;
  border-color: #aaf; 
}

.td1 tr {
  border-width: 1px;
}

.td1 th {
  text-align: left;
  border-width: 1px;
  border-style: solid;
  border-color: #aaf; 
}


.td2 {
  text-align: center;
  border-style: solid;
  border-width: 1px;
  border-color: #aaf;
  border-collapse: collapse; 
}

.td2 td {
  padding: 2px;
  padding-left: 2px;
  border-width: 1px;
  border-style: solid; 
  border-color: #aaf;
  font-size: 12px;	
}

.td2 tr {
  border-width: 1px;
}

.td2 th {
  text-align: center;
  border-width: 1px;
  border-style: solid; 
  border-color: #aaf; 
}

       .menu-container {
           position: relative;
           display: inline-block;
		display: flex;
           flex-direction: column; 
           align-items: flex-start;
       }
       .burger-icon {
           font-size: 30px;
           cursor: pointer;
		margin-bottom: 10px;
       }
        /* Стили для выпадающего меню */
       .dropdown-menu {
           display: none;
           position: absolute;
           background-color: #f9f9f9;
           min-width: 160px;
           box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
           z-index: 1;
       }
        /* Стили для ссылок в меню */
       .dropdown-menu a {
           color: black;
           padding: 12px 16px;
           text-decoration: none;
           display: block;
       }
        /* Изменение цвета ссылок при наведении */
       .dropdown-menu a:hover {
           background-color: #f1f1f1;
       }
        /* Показ меню при нажатии на бургер-иконку */
       .menu-container:hover .dropdown-menu {
           display: block;
       }

.menu-icon {
  font-size: 24px;
  cursor: pointer;
}

.PC{
	display: flex;
}
.mobile{
	display: none;
}

@media (max-width: 768px) {
  body {
    font-size: 19px;
  }
  .header {
    padding: 10px;
  }
  .menu-icon {
    display: block; 
  }
  .menu {
    display: none; 
  }
  .menu.active {
    display: block; 
  }
	.mobile{
		display: flex;
	}	
	.PC{
		display: none;
	}
	
}

.expand_text{
	max-height: 0; 
	overflow: hidden; 
	transition: max-height 0.5s ease-out; 
	background-color: #f9f9f9;
	margin-top: 10px;	
}
.expand_text.open {
    max-height: 10000px; 
}

.image-container {
    display: flex;
    flex-direction: row; /* Располагаем элементы вертикально */
    align-items: center; /* Центрируем изображения по горизонтали */
    gap: 10px; /* Расстояние между изображениями */
	margin-left: 10px;
	max-width: 100%;
}
.image-container img {
    border: 1px solid #ccc;
    border-radius: 5px; 
	max-width: 18%;
	max-height: 60px;
	cursor: pointer;
 }



.p_list {
  
  margin-bottom: 14px;
  font-size: 14px;
  overflow: hidden;
}


.p_item {
  display: flex;
  align-items: flex-end;
  margin-bottom: 9px;
}

.p_title,
.p_value {
  position: relative;
  z-index: 3;
  flex-basis: 48%;
  margin-right: 16px;
  line-height: 1.34;
}

.p_title {
  font-size: inherit;
  color: #606060;
  background-color: #ffffff;
}


.p_list {
  min-height: auto;
  overflow: visible;
}


.p_title::after {
  content: "";
  position: absolute;
  bottom: 8px;
  z-index: 2;
  width: 90%;
  height: 1px;
  margin-left: 5px;
  border-bottom: 1px transparent; 
  background: linear-gradient(to right, #a0a0f0 40%, transparent 60%) repeat-x 0 100%;
  background-size: 4px 3px; 
}

 .p_value {
  background-color: #ffffff;
}

.p_value::after {
  content: "";
  position: absolute;
  left: -5px;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}


