/* Скрываем бургер на десктопе */
@media (min-width: 1025px) {
  #menu-toggle {
    display: none;
  }
}

@media (max-width: 1024px) {
  #menu-toggle {
    position: fixed;
    top: 2%;
    right: 2%;
    z-index: 9999;
    background: #ff005c;
    color: white;
    font-size: 18px;        /* 👈 Уменьшили символ "бургер" */
    padding: 10px 14px;
    border-radius: 20%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }
}

@font-face {
  font-family: 'MontserratAlternates-Bold';
  src: url('/wp-content/fonts/MontserratAlternates-Bold.woff2') format('woff2'),
       url('/wp-content/fonts/MontserratAlternates-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
 
 .custom-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3em 2em;
    background: transparent;
  }

  .site-name {
    font-family: 'MontserratAlternates-Bold', sans-serif;
    color: #8B0000;
    font-size: 1.3em;
    font-weight: 600;
  }
  
.site-name a {
  color: #8B0000; /* Багровый цвет по умолчанию */
  text-decoration: none;
}

.site-name a:hover {
  color: #a51c1c; /* Цвет при наведении */
}

  /* 🖥 Горизонтальное меню для ПК */
  .desktop-menu {
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .desktop-menu li a {
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    text-decoration: none;
  }

.desktop-menu li a:hover {
  color: #ff005c; /* Любой цвет, например розовый */
  transition: color 0.3s ease;
}
  /* 📱 Мобильное меню */
  .burger {
    font-size: 2em;
    cursor: pointer;
    color: white;
    display: none;
  }

  #mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  
  background-color: #FFA478; /* Цвет шторки */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2em;
  z-index: 1000;

  /* 🔽 Добавлено для анимации */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}

#mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}

  #mobile-menu.active {
    display: flex;
  }

  #mobile-menu ul {
    list-style: none;
    padding: 2em 0 0;
    margin: 0;
    width: 100%;
  }

  #mobile-menu li {
    margin-bottom: 1.5em;
  }

  #mobile-menu a {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    text-decoration: none;
  }

  .close-btn {
    align-self: flex-end;
    font-size: 2em;
    cursor: pointer;
    color: white;
  }

  /* 📱 Responsive */
  @media (max-width: 1024px) {
    .desktop-menu {
      display: none;
    }
    .burger {
      display: block;
    }
  }
  

#menu-toggle.open::after {
  content: "";
}

/* По умолчанию — бургер */
#menu-toggle::before {
  content: "\2630"; /* символ ☰ */
  font-size: 18px;
}

/* Когда открыт — крестик */
#menu-toggle.open::before {
  content: "✕";
  font-size: 18px;
}
