.contacts-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Скрыто справа */
    width: 80%; /* Уменьшено до удобного размера */
    max-width: 700px; /* Ограничиваем ширину */
    height: 100%;
    background-color: #f3f3f3;
    color: #000000;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 9999;
    padding: 0px 0px 20px 0px;
    visibility: hidden;
    font-family: "Alethia Pro";
}

.contacts-overlay.active {
    right: 0;
    visibility: visible;
}
.contacts-header{
	display: flex;
    justify-content: space-between;
    margin-bottom: 15px;    
    background: #e4e4e4;
    padding: 20px 40px 20px 40px;
}
.contacts-header span{
	font-size: 30px;
    display: flex;
    flex-wrap: wrap;
    letter-spacing: 12px;
    color: #ff700c;
    font-weight: bold;
    font-family: Arial Black;
}
.contacts-items .bold_header{
    font-size: 18px;
    margin-bottom: 20px;
    font-weight:900;
    letter-spacing: 6px;
    font-family: arial;
}
.contacts-header span span{
	font-size: 16px;    
    letter-spacing: 7px;    
    width: 100%;
    margin-top: 5px;
    margin-left: 3px;
    color: black;
    font-weight:300;
    font-family: Alethia Pro;
}
.contacts-header .contacts-close{
	position:absolute; 
    right: 42px;
    top:28px;
    cursor: pointer;
    width: 12px;
    background:none;
    border:0;
    outline:none;
}
.contacts-header .contacts-close img{
  width: 20px;
  
}
.contacts-items {
    margin-bottom:  0px;
    padding:  0px 40px 20px 40px;
}

.contacts-items .contacts-item {
    position: relative;
    margin-bottom:  15px;
}
.contacts-items .contacts-item.map_block{
    margin-bottom:0;
}
.contacts-items .contacts-item .title{
    font-size: 14px;
    letter-spacing: 3px;
	display: flex;
    align-items: center;
    margin-bottom: 12px;
	text-decoration: none;
	color: black;
    flex-wrap: wrap;
}
.contacts-items .contacts-item.map_block .title{
    letter-spacing: 5px;
}
.contacts-items .contacts-item.map_block .title  img{
    width:50px;
}
.contacts-items .contacts-item .title img , .contacts-items .contacts-item .title svg{
    width: 25px;
    margin-right: 10px;  
}

.contacts-items .contacts-item .title span{
  text-decoration: none;   
  color: black;
}
.contacts-items .contacts-item .title span.underline{
    text-decoration:underline;    
    font-size: 24px;
    letter-spacing: 10px;
}
.contacts-items .contacts-item .title i{
    display:block;
    margin-top:5px;
    width:100%;
}
.contacts-items .contacts-item .description{
  font-size: 14px;    
  line-height: 17px;
  letter-spacing: 5px;
}
.contacts-footer{
  margin-top: 20px;    
  margin-bottom: 20px;   
   border: 2px solid #ff700c;
    border-radius: 30px;
    padding: 10px 20px;    
    display: block;
    text-decoration: none;
    cursor:pointer;
    background: rgba(0, 0, 0, 0.6);
    font-family: arial;
}
.contacts-footer:hover{
    color:white;
    background: #ff700c;
}
.contacts-footer .bold_header{
    color: #ff700c;
    margin-bottom:15px; 
    text-align: left;    
    font-family: arial black;
}
.contacts-footer:hover .bold_header{
    color:white;
}
.contacts-footer:hover   .arrs{
    color:white;
}
.contacts-footer:hover  .arrs span{
    color:white;
}
.contacts-footer .arrs img.white{
    display:none;
}
.contacts-footer:hover   .arrs img.or{
    display:none;
}
.contacts-footer:hover   .arrs img.white{
    display:inline;
}
.contacts-footer span{    
  display: block;
  font-size: 14px;
	 letter-spacing: 6px;
}
.contacts-footer .arrs{
  text-decoration: none;
  display: flex;     
    color:white;
  font-size: 16px;    
  align-items: center;
	letter-spacing: 5px;    
}
.contacts-footer .arrs 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: 20px 10px 20px 10px;         
      width: 100%;
  }
  .contacts-header{
        padding: 10px 10px 10px 20px;
  }
  .contacts-items .bold_header{
    margin-bottom: 10px;
  }
  .contacts-header span{
      font-size: 20px;
      letter-spacing: 8px;
  }
  .contacts-items .contacts-item{
    margin-bottom: 5px;
  }
  .contacts-header span span{
        letter-spacing: 5px;
        margin-top:0;
  }
  .contacts-header .contacts-close{
        top: 3px;
        right: 3px;
  }
  .contacts-header .contacts-close img {
    width: 15px;
}
  .contacts-items{
    padding: 0;
  }
  .contacts-items .contacts-item .title{
      font-size: 12px;
  }
  .contacts-items .contacts-item .description{
      font-size: 12px;
      line-height: 14px;
    
  }
  .contacts-items .contacts-item .title img, .contacts-items .contacts-item .title svg{
    width: 21px;
  }
  .contacts-footer .bold_header{
    font-size: 14px;
    letter-spacing: 1px;
  }
  .contacts-footer span.arrs{
    font-size: 12px;
    letter-spacing: 1px;
    justify-content: space-between;
  }
  .contacts-items .contacts-item.map_block .title {
    letter-spacing: 2px;
    justify-content: space-between;
    flex-wrap: nowrap;
}
  .contacts-items .contacts-item.map_block .title img{
    width: 30px;
    margin-right: 0;
  }
  .contacts-items .contacts-item .title span.underline{
    font-size: 20px;
    letter-spacing: 5px;
  }
    .contacts-items .contacts-item .title i{
        margin-top:0;
    }
}