/* === ЛОГОТИП === */
.logo { background: transparent !important; }
.logo img {
  height: 100px !important; /* Размер 80 */
  width: auto !important;
  display: block;
  mix-blend-mode: screen;
}
.footer .logo img { 
  height: 80px !important; 
}

/* === КНОПКА TELEGRAM В ФУТЕРЕ === */
.btn--telegram {
  background: #229ED9 !important;
  border-color: #229ED9 !important;
  color: #fff !important;
  margin-left: 10px !important;
}
.btn--telegram:hover { background: #1a7eb0 !important; border-color: #1a7eb0 !important; }

/* === ТЕЛЕФОН (Десктоп) === */
.header-phone-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 18px !important;
  background: #D63A55 !important;
  border: 1px solid #D63A55 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  margin-right: 12px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}
.header-phone-btn:hover { background: #B92E46 !important; border-color: #B92E46 !important; }
.header-phone-btn svg { margin-right: 8px; }

/* === БУРГЕР (Скрыт на компе) === */
.custom-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  height: 100%;
}
.custom-burger span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  display: block;
  border-radius: 2px;
}

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */
@media (max-width: 860px) {
  .hide-on-mobile { display: none !important; } 
  
  /* Выстраиваем элементы шапки в ровную линию */
  .header__in, 
  .header__right,
  [class*="header"] [class*="wrapper"] { 
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .header-phone-btn {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    margin-right: 12px !important;
    font-size: 13px !important;
    color: #D63A55 !important;
  }
  
  .header-phone-btn svg { 
    width: 14px !important; 
    height: 14px !important; 
    margin-right: 6px !important; 
  }

  .custom-burger { 
    display: flex !important; 
    padding: 5px !important;
  }
  
  /* На мобилке делаем 50px, чтобы шапка не ломалась */
  .logo img { 
    height: 80px !important; 
  }
  .footer .logo img { 
    height: 75px !important; 
  }
}

/* === ВЫЕЗЖАЮЩЕЕ МЕНЮ === */
#custom-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0E0C0D;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#custom-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.cm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cm-header span {
  color: #C9A961;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: 2px;
}
#close-menu {
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.cm-links {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  gap: 25px;
}
.cm-links a {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
}
.cm-links .cm-btn {
  background: #D63A55;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
}