/* POP UPS */
.templates-popup-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(245, 245, 245, 0.9);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.templates-popup-wrapper.is_open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}
.templates-popup {
  padding: 0 50px;
  height: 100%;
  max-height: 850px;
  max-width: 1310px;
  width: 100%;
  position: relative;
}
.templates-popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  color: #a0a0a0;
  font-size: 24px;
  height: 40px;
  line-height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
.templates-popup-close svg {
  height: 15px;
  width: 15px;
  fill: #2a1c4a;
}
.templates-carousel-item-part--left .templates-popup-close {
  display: none;
}
.templates-popup-inner {
  background-color: transparent;
  height: 100%;
  position: relative;
  padding: 40px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  border: 1px solid #262365;
}
.templates-popup-inner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  top: 2px;
  left: 2px;
  border-radius: 10px;
  filter: blur(2px);
  border: 1px solid rgba(38, 35, 101, 0.3);
  pointer-events: none !important;
}
button.templates-popup-arrow {
  min-height: 58px;
  min-width: 58px;
  width: 58px;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #c6c4ea;
  background-color: transparent;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  filter: drop-shadow(4px 4px 4px rgba(39, 35, 101, 0.38));
  border-radius: 50%;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  z-index: 999;
}
.templates-popup-arrow--left {
  left: -13px;
}
.templates-popup-arrow--left svg {
  rotate: 90deg;
}

.templates-popup-arrow--right {
  right: -13px;
}
.templates-popup-arrow--right svg {
  rotate: -90deg;
}
.templates-popup-arrow.slick-disabled {
  opacity: 0;
  pointer-events: none;
}
.templates-carousel-item {
  display: flex !important;
  align-items: stretch;
  height: 100%;
}
.templates-carousel-item-part {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  height: 100%;
  background: #fff;
}
.templates-carousel-item-part--left {
  display: flex;
  flex-direction: column;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  padding: 40px;
  padding-top: 0;
  position: relative;
  border-right: 1px solid rgba(42, 28, 74, 0.2);
}
.templates-carousel-item-part--left.no-toggles {
  padding-top: 40px !important;
}
.templates-carousel-item-part--right {
  padding: 50px 60px;
  overflow: auto;
}
.templates-carousel-item-title {
  font-size: 31px;
  font-weight: bold;
  font-family: "Geist", sans-serif !important;
  color: #2a1c4a;
  line-height: 1.2;
  margin-bottom: 35px;
}
.templates-carousel-item-text {
  color: #2a1c4a;
  font-weight: 500;
  font-size: 18px;
  font-family: "Avenir", sans-serif !important;
  font-weight: normal;
  text-align: left;
}

.templates-carousel-item-meta {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.templates-carousel-item-meta a {
  color: #2a1c4a;
  display: flex;
  padding: 12px;
  background: #f2f0ff;
  font-size: 14px;
  font-family: "Avenir", sans-serif !important;
  font-weight: normal;
  border: 1px solid #272365;
  border-radius: 8px;
}
.templates-carousel-item-meta a:hover {
  color: #fff;
  background: #432dd0;
}

.templates-carousel-item-atts-title {
  font-size: 20px;
  font-family: "Geist", sans-serif !important;
  font-weight: bold;
  margin: 25px 0;
}

.templates-carousel-item-atts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.templates-carousel-item-atts .templates-carousel-item-att {
  display: flex;
  align-items: center;
  color: #2a1c4a;
  font-size: 16px;
  font-family: "Avenir", sans-serif !important;
  font-weight: normal;
  width: calc(50% - 20px);
  gap: 15px;
}
.templates-carousel-item-atts .templates-carousel-item-att img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  object-position: center;
}
.templates-carousel-dev-togglers {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  gap: 10px;
}
.templates-carousel-dev-toggler {
  border: 1px solid #272365;
  border-radius: 8px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
}
.templates-carousel-dev-toggler::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  top: 2px;
  left: 2px;
  border-radius: 10px;
  filter: blur(2px);
  border: 1px solid #26236550;
  pointer-events: none !important;
}
.templates-carousel-dev-toggler.is_active {
  background-color: #432dd1;
}
.templates-carousel-dev-toggler svg path.line {
  stroke: #432dd1;
}
.templates-carousel-dev-toggler svg path.shape {
  fill: #432dd1;
}
.templates-carousel-dev-toggler.is_active svg path.line {
  stroke: #fff;
}
.templates-carousel-dev-toggler.is_active svg path.shape {
  fill: #fff;
}
.templates-carousel {
  height: 100%;
}
.templates-carousel .slick-list,
.templates-carousel .slick-track,
.templates-carousel .slick-slide {
  height: 100%;
}
.templates-carousel .slick-slide > div {
  height: 100%;
}
.templates-carousel-item-thumbs {
  height: 100%;
  flex: 1;
  position: relative;
}
.templates-carousel-item-thumbs img {
  display: block;
  height: auto;
  width: 100%;
  object-fit: cover;
  margin: auto;
}
.templates-carousel-item-thumb-inner {
  border-radius: 5px;
  height: 100%;
  position: relative;
}
.templates-carousel-item-thumb {
  position: relative;
  display: none;
  height: 100%;
}
.templates-carousel-item-thumb--desktop {
  max-height: calc(100% - 85px);
}
.no-toggles .templates-carousel-item-thumb--desktop {
  max-height: 100%;
}
.templates-carousel-item-thumb--mobile.is_visible {
  height: 100%;
  justify-content: center;
  align-items: center;
}
.mobile-style-wrapper {
  width: 295px;
  height: 548px;
  padding: 16px;
  padding-bottom: 40px;
  border-radius: 12px;
  border: 1px solid #262365;
  position: relative;
}
.mobile-style-wrapper .templates-carousel-item-thumb-inner {
  overflow: auto;
}
.mobile-style-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  top: 2px;
  left: 2px;
  border-radius: 10px;
  filter: blur(2px);
  border: 1px solid #26236550;
  pointer-events: none !important;
}
.templates-carousel-item-thumb--desktop .templates-carousel-item-thumb-inner {
  height: 100%;
  overflow: auto;
  align-items: flex-start;
  justify-content: center;
  display: flex;
  margin: auto;
}
.templates-carousel-item-thumb.is_visible {
  pointer-events: all;
  display: flex;
}
.templates-carousel-item-btns .btn {
  margin-bottom: 15px;
  margin-right: 15px;
  min-width: 174px;
  text-align: center;
}
.templates-carousel-item-btns .btn:last-child {
  margin-right: 0;
}
.templates-popup-footer-btn .btn {
  max-width: 120px;
  width: 100%;
}
.templates-popup .toggle-arrow-right,
.templates-popup .toggle-arrow-left {
  display: none !important;
}

.templates-carousel-item-part--left .templates-carousel-item-title {
  display: none;
}

.templates-carousel-item-links {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

a.templates-carousel-item-link {
  display: block;
  text-align: center;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Geist", sans-serif !important;
  border-radius: 50px;
  border: 0;
  background: #3c10a6;
  color: #fff;
  border: 2px solid transparent;
}

a.templates-carousel-item-link.solid {
  background: #3c10a6;
  color: #fff;
}

a.templates-carousel-item-link.solid:hover {
  background: #3C10A6 !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 10px #3C10A6 !important;
  border: 2px solid #ffffff !important;
}

a.templates-carousel-item-link.outline,
a.templates-carousel-item-link.try-moosend {
  background: transparent;
  color: #3c10a6;
  border-color: #3c10a6;
}

a.templates-carousel-item-link.outline:hover {
  background: #3C10A6 !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 10px #3C10A6 !important;
  border: 2px solid #ffffff !important;
}

@media screen and (max-width: 992px) {
  .templates-popup {
    background-color: #fff;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    padding: 0;
  }
  .templates-popup-arrow {
    top: auto;
    bottom: 20px;
    height: 60px;
    width: 60px;
    transform: none;
  }
  .templates-popup-arrow img {
    height: 46px;
    width: 46px;
  }
  .templates-popup-arrow--left {
    left: 23px;
  }
  .templates-popup-arrow--right {
    right: 23px;
  }
  .templates-carousel-item {
    flex-direction: column;
    overflow: auto;
  }
  .templates-carousel-item-part {
    height: auto;
    max-width: 100%;
  }

  .templates-carousel-item-thumbs {
    height: auto;
    flex: unset;
    position: relative;
    max-height: 600px;
  }

  .templates-carousel-item-thumb--desktop {
    height: 100%;
    max-height: 100%;
  }

  .templates-popup-inner {
    padding: 0;
  }
  .templates-carousel-item-part--right {
    padding: 40px 40px 10px !important;
    flex: 0 0 auto;
    overflow: auto;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  .templates-carousel-item-part--right .templates-carousel-item-title {
    display: none;
  }
  .templates-carousel-item-part--left .templates-carousel-item-title {
    display: block;
    text-align: center;
  }
  .templates-carousel-item-part--left {
    padding: 40px 40px 10px !important;
    overflow: unset;
  }
  .templates-carousel-item-part--left .templates-popup-close {
    display: block;
  }
  .templates-carousel-item-part--right .templates-popup-close {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .templates-carousel-item-atts .templates-carousel-item-att {
    width: 100%;
  }
}

.templates-popup p {
  font-family: "Avenir", sans-serif;
}
