@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");
@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'OTEnjoystoriesBA';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/OTEnjoystoriesBA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.OTEnjoystoriesBA{
  font-family: 'OTEnjoystoriesBA';
}

body *{
  font-family: 'pretendard';
}
/* color palette*/
:root {
  --primary: #8C35FA;
  --secondary: #5B1EA8;
  --tertiary: #faf8ff;
  --sucess: #63ff63;
  --info: #FDE41F;
  --warning: red;
  --gray1: #ffffff;
  --gray2: #eaeaea;
  --gray3: #d3d3d3;
  --gray4: #bbbbbb;
  --gray5: #6F6f6f;
  --gray6: #222222;
  --bg: #ffffff;
  --swiper-pagination-color: #999999;
  --swiper-pagination-progressbar-bg-color: #D9D9D9;
}

* {
  box-sizing: border-box;
}

/* button {
  border: none;
} */

input:active,
input:focus,
button:active,
button:focus{
  outline: none;
}

::-webkit-scrollbar {
  display: none;
}
.scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 공통 CSS*/
#wrap {
  color: var(--gray6);
  overflow: hidden;
}

.header-btn-left > img {
  width: 24px;
}

.header {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

#main {
  text-align: center;
}

.container {
  /* padding: 72px 24px; */
}

.container.topDown {
  padding: 72px 0;
}

.bg-white {
  background-color: var(--bg);
}

.bg-dark {
  background-color: var(--primary);
  color: var(--gray1);
}

.color-primary {
  color: var(--primary);
}

.color-info {
  color: var(--info);
}

.btn {
  width: 180px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  background-color: var(--secondary);
  border-radius: 10px;
  color: var(--gray1);
  cursor: pointer;
}

.btn-full {
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
  color: var(--gray1);
}

.btn-small {
  min-width: 90px;
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--secondary);
  border-radius: 3px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--gray1);
}

.divider {
  height: 1px;
  background-color: var(--gray3);
  margin: 0 16px;
}

/* popup - alert */
#popup-wrap {
  max-width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

#popup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#popup-alert {
  width: 68%;
  height: auto;
}

.popup-alert-txt {
  padding: 32px 16px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* popup - terms */
#terms-wrap {
  max-width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

#popup-term {
  width: 80%;
  height: auto;
}

#term-pop {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.terms-item {
  width: 100%;
}/* popup - terms */
#terms-wrap2 {
  max-width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

#popup-term2 {
  width: 80%;
  height: auto;
}

#term-pop2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 목표 달성 프로그레스 바 */

.goal-text-container>small {
  display: block;
  margin-bottom: 3px;
}

.goal-text-container>p {
  display: flex;
}

/* .goal-text-container>p>#title {
  width: fit-content;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
} */

.achieved-percent {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.range {
  height: 100%;
}

.based-bar {
  width: 100%;
  background: #F0E5FF;
  border: 0.5px solid rgba(140, 53, 250, 0.40);
}

.active-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  background: linear-gradient(270deg, #8C35FA -3.24%, #5B1EA8 102.02%);
  transition: 0.5s width cubic-bezier(0.91, 0.38, 1, 1);
}

.btn-outline {
  color: var(--primary);
  border: 1px solid var(--primary);
  background-color: #FFE51F;
}
.contents-area {
  scrollbar-width: thin;
  scrollbar-color: transparent;
}

.contents-area::-webkit-scrollbar {
  width: 0px;
  background-color: transparent;
}
#footer {
  /* height: 100%; */
  background-color: var(--secondary);
  color: var(--gray1);
}
#footer .info_box{
  padding: 30px 20px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 12px;
  /* color: var(--tertiary); */
  line-height: 1.85;
  opacity: 0.85;
}




/* 모바일 메뉴 토글 */
#mobilePage.body-fixed{
  overflow: hidden;
}
.menu-overlay{
  display: none;
}
.menu-overlay.menu-open{
  display: block;
}
.menu-overlay.menu-open nav{
  left: 0;
  /* transition-delay: 0.2s; */
  animation: slideIn 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}
.menu-overlay.menu-close nav{
  animation: slideOut 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}
@keyframes slideIn {
  from {
    opacity: 0;
    left: -100%;
  }
  to {
    opacity: 1;
    left: 0;
  }
}
@keyframes slideOut {
  from {
    opacity: 1;
    left: 0;
  }
  to {
    opacity: 0;
    left: -100%;
  }
}
/* #custom-datepicker# */
#ui-datepicker-div{
  font-family: 'Noto Sans KR', sans-serif;
}
.ui-datepicker-header {
  background-color: rgba(140, 53, 250, 0.05);
  color: #444;
}
.ui-datepicker-title {
  font-weight: 500;
  background: #F9F5FF;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  justify-content: center;
}
.ui-datepicker-title select{
  background: #F9F5FF;
  width: 35%;
}
.ui-datepicker-calendar thead th{
  font-weight: 500;
}
.ui-datepicker-title *:focus{
  outline: none;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
  border: none;
  background: none;
  font-weight: normal;
  color: #444;
  text-align: center;
  padding: 6px;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  border: 1px solid var(--primary);
  background: var(--primary);
  border-radius: 5px;
  font-weight: normal;
  color: #fff;
}
.ui-widget-header .ui-icon {
  background-image: none;
}
.ui-datepicker-prev{
  background-image: url(/assets/images/icon_left.svg);
  background-repeat: no-repeat;
  background-position: 50%;
}
.ui-datepicker-next{
  background-image: url(/assets/images/icon_right.svg);
  background-repeat: no-repeat;
  background-position: 50%;
}

/* #custom radio button# */
input[type="radio"] {
  display: none;
}
input[type="radio"]#female:checked + label, input[type="radio"]#male:checked + label{
  font-weight: 800;
  border: 1px solid var(--primary);
  background: #F9F5FF;
}
.ui-datepicker-trigger {
  position: absolute;
  top:18px;
  right: 12px;
}

/* custom radio thumbnail */
input[type="radio"].selected-thumbnail + label{
  color: #ccc;
}
input[type="radio"].selected-thumbnail:checked + label{
  /* font-weight: 800; */
  border: 1px solid #04E000;
  background: rgb(255, 255, 255, 0.1);
  color: #04E000;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.ui-datepicker-trigger {
  position: absolute;
  top:18px;
  right: 12px;
}

/* custom checkbox */
.custom-checkbox+ label div {
  background: url('/assets/images/checkbox.svg') no-repeat 0 / contain;
}
.custom-checkbox:checked + label div {
  background: url('/assets/images/checkbox-active.svg') no-repeat 0 / contain;
}

.input-validation input.active{
  border: 1px solid #DE3939;
  background: rgba(222, 57 ,57, .05);
}
.invalid-message.active{
  color: #DE3939;
  font-size: 13px;
  margin-top: 10px;
}
/* slick slide dot custom*/
.slick-track{
  padding: 30px 0px;
}
.slick-dots {
  position: absolute;
  bottom: -15px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.slick-dots li {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 0 5px;
  padding: 0;
  background-color: rgba(140, 53, 250, 0.20);;
  cursor: pointer;
  overflow: hidden;
}

.slick-dots li.slick-active {
  background-color: var(--primary);
}

.slick-dots li button {
  color: transparent;
}
.slick-center {
  transform: scale(1.08); /* 크게 보이도록 확대 */
  transition: transform 0.1s ease; /* 부드러운 애니메이션 효과를 적용할 수 있습니다. */
}

/* datepicker icon */
.datepicker-cal{
  background-image: url(../assets/images/calendar.svg);
  background-position: 96% center;
  background-repeat: no-repeat;
}

/* tutorial-tab active */
.tutorial-content.active {
  display:block;
}

@media (min-width: 500px) {
  /* 펀딩리스트 카드 높이 */
  .list-container ul li article .card-user-img{
    height: 250px;
  }
}

/*Nav active style*/
.active-nav{
  color:#5B1EA8;
}
/* 아코디언 */
.row .col:last-child {
  border-bottom: 1px solid #585858;
}
.tab {
  border-top: 1px solid #585858;
}
.tab-label{
  position: relative;
  width: 93%;
}
.tab-label::after {
  content: "\276F";
  transform: rotate(90deg);
  position: absolute;
  top: calc(50% - 8px);
  right: -9px;
  /* text-align: center; */
  transition: all 0.1s;
}
input:checked + .tab-label:after{
  transform: rotate(-90deg);

}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  transition: all 0.1s;
}
input:checked ~ .tab-content {
  border-top: 0.5px solid #9e9e9e;
  max-height: 100vh;
  padding: 1em;
}
#searchBar.on{
  top: 0 !important;
}
/*#searchBar{*/
/*  top: -72px;*/
/*}*/
/*#searchBar.on{*/
/*  top: 0 !important;*/
/*}*/

/*위시업로드 진행과정 active style*/
#uploadProgressBar .progress-dot.active{
  background: #8C35FA !important;
}



/* button gradient animation */
.gradient--animation {
  background-image: linear-gradient(270deg, #8C38FB, #7CEEFF, #B690FC, #B690FC);
  background-size: 400%;
  animation: bg-btn 2s 0.5s infinite alternate;
}

@keyframes bg-btn {
  0% {
    background-position: left;
  }

  100% {
    background-position: right;
  }
}

/* 작성가능한 리뷰 - new 뱃지 */
#writeReviewBtn > a.new-active{
  position: relative;
}
#writeReviewBtn > a.new-active::before{
  content: 'NEW';
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  position: absolute;
  right: -6px;
  top: -9px;
  color: white;
  padding: 1px 6px;
  background: red;
}

/* up-rank 뱃지 */
#writeReviewBtn > a.new-active{
  position: relative;
}
#writeReviewBtn > a.new-active::before{
  content: 'NEW';
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  position: absolute;
  right: -6px;
  top: -9px;
  color: white;
  padding: 1px 6px;
  background: red;
}


/* 리뷰 올리기 : 사진등록 style */
#imageContainer {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.uploadedImageContainer {
  position: relative;

}
.uploadedImageContainer img{
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #ebebeb;
}
.deleteButton {
  position: absolute;
  background: rgba(0,0,0,0.7);
  color: white;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  top: 5px;
  right: 5px;
  padding: 1px 6px;
}

.uploadedImage {
  max-width: 120px;
  max-height: 120px;
}
#floating_btn{
  align-items: center;
  bottom: 90px;
  margin-left: 25px;
}

input.defaultCheckbox {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin: 0;
}
input.defaultCheckbox:checked::after {
  content:"";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url('../assets/images/checkbox_checked.png');
  background-size: 15px;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top:0;
}
.closeButton {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  right: 0;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
#toggle:checked + div {
  transform: translateX(100%);
}
#allWish {
  color: #fff;
}
#toggle:checked ~ label > span#allWish {
  color: #111;
}
#openWish {
  color: #111;
}
#toggle:checked ~ label > span#openWish {
  color: #fff;
}
#scrollIndicator::after {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid #555;
  background-color: #555;
  border-radius: 50%;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMove 1000ms infinite;
}
@keyframes scrollMove {
  0% {
    top: 10%;
  }
  90% {
    top: 70%;
    opacity: 0.1;
  }
  100% {
    top: 70%;
    opacity: 0;
  }
}
.round_checkbox > label {
  background-image: url('/assets/images/check.png');
}
.round_checkbox > input[type="checkbox"]:checked + label {
  background-image: url('/assets/images/checked.png');
}
.round_checkbox > input[type="checkbox"]::after {
  display: none;
}

@keyframes point {
  0%, 100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(0);
  }
}

.eventTip::before {
  content:"";
  position: absolute;
  top: 26px;
  right: 50px;
  width: 0;
  height: 0;
  border-top: 9px solid var(--primary);
  border-right: 9px solid transparent;
}

#fundingAmountList > li.disabled {
  filter: grayscale(1);
  cursor: default;
}

.wishInfo.required {
  border: 1px solid #ff0000;
  background-image: url("/assets/images/alert_red.png");
  background-position: 95% center;
  background-repeat: no-repeat;
}

.text-xs-rem {
  font-size: 0.75rem; /* 12px */
  line-height: 1rem; /* 16px */
}
.text-sm-rem {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
}
.text-lg-rem {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
}
.text-xl-rem {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
}
.text-2xl-rem {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
}
.text-3xl-rem {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
}
.text-4xl-rem {
  font-size: 2.25rem; /* 36px */
  line-height: 2.5rem; /* 40px */
}

.shipping_step.step1 > li:first-of-type > div {
  border: none;
  background-color: var(--primary);
  background-image: url('/assets/images/shipping_1_white.svg');
}
.shipping_step.step1 > li:first-of-type > span {
  color: var(--primary);
}

.shipping_step.step2 > li:first-of-type > div {
  border-color: var(--primary);
  background-image: url('/assets/images/shipping_1_purple.svg');
}
.shipping_step.step2 > li:nth-of-type(2) > div {
  border: none;
  background-color: var(--primary);
  background-image: url('/assets/images/shipping_2_white.svg');
}
.shipping_step.step2 > li:first-of-type > span, .shipping_step.step2 > li:nth-of-type(2) > span {
  color: var(--primary);
}
.shipping_step.step2 > div.bar1 {
  border-color: var(--primary);
}

.shipping_step.step3 > li:first-of-type > div {
  border-color: var(--primary);
  background-image: url('/assets/images/shipping_1_purple.svg');
}
.shipping_step.step3 > li:nth-of-type(2) > div {
  border-color: var(--primary);
  background-image: url('/assets/images/shipping_2_purple.svg');
}
.shipping_step.step3 > li:last-of-type > div {
  border: none;
  background-color: var(--primary);
  background-image: url('/assets/images/shipping_3_white.svg');
}
.shipping_step.step3 > li:first-of-type > span, .shipping_step.step3 > li:nth-of-type(2) > span, .shipping_step.step3 > li:last-of-type > span {
  color: var(--primary);
}
.shipping_step.step3 > div.bar1, .shipping_step.step3 > div.bar2 {
  border-color: var(--primary);
}

.categorySwiper > ul > li {
  border: 1px solid #d0d0d0;
  padding: 5px;
  border-radius: 20px;
  cursor: pointer;
  padding-left: 8px;
}
.categorySwiper > ul > li.active {
  border: none;
  background-color: #111;
  color: #fff;
  cursor: default;
}
.imageSwiper > ul > li {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 5px;
}
.imageSwiper > ul > li.active {
  border: 2px solid #999;
}
.imageSwiper > ul > li > img {
  width: 100%;
}

/* custom toast */

#toast {
  width: 85%;
  max-width: 452px;
  position: fixed;
  bottom: 94px;
  left: 50%;
  padding: 15px 20px;
  transform: translate(-50%, 10px);
  text-align: center;
  color: #5B1EA8;
  border-radius: 5px;
  background-color: #E5D2FF;
  border: 1px solid #5B1EA8;
  opacity: 95%;
  overflow: hidden;
  visibility: hidden;
  transition: opacity .5s, visibility .5s, transform .5s;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0)
}

#colorPalette > li > label {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
#colorPalette > li > input:checked + label {
  border: 1px solid #8C35FA;
  box-shadow: 0 0 5px rgb(91,30,168);
}
#decoPalette {
  border-top: 2px solid #d9d9d9;
  border-radius: 20px 0;
}
#decoPalette:before {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  margin: 15px auto;
}
#optionCategory > li > label {
  font-size: 18px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
}
#optionCategory > li > input:checked + label {
  color: #5B1EA8;
}
#styleOption > li > label {
  display: block;
  max-width: 120px;
  padding: 10px;
  aspect-ratio: 1 / 1;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
}
#styleOption > li > input:checked + label{
  border: 1px solid #8C35FA;
  box-shadow: 0 0 5px rgb(91,30,168);
}
#fontOption > li {
  max-width: 380px;
  width: 80%;
}
#fontOption > li > label {
  display: block;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 10px 0 10px 20px;
  cursor: pointer;
}
#fontOption > li > input:checked + label {
  border: 1px solid #5B1EA8;
  box-shadow: 0 0 5px rgb(91,30,168);
}
#decoOption > li {
  width: 20%;
  aspect-ratio: 1 / 1;
}
#decoOption > li > label {
  display: block;
  max-width: 100px;
  width: 100%;
  height: 100%;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  cursor: pointer;
}
#decoOption > li > label > img {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#decoOption > li > input:checked + label{
  border: 1px solid #8C35FA;
  box-shadow: 0 0 5px rgb(91,30,168);
}