/* Modal + lead UX for static Next export */

body.ap-modal-open {
  overflow: hidden;
}

.ap-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ap-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, 0.55);
}

.ap-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  padding: 28px 28px 24px;
}

.ap-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #343638;
  opacity: 0.6;
}

.ap-modal__close:hover {
  opacity: 1;
}

.ap-modal__title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #343638;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ap-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ap-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #6a6e72;
}

.ap-modal__field input,
.ap-modal__field textarea {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 15px;
  color: #343638;
  font-family: inherit;
}

.ap-modal__field input:focus,
.ap-modal__field textarea:focus {
  outline: none;
  border-color: #343638;
}

.ap-modal__submit {
  margin-top: 6px;
  height: 48px;
  border: 1px solid #343638;
  background: #343638;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  border-radius: 4px;
}

.ap-modal__submit:hover {
  opacity: 0.9;
}

.ap-modal__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ap-modal__hint {
  margin: 4px 0 0;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

.ap-modal__ok {
  color: #343638;
  font-size: 15px;
  line-height: 1.5;
}

.ap-modal__err {
  color: #c0392b;
  font-size: 13px;
  margin: 0;
}

.ap-owl-as-swiper {
  overflow: hidden;
}

.ap-carousel-fallback {
  display: flex !important;
  overflow-x: auto;
  gap: 16px;
}

.cookie-banner__wrapper {
  position: fixed;
  bottom: 60px;
  left: 0;
  justify-content: center;
  align-items: center;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in;
  width: 96vw;
  z-index: 99;
}

.cookie-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 20px;
  max-width: 70%;
  color: #171818;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  box-shadow: 1px 4px 4px 3px rgba(34, 60, 80, 0.3);
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  white-space: nowrap;
  color: #2b7f6d !important;
  text-decoration: underline !important;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 1440px) {
  .cookie-banner__wrapper {
    bottom: 20px;
  }

  .cookie-banner {
    font-size: 12px;
    flex-wrap: wrap;
    max-width: 90%;
  }

  .cookie-buttons {
    flex-wrap: wrap;
    flex-shrink: unset;
  }

  .cookie-buttons .btn {
    flex-grow: 1;
  }
}
