@charset "UTF-8";

/* ************** 공통 ************** */
:root{
  --color-point1:#DD597A;
  --color-point1-40:rgba(221,89,122,.4);
  --color-point2:#7CC3D1;
  --color-point2-40:rgba(124,195,209,.4);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#staaackWrapper, #staaackWrapper *{
  font-family: "Pretendard Variable", "Pretendard", 'Noto Sans', sans-serif;
  font-weight: 500;
  word-break: keep-all;
  color: #111;
  letter-spacing: 0;
}

#staaackWrapper button:focus:not(:focus-visible) {
  outline: none;
}
#staaackWrapper .mo-only{
  display: none !important;
}
#staaackWrapper section{
  padding: 40px 20px;
}
#staaackWrapper section img{
  width: 100%;
  display:block;
}
#staaackWrapper section .sec-inner{
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-in-out;
}
#staaackWrapper section.staaack-on .sec-inner{
  opacity: 1;
  transform: translateY(0px);
}
#staaackWrapper section .sec-inner span.highlights{
  position: relative;
  font-weight: 400;
  display: inline;
  background-image: linear-gradient(var(--color-point2-40), var(--color-point2-40));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 100%;
  transition: background-size 0.5s ease-in-out;
}
#staaackWrapper section .sec-inner .on-highlights span.highlights{
  background-size: 100% 100%;
}
#staaackWrapper section .sec-inner span.num{
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-point2);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
#staaackWrapper section .sec-inner span.num+span.tit{
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  font-weight: 700;
}
#staaackWrapper section .sec-inner .list-tit{
  font-size: 20px;
  line-height: 1.3;
  vertical-align: middle;
  font-weight: 700;
}
#staaackWrapper section .sec-inner .list-copy{
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
#staaackWrapper section .sec-inner .comment-eyebrow{
  color: var(--color-point2);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}
#staaackWrapper section .sec-inner .comment-copy{
  font-weight: 400;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}
#staaackWrapper section .sec-inner .commtent-writer{
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: #94989C;
}
#staaackWrapper section .sec-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#staaackWrapper section .sec-inner .list-copy+.list-video{
  margin-top: 20px;
}
#staaackWrapper section .sec-inner .controller-wrap{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  right: unset;
  bottom: unset;
}
#staaackWrapper section .sec-inner .controller-wrap button {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 100%;
  cursor: pointer;
  padding: 0;
}

#staaackWrapper section .sec-inner .controller-wrap button.active {
  display: block;
}
#staaackWrapper section .sec-inner .controller-wrap button.pause {
  background-image: url('/kr/story/life-tips/staaack/img/icon-pause.png');
}
#staaackWrapper section .sec-inner .controller-wrap button.play {
  background-image: url('/kr/story/life-tips/staaack/img/icon-play.png');
}

#staaackWrapper section .img-credit{
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.28px;
  color: #6A6D70;
  margin-top: 12px;
  position: relative;
  padding-left: 10px;
  margin-bottom: 4px;
}
#staaackWrapper section .img-credit::before{
  content: '*';
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.28px;
  color: #6A6D70;
}
#staaackWrapper section .list-type-2{
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
#staaackWrapper section .list-img,
#staaackWrapper section .list-video{
  border-radius: 16px;
  overflow: hidden;
}


/* ************** staaack-kv ************** */
#staaackWrapper .staaack-kv{
  padding: 60px 20px 16px;
}
#staaackWrapper .staaack-kv .sec-inner {
  border-radius: 16px;
  padding: 60px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(239, 237, 237,0);
  transition: background-color 0.3s ease-in-out;
  transition-delay: 0.2s;
}
#staaackWrapper .staaack-kv.staaack-on .sec-inner {
  background-color: rgba(239, 237, 237,1);
}

#staaackWrapper .staaack-kv .eyebrow{
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  transition-delay: 0.4s;
}
#staaackWrapper .staaack-kv .sub-title{
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #444;
  font-weight: 600;
}
#staaackWrapper .staaack-kv .title{
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  transition-delay: 0.6s;
}
#staaackWrapper .staaack-kv .episode{
  margin-top: 12px;
  color: #6A6D70;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  transition-delay: 0.8s;
}

#staaackWrapper .staaack-kv.staaack-on .eyebrow,
#staaackWrapper .staaack-kv.staaack-on .title,
#staaackWrapper .staaack-kv.staaack-on .episode{
  opacity: 1;
}

/* ************** staaack-point ************** */
#staaackWrapper .staaack-point .point-kv{

  margin-bottom: 32px;
}
#staaackWrapper .staaack-point .point-kv ul{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#staaackWrapper .staaack-point .point-kv li{
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
#staaackWrapper .staaack-point .point-kv .p-kv:hover .controller-wrap{
  opacity: 1;
}
#staaackWrapper .staaack-point .point-kv-desc{
  padding-bottom: 48px;
}
#staaackWrapper .staaack-point .point-kv-desc span.highlights{
  background-image: linear-gradient(var(--color-point1-40), var(--color-point1-40));
}
#staaackWrapper .staaack-point .point-kv-review{
  padding-top: 18px;
  padding-bottom: 48px;
}
#staaackWrapper .staaack-point .point-kv-review .list-review{
  color: var(--color-point1);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}
#staaackWrapper .staaack-point .point-kv-review .list-tit{
  margin-bottom: 16px;
}
#staaackWrapper .staaack-point .point-kv-review .list-copy span.highlights{
  background-image: linear-gradient(var(--color-point1-40), var(--color-point1-40));
}
#staaackWrapper .staaack-point .point-list ul{
  padding-top: 12px;
}
#staaackWrapper .staaack-point .point-list li{
  position: relative;
  padding-top: 40px;
  margin-top: 60px;
}
#staaackWrapper .staaack-point .point-list li:first-child{
  margin-top: 0;
}
#staaackWrapper .staaack-point .point-list li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--color-point1);

  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M7.55078 0V15.1' stroke='black' stroke-width='2'/><path d='M0 7.55078L15.1 7.55078' stroke='black' stroke-width='2'/><path d='M12.8906 2.21094L2.21331 12.8882' stroke='black' stroke-width='2'/><path d='M2.21094 2.21094L12.8882 12.8882' stroke='black' stroke-width='2'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;

  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M7.55078 0V15.1' stroke='black' stroke-width='2'/><path d='M0 7.55078L15.1 7.55078' stroke='black' stroke-width='2'/><path d='M12.8906 2.21094L2.21331 12.8882' stroke='black' stroke-width='2'/><path d='M2.21094 2.21094L12.8882 12.8882' stroke='black' stroke-width='2'/></svg>");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
}
#staaackWrapper .staaack-point .point-list li .list-tit{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
#staaackWrapper .staaack-point .point-list li .list-copy {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
#staaackWrapper .staaack-point .point-list li .list-copy span.highlights{
  background-image: linear-gradient(var(--color-point1-40), var(--color-point1-40));
}
#staaackWrapper .staaack-point .point-kv-review .list-img,
#staaackWrapper .staaack-point .point-list li .list-img{
  margin-top: 20px;
}


/* ************** staaack-manage ************** */
#staaackWrapper .staaack-manage h4{
  text-align: center;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 400;
  padding: 10px 0;
  margin-bottom: 24px;
}
#staaackWrapper .staaack-manage h4 strong{
  font-weight: 700;
}
#staaackWrapper .staaack-manage .manage-list li{
  margin-top: 50px;
}
#staaackWrapper .staaack-manage .manage-list li:first-child{
  margin-top: 0;
}
#staaackWrapper .staaack-manage .manage-list li .list-img,
#staaackWrapper .staaack-manage .manage-list li .list-video{
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
}
#staaackWrapper .staaack-manage .manage-list li .list-img img{
  object-fit: cover;
}
#staaackWrapper .staaack-manage .manage-list li .list-cnt {
  padding: 30px 18px 26px;
  border-radius: 16px;
  background-color: #F6F5F0;
}
#staaackWrapper .staaack-manage .manage-list li .list-cnt .list-tit{
  margin-bottom: 16px;
}
#staaackWrapper .staaack-manage .manage-list li .list-cnt .list-tit strong{
  font-weight: 700;
}



/* ************** staaack-comment ************** */
#staaackWrapper .staaack-comment .comment-list{
  background-color: #262626;
  border-radius: 16px;
  text-align: center;
}
#staaackWrapper .staaack-comment .comment-list .comment-box{
  padding: 40px 15px;
  border-top: 1px solid #393939;
  display: flex;
  gap: 16px;
  flex-direction: column;
}
#staaackWrapper .staaack-comment .comment-list .comment-box:first-child{
  border-top: 0;
}
#staaackWrapper .staaack-comment .comment-list .comment-box div{
  max-width: 320px;
  margin: 0 auto;
}


/* ************** staaack-lead-text ************** */
#staaackWrapper .staaack-lead-text{
  padding-bottom: 60px;
  padding-top: 20px;
}
#staaackWrapper .staaack-lead-text p{
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  color: #555;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0;
}


/* ************** staaack-recommend ************** */
#staaackWrapper .staaack-recommend{
  border-top: 8px solid #f2f2f2;
  padding-top: 60px;
  padding-bottom: 80px;
}
#staaackWrapper .staaack-recommend .sec-inner{
  max-width: 1260px;
}
#staaackWrapper .staaack-recommend h4{
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 20px;
}

#staaackWrapper .staaack-recommend ul{
  display: flex;
  gap: 20px 16px;
  flex-wrap: wrap;
}
#staaackWrapper .staaack-recommend ul li{
  
  flex: 0 0 calc((100% - 48px) / 4)
}
#staaackWrapper .staaack-recommend .product-img{
  background-color: #F5F5F5;
  border-radius: 16px;
  padding: 15px 10px;
  overflow: hidden;
  border: 2px solid #f5f5f5;
  box-sizing: border-box;
}
#staaackWrapper .staaack-recommend .product-img img{
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
#staaackWrapper .staaack-recommend .product-tit{
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}
#staaackWrapper .staaack-recommend .product-link{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#staaackWrapper .staaack-recommend .product-link:hover .product-img img{
  transform: scale(1.05);
}
#staaackWrapper .staaack-recommend .product-link:hover .product-img{
  border-color: #f2f2f2;
}


@media (max-width: 1024px) {
  /* ************** swiper ************** */
  #staaackWrapper .staaack-recommend.moSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
  }
  
  #staaackWrapper .staaack-recommend.moSwiper .swiper-android .swiper-slide, 
  #staaackWrapper .staaack-recommend.moSwiper .swiper-ios .swiper-slide, 
  #staaackWrapper .staaack-recommend.moSwiper .swiper-wrapper {
    transform: translate3d(0px, 0, 0);
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100px;
    background: #8F8F8F;
    opacity: 0.6;
    margin: 0 4px;
    cursor: pointer;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #111;
    width: 24px;
    border-radius: 5px;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
  }
  /* 공통: 키보드 포커스가 올 때 시각적으로 보이게 */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination-bullet:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #005fcc;
    border-radius: 999px;
  }
  
  /* Safari / 구버전 대응용 (:focus-visible 미지원일 때) */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination-bullet:focus {
    outline: none;
  }
  
  /* 활성 불릿 + 포커스일 때 조금 더 강조하고 싶으면 */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-pagination-bullet.swiper-pagination-bullet-active:focus-visible {
    box-shadow: 0 0 0 2px #005fcc;
    transform: scale(1.1);
  }
  

  /* ====== Swiper Navigation Buttons ====== */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-prev,
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #fff;
    box-shadow: 0 0 14px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-prev {
    left: -12px;
  }

  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-next {
    right: -12px;
  }

  /* 화살표 아이콘 (SVG) */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-prev::after,
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-next::after {
    content: "";
    width: 14px;
    height: 14px;
    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: #000;
  }

  /* prev 아이콘 */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-prev::after {
    mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 3L4.5 8L9.5 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  /* next 아이콘 */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-next::after {
    mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 3L11.5 8L6.5 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  /* 화살표 버튼 비활성(disabled) 처리 */
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-disabled{
    cursor: default;
    z-index: 20;
  }
  #staaackWrapper .staaack-recommend.moSwiper .swiper-button-disabled::after {
    background-color: #ccc;
  }


  #staaackWrapper .staaack-recommend.moSwiper{
    overflow: hidden;
  }
  /* flex 기반 레이아웃 제거 → Swiper가 레이아웃 제어 */
  #staaackWrapper .staaack-recommend.moSwiper .recommend-product-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
  }
  #staaackWrapper .staaack-recommend.moSwiper .recommend-product-swiper .swiper-slide {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }

  #staaackWrapper .staaack-recommend.moSwiper .recommend-product-swiper {
    padding-bottom: 50px;
    overflow: visible;
  }
}
