html,
body {
  overflow-x: clip;
}

@supports not (overflow-x: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

.body.scrolllock-on,
body.scrolllock-on {
  top: unset !important;
}

#popup-oct .close:focus,
#popup-oct .close:hover,
#popup-oct .close {
  opacity: 1;
}

/* Figma "Pop up - Form" / "Pop up - Success": 630x600 */
#popup-oct .popup-content {
  overflow: hidden;
  width: 630px;
  height: 600px;
  max-height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/hero/popup-back.jpg);
  background-image: -webkit-image-set(url("../images/hero/popup-back.webp") 1x, url("../images/hero/popup-back@2x.webp") 2x);
  background-image: image-set(url("../images/hero/popup-back.webp") 1x, url("../images/hero/popup-back@2x.webp") 2x);
}

#popup-oct .popup-default,
#popup-oct .popup-thanks {
  width: 100%;
  height: 100%;
  justify-content: flex-start;  /* top-aligned, so the Figma y positions below apply as margins */
}

#popup-oct .popup-default {
  align-items: flex-start;
}

/* Close X: Figma 1:8647, drawn at (576, 34) */
#popup-oct .popup-close {
  width: auto;
  height: auto;
  top: 24px;
  right: 25px;
  padding: 10px;
}

#popup-oct p {
  margin-bottom: 0;
}

/* Heading: Figma form-text 1:8645 at top 57 */
#popup-oct .form-text {
  margin-top: 57px;
}

/* Fields: Figma Form Fields 1:8644, 564 wide from top 172 */
#popup-oct form {
  margin-top: 22.5px;
  margin-bottom: 0;
  max-width: 584px;
  width: 584px;
}

/* Figma fields: 272x53, 20px apart, 78px row pitch (10px/12.5px padding per field) */
#popup-oct .form-field {
  padding: 12.5px 10px;
}

#popup-oct input,
#popup-oct select {
  height: 53px;
}

#popup-oct .form-action {
  justify-content: center;
  display: flex;
}

/* CTAs: Figma 1:8646 / 1:8659, white pill, Avenir Black 20px, 45px tall */
#popup-oct .button {
  height: 45px;
  padding: 0 30px;
  border-radius: 50px;
  font-size: 20px;
  line-height: 1;
  background-color: #FFF;
  color: #000;
}

#popup-oct .popup-default .button {
  margin-top: 4.5px;
}

/* Success: Figma thanks 1:8654 at top 94, Keep Shopping 1:8659 at top 468 */
#popup-oct .thanks-art {
  margin-top: 94px;
}

#popup-oct .popup-thanks .button {
  margin-top: 33px;
  width: 225px;
  padding: 0;
}

@supports (background: -webkit-named-image(i)) and (not (text-box: trim-both cap alphabetic)) {
  #popup-oct .button {
    padding-top: 2px;
  }
}

@supports (text-box: trim-both cap alphabetic) {
  #popup-oct .button>span {
    display: block;
    text-box: trim-both cap alphabetic;
  }
}

/* Figma "Pop up - Form - Mobile" / "Pop Success - Mobile": 390x657 art, full screen */
@media screen and (max-width: 567px) {
  #popup-oct .popup-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: none;
    background-image: none;
  }

  #popup-oct .popup-default,
  #popup-oct .popup-thanks {
    max-width: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/hero/popup-back-m.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back-m.webp") 1x, url("../images/hero/popup-back-m@2x.webp") 2x);
    background-image: image-set(url("../images/hero/popup-back-m.webp") 1x, url("../images/hero/popup-back-m@2x.webp") 2x);
  }

  #popup-oct .popup-thanks.popup-inner {
    padding: 0 !important;
  }

  #popup-oct .popup-form,
  #popup-oct .popup-inner {
    width: 100%;
  }

  /* Close X: Figma 1:12185 at (342, 11) */
  #popup-oct .popup-close {
    top: 9px;
    right: 13px;
  }

  #popup-oct .form-text {
    margin-top: 46px;
    width: 223px;
  }

  /* Fields: Figma 1:12188, 350x53 from x 20, y 134, 69px row pitch; CTA 1:12187 at y 565 */
  #popup-oct form {
    margin-top: 19px;
    width: calc(100% - 20px);
    max-width: 370px;
  }

  #popup-oct .form-field {
    padding: 8px 10px;
  }

  #popup-oct .popup-default .button {
    margin-top: 11.5px;
  }

  #popup-oct .thanks-art {
    margin-top: 166px;
    width: 315px;
  }

  #popup-oct .popup-thanks .button {
    margin-top: 25px;
  }
}
