body {
  background-color: #bedcf7;
  font-family: sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
  text-align: center;
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4); /* полупрозрачный черный */
  z-index: 9998; /* ниже попапа (у попапа z-index:9999) */
  backdrop-filter: blur(5px); /* добавляем размытие */
}

.page-content {
    width: 100%;
    margin: 0 auto;
}

.lp25-header {
  background: #bedcf7;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: 60px;             /* фиксированная высота хэдера */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Обновляем header-top с flex */
.lp25-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between; /* языки и бургер по краям */
  position: relative;
  height: 100%;                  /* полностью занимает высоту хэдера */
  padding: 0 20px;               /* одинаковые отступы слева и справа */
}

/* Языковой переключатель слева */
.lp25-lang-switch .lp25-lang {
  cursor: pointer;
  font-weight: bold;
  margin: 0 0.2rem;
  opacity: 0.6;
}

.lang {
    border: none;
    background: none;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
	font-family: sans-serif;
	color: #000;
}
.lp25-lang-switch .lang {
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: bold;
  color: #555; /* неактивный по умолчанию серый */
  cursor: pointer;
  transition: color 0.3s;
}

.lp25-lang-switch .lang.active {
  color: #000; /* активный язык — чёрный */
}

/* Логотип ровно по центру */
.lp25-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
}

.lp25-logo img {
    height: 40px;
}

/* Бургер справа */
.lp25-burger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.lp25-burger span {
  position: absolute;
  left: 0;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: transform 0.6s ease, top 0.4s ease, opacity 0.4s ease;
}

/* верхняя линия */
.lp25-burger span:nth-child(1) {
  top: 0;
}

/* средняя линия */
.lp25-burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

/* нижняя линия */
.lp25-burger span:nth-child(3) {
  bottom: 0;
}

/* активное состояние бургера */
.lp25-burger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.lp25-burger.active span:nth-child(2) {
  opacity: 0;
}

.lp25-burger.active span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: rotate(-45deg);
}

/* остальной твой код оставляю без изменений */
.lp25-menu {
  display: none;
  position: fixed;
  top: 60px; /* отступ равен высоте хэдера */
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
}

.lp25-menu.active {
  display: block;
}

.lp25-menu-list {
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.lp25-menu-item {
  margin: 1.5rem 0;
  text-align: center;
  font-size: 1.5rem;
}

.lp25-menu {
  display: none;
  position: fixed;
  top: 60px;       /* вместо top: 0; */
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
}

.lp25-menu.active {
  display: block;
}

.lp25-menu-list {
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.lp25-menu-item {
  margin: 1.5rem 0;
  text-align: center;
  font-size: 1.5rem;
}

li.lp25-menu-item a {
    color: #000;
    text-decoration: none;
}

/* Форма */
#gift-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
}

/* Контейнер поля с лейблом */
.form-field {
  width: 100%;
  text-align: left;
}

/* Лейблы */
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* Поля ввода и select */
.form-field input,
.form-field select,
.custom-date-input {
  width: 100%;
  height: 50px;                   /* одинаковая высота */
  padding: 0 20px;                /* вертикальный паддинг избыточен при фиксированной высоте */
  border-radius: 30px;
  border: none;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff;
  display: block;
  color: #333;
  appearance: none;  
}
.form-field select:invalid {
  color: #555;
}

/* Чекбокс с лейблом */
.agreement-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    text-align: justify;
    gap: 10px;
    width: 100%;
    word-break: break-word;
}

#gift-form input[type="checkbox"] {
  transform: scale(1.2);
}

/* Кнопка */
#gift-form button[type="submit"] {
  width: 100%;
  padding: 18px;
  background-color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  color: #000;
  margin: 0 0 50px 0;
}

#gift-form button[type="submit"]:hover {
  background-color: #f0f0f0;
}

/* Кастомный алерт */
.custom-alert {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.custom-alert-content {
  background: white;
  border-radius: 30px;
  padding: 50px 30px;
  max-width: 300px;
  text-align: center;
  font-family: 'Georgia', serif;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.custom-alert-content button {
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background: #b3d9f7;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-alert-content button:hover {
  background-color: #a0cbe8;
}

/* Попап с кодом */
#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px;
  width: 90%;
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 9999;
}
#popup p {
    padding: 25px 0;
}
p.popup-d.felicitare {
    font-size: 24px;
    padding: 0 !important;
}

#popup h2 {
  font-size: 35px;
  margin: 25px 0;
}
p.popupd.messagef,
p.popupd.messages {
    padding: 0 !important;
    font-size: 16px;
    line-height: 1em;
}
p.popupd.messages {
	font-weight: 400;
}

/* Эффект размытия заднего фона при открытии попапа */
.page-content.blurred {
  filter: blur(8px);
  transition: filter 0.3s ease;
}

/*Условия пользования*/
.custom-popup {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: flex-start;
  padding-top: 5vh;
}

.custom-popup-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh; /* ключ: ограничиваем высоту */
  overflow-y: auto; /* добавляем прокрутку */
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  text-align: center;
  font-family: Georgia, serif;
  line-height: 1.5; /* увеличиваем межстрочный интервал */
}

.custom-popup-content h2 {
  margin-top: 0;
  font-size: 24px;
}

.custom-popup-content p {
  margin-bottom: 1em; /* чтобы текст не сливался */
  text-align: justify;
}

.terms-text {
    text-align: justify;
}

.custom-popup-content button {
  margin: 20px 0 40px 0;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background: #b3d9f7;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-popup-content button:hover {
  background-color: #a0cbe8;
}

.slide {
    margin-top: 60px;
}

.slide img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

p#description {
    width: 90%;
    max-width: 400px;
    padding: 20px 0 20px 0;
    margin: 0 auto;
    text-align: justify;
}

/* Адаптив для мобильных */
@media screen and (max-width: 600px) {
}
