/* =========================================================
   «Рецепты скоро»: пункт меню, попап на главной, страница-заглушка.
   Цвета и шрифты те же, что в new.min.css:
   красный #e91b25, тёмный #1d1d1b, заголовки Progress, текст Gilroy.
   ========================================================= */

/* ---------- Меню на 4 пункта (десктоп) ---------- */
@media (min-width: 769px) {
  .header-info .header-menu {
    width: auto;
    justify-content: flex-start;
    gap: clamp(24px, 3.6vw, 60px);
    margin-right: clamp(24px, 4vw, 75px);
  }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .header-info .header-menu__item { font-size: 14px; }
}

/* текущая страница в меню */
.header-menu__item[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Кнопка-параллелограмм (как «Отправить» в форме) ---------- */
.soon-btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 56px;
  padding: 0 40px;
  border: 0;
  background: transparent;
  font-family: Gilroy, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.soon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(-24deg);
  background: #e91b25;
  border-radius: 3px;
  transition: background-color .2s ease-in-out, transform .2s ease-in-out;
}
.soon-btn:hover::before { background: #c8101a; }
.soon-btn:focus-visible { outline: none; }
.soon-btn:focus-visible::before {
  outline: 3px solid #1d1d1b;
  outline-offset: 3px;
}

/* ---------- Попап на главной ---------- */
.soon-popup {
  position: fixed;
  inset: 0;
  z-index: 2000; /* выше модалок продуктов (1000) и плашки cookies (50) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.soon-popup[hidden] { display: none; }

.soon-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 19, .78); /* как у .modal-window */
  animation: soonFade .3s ease both;
}

.soon-popup__window {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 48px 56px 48px 40px;
  background: #fff;
  border: 3px solid #e91b25; /* как у плашки cookies */
  animation: soonPop .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.soon-popup__window:focus { outline: none; }

.soon-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: url(../img/close-btn.png) center / 18px 18px no-repeat;
  cursor: pointer;
  transition: transform .2s ease-in-out;
}
.webp .soon-popup__close { background-image: url(../img/close-btn.webp); }
.soon-popup__close:hover { transform: rotate(90deg); }
.soon-popup__close:focus-visible { outline: 2px solid #1d1d1b; outline-offset: 2px; }

.soon-popup__media {
  position: relative;
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}
.soon-popup__pack {
  display: block;
  width: 180px;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .18));
}
.soon-popup__deco {
  position: absolute;
  right: -34px;
  top: -24px;
  width: 90px;
  height: auto;
  pointer-events: none;
}

.soon-popup__body { flex: 1 1 auto; min-width: 0; }

.soon-kicker {
  font-family: Progress, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: #1d1d1b;
  margin: 0 0 12px;
}

.soon-popup__title {
  font-family: Progress, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #e91b25;
  margin: 0 0 32px;
}

.soon-popup__body .soon-btn { margin-left: 14px; }

@keyframes soonFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes soonPop {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .soon-popup__window {
    flex-direction: column;
    gap: 20px;
    padding: 44px 24px 32px;
    text-align: center;
    border-width: 2px;
  }
  .soon-popup__close { top: 10px; right: 10px; }
  .soon-popup__media { flex-basis: auto; }
  .soon-popup__pack { width: 130px; }
  .soon-popup__deco { width: 64px; right: -48px; top: -10px; }
  .soon-kicker { font-size: 18px; }
  .soon-popup__title { font-size: 28px; margin-bottom: 26px; }
  .soon-popup__body .soon-btn { margin-left: 0; }
}

/* ---------- Страница-заглушка recipes.html ---------- */
.page-recipes .soon-page {
  background-color: #e91b25;
}
.soon-page__band {
  position: relative;
  background: url(../img/form-bg.png) center / 100% 100% no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 180px 15px 200px;
  overflow: hidden;
}
.webp .soon-page__band { background-image: url(../img/form-bg.webp); }

.soon-page__content {
  position: relative;
  z-index: 1;
  max-width: 925px;
  text-align: center;
}
.soon-page__title {
  font-family: Progress, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #e91b25;
  margin: 0 0 44px;
}
.soon-page__deco {
  position: absolute;
  height: auto;
  pointer-events: none;
}
.soon-page__deco--1 { left: 4%;  top: 26%;  width: 150px; transform: rotate(-10deg); }
.soon-page__deco--2 { right: 6%; top: 20%;  width: 140px; }
.soon-page__deco--3 { left: 14%; bottom: 18%; width: 170px; }
.soon-page__deco--4 { right: 12%; bottom: 20%; width: 120px; transform: rotate(10deg); }

.page-recipes .footer { margin-top: 0; }
.page-recipes .footer-wrap { padding-top: 60px; }

@media (max-width: 1150px) {
  .soon-page__title { font-size: 44px; }
  .soon-page__deco--1, .soon-page__deco--3 { left: 1%; }
  .soon-page__deco--2, .soon-page__deco--4 { right: 1%; }
}
@media (max-width: 768px) {
  .soon-page__band {
    background-image: url(../img/form-bg-mob.png);
    min-height: 520px;
    padding: 140px 16px 150px;
  }
  .webp .soon-page__band { background-image: url(../img/form-bg-mob.webp); }
  .soon-page__title { font-size: 30px; margin-bottom: 32px; }
  .soon-page__deco--1 { width: 80px; top: 12%; left: 2%; }
  .soon-page__deco--2 { width: 70px; top: 10%; right: 2%; }
  .soon-page__deco--3 { width: 96px; bottom: 9%; left: 4%; }
  .soon-page__deco--4 { width: 70px; bottom: 10%; right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .soon-popup__overlay,
  .soon-popup__window { animation: none; }
  .soon-popup__close,
  .soon-btn::before { transition: none; }
}
