.layerpopup-wrapper .x-close{
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: 100%;
  background: url(../img/main/p-x-close.png) no-repeat center/contain;
  transform: translate(50%, -50%);
  font-size: 0;

}

/* [D] WST-465 18세 나이제한 레이어 팝업 제거 */
.layerpopup-wrapper.popup-pegi18{
  flex-direction: column;
}

.popup-pegi18 .popup-contents{
  width: 29rem;
  background-color: #1f1c53;
  border: 2px solid #443adf;
  border-radius: 1rem;
}

.popup-pegi18 .pegi18-mark{
  width: 5.1rem;
  margin-bottom: 2rem;
}

.popup-pegi18 .msg{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: -.1em;
  line-height: normal;
  min-height: 12rem;
  padding: 2rem 1.5rem;
  font-size: 1.5rem;
  color: white;
  font-weight: normal;    
}

.popup-pegi18 .btn-group{
  width: 100%;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.popup-pegi18 .btn-cancel{
  display: block;
  width: 11rem;
  height: 4rem;
  line-height: 4rem;
  background-color: #443adf;
  color: white;
  font-size: 1.7rem;
  text-decoration: none;
  text-align: center;
  border-radius: 5rem;
}

.popup-pegi18 .btn-confirm{
  display: block;
  width: 11rem;
  height: 4rem;
  line-height: 4rem;
  background-color: #7ae931;
  color: #1f1c53;
  font-size: 1.7rem;
  text-decoration: none;
  text-align: center;
  border-radius: 5rem;
}

:lang(vi-vn) .popup-pegi18 .btn-cancel,
:lang(vi-vn) .popup-pegi18 .btn-confirm{
  width: auto;
  min-width: 11rem;
  padding: 0 .7rem;
}


.popup-pegi18 .nomore-group{
  margin-top: 1rem;
  font-size: 1.6rem;
  color: white;
}

.popup-pegi18 .nomore-group input{
  display: none;
}

.popup-pegi18 .nomore-group label{
  display: flex;
  align-items: center;
}

.popup-pegi18 .nomore-group label::before{
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  margin-right: 1.3rem;
  background: url(../img/main/nomore-uncheck.png) no-repeat center/cover;
}

.popup-pegi18 .nomore-group input:checked + label::before{
  background: url(../img/main/nomore-check.png) no-repeat center/cover;
}

.popup-alert .popup-contents,
.popup-productinfo .popup-contents{
  width: 29rem;
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
}

.popup-alert .title-bar,
.popup-productinfo .title-bar{
  position: relative;
  height: 5rem;
  line-height: 5rem;
  border-bottom: 1px solid #cccccc;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: #1b1b1b;
}

.popup-alert .title-bar .x-close,
.popup-productinfo .title-bar .x-close{
  display: block;
  position: absolute;
  right: 2rem;
  top: 1.7rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url(../img/main/x-close.png) no-repeat center/cover;
}


.popup-alert .msg{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: -.1em;
  line-height: normal;
  min-height: 12rem;
  padding: 2rem 1.5rem;
  font-size: 1.7rem;
  color: #313131;
  font-weight: normal;    
}

.popup-productinfo .msg{
  padding: 1.6rem 1.5rem;
  letter-spacing: -.1em;
}

.popup-productinfo .item-info{
  padding: 1em;
  border-radius: 1rem;
  background-color: #e7ecf5;
  text-align: center;
  font-size: 1.7rem;
  color: #313131;
  word-break: break-all;
}

.popup-productinfo .exclamation-icon{
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 1rem;
  background: url(../img/main/shop-ex-icon.png) no-repeat center/cover;
}

.popup-productinfo .item-desc{
  margin-top: 1.8rem;
  display: flex;
  font-size: 1.4rem;
  font-weight: 300;
  color: #707070;
}

.popup-alert .btn-group{
  display: flex;
}

.popup-productinfo .btn-confirm{
  display: block;
  height: 5.9rem;
  line-height: 5.9rem;
  background-color: #4b46fa;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  text-align: center;
  border-top: 1px solid #cccccc;
}

.popup-alert .btn-cancel{
  flex: 240;
  display: block;
  height: 5.9rem;
  line-height: 5.9rem;
  background-color: #ebeff0;
  color: #626262;
  font-size: 2rem;
  text-decoration: none;
  text-align: center;
  border-top: 1px solid #cccccc;
}

.popup-alert .btn-confirm{
  flex: 340;
  display: block;
  height: 5.9rem;
  line-height: 5.9rem;
  background-color: #4b46fa;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  text-align: center;
  border-top: 1px solid #cccccc;
}

.popup-cms .popup-contents{
  background-color: transparent;
  width: 29rem;
}

.popup-cms .img-area{
  position: relative;
}

.popup-cms .img-area img{
  width: 100%;
  vertical-align: top;
}

.popup-cms .btn-area{
  padding: 1.5rem 1rem;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
}

.popup-cms .btn-area input{
  display: none;
}

.popup-cms .btn-area label{
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: white;
  letter-spacing: -0.3rem;
}

.popup-cms .btn-area input + label::before{
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  margin-right: 0.5em;
  background: url(../img/main/checkbox-unchecked.png) no-repeat center/contain;
}

.popup-cms .btn-area input:checked + label::before{
  background: url(../img/main/checkbox-checked.png) no-repeat center/contain;
}

.popup-cms .btn-area .x-close{
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  background: url(../img/main/cms-x-close.png) no-repeat center/contain;
  font-size: 0;
}

.popup-cookie{
  align-items: flex-end;
}

.popup-cookie .popup-contents{
  width: 29rem;
  min-height: 20rem;
  background-color: #1f1c53;
  border: 0.2rem solid #443adf;
}

.popup-cookie .msg{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 12.8rem;
  padding: 2.5rem 2.8rem;
  font-size: 1.7rem;
  color: white;
  text-align: center;
}

.popup-cookie .btn-area{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem 2.5rem;
}

.popup-cookie .btn-area .btn-disagree{
  width: 11rem;
  height: 4rem;
  text-align: center;
  line-height: 4rem;
  background-color: #1f1c53;
  border: 2px solid #443adf;
  border-radius: 5rem;
  text-decoration: none;
  font-size: 1.7rem;
  color: white;
}

.popup-cookie .btn-area .btn-agree{
  width: 11rem;
  height: 4rem;
  text-align: center;
  line-height: 4rem;
  background-color: #7ae931;
  border: 2px solid #7ae931;
  border-radius: 5rem;
  text-decoration: none;
  font-size: 1.7rem;
  color: #1f1c53;
}

.popup-download{
  padding: 2rem;
}

.popup-download .popup-contents{
  width: 30rem;
  min-height: 21.4rem;    
  background-color: #1f1c53;
  border: 4px solid #443adf;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  word-break: break-all;
}

.popup-download .desc{
  flex: 1;
  padding: 3.1rem 2.8rem 3rem;
  font-size: 1.5rem;
  font-weight: normal;
  color: #c3cedf;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

:lang(zh-tw) .popup-download .desc,
:lang(zh-cn) .popup-download .desc{
  letter-spacing: -1px;
}

.popup-download h1{
  margin: 2.7rem auto 1.4rem;
  font-family: NotoSansCJKkr;
  font-size: 1.8rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: normal;
  text-align: center;
  color: #857efe;
}

.popup-download .desc a{
  display: flex;
  align-items: center;
  width: 23.7rem;
  height: 6rem;
  text-decoration: none;    
  font-family: NotoSansCJKkr;
  font-size: 1.8rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: normal;
  color: #000;
  border-radius: 1rem;
  margin-bottom: .9rem;
}

.popup-download .desc a:last-child{
  margin-bottom: 0;
}

.popup-download .desc a::before{
  content: "";
  display: block;
  width: 5.5rem;    
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: 1.5rem;

}

.popup-download .desc a.downloadapk{
  background-color: #7de936;
}

.popup-download .desc a.downloadapk::before{
  background: url(../img/main/p-android-logo.png) center/2rem 2.4rem no-repeat;
}

.popup-download .desc a.googleplay{
  background-color: white;
}

.popup-download .desc a.googleplay::before{
  background: url(../img/main/p-google-play-logo.png) center/1.9rem 2rem no-repeat ;
}

.popup-download .desc a.appstore{
  background-color: white;
}

.popup-download .desc a.appstore::before{
  background: url(../img/main/p-apple-logo.png) center/1.8rem 2.2rem no-repeat;
}

.popup-coupon {
  padding: 2rem;
}

.popup-coupon .popup-contents{
  max-width: 30rem;
  min-height: 13rem;    
  background-color: #1f1c53;
  border: 4px solid #443adf;
  /* display: flex;
  flex-direction: column; */
  border-radius: 1.5rem;
  word-break: break-all;
  margin: auto;
}

.popup-coupon .desc{
  width: 30rem;
  flex: 1;
  padding: 3rem 2rem 3rem;
  font-size: 1.8rem;
  font-weight: normal;
  color: #c3cedf;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.popup-coupon .nickname{
  height: 4.5rem;
  line-height: 4.5rem;
  border-radius: 0.2rem;
  margin-bottom: 1.2rem;
  background-color: #060826;
  color: white;
}

.popup-coupon .nickname span{
  color: #c3cedf;
}

.popup-coupon input{
  width: 100%;
  height: 4.5rem;
  line-height: 4.5rem;
  border: none;
  border-radius: 0.2rem;
  font-size: 2rem;
  font-weight: bold;
  color: #060826;
  margin-bottom: .5rem;
  outline: none;
  text-align: center;
  padding: 0 0.2em;
}


.popup-coupon .placeholder{
  line-height: 4.5rem;    
  text-align: center;
  font-size: 1.3rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #9ea5b8;
}

.popup-coupon h1{
  margin: 0 auto 1.9rem;
  font-family: NotoSansCJKkr;
  font-size: 2.2rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.83;
  letter-spacing: normal;
  text-align: center;
  color: #857efe;
}

.popup-coupon .submit{
  display: block;    
  height: 4.5rem;
  line-height: 4.5rem;
  border-radius: 0.2rem;
  text-decoration: none;
  background-color: #7ae931;
  margin-bottom: 2rem;
  font-family: NotoSansCJKkr;
  font-size: 2rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: center;
  color: #023002;
  cursor: pointer;
}

.popup-coupon .submit[disabled]{
  color: #023002;
  background-color: #386e15;
  cursor: default;
}

.popup-coupon ul{
  list-style: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.44;
  letter-spacing: -0.12rem;
  text-align: left;
  color: #c3cedf;
}

.popup-coupon ul li{
  position: relative;
  padding-left: .6rem;
}

.popup-coupon ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  display: block;
  align-items: center;
  width: 0.15rem;
  height: 0.15rem;
  border-radius: 100%;
  background-color: #c3cedf;
}

.popup-coupon .warning{
  margin-top: 1.2rem;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.53;
  letter-spacing: -0.113rem;
  text-align: left;
  color: #e95431;
}

.popup-contact{
  padding: 2rem;
}

.popup-contact .popup-contents{
  width: 30rem;
  background-color: #1f1c53;
  border: 0.2rem solid #443adf;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  word-break: break-all;
}

.popup-contact .desc{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 3.9rem 2rem 3rem;
  font-size: 1.5rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.48;
  letter-spacing: normal;
  text-align: center;
  color: #c3cedf;
}

:lang(zh-tw) .popup-contact .desc,
:lang(zh-cn) .popup-contact .desc{
  letter-spacing: -0.1rem;
}

.popup-contact .btns{
  display: flex;
  height: 8rem;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.popup-contact .cancel,
.popup-contact .confirm{
  width: 20rem;
  height: 5rem;
  line-height: 5rem;
  /* border: 2px solid #443adf; */
  border-radius: 2.5rem;
  background-color: transparent;
  text-align: center;
}

.popup-contact .cancel a,
.popup-contact .confirm a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #023002;

}


.popup-contact .confirm{
  border: none;
  background-color: #7ae931;
}

.popup-contact .confirm a{
  color: #023002;
}

.popup-contact p.purple{
  margin-top: 1.9rem;
  font-size: 1.6rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.19;
  letter-spacing: normal;
  text-align: center;
  color: #857efe;
}
