.style{
    font-family: 'Montserrat', sans-serif;
    font-size: 38px; 
    font-weight: 500; 
    color: #333;
    text-align: center; 
    line-height: 1.4; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    margin:20px;
    margin-top: 30px;
    margin-bottom: 0;
    padding-bottom: 20px;
}
@media (max-width:550px) {
    .style{
      font-size: 22px;   
    }
}
.container{
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  justify-content: center;
  gap: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.project-card {
  cursor:default;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  padding: 20px;
  width: auto; 
  
  background-color: #ffffff3f;

  transition: all 0.3s  ease;
}


@media (max-width:358px){
  .project-card{
    max-width: 85%;
    margin-left: 25px;
  }
}

.project-card ul{
    width: 100%;
    padding: 0;
}
.project-card p{
    margin: 0;
    margin-left: 10px;
}

.project-card span{
    font-weight: bold;
}

.project-card li{

 list-style: none;
 display: flex;
 justify-content: left;

}


.project-card:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.56);
}

.price {
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}
.btn-details {
  background: #eb8454c3;
  color: rgb(255, 255, 255);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.foto{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}


.forma{
    margin: 0;
}


.btn-details:hover{
  background-color: rgba(255, 166, 0, 0.767);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.56);
}



/* Слайдер для карточек */


.product_slider{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius:8px;
}

.slide{
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.slide.active{
  opacity: 1;
  position: relative;
}

.slider-prev, .slider-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color:rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  font-size: 18px;
}

.slider-prev{
  left: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slider-next{
  right: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product_slider:hover{
  .slider-prev, .slider-next{
      opacity: 1;
  }
}


.katalog-form{
  width: 70%;
  position: relative;
  margin: auto;
  padding-bottom: 30px;
}

.katalog-form button{
  display: block;
  margin: auto;
  max-width: 200px;
}

.katalog-form .popup_form_content{
    color:rgb(255, 255, 255);
}

.katalog-form #user-name,
.katalog-form #number-phone,
.katalog-form #email,
.katalog-form #Object-list,
.katalog-form #own_order
{
    font-size: 18px;
    font-weight: 300;
    
    background-color:rgb(224, 224, 224);
}