/* BASIC css start */
/* =========================================================
   쿠션이야기 PC 메인 CSS
   ========================================================= */

body #footer {
  margin-top: 0;
}


/* ---------------------------------------------------------
   메인배너
--------------------------------------------------------- */
.mainBanner {
  margin-bottom: 60px;
}

.mainBanner .inner ul li a img {
  width: 100%;
}

.mainBanner .swiper-button-prev,
.mainBanner .swiper-button-next {
  top: 50%;
  width: 96px;
  height: 96px;
  margin-top: -48px;
  opacity: 0;
  transition: opacity .3s ease;
}

.mainBanner .swiper-button-prev {
  left: 8.6%;
}

.mainBanner .swiper-button-next {
  right: 8.6%;
}

.mainBanner:hover .swiper-button-prev,
.mainBanner:hover .swiper-button-next {
  opacity: 1;
}


/* ---------------------------------------------------------
   메인배너 - 크리스마스 (xmas-)
   글자 크기는 배너 폭에 맞춰 같이 줄고 늘어남 (cqw)
   글자 전체 크기는 --xmas-scale 한 곳만 바꾸면 됨 (1 = 시안 크기)
   슬라이드가 보일 때마다 글자가 다시 떠오름
--------------------------------------------------------- */
.xmas-bn {
  --xmas-scale: .8;
  position: relative;
  display: block;
  overflow: hidden;
  container-type: inline-size;
  background: #961017;
  color: #fff;
  text-decoration: none;
}

.xmas-bn:hover,
.xmas-bn:focus {
  color: #fff;
  text-decoration: none;
}

.xmas-bn > .xmas-bn__bg {
  display: block;
  width: 100%;
  height: auto;
}

.xmas-bn__snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.xmas-bn__text {
  position: absolute;
  left: 15.5%;
  top: 18%;
  z-index: 1;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.xmas-bn__text * {
  font-family: inherit;
  color: inherit;
}

.xmas-bn__title {
  margin: 0;
  font-size: calc(4.5cqw * var(--xmas-scale));
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.02em;
}

.xmas-bn__desc {
  margin: calc(1.2cqw * var(--xmas-scale)) 0 0;
  font-size: max(14px, calc(1.63cqw * var(--xmas-scale)));
  font-weight: 500;
  line-height: 1.76;
  letter-spacing: -.01em;
}

.xmas-bn__desc strong {
  font-weight: 700;
}

/* 이벤트 기간 */
.xmas-bn__period {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: calc(2.1cqw * var(--xmas-scale)) 0 0;
  padding: .6em 1.2em;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-size: max(12px, calc(1.05cqw * var(--xmas-scale)));
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
}

.xmas-bn__period b {
  font-weight: 700;
}

.xmas-bn__period i {
  width: 1px;
  height: .9em;
  background: rgba(255,255,255,.5);
}

/* 글자 등장 - 슬라이드가 넘어올 때마다 재생 */
.swiper-slide-active .xmas-bn__title,
.swiper-slide-active .xmas-bn__desc,
.swiper-slide-active .xmas-bn__period {
  animation: xmas-up .9s cubic-bezier(.2,.7,.2,1) both;
}

.swiper-slide-active .xmas-bn__title  { animation-delay: .45s; }
.swiper-slide-active .xmas-bn__desc   { animation-delay: .7s; }
.swiper-slide-active .xmas-bn__period { animation-delay: .9s; }

@keyframes xmas-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .swiper-slide-active .xmas-bn__title,
  .swiper-slide-active .xmas-bn__desc,
  .swiper-slide-active .xmas-bn__period {
    animation: none;
  }
}


/* ---------------------------------------------------------
   슬라이드 화살표 이미지 (공통)
--------------------------------------------------------- */
.mainBanner .swiper-button-prev:after,
.mainBanner .swiper-button-next:after,
.sec01 .swiper-button-prev:after,
.sec01 .swiper-button-next:after,
.sec03 .swiper-button-prev:after,
.sec03 .swiper-button-next:after {
  width: 100%;
  height: 100%;
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mainBanner .swiper-button-prev:after {
  background-image: url(//skin.makeshop.co.kr/skin/fragrance/pc/img/main-left.png);
}

.mainBanner .swiper-button-next:after {
  background-image: url(//skin.makeshop.co.kr/skin/fragrance/pc/img/main-right.png);
}

.sec01 .swiper-button-prev:after,
.sec03 .swiper-button-prev:after {
  background-image: url(//skin.makeshop.co.kr/skin/fragrance/pc/img/slide-left.png);
}

.sec01 .swiper-button-next:after,
.sec03 .swiper-button-next:after {
  background-image: url(//skin.makeshop.co.kr/skin/fragrance/pc/img/slide-right.png);
}


/* ---------------------------------------------------------
   메인 컨텐츠 공통
--------------------------------------------------------- */
.main-cont {
  width: 1400px;
  margin: 0 auto;
}

.main-cont > div {
  margin-bottom: 100px;
}

.sec_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  margin-bottom: 16px;
}

.sec_title h2 {
  font-size: 20px;
  font-weight: 500;
}

.sec_title a img {
  margin-left: 4px;
}

/* 구매 리뷰, Instagram 타이틀 */
.main-heading {
  text-align: center;
  font-size: 25px;
}


/* ---------------------------------------------------------
   sec01 - 가로 상품 슬라이드 (MD's PICK, 쿠션세트, 1+1)
--------------------------------------------------------- */
.sec01 .prdList ul li .imgWrap img {
  max-width: 220px;
}

.sec01 .swiper-button-prev,
.sec01 .swiper-button-next {
  top: 35%;
  width: 52px;
  height: 52px;
}

.sec01 .swiper-button-prev {
  left: 0;
}

.sec01 .swiper-button-next {
  right: 0;
}


/* ---------------------------------------------------------
   sec02 - 신상품
--------------------------------------------------------- */
.sec02 .prdList.basic ul {
  gap: 60px 16px;
}

.sec02 .prdList.basic ul li {
  width: 338px;
}


/* ---------------------------------------------------------
   sec03 - 이주의 베스트 (탭)
--------------------------------------------------------- */
.sec03 {
  position: relative;
  padding: 50px 0;
}

/* 화면 끝까지 꽉 차는 회색 배경 */
.sec03::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background: #f9f9f9;
  transform: translateX(-50%);
}

.sec03 .keywordTabBtn {
  margin-bottom: 20px;
}

.sec03 .keywordTabBtn ul li {
  display: block;
  width: auto;
  padding: 0 14px;
  border: 1px solid #ededed;
  border-radius: 40px;
  font-size: 13px;
  line-height: 28px;
  color: var(--txt);
  cursor: pointer;
}

.sec03 .keywordTabBtn ul li.swiper-slide-thumb-active {
  border-color: var(--point_color);
  background: var(--point_color);
  color: #fff;
  font-weight: 600;
}

.sec03 .swiper-button-prev,
.sec03 .swiper-button-next {
  top: 40%;
  width: 36px;
  height: 36px;
}

.sec03 .swiper-button-prev {
  left: 0;
}

.sec03 .swiper-button-next {
  right: 0;
}


/* ---------------------------------------------------------
   sec04 - 이주의 큐레이션
--------------------------------------------------------- */
.sec04 .inner_list {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* 3개 컬럼 폭 동일하게 */
.sec04 .inner_list > div {
  flex: 1 1 0;
  min-width: 0;
}

/* 큐레이션 배너 */
.sec04 .inner_list .chanceBan {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  isolation: isolate;
}

.sec04 .inner_list .chanceBan > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 하단 그라데이션 */
.sec04 .inner_list .chanceBan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none;
}

.sec04 .inner_list .chanceBan .chanceTxt {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.sec04 .inner_list .chanceBan .chanceTxt strong,
.sec04 .inner_list .chanceBan .chanceTxt span {
  display: block;
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* 큐레이션 상품 리스트 */
.sec04 .prdList ul li {
  position: relative;
  margin-top: 12px;
}

.sec04 .prdList ul li a {
  display: flex;
  align-items: flex-start;
}

.sec04 .prdList ul li a .imgWrap {
  flex: 0 0 92px;
  width: 92px;
  margin-right: 20px;
}

.sec04 .prdList ul li a .textWrap {
  min-width: 0;
}

.sec04 .prdList ul li .imgWrap img {
  border-radius: 10px;
}


/* ---------------------------------------------------------
   인스타그램
--------------------------------------------------------- */
.instaSection {
  width: 100%;
  margin: 80px 0;
}

.instaSection .main-heading {
  margin-bottom: 40px;
}

.instaInner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.lightwidget-widget {
  width: 100%;
  border: 0;
  overflow: hidden;
}


/* =========================================================
   크리스마스 리뷰약속 사은품 팝업 (PC 메인)
   왼쪽 오너먼트 사진 + 오른쪽 안내 · 색 바꾸기는 --xmp- 값만
   ========================================================= */
.xmp {
  --xmp-green: #1f3a31;      /* 팝업 바탕 */
  --xmp-green-dark: #172d26; /* 아래 버튼 줄 */
  --xmp-gold: #e9cf8a;       /* 포인트 */
  --xmp-gold-light: #f3dc9a;
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 40px;
  box-sizing: border-box;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.xmp[hidden] { display: none !important; }
.xmp *, .xmp *::before, .xmp *::after { box-sizing: border-box; }
.xmp p, .xmp h2, .xmp ul { margin: 0; padding: 0; }

/* 뒤 배경 */
.xmp__dim {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 15, .6);
  opacity: 0;
  transition: opacity .35s ease;
  cursor: pointer;
}

/* 팝업 */
.xmp__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: calc(100vh - 80px);
  overflow: hidden;
  border-radius: 22px;
  background: var(--xmp-green);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .4s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.xmp.is-open .xmp__dim { opacity: 1; }
.xmp.is-open .xmp__wrap { opacity: 1; transform: none; }

.xmp__card {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  color: #fff;
  outline: none;
  background: radial-gradient(ellipse at 22% 0%, rgba(233, 207, 138, .18), transparent 58%);
}

/* ---------- 왼쪽: 오너먼트 ---------- */
.xmp__orns {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.xmp__orn {
  position: absolute;
  top: var(--y);
  left: var(--x);
}
.xmp__orn--hair  { --d: 172px; --x: 30px;  --y: 92px;  --zoom: 1.18; --focus: 62% 44%; }
.xmp__orn--wrist { --d: 146px; --x: 182px; --y: 214px; --zoom: 1.12; --focus: 50% 56%; }
.xmp__orn--gift  { --d: 66px;  --x: 214px; --y: 48px; }

/* 흔들리는 부분 (줄 + 고리 + 볼) */
.xmp__hang {
  position: relative;
  display: grid;
  justify-items: center;
  transform-origin: 50% -400px;
  animation: xmp-swing 3.6s ease-in-out infinite alternate;
}
.xmp__orn--wrist .xmp__hang { animation-delay: -1.8s; }
.xmp__orn--gift .xmp__hang  { animation-duration: 3s; animation-delay: -.9s; }
@keyframes xmp-swing {
  from { transform: rotate(-1.2deg); }
  to   { transform: rotate(1.2deg); }
}
/* 줄 (팝업 위쪽 끝까지) */
.xmp__hang::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 400px;
  margin-left: -.5px;
  background: linear-gradient(to top, rgba(233, 207, 138, .9), rgba(233, 207, 138, .2));
}
/* 금색 고리 */
.xmp__cap {
  position: relative;
  z-index: 1;
  width: calc(var(--d) * .2);
  height: calc(var(--d) * .1);
  margin-bottom: -3px;
  border-radius: 4px 4px 2px 2px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #a8833e, #f6e2a6 45%, #c9a55a 70%, #8f6d2f);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.xmp__cap::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 12px;
  height: 10px;
  margin-left: -6px;
  border: 2px solid #d9bb73;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
/* 동그란 장식볼 */
.xmp__ball {
  position: relative;
  display: block;
  width: var(--d);
  height: var(--d);
  overflow: hidden;
  border: 3px solid #e3c57f;
  border-radius: 50%;
  background: #2a4a3f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.xmp__ball img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1));
  transform-origin: var(--focus, 50% 50%);
}
/* 유리볼 빛 */
.xmp__ball::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 32%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset -14px -18px 36px rgba(0, 0, 0, .28);
  pointer-events: none;
}
/* FREE GIFT 금색 볼 */
.xmp__orn--gift .xmp__ball {
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at 34% 28%, #fff1c6, #e6c87f 42%, #b58e3e 100%);
  color: var(--xmp-green);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .08em;
  text-align: center;
}

/* 반짝이는 별 */
.xmp__spark {
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: var(--xmp-gold-light);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: xmp-twinkle 2.8s ease-in-out infinite;
}
.xmp__spark:nth-child(1) { --s: 11px; left: 26px;  top: 340px; }
.xmp__spark:nth-child(2) { --s: 8px;  left: 296px; top: 70px;  animation-delay: -.7s; }
.xmp__spark:nth-child(3) { --s: 7px;  left: 176px; top: 172px; animation-delay: -1.4s; }
.xmp__spark:nth-child(4) { --s: 9px;  left: 140px; top: 410px; animation-delay: -2.1s; }
.xmp__spark:nth-child(5) { --s: 6px;  left: 72px;  top: 52px;  animation-delay: -1s; }
@keyframes xmp-twinkle {
  0%, 100% { opacity: .25; transform: scale(.6); }
  50%      { opacity: 1;   transform: scale(1); }
}

/* ---------- 오른쪽: 글자 ---------- */
.xmp__body {
  align-self: center;
  padding: 48px 48px 44px 12px;
}
.xmp__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--xmp-gold);
}
.xmp .xmp__title {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -0.035em;
  color: #fff;
}
.xmp__title em { font-style: normal; color: var(--xmp-gold-light); }
.xmp__copy {
  margin-top: 16px !important;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .74);
}
.xmp__copy b { font-weight: 700; color: var(--xmp-gold); }

/* 유의사항 */
.xmp__notice {
  display: grid;
  gap: 5px;
  margin-top: 20px !important;
  padding: 14px 16px !important;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}
.xmp__notice li {
  position: relative;
  padding-left: 13px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
  list-style: none;
}
.xmp__notice li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--xmp-gold);
}

/* 바로가기 버튼 */
.xmp .xmp__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6e2a6, #e2c27a 55%, #c9a55a);
  color: var(--xmp-green);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.xmp .xmp__cta:hover {
  color: var(--xmp-green);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

/* ---------- 아래 버튼 줄 ---------- */
.xmp__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  background: var(--xmp-green-dark);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.xmp__bar button {
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.xmp__bar button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.xmp__bar .xmp__close {
  border-left: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
}

/* 움직임 줄이기 설정을 켠 사용자 */
@media (prefers-reduced-motion: reduce) {
  .xmp__hang, .xmp__spark { animation: none; }
  .xmp__dim, .xmp__wrap { transition: none; }
}
/* BASIC css end */

