.contacts-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Скрыто справа */
    width: 80%; /* Уменьшено до удобного размера */
    max-width: 700px; /* Ограничиваем ширину */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 9999;
    padding: 60px 80px 40px 60px;
    visibility: hidden;
}

.contacts-overlay.active {
    right: 0;
    visibility: visible;
}
.contacts-header{
	display: flex;
    justify-content: space-between;
    margin-bottom: 50px;    
    font-family: "dinAlternate";
}
.contacts-header span{
	font-size: 30px;
    display: flex;
    flex-wrap: wrap;
    letter-spacing: 12px;
}
.contacts-header span span{
	font-size: 16px;    
    letter-spacing: 7px;    
    width: 100%;
    margin-top: 5px;
    margin-left: 3px;
}
.contacts-header .contacts-close{
	background: none;
    border: navajowhite;
    color: white;
    font-size: 34px;
    position: absolute;
    right: 20px;
    top: 50px;
}
.contacts-header .contacts-close img{
  width: 20px;
  
}
.contacts-items {
    margin-bottom: 30px;
}

.contacts-items .contacts-item {
    position: relative;
    margin-bottom: 40px;
}
.contacts-items .contacts-item .title{
    font-family: "dinAlternate";
    font-size: 14px;
    letter-spacing: 5px;
	display: flex;
    align-items: center;
    margin-bottom: 12px;
	text-decoration: underline;
	color: white;
	padding-bottom: 5px;
}
.contacts-items .contacts-item .title img{
    width: 25px;
    margin-right: 10px;  
}
.contacts-items .contacts-item .title span{
  text-decoration: none;   
  color: white;
}
.contacts-items .contacts-item .description{
  font-family: "dinAlternate"; 
  font-size: 14px;    
  line-height: 17px;
  letter-spacing: 5px;
}
.contacts-footer{
  margin-top: 50px;    
  font-family: "dinAlternate";
}
.contacts-footer span{    
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
	 letter-spacing: 6px;
}
.contacts-footer a{
  text-decoration: underline;
  display: flex;     
  color: white;
  font-size: 16px;    
  align-items: center;
	letter-spacing: 5px;    
}
.contacts-footer a img{
  margin-left: 10px;     
  height: 23px;
}
/* Новый фон для клика на пустое пространство */
.cart-overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998; /* На один уровень ниже корзины */
    visibility: hidden; /* Скрыто по умолчанию */
    transition: 1s;
}

.cart-overlay-background.active {
    visibility: visible; /* Показывается вместе с корзиной */
    background: rgba(0, 0, 0, 0.2); /* Полупрозрачный фон */
    -webkit-backdrop-filter: blur(10px); /* Для Safari */
    backdrop-filter: blur(10px); /* Размытие только фона */
}

@media(max-width:800px){
  
  .contacts-overlay{
       padding: 30px 40px 20px 30px;         
      width: 100%;
  }
  .contacts-header span{
      font-size: 20px;
  }
  .contacts-header span span{
    
  }
  .contacts-header .contacts-close{
	  top: 10px;
  }
  .contacts-items .contacts-item .title{
      font-size: 12px;
  }
  .contacts-items .contacts-item .description{
      font-size: 12px;
      line-height: 14px;
    
  }
  
}