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

.nowrap{white-space: nowrap;}

/* model window */
.model_container{
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 1056px;
  margin: 0 auto;
  border-radius: 16px;
  padding:16px;
  /* vr glass light */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.model_container .content{
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow-y: scroll;
  border-radius: 8px;
  padding: 32px;
}

.model_container .content::-webkit-scrollbar-thumb {
  background-color: #33058D;
  border: 3px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}

.model_container .content::-webkit-scrollbar {
  width: 12px;
}

.description_share_help{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.model_container .content .description{
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-size: 18px;
  color: #4D5154;
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
}

.description_share_help .share_help{
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  display: none;
}

.model_container .share_help button,
.model_container .share_help a{
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0);
  border:1px solid #33058D;
  color: #33058D;
  font-weight: 500;
  display: inline-flex;
  padding: 0 16px;
  border-radius: 30px;
  height: 40px;
  align-items: center;
  margin-left: 8px;
  text-decoration: none;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.model_container .share_help button:hover,
.model_container .share_help a:hover{
  background: #F5F5FF;
}

.model_container .share_help button img,
.model_container .share_help a img{
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* poup information */

.model_container .information_wrapper{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 32px;
  margin-bottom: 32px;

}


.model_container .product_wrapper{
  width: 50%;
  padding-right: 20px;
}


.gallery_wrapper{
  position: relative;
  width: 100%;
  margin: 0;
  border:1px solid #bebcbc;
  border-radius: 8px;
  /* padding-bottom: 2.5%; */
}

.gallery_wrapper .slick-slide{margin-bottom: -5px;}

.gallery_wrapper .open-gallery{
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0);
  border:0;
}
.gallery_wrapper .open-gallery img{
  width: auto;
  height: 28px;
}

.gallery_wrapper .gallery{padding: 0;border-radius: 8px;}

.gallery_wrapper img{max-width: 100%;border-radius: 8px;}
.gallery_wrapper iframe{
  width: 100%;
  height: 100%;
  border:0;
  border-radius: 8px;
  min-height: 225px;
}

.gallery_wrapper video{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.zoom_inout{
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1;
}
.zoom_inout button{
  background: #33058D;
  border:0;margin: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.zoom_inout button:hover{
  background: #572DAA;
}
.details .zoom_inout img{
  width: 18px !important;
  height: 18px !important;
}

.zoom_out{display: none;}

.gallery_thumbnails {
  margin: 20px auto;
  max-width: calc(100% - 40px);
}
.gallery_thumbnails .item{
  cursor: pointer;
  padding: 0 5px;
}
.gallery_thumbnails img{
  max-width: 100%;
border:1px solid #b6b4b4;}


.gallery_thumbnails .item.slick-slide.slick-current img{
  border:1px solid #4D5154;
}

.slick-prev:before{
  position: absolute;
  content: '';
  background-image: url('../img/popup/icons/gallery-arrow-L.svg');
  background-size: contain;
  width: 8px;
  height: 12px;
  opacity: 1;
  left: 10px;
}
.slick-next:before{
  position: absolute;
  content: '';
  background-image: url('../img/popup/icons/gallery-arrow-R.svg');
  background-size: contain;
  width: 8px;
  height: 12px;
  opacity: 1;
  right: 10px;
}


/* .ar-btn {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

.ar-btn img {
  width: auto;
  height: 30px;
} */

.details img {
  width: 100%;
}

.disclaimer{
  color: #4D5154;
  font-size: 12px;
  font-family: 'Barlow', 'Noto Sans TC', sans-serif;
}

/* tab */
.tab_wrapper {
  width: 100%;
  border: 1px solid #b6b4b4;
  margin: 24px 0;
  border-radius: 8px;
}

.tab_wrapper .tab_button {
  display: flex;
  flex-direction: row;
}

.tab_wrapper .tab_button button {
  width: 50%;
  background-color: #eee;
  color: #4d5154;
  padding: 8px 0;
  border: 0;
  text-align: center;
  font-family: 'Barlow', 'Noto Sans TC', sans-serif;
  font-size: 16px;
}

.tab_wrapper .tab_button button:first-child{
  border-top-left-radius: 8px;
}

.tab_wrapper .tab_button button:last-child{
  border-top-right-radius: 8px;
}

.tab_wrapper .tab_button button.active {
  color: #33058D;
  background-color: #fff;
  font-weight: 700;
}

.features_mobile{
  position: relative;
  display: none;
  width: 100%;
  margin: 24px 0;
}

.features_mobile button{
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  font-family: 'Barlow', 'Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #4d5154;
  padding: 16px;
  border-radius: 8px;
  border:1px solid #BEBCBC;
  text-align: left;
  padding: 16px 24px;
}

.features_mobile img{
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translate(0%,-50%);
  height: 18px;
  width: auto;
}

.tab_content {
  padding: 16px;
  font-family: 'Barlow', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  line-height: 16px;
  color: #4d5154;
}



.tab_content ul {
  padding: 0;
  margin: 0 0 0 15px;
}

.tab_content ul li{margin-bottom: 8px;}

.tab_content p {
  margin: 0 0 16px 0;
}

.tab_content p:last-child {
  margin: 0;
}
.tab_content div{display: none;}
.tab_content div.active{display: block;}



/* view iin space */
.viewinspace{
  position: absolute;
  margin: 0 auto;
  text-align: center;
  width: 95%;
  left: 2.5%;
  transition-duration: 0.3s;
  margin-bottom: 0;
  bottom: 8px;
  z-index: 10;
}

.viewinspace.active{
  margin:0 0 0 0;
  padding: 15px;
  background-color: #fff;
  border:1px solid #6c2bee;
  border-radius: 8px;
}
.viewinspace button{
  position: relative;
  background-color: #fff;
  padding: 0px 30px 0 40px;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  font-size: 14px;
  color:#6c2bee;
  text-align: center;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #6c2bee;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.viewinspace button:before{
  content: '';
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translate(0%, -50%);
  background-image: url('../img/popup/icons/ar_icon.svg');
}

.viewinspace button:after{
  content: '';
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 6px;
  top: 10px;
  background-image: url('../img/popup/icons/viewspace-close.svg');
}

.viewinspace button:hover{
  background: #F5F5FF;
  border: 1px solid #572DAA;
}


.viewinspace.active button{
  border:0;
  text-align: left;
  height: auto;
  line-height: 18px;
}

.viewinspace.active button:after{
  border:0;
  height: 16px;
  top: 50%;
  transform: translate(0%, -50%);
  background-image: url('../img/popup/icons/viewspace-open.svg');
}

.QR_wapper{
  display: none;
  width: 100%;
  margin-top: 24px;
}

.viewinspace.active .QR_wapper{
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: 100%;
}

/* Deals */
.deals_wrapper{width: 50%;padding-left: 20px;-webkit-transition: all 0.5s ease;}

.deals_wrapper h3.specialdeals{
  margin:0 0 16px 0;
  color: #E620A0;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.plan_item{
  border: 1px solid #94A0AE;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 24px;
}

.deals_content{
  padding:16px 24px;
  width: 100%;
}

.deals_content .details_offers{
  font-size: 18px;
  font-weight: 700;
  color: #33058D;
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  margin-bottom: 16px;
}
.deals_content .details_offers span{
  color: #E620A0;
}


.deals_content .desc{
  width: 100%;
  margin-bottom: 16px;
}

.deals_content .desc .includes{
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #4D5154;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan_item .combo{
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  background-color: #F5F5FF;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 16px;
}

.plan_item .combo .item{
  position: relative;
  width: auto;
  text-align: center;
  padding: 0 4px;
  height: 100%;
  font-family:'Barlow', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  color: #33058D;
  font-weight: 500;
}

.plan_item .combo .item.Efinity{
  display: inline-flex;
  flex-direction: column;
}
.plan_item .combo .item.Efinity img{
  width: 36px;
  height: 36px;
}
.plan_item .combo .item.Efinity .combo-item-img{
  height: 36px;
}

.plan_item .combo .plus{
  width: auto;
  margin: 0 4px;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #E620A0;
  display: inline-flex;
  align-items: center;
}


.plan_item .combo .item .combo-item-img{
  height: 64px;
  display: flex;
  text-align: center;
  justify-content: center;
}
.plan_item .combo .item img{
  max-height: 56px;
  max-width: 100%;
  align-self: center;
  margin-bottom: 5px;
  width: auto;
}

.plan_item .combo .item h4{margin: 0;
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  color: #33058D;
  font-weight: 500;
  font-size: 14px;

}

.deals_content .desc ul{
  padding: 0;
  margin:0 0 16px 16px;
}
.deals_content .desc ul li{
  margin: 0 0 8px 0;
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #4D5154;
}

.plan_item .price{margin-bottom: 16px;}
.plan_item .price h4{
  display: block;
  color: #E620A0;
  font-size: 16px;
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-weight: 400;
  margin:0 0 4px 0;
}

.plan_item .price h4 span.cross{text-decoration:line-through}
.plan_item .price h3{
  margin:0;
  display: inline-flex;
  align-items: flex-end;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;;
  font-size: 24px;
  color: #E620A0;
  font-weight: 700;
}
.plan_item .price h3 .save{
  font-size: 16px;
  font-family: 'Barlow','Noto Sans TC', sans-serif;;
  font-weight: 400;
  display: inline-block;
  margin-left: 8px;
}

.plan_item .subscribe-btn{
  width: auto;
  background-color: #33058D;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 30px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.plan_item .subscribe-btn:hover{
  background-color: #572DAA;
}

.plan_item .subscribe-btn img,
.plan_item .outofstock-btn img{
  width: 24px;
  height: 24px;
  margin-left: 8px;
}
.plan_item .outofstock-btn{
  width: auto;
  background: #4D5154;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 30px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}
.gotoCSL{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: 1px solid #94A0AE;
  border-radius: 8px;
  padding: 16px;
  align-items: center;
  display: none;
}

.gotoCSL .already_csl{
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #4D5154;
  line-height: 1.5;
}

.tocsl-btn{
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Montserrat','Noto Sans TC', sans-serif;
  text-decoration: none;
  color: #33058D;
  border:1px solid #33058D;
  height: 40px;
  padding: 0 8px;
  align-items: center;
  display: inline-flex;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.tocsl-btn:hover{
  background: #F5F5FF;
}


.tocsl-btn img{
  width: auto;
  height: 24px;
  margin:0 8px;
}

.redeem_wrapper{
  width: 100%;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(148, 160, 174, 1);
  border-bottom: 1px solid rgba(148, 160, 174, 1);
}

.redeem_wrapper h3{
  color: #33058D;
  font-family:'Montserrat','Noto Sans TC', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin:0 0 24px 0;
}

.redeem_wrapper ul{
  margin:0;
  padding: 0 0 0 16px;
}

.redeem_wrapper ul li{
  font-family: 'Barlow','Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #33058D;
  margin-bottom: 16px;
}
.redeem_wrapper ul li:last-child{margin-bottom: 0;}

.card-promotion{text-align: center;width: 100%;
margin:48px 0 48px 0;
}

.card-promotion img{
    width: auto;
    max-height: 100px;
}


@supports (-webkit-touch-callout: none) {
  .viewinspace{display: none !important;}
}

.QR_wapper h4{
  color: #6c2bee;
  font-family: 'Barlow', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  text-align: left;
  font-weight: 400;
  max-width: 150px;
}

.QR_wapper img{
  max-width: 25%;
  margin: 0 15px;
  height: auto;
  max-width: 110px;
  align-self: center;
}


/* only gallery */
.modal_wrapper.onlygallery{justify-content: center;}
/* .modal_wrapper.onlygallery .model_container{margin:0 auto;} */


.modal_wrapper.onlygallery .description_share_help,
.modal_wrapper.onlygallery .deals_wrapper,
.modal_wrapper.onlygallery .redeem_wrapper,
.modal_wrapper.onlygallery .tab_wrapper,
.modal_wrapper.onlygallery .card-promotion,
.modal_wrapper.onlygallery .model_container .heading .controls .cta-btn.gallery_btn{
  display: none !important;
}
.modal_wrapper.onlygallery .model_container .heading .controls .cta-btn.seedetails_btn{display: inline-flex}

.modal_wrapper.onlygallery .model_container{
  max-width: 700px;
  height: auto;
}
.modal_wrapper.onlygallery .model_container .content{height: auto !important;}

@media (max-device-height : 500px) and (orientation: landscape) {
  .modal_wrapper.onlygallery .model_container .content{height: 65vh !important;}
}

.modal_wrapper.onlygallery .product_wrapper{
  width: 100%;
  margin: 0;
  padding: 0;
}

.modal_wrapper.onlygallery .model_container .information_wrapper{margin:0 0 0 0;}
.modal_wrapper.onlygallery .zoom_out{display: block}
.modal_wrapper.onlygallery .zoom_in{display: none;}

/* model 3d */
/* .item.model3d{
  position: absolute !important;
  height: 100%;
} */

@media screen and (max-width: 1120px) {
  .model_container .content .description br{display: none;}

  .plan_item .combo{justify-content: center;}

}
@media (min-width:816px) and (max-width:1120px) {

}

@media screen and (min-width: 816px) {
  .tab_wrapper{display: block !important;}
  .modal_wrapper.onlygallery .tab_wrapper{display: none !important;}
}
@media screen and (max-width: 816px) {
  .model_container{padding:8px;}
  .model_container .heading .controls .cta-btn,
  .model_container .heading .controls .cta-btn{
    width: 32px;height: 32px;
    padding: 0;justify-content: center;
    margin-right: 8px;
  }
  .modal_wrapper .cta-btn span{display: none;}
  .model_container .heading .controls .cta-btn.cta-btn.gallery_btn img{margin:0;max-height: 16px;max-width: 20px;}
  .model_container .heading .controls .cta-btn.cta-btn.seedetails_btn img{margin:0;}

  .model_container .information_wrapper{margin-top: 24px;}

  .model_container .content{padding:16px 8px;}

  .model_container .product_wrapper,.deals_wrapper{width: 100%;padding: 0;}
  .description_share_help{flex-direction: column;align-items: center;}
  .model_container .content .description{margin-bottom: 16px;}
  .model_container .share_help button, .model_container .share_help a{height: 32px;}

  .deals_wrapper .specialdeals{text-align: center;}

  .tab_wrapper{display: none;}
  .tab_content .detail_tab{margin-top: 16px;}
  .features_mobile{display: block;}
  .modal_wrapper.onlygallery .features_mobile{display: none;}
}
