/* Small standalone-runtime adjustments. The visual system lives in the
   original local stylesheets; this file only replaces demo/iframe behaviour. */
html,
body {
  min-height: 100%;
}

html {
  width: 1920px;
  zoom: calc(100vw / 1920px);
  overflow-x: hidden;
}

body {
  width: 1920px;
}

@media (max-width: 768px) {
  html {
    width: 390px;
    zoom: calc(100vw / 390px);
  }

  body {
    width: 390px;
  }
}

body.opener-active {
  overflow: hidden;
}

/* Fancybox measures against the viewport, so suspend the page-scale shim
   while its fixed overlay is open. */
html.with-fancybox {
  width: 100% !important;
  zoom: 1 !important;
  overflow: visible;
}

html.with-fancybox body {
  width: 100% !important;
}

.fancybox__container .f-button {
  display: flex !important;
}

.fancybox__container [data-fancybox-close] {
  z-index: 2;
}

.sm-opener_content-slider,
.sm-opener_content-slider_arrow {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.sm-opener_content-slider_arrow {
  cursor: grab;
  will-change: left;
}

.sm-opener_content-slider_arrow.is-dragging {
  cursor: grabbing;
}

.sm-form__block-submit .sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sm-form__block-submit .sm-btn[disabled] {
  cursor: wait;
  opacity: 0.65;
  pointer-events: none;
}

.sm-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sm-form .field-error input,
.sm-form .field-error textarea,
.sm-form .field-error .sm-form__radio-label {
  outline: 1px solid #a80306;
  outline-offset: 3px;
}

.sm-form .form-error-message {
  margin-top: 18px;
  color: #a80306;
  font-family: SMTextsFont, sans-serif;
  font-size: 14px;
  text-align: center;
}

.sm-form .form-status-message {
  min-height: 20px;
  margin-top: 14px;
  font-family: SMTextsFont, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.sm-form .form-status-message[data-state="error"] {
  color: #a80306;
}

.sm-thanks.sm-open {
  z-index: 10010;
}

.sm-madewithlove img {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .item-animation,
  .sm-curtains,
  .sm-opener,
  .sm-opener * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
