/*************************/
/* Mixins */
/*************************/
:root {
  --sdk-template-primary-500: #79b8d5;
  --sdk-template-color-text-default: var(--sdk-template-grey-400);
}

.popup-sd {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6980392157);
  font-family: "Montserrat", serif;
}
.popup-sd__wrapper {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 50rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
}
.popup-sd__header {
  display: flex;
  justify-content: center;
  padding: 8px 16px 16px 16px;
}
.popup-sd__header .close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.popup-sd__header .close-btn svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: 0.2s opacity ease-in-out;
}
.popup-sd__header .close-btn svg:hover {
  opacity: 0.6;
}
.popup-sd__content {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
}
.popup-sd__slide {
  gap: 2.5rem;
  display: flex;
}
.popup-sd__slide__image {
  flex: 50%;
}
.popup-sd__slide__image .popupImage {
  width: 100%;
  aspect-ratio: 0.96;
  display: block;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.popup-sd__slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  flex: 50%;
}
.popup-sd__slide__content .text-small-screen {
  display: none;
}
.popup-sd__slide__content__title {
  color: #30373f;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.96px;
  margin: 0;
  font-family: "Montserrat", serif;
}
.popup-sd__slide__content__text {
  color: #30373f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.125rem;
  margin: 0;
}
.popup-sd__slide__content .popupPrice {
  color: #30373f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.125rem;
  margin: 0;
}
.popup-sd__slide__content .btn-discover {
  display: flex;
  height: 2.5rem;
  width: fit-content;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.25rem;
  border: none;
  background-color: var(--smartdisplay-button-link-bgcolor);
  color: var(--smartdisplay-button-link-color);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: 0.2s opacity ease-in-out;
}
.popup-sd__slide__content .btn-discover:hover {
  opacity: 0.8;
}
.popup-sd .nav-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #fff;
}
.popup-sd .nav-btn img:hover {
  transform: scale(1.5);
}
.popup-sd .nav-left {
  left: -6rem;
}
.popup-sd .nav-right {
  right: -6rem;
}
.popup-sd .pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.popup-sd .pagination {
  display: flex;
  gap: 0.5rem;
}
.popup-sd .dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 0.3;
  border-radius: 50%;
  cursor: pointer;
}
.popup-sd .dot.active {
  background-color: #fff;
  opacity: 1;
}
.popup-sd .swiper-container {
  width: 100%;
  height: auto;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.popup-overlay.fadein {
  animation: fadein 1s ease-in;
}

@media (max-width: 1024px) {
  .popup-overlay .popup {
    width: 80%;
    padding: 16px;
    max-height: 80vh;
    height: 80vh;
  }
  .popup-overlay .popup .container-smart-display {
    padding: 10px 16px 16px 16px;
  }
  .popup-overlay .popup .container-smart-display .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
  }
  .popup-overlay .popup .popup-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
  }
  .popup-overlay .popup .popup-content .diadao-slide {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    margin-top: 0.5rem;
  }
  .popup-overlay .popup .popup-content .text-content {
    margin-top: 1.25rem;
  }
  .popup-overlay .popup .popup-content .text-content .text-large-screen {
    display: none;
  }
  .popup-overlay .popup .popup-content .text-content .text-small-screen {
    display: block;
  }
  .popup-overlay .popup .popup-content .text-content .popupTitle {
    font-size: 16px;
  }
  .popup-overlay .popup .popup-content .text-content .popupText {
    font-size: 12px;
  }
  .popup-overlay .popup .popup-content .text-content .popupPrice {
    font-size: 12px;
  }
  .popup-overlay .popup .popup-content .text-content .btn-discover {
    width: 100%;
  }
  .popup-overlay .popup .nav-btn {
    display: none;
  }
  .popup-overlay .popup .splide__pagination {
    position: absolute;
    bottom: -3.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 0.5rem;
  }
  .popup-overlay .popup .splide__pagination .splide__pagination__page {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fff;
    opacity: 0.3;
  }
  .popup-overlay .popup .splide__pagination .splide__pagination__page.is-active {
    opacity: 1 !important;
  }
  .popup-overlay .popup .splide__pagination .pagination-container .splide__pagination {
    display: flex;
    gap: 0.5rem;
  }
  .popup-overlay .popupImage {
    aspect-ratio: 1.2;
  }
}

/*# sourceMappingURL=diadao-smart-display.css.map */
