*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", Arial, sans-serif;
}

.oe-slider {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(737px, 100vh);
  min-height: 560px;
  overflow: hidden;
  background: #273a88;
  color: #fff;
}

.oe-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #273a88;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4%);
  transition:
    opacity 0.65s ease,
    transform 0.8s cubic-bezier(0.22, 0.8, 0.25, 1),
    visibility 0.65s;
}

.oe-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.oe-slide.was-active {
  transform: translateX(-4%);
}

.oe-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 3%;
  width: min(52%, 700px);
  padding: 10px 0 0;
  transform: translateY(-45%);
}

.oe-heading {
  max-width: 690px;
  margin: 0 0 15px !important;
  font-size: clamp(24px, 4.12vw, 55px) !important;
  font-weight: 800;
  line-height: 1.18 !important;
  letter-spacing: clamp(0px, 0.075vw, 1px);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(25px);
  color: #fff !important;
}

.is-active .oe-heading {
  animation: rise 0.7s 0.18s forwards;
}

.oe-slider .yellow {
  color: #fcd900 !important;
}

.oe-slider .cyan {
  color: #4dc2ed !important;
}

.oe-terms {
  margin: 0 0 15px !important;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: capitalize;
  opacity: 0;
  padding: 0 !important;
}

.is-active .oe-terms {
  animation: rise 0.55s 0.38s forwards;
}

.oe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
}

.is-active .oe-actions {
  animation: rise 0.55s 0.5s forwards;
}

.oe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.oe-call {
  border-color: #fcd900;
  background: #fcd900;
  color: #273a88;
}

.oe-call:hover,
.oe-call:focus-visible {
  border-color: #fcd900;
  background: #273a88;
  color: #fcd900;
  transform: none;
}

.oe-schedule {
  min-width: 165px;
  border-color: #fff;
  background: #fff;
  color: #273a88;
}

.oe-schedule:hover,
.oe-schedule:focus-visible {
  border-color: #fff;
  background: #273a88;
  color: #fff;
  transform: none;
}

/* Offer box */
.oe-offer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: clamp(220px, 28.5vw, 380px);
  max-width: 100%;
  height: 183px;
  min-height: 0;
  margin: 0 0 20px;
  padding: 10px 0;
  overflow: hidden;
  border: 3px solid #fcd900;
  border-radius: 18px;
  background: transparent;
  color: #273a88;
  text-align: center;
  filter: none;
  transform: translate3d(var(--offer-x, 0px), var(--offer-y, 0px), 0);
  transform-origin: center;
  will-change: transform;
}

.oe-offer.offer-aligners {
  border-color: #009bde;
}

.offer-label,
.offer-desc {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 7px 8px 0;
  background: transparent;
  color: #fff;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.offer-label {
  padding-top: 0;
}

.offer-price {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 5px;
  background: #f2cb05;
  color: #273a88;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 55px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-aligners .offer-price {
  background: #009bde;
  color: #f2cb05;
}

/* Slide artwork */
.oe-art {
  position: absolute;
  z-index: 2;
  right: -7%;
  bottom: -3%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  perspective: 900px;
}

.oe-art img {
  --parallax-x: 0px;
  --parallax-y: 0px;

  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 10px 15px #101c4b22);
  opacity: 0;
  transform: translate3d(var(--parallax-x), 0, 0) translateX(45px) scale(0.98);
  transition: transform 0.12s linear;
  will-change: transform;
}

.is-active .oe-art img {
  animation: artIn 0.9s 0.08s forwards;
}

.art-aligners {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.art-aligners img {
  max-width: 100%;
  max-height: 100%;
}

/* Navigation and progress */
.oe-nav {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 0;
  height: 0;
  border: 0;
  background: #ffffff24;
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s, background 0.2s;
}

.oe-slider:hover .oe-nav,
.oe-slider:focus-within .oe-nav {
  opacity: 0.9;
}

.oe-nav:hover {
  background: #ffffff45;
}

.oe-prev {
  left: 12px;
}

.oe-next {
  right: 12px;
}

.oe-progress {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: transparent;
}

.oe-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: rgb(255 255 255 / 50%);
}

.oe-dots {
  position: absolute;
  z-index: 12;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.oe-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff66;
  cursor: pointer;
}

.oe-dots button.is-active {
  background: #fcd900;
  transform: scale(1.2);
}

/* Animations */
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes artIn {
  to {
    opacity: 1;
    transform: translate3d(var(--parallax-x, 0px), 0, 0) scale(1);
  }
}

/* Large screens */
@media (min-width: 1500px) {
  .oe-copy {
    left: max(5%, calc((100% - 1336px) / 2 + 40px));
  }

  .oe-art {
    right: max(-3%, calc((100% - 1336px) / 2 - 70px));
  }
}

/* Tablet and small desktop */
@media (max-width: 1024px) {
  .oe-offer {
    width: clamp(220px, 28.5vw, 291px);
    height: 140px;
    margin-bottom: 8px;
    border-radius: 15px;
  }

  .offer-label,
  .offer-desc {
    padding: 6px 6px 0;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
  }

  .offer-label {
    padding-top: 0;
  }

  .offer-price {
    padding: 0 4px;
    font-size: 45px;
    line-height: 42px;
    letter-spacing: 0;
  }
}
@media(max-width: 950px){
  .oe-art {
    right: -2%;
    bottom: 0;
    width: 64%;
    height: 100%;
  }
  .art-aligners {
    right: 0;
    bottom: 0;
    width: 64%;
    height: 100%;
  }
  .oe-slider {
    height: 500px;
    min-height: 0;
  }
}
@media(max-width: 850px){
  .oe-art {
    right: -10%;
    bottom: 0;
    width: 70%;
    height: 100%;
  }
  .oe-slider {
    height: 400px;
    min-height: 0;
  }
}
/* Mobile landscape and tablets */
@media (max-width: 778px) {
  .oe-slider {
    height: 378px;
    min-height: 0;
  }

  .oe-copy {
    top: 50%;
    left: 3%;
    width: 52%;
    text-align: left;
    transform: translateY(-45%);
  }

  .oe-offer {
    margin: 0 0 8px;
  }

  .offer-label,
  .offer-desc {
    padding: 6px 6px 0;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
  }

  .offer-price {
    padding: 0 3px;
    font-size: 34px;
    line-height: 31px;
    letter-spacing: 0;
  }

  .oe-heading {
    margin-bottom: 8px !important;
    font-size: clamp(20px, 3.8vw, 30px) !important;
    line-height: 1.16 !important;
    text-align: left;
  }

  .oe-terms {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 13px;
  }

  .oe-actions {
    justify-content: flex-start;
    gap: 7px;
  }

  .oe-btn {
    min-width: 95px;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 18px;
  }

  .oe-schedule {
    min-width: 104px;
  }

  .oe-art {
    right: -10%;
    bottom: 0;
    width: 64%;
    height: 100%;
    justify-content: flex-end;
  }

  .oe-art img {
    max-width: 100%;
    max-height: 100%;
    object-position: right bottom;
  }

  .art-aligners {
    right: 0;
    bottom: 0;
    width: 64%;
    height: 100%;
  }
}

/* Mobile portrait */
@media (max-width: 600px) {
  .oe-slider {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .oe-slide {
    transform: translateX(0);
  }

  .oe-copy {
    top: 50%;
    left: 3.5%;
    width: 52%;
    max-width: 52%;
    padding: 0;
    text-align: left;
    transform: translateY(-48%);
  }

  .oe-offer {
    width: 90%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 5px;
    padding: 5px 0;
    border-width: 2px;
    border-radius: 10px;
  }

  .offer-label,
  .offer-desc {
    padding: 3px 2px 0;
    font-size: clamp(9px, 2.8vw, 14px);
    line-height: 1.2;
    letter-spacing: 0;
  }

  .offer-label {
    padding-top: 0;
  }

  .offer-price {
    padding: 0 2px;
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .oe-heading {
    max-width: 100%;
    margin: 0 0 5px !important;
    font-size: clamp(15px, 4.5vw, 22px) !important;
    line-height: 1.13 !important;
    letter-spacing: 0;
  }

  .oe-terms {
    margin: 0 0 5px;
    font-size: 8px;
    line-height: 10px;
    letter-spacing: 0;
  }

  .oe-actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
  }

  .oe-btn {
    width: auto;
    min-width: 0;
    min-height: 28px;
    padding: 4px 6px;
    border-width: 2px;
    border-radius: 5px;
    font-size: clamp(9px, 2.7vw, 13px);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .oe-schedule {
    min-width: 0;
  }

  .oe-art,
  .art-aligners {
    right: -10%;
    bottom: 0;
    width: auto;
    height: 100%;
    overflow: hidden;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .oe-art img,
  .art-aligners img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .oe-prev {
    left: 2px;
  }

  .oe-next {
    right: 2px;
  }

  .oe-dots {
    bottom: 5px;
  }
}
@media(max-width: 450px){
      .oe-copy {
        left: 2.5%;
        width: 52%;
    }
        .oe-heading {
        font-size: 18px !important;
    }
    .oe-offer{
      gap: 4px;
    }
    .oe-art,
  .art-aligners {
    right: -20%;
  }
}
@Media(max-width: 390px){
  .oe-art,
  .art-aligners {
    right: -24%;
  }
}
@media (max-width: 360px) {
.oe-art,
  .art-aligners {
    right: -28%;
  }
  .offer-label,
  .offer-desc {
    padding-top: 3px;
    font-size: 9px;
    line-height: 11px;
  }

  .offer-price {
    font-size: 20px;
    line-height: 22px;
  }

  .oe-heading {
    font-size: 15px !important;
  }

  .oe-btn {
    padding: 4px;
    font-size: 9px;
  }
}
@media(max-width: 340px){
.oe-art,
  .art-aligners {
    right: -40%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .oe-art img {
    transition: none;
  }
}
