/*
* author : minjeong
* purpose : feelcard.co.kr storefarm index common
* date: 2025.09.01
*/
@font-face {
  font-family: 'Pre-L';
  src: url("/storefarm/card/font/Pretendard-Light.woff2") format("woff2"),
    url("/storefarm/card/font/Pretendard-Light.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Pre-R';
  src: url("/storefarm/card/font/Pretendard-Regular.woff2") format("woff2"),
    url("/storefarm/card/font/Pretendard-Regular.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Pre-M';
  src: url("/storefarm/card/font/Pretendard-Medium.woff2") format("woff2"),
    url("/storefarm/card/font/Pretendard-Medium.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Pre-SemiB';
  src: url("/storefarm/card/font/Pretendard-SemiBold.woff2") format("woff2"),
    url("/storefarm/card/font/Pretendard-SemiBold.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Pre-B';
  src: url("/storefarm/card/font/Pretendard-Bold.woff2") format("woff2"),
    url("/storefarm/card/font/Pretendard-Bold.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-family: 'Pre-R';
  scrollbar-width: none;
  -ms-overflow-style: none;
}

ul, li {
  list-style: none
}

a {
  color: #000;
  text-decoration: none;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  color: #000;
}

hr {
  margin: 0;
  border: 0;
  width: 100%;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  overflow-x: hidden;
  background-color: #fff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

::selection {
  background-color: #f0e9d2;
  color: #000;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background-color: #fafafa;
  border-radius: 100px;
}

*::-webkit-scrollbar-thumb {
  background-color: #babfc3;
  border-radius: 100px;
}

* {
  scrollbar-color: #ddd transparent;
}

*::-webkit-scrollbar-thumb {
  box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
  border-radius: 100px;
}

.page {
  width: 100%;
  display: inline-block;
  margin: 50px 0;
  text-align: center;
}

.page li {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-radius: 10px;
  background-color: var(--primary-000);
  margin: 2px;
  text-align: center;
  font-size: 12px;
}

.page li.page_no {
  background-color: var(--primary-200);
  color: #fff;
  box-shadow: 0px 5px 15px rgba(17, 17, 17, 0.3);
  text-align: center;
}

.page li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: var(--gray-700);
}

.page li.page_no a {
  color: #fff;
}

/* 공통 컨테이너 */
.container {
  width: 100%;
  padding-top: 136px;
}

.container section {
  width: 1020px;
  margin: 0 auto 64px;
}

.container section.advertise {
  display: none;
}

.container .section-title {
  color: var(--gray-850);
  font-size: 24px;
  font-family: var(--font-weight-500);
  margin-bottom: 25px;
}

/* 공통 버튼 */
.btn-primary {
  width: 100%;
  padding: 18px 0;
  border-radius: 8px;
  background-color: var(--primary-200);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-weight-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-outline {
  width: 100%;
  padding: 18px 0;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #b1b1b1;
  color: var(--gray-800);
  font-size: 14px;
  font-family: var(--font-weight-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 네이버 톡톡 버튼 */
.btn-naver {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.08), inset 0 0 8px 0 rgba(0, 0, 0, 0.08);
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-naver:hover {
  transform: translateY(-8px);
}

.btn-naver a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-image: url('/icon/icon_naver_talk.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

/* 버튼 상단으로 이동 버튼 */
.btn-top {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.08), inset 0 0 8px 0 rgba(0, 0, 0, 0.08);
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* .btn-top:hover {
  transform: translateY(-8px);
} */

.btn-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
  background-image: url('/storefarm/new/img/btn-top.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}


/* 공통 툴팁 : 사용시 클래스 tooltip 과 속성 data-tooltip="툴팁 내용" 추가 */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  font-size: 12px;
  font-family: var(--font-weight-600);
  position: absolute;
  top: calc(100% + 14px);
  left: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1;
}

.tooltip::before {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: 16px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
}

/* 공통 모달 */
.modal-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  display: none;
}

.modal-wrap.active {
  display: block;
}

.modal-wrap .modal-bg {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  top: 0;
}

.modal-wrap .modal {
  width: 420px;
  padding: 32px 24px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) scale(0.5);
  transition: transform 0.5s linear;
  animation: modalPop 0.4s ease forwards;
}
.modal-wrap.active .modal {
  animation: modalPop 0.4s linear forwards;
}

@keyframes modalPop {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.5);
    opacity: 0;
  }
  60% {
    transform: translate3d(-50%, -50%, 0) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

.modal-wrap .modal .modal-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal-wrap .modal .modal-close i {
  color: var(--gray-800);
  font-size: 17px;
  cursor: pointer;
}

.modal-wrap .modal #maker-step2 {
  display: none;
}

.modal-wrap .modal .modal-content {
  padding-bottom: 24px;
  margin: 0 auto;
  text-align: center;
}

.modal-wrap .modal .modal-content .modal-title {
  color: #202325;
  font-size: 16px;
  font-family: var(--font-weight-600);
  line-height: 138%;
  margin-bottom: 12px;
}

.modal-wrap .modal .modal-content .modal-text {
  color: #999999;
  font-size: 14px;
  font-family: var(--font-weight-400);
  line-height: 154%;
}

.modal-wrap .modal .modal-content .modal-text .bold {
  color: #999999;
  font-family: var(--font-weight-600);
  font-size: 14px;
}

.modal-wrap .modal .modal-content .modal-box {
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background-color: #f5f6f8;
  margin-top: 24px;
}

.modal-wrap .modal .modal-content .modal-box .modal-box-img {
  width: 44px;
  height: 44px;
}

.modal-wrap .modal .modal-content .modal-box .modal-box-img img {
  width: 100%;
}

.modal-wrap .modal .modal-content .modal-box .modal-box-text {
  color: #565656;
  font-size: 13px;
  font-family: var(--font-weight-500);
  line-height: 140%;
  text-align: left;
}

.modal-wrap .modal .modal-content .modal-image img {
  width: 100%;
}

.modal-wrap .modal .modal-btn-wrap {
  width: 100%;
  display: flex;
  gap: 8px;
}
.modal-wrap .modal .modal-input-wrap {
  width: 100%;
  display: flex;
  gap: 8px;
}

.modal-wrap .modal .modal-btn {
  width: 100%;
  padding: 12px 0;
  border-radius: 8px;
  color: #999999;
  font-size: 14px;
  font-family: var(--font-weight-500);
  line-height: 154%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-wrap[data-modal="delete"] .modal .modal-btn {
  padding: 0;
}

.modal-wrap .modal .modal-btn:has(a) {
  padding: 0;
}

.modal-wrap .modal .modal-btn a {
  width: 100%;
  height: 100%;
  padding: 12px 0;
  color: var(--gray-600);
  font-size: 14px;
  font-family: var(--font-weight-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-wrap .modal .modal-btn.color-primary {
  color: var(--primary-500);
}

.modal-wrap .modal .modal-btn.primary {
  background-color: var(--primary-500);
  color: #fff;
}

.modal-wrap .modal .modal-btn.primary a {
  color: #fff;
}

.modal-wrap .modal .modal-btn.bg-black {
  background-color: #222222;
  color: #fff;
}

.modal-wrap .modal .modal-btn.bg-black a {
  color: #fff;
}

.modal-wrap .modal .modal-btn.error {
  color: var(--error);
}

.modal-wrap .modal .modal-btn.error a {
  color: var(--error);
}
.modal-wrap .modal .modal-input-wrap .modal-btn {
  width: 48%;
}
.modal-wrap .modal .modal-input-wrap input[type="text"] {
  width: 100%;
  border: 1px solid #d9d9d9;
  padding: 12px 16px;
  border-radius: 8px;
}
.modal-wrap .modal .modal-input-wrap input[type="text"]:focus {
  outline: none;
  border: 1px solid var(--gray-800);
}
.modal-wrap .modal .modal-input-wrap input[type="text"]::placeholder {
  color: #D9D9D9;
}

.modal-wrap .modal .modal-input-wrap select {
  width: 100%;
  border: 1px solid #d9d9d9;
  padding: 12px 16px;
  border-radius: 8px;
}
.modal-wrap .modal .modal-input-wrap select:focus {
  outline: none;
  border: 1px solid var(--gray-800);
}



/* 공통 모달 - review */
.modal-wrap[data-modal="review"] .modal {
  width: 424px;
  padding: 32px;
}
.modal-wrap[data-modal="review"] .modal .modal-content {
  padding-bottom: 32px;
}
.modal-wrap[data-modal="review"] .modal .modal-close {
  margin-bottom: 16px;
}
.modal-wrap[data-modal="review"] .modal .modal-content .modal-title {
  color: var(--gray-900);
  font-size: 22px;
  font-family: var(--font-weight-600);
  line-height: 126%;
  margin-bottom: 16px;
}
.modal-wrap[data-modal="review"] .modal .modal-content .modal-text {
  font-size: 16px;
  font-family: var(--font-weight-400);
  line-height: 154%;
  color: var(--gray-900);
}
.modal-wrap[data-modal="review"] .modal .modal-content .modal-text .bold {
  font-size: 16px;
  font-family: var(--font-weight-500);
  line-height: 154%;
  color: var(--gray-900);
}
.modal-wrap[data-modal="review"] .modal .modal-content .modal-image {
  margin-top: 32px;
  border-radius: 24px;
  overflow: hidden;
}
.modal-wrap[data-modal="review"] .modal .modal-btn-wrap {
  margin-top: 16px;
}




/* 공통 모달 - video */
.modal-wrap[data-modal="video"] .video-box {
  width: 900px;
  height: 505px;
  background-color: #000;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal-wrap[data-modal="video"] .video-box iframe {
  width: 100%;
  height: 100%;
}

.modal-wrap[data-modal="video"] .modal-close {
  display: flex;
  justify-content: right;
  margin: 20px;
  position: absolute;
  top: 0;
  right: 0;
  /* -webkit-transition: -webkit-transform .8s
ease-in-out; */
  /* transition: transform .8s
ease-in-out; */
}

.modal-wrap[data-modal="video"] .modal-close i {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* 공통 토스트 */
.toast-wrap {
  opacity: 0;
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
  z-index: 100;
}

.toast-wrap.active {
  opacity: 1;
  bottom: 80px;
}

.toast {
  width: 580px;
  padding: 25px 35px;
  border-radius: 12px;
  background-color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast .toast-icon i {
  font-size: 24px;
  color: var(--secondary-500);
}

.toast .toast-icon.error i {
  font-size: 24px;
  color: #FFCD01;
}

.toast .toast-text {
  color: #fff;
}

/* 모바일 */
.mobile-only {
  display: none;
}
@media screen and (max-width:1024px) {
  .container {
    width: 100%;
    padding: 136px 24px 0;
  }
  .container section {
    width: 100%;
  }
}

@media screen and (max-width:767px) {
  .container {
    padding: 136px 0 0;
  }
  .mobile-only {
    display: block;
  }

  .mobile-none {
    display: none !important;
  }

  .modal-wrap .modal {
    width: 90%;
  }

  /* 공통 모달 - video */
  .modal-wrap[data-modal="video"] .video-box {
    width: 90%;
    height: 50vw;
  }

  .modal-wrap[data-modal="video"] .video-box iframe {
    width: 100%;
    height: 100%;
  }

  .modal-wrap[data-modal="video"] .modal-close {
    margin: 12px;
  }

  .modal-wrap[data-modal="video"] .modal-close i {
    font-size: 20px;
  }

  /* 공통 토스트 */
  .toast-wrap {
    width: 90%;
  }

  .toast-wrap.active {
    bottom: 10%;
  }

  .toast {
    width: 100%;
    padding: 15px 20px;
    gap: 5px;
  }

  .toast .toast-icon i {
    font-size: 17px;
  }

  .toast .toast-icon.error i {
    font-size: 17px;
  }

  .toast .toast-text {
    color: #fff;
    font-size: 12px;
  }

  .btn-top {
    right: 10px;
    bottom: 70px;
  }
}
