* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style:none ;
    
}

header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     box-shadow: 0 10px 5px rgba(0,0,0,.4); 
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0 8%;
     background: #000;
    

}
ul li {
    position: relative;
    float:left;
}

ul li a {
    color:#808080 ;
    font-size: 18px;
    display: block;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

ul li a:hover{
   color: #000000; 
   background: #fff;
}

nav ul li ul {
    position: absolute;
    left: 0;
    width: 160px;
    background: #fff;
    display: none;

}

nav ul li ul li {
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
}

nav ul li:hover > ul {
    display: initial;

}



header .logo{
    font-size: 25px;
    color: #fff;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 30px;
    font-weight: 400;
    font-family: "Roboto", sans-serif !important;
    
}
h2{
    font-size: 25px;
    font-weight: 200;
    font-family: Arial;


}
 
.container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column ;

}

h3{
    font-size: 20px;
    font-weight: 400;
    font-family: Arial; 

}

.card {
    width: 200px;
    min-height: 350px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Размещаем элементы в колонку */
    border-radius: 4px;
    transition: 0.2s;
    position: relative;
}

.card__title {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 17px;
    line-height: 150%;
    color: #414141;
    font-family: Arial, Helvetica, sans-serif;
  }

.card:hover {
    box-shadow: 4px 8px 16px rgb(37, 37, 37);
}

.card__top {
    flex: 0 0 170px; /* Задаем высоту 220px, запрещаем расширение и сужение по высоте */
    position: relative;
    overflow: hidden; /* Скрываем, что выходит за пределы */
  }

.card__image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} 

.card__image > img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Встраиваем картинку в контейнер card__image */
    transition: 0.2s;
  }

.card__image:hover > img {
    transform: scale(1.4);
  }

.card__bottom {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto; /* Занимаем всю оставшуюся высоту карточки */
    padding: 10px;
  }

.card__price--common {
    font-weight: 400;
    font-size: 18px;
    color: #ff0000;
    display:block;
    flex-wrap: wrap-reverse;
    justify-content: flex-end;
    font-family: Arial, Helvetica, sans-serif;
    

  }

.card__title:hover {
    color:#606060;
  }
  

.card__add {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 17px;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    border: 1px solid #ff0000;
    border-radius: 4px;
    cursor: pointer; /* Меняем курсор при наведении */
    transition: 0.2s;
    margin-top: auto; /* Прижимаем кнопку к низу карточки */
    background-color: #ff0000;
    font-family: Arial, Helvetica, sans-serif;

  }

.card__add:hover {
    border: 1px solid#606060;
    background-color: #606060;
    color: #fff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

  

.cards {
    display: grid;
    /* Автоматически заполняем на всю ширину grid-контейнера */
    grid-template-columns: repeat(auto-fill, 225px);
    width: 100%;
    max-width: 1000px; /* Ширина grid-контейнера */
    justify-content: center;
    justify-items: center; /* Размещаем карточку по центру */
    column-gap: 30px; /* Отступ между колонками */
    row-gap: 40px; /* Отступ между рядами */
    margin: 0 auto;
  }

.button{
    margin-top: 40px;
    text-align: center;
    position: fixed;
    top: 720px;
    left: 850px;
}


.button a{
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background-color: #ff0000;
    padding: 20px 50px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 500px;
}
.pop_up{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color:rgba(0,0,0,.8);
    z-index: 2;
    
}

.pop_up.active{
    display: block;
}

.pop_up_container{
    display: flex;
    width: 100%;
    height: 100%;

}

.pop_up_body{
    margin: auto;
    width: 500px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 100px 15px 110px 15px;
    position: relative;
    

}

.pop_up_body p{
    font-size: 23px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 40px;
}

.pop_up_body input{
    display: block;
    margin: 25px auto 0px auto;
    width: 330px;
    padding: 17px 20px;
    background-color: #e5e5e5;
    border-radius: 10px;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500px;
    font-size: 16px;
    color:#606060 ;
}

.pop_up_body input:focus{
    outline: none;
}

.pop_up_body button{
    cursor: pointer;
    display: block;
    width: 330px;
    margin: 60px auto 0px auto;
    padding: 20px 0px ;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 500;
    border:none;
    border-radius: 10px;
    color:#fff;
    background-color: red;
    

    
}

.pop_up_close{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 21px;
    cursor: pointer;
    
}

header .kat5{
    font-size: 50px;
    color: #000000;
    width: 160px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position:fixed;
    top: 150px;
    left: 900px;
    right: 0;
    text-align: center;
    
}
body .lor{
    transform: scale(1.0);
    transition: 1s all;
    font-size: 20px;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position:fixed;
    top: 200px;
    left: 800px;
    right: 50px;
    display: flex;
    position:fixed;
    justify-content: center;
    background-color: #c9c9c7;
    color: #333;
    padding: 30px;
    margin: 15px;
    border: 10px solid #2f3841;
    border-radius: 20px;
    opacity: 1;
    height: 500px;
}
.container__img{
    position:absolute;
    top: 115px;
    left: 0px;
    right: 0px;

}

table {
  width: 800px;
  border-top: 7px solid #2f3841;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid #dddddd;
  position:absolute;
  top: 730px;
  left: 0px;
  right: 0px;
}

td {
  text-align: left;
    padding: 10px;
    border: 3px solid #2f3841;
}
th {
  text-align: center;
  padding: 10px;
    border: 3px solid #2f3841;
 }


  

header .kat__price{
    font-size: 50px;
    color: #000000;
    width: 160px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position:fixed;
    top: 150px;
    left: 0;
    right: 0;
    text-align: center;
}