/* Добавлено при переносе лендинга на eazycoffee.kz.
   Отдельный файл, чтобы styles.css можно было заменить целиком при пересборке. */

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: -6px 0 0;
  color: #ffffffa6;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--yellow);
  cursor: pointer;
}

.form-consent a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.delivery-city-label[hidden] {
  display: none;
}

/* Пока видна кнопка в первом экране, плавающая кнопка дублирует её —
   показываем только после того, как hero уходит из вида. */
.mobile-sticky {
  opacity: 0;
  visibility: hidden;
  transform: translateY(140%);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;

  /* Исходная тень 0 12px 35px на светлых секциях читается как пятно. */
  box-shadow: 0 4px 14px #00000026;
  /* Прижимаем к нижнему краю с учётом домашнего индикатора iPhone. */
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.mobile-sticky.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sticky {
    transition: none;
  }
}

/* Быстрый переход в WhatsApp — висит поверх страницы на всех экранах. */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px #0000002e;
  transition: transform .2s ease, bottom .25s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
}

.wa-float svg {
  flex: none;
  width: 26px;
  height: 26px;
}

@media (width<=720px) {
  /* Обе кнопки стоят в одну строку: жёлтая тянется, зелёная — квадрат справа.
     Высота 54px совпадает с min-height жёлтой. */
  .wa-float {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    right: 12px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .wa-float span {
    display: none;
  }

  .mobile-sticky {
    right: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }
}
