/* BASIC css start */
#skin_preview_wrap{display:none !important}

.dn{display:none !important}

.overlay_bg{
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;}

.overlay_bg .overlay_{
    position: absolute;
    width: 19%;
    bottom: 29%;
    left: 41%;
    transform: rotateZ(-34deg);
    aspect-ratio: revert;}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */

:root {
  --white:   #FFFFFF;
  --off:     #F7F5F2;
  --dark:    #111110;
  --red:     #C0392B;
  --gray:    #888580;
  --light:   #E8E4DE;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* 스크롤 부드럽게 */
}

html:has(body#hwasa) {  }
body#hwasa {
  background: var(--white);
  color: var(--dark);
  font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-weight: 300;
    overflow-x: clip !important;
    overflow-y: unset;
}

#hwasa_plan{width:100%;overflow: hidden;}

#hwasa_plan img {border-radius: 5px; display: block; width: 100%;}

/* ══════════════════════════════════════════
   SCROLL ANIMATION — 양방향
   ↓ 내릴 때: 아래서 올라오며 등장
   ↑ 올릴 때: 위에서 내려오며 재등장
   → 뷰포트 벗어나면 다시 숨겨짐 (budhi-mudra 방식)
══════════════════════════════════════════ */

/* 기본 숨김 상태 */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    transform-style: preserve-3d;
}


/* 아래서 올라오기 (기본) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 스크롤 올릴 때는 위에서 내려옴 */
.reveal.exit-up {
  opacity: 0;
  transform: translateY(-32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}

/* 왼쪽 슬라이드 */
.reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 1.2s cubic-bezier(.22,1,.36,1),
              transform 1.2s cubic-bezier(.22,1,.36,1);
}
.reveal-left.exit-up {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-left, .reveal-right {
    will-change: transform, opacity;
}


/* 오른쪽 슬라이드 */
.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 1.2s cubic-bezier(.22,1,.36,1),
              transform 1.2s cubic-bezier(.22,1,.36,1);
}


.sec1-img-sq .double{position:relative}
.sec1-img-sq .double .ph p{}
.sec1-img-sq .double .ph p img{}

.reveal-right.exit-up {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}

/* 페이드 */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.reveal-fade.exit-up {
  opacity: 0;
  transition: opacity .7s ease;
}

/* 스케일 */
.reveal-scale {
  opacity: 0;
  transform: scale(.93);
  transition: opacity 1.3s cubic-bezier(.22,1,.36,1),
              transform 1.3s cubic-bezier(.22,1,.36,1);
}
.reveal-scale.exit-up {
  opacity: 0;
  transform: scale(.97);
  transition: opacity .7s ease, transform .7s ease;
}

.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0.001px) !important; 
    transition: opacity 0.8s cubic-bezier(.22,1,.36,1), 
    transform 0.8s cubic-bezier(.22,1,.36,1) !important;
}


.is-visible.once {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}


.exit-up {
    opacity: 0;
    transform: translate3d(0, -32px, 0) !important;
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}


/* 지연 */
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .44s; }

/* 텍스트 라인 클립 */
.clip-line  { overflow: hidden; }
.clip-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.clip-line.visible   .clip-inner { transform: translateY(0); }
.clip-line.exit-clip .clip-inner {
  transform: translateY(-105%);
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}

/* ══════════════════════════════════════════
   IMAGE PLACEHOLDER  (실제 이미지로 교체 시 <img> 태그 사용)
══════════════════════════════════════════ */
.ph {
  display:flex; align-items:center; justify-content:center;
  color:#9A948C; font-size:.65rem; letter-spacing:.2em; text-transform:uppercase;
  overflow:hidden; position:relative;
}
.ph::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(135deg,rgba(255,255,255,.15) 0%,transparent 60%);
  pointer-events:none;
}

.hero {position:relative;}

.hero span{color:#D50D00; font-size:64px; font-weight:400; }
.hero span.line1{}
.hero span.line2{}

.hero-img {
  opacity:0;
  transform: scale(1.05);
  transition: opacity 1.8s cubic-bezier(.22,1,.36,1),
              transform 1.8s cubic-bezier(.22,1,.36,1);
}
.hero-img .ph { background: #D0D1D2;width:100%; height:100%; justify-content: flex-end; }
.hero-img .ph img{ width: 100%; border-radius: 0 !important;}

.hero-title {
    position: absolute;
    bottom: 0;
    z-index: 3;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1);
    margin: 20px;
}

.hero-sub {    position: absolute;
    top: 30%;
    right: 4%;
    font-style: italic;
    z-index: 3;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1) .3s, transform 1.4s cubic-bezier(.22, 1, .36, 1) .3s;
    width: 21%;
}


.sec1 {
  padding: 123px 8.33% 329px
  background: var(--white);
}
.sec1-head {
  z-index:10;
  margin-bottom: 75px;
}

.sec1-head .eyebrow {
    margin-bottom: 16px;
    text-align: center;
}

.sec1-head .eyebrow img{
    margin: 40px auto 0;
    width: 50% !important;
    text-align: center;}

.sec1-head .body-text {
    font-size: 13px;
    line-height: 1.5em;
    color: #222;
    margin: auto;
    text-align: center;
    font-weight: 500;
    letter-spacing: -.015em;
}

.sec1-video{margin-bottom: 75px;}


.sec1-images {
    display: flex;
    gap: 7.7%;
    align-items: center;
    margin: 0 8.3% auto;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
}

.sec1-img-tall {}
    
.sec1-img-tall .ph { _aspect-ratio:3/4; }

.sec1-img-tall .ph img{border-radius:0 !important}


.sec1-img-sq {
    display: block;
    width: 88%;
    margin-top: 20%;
}

.sec1-img-sq .ph {
    overflow: visible;
    display: flex;
    margin-right: auto;
    justify-content: flex-start;}


.sec2 {
    position: relative;
    padding: 55% 0 0;
}


.sec2-left{
    width: 62%;
    display: flex;
    flex-direction: column;
    margin: auto;}
    
.sec2-left .bg{/*
    width: 62%;
    margin: auto;*/
    margin-bottom: -10%;}

.sec2-left .small-label {
    font-size: 13px;
    color: #D2281D;
    line-height: 1.4em;
    font-weight: 500;
    margin-top: 16px;
}

.sec2-left .small-text {
  font-size:.78rem;
  line-height:1.9;
  color:#5A5550;
  max-width:240px;
}

.sec2-right {
    position: absolute;
    bottom: 0;
}

.sec2-right .big-italic {
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight:400;
  color:var(--dark);
  letter-spacing:-.02em;
  line-height:.95;
}
.sec2-right .big-italic .red { color:var(--red); }

.sec3 {padding: 0 6%;
    display: flex;
    flex-direction: column;
}


.sec3-left{
    margin-top: 32%;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;}
    
    

.sec3-left .italic-title {
  margin-bottom:16px;
}

.sec3-left .italic-title img{width:520px !important;}

.sec3-left .desc {
    font-size: 13px;
    line-height: 1.4em;
    color: #D2281D;
    font-weight: 500;
    margin-bottom: 0;
    word-break: keep-all;
}


.sec3-left .sec3-img-a{
    width: 50%;
    flex-shrink: 0;}

.sec3-right {
    display: flex;
    align-items: start;
    flex-direction: column;
}

.sec3-img-a .ph {
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4em;
    color: #D2281D;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0;
    text-align: right;
    margin-right: 0;
}

.sec3-img-a .ph .red-small{
    margin-left: auto;
    width: 67%;
    text-align: left;}



.sec3-right .sec3-img-a .ph img:nth-child(1){width:71% !important}
.sec3-right .sec3-img-a .ph img:nth-child(2){
    width: 67% !important;
    margin-left: auto;}


.sec3-img-b { margin-top:30%; }
.sec3-img-b .ph {}

.sec4 {padding: 76px 6% 16px;
}

.sec4-left .ph {}

.sec4-right {
    margin-top: 0;
    display: flex;
    flex-direction: row;
}

.sec4-right .red-small {
    color: #D2281D;
    font-size: 20px;
    line-height: 1.4em;
    font-weight: 500;
}
.sec4-right .right-text {
    font-weight: 500;
    margin-bottom: 81px;
    font-size: 13px;
    line-height: 1.4em;
    color: #D2281D;
}

.sec4-right .small-img {
    width: 50%;
    margin-left: auto;
    margin-bottom: 16px;}

.sec5 {
  padding: 0 6%;
  background:var(--white);
}
.sec5-img .ph margin: 0 auto 250px;}

.sec6 {padding: 0 8.3% 20%;}

.sec6-title {
    margin: 83px auto 39px;
    width: 50%;
}

.sec6 .ph{aspect-ratio: initial !important;}

.products {
    display: grid;
    gap: 60px 4px;
    margin: 0 0 150px;
    grid-template-columns: repeat(2, 3fr);
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 3fr);
    }
    
    .footer{  
        background-size: cover !important;
        background-color: none !important;       
    }
    
}

.product-item {}
.product-img .ph { aspect-ratio:3/4; }
.product-img .ph img{border-radius:0 !important}

.product-name {
    font-size: 14px;
    color: rgb(34, 34, 34);
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1;
    padding: 13px 9px 5px;
}
.product-subname{    color: rgb(34, 34, 34);
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.3em;
    word-break: keep-all;
    padding: 0 9px 10px;}
    
.product-price {
    font-size: 16px;
    color: rgb(34, 34, 34);
    padding: 0 7px;
}

.product-price strike{
    font-size: 12px;
    color: #bbb;
    display: block; 
    margin-bottom: 7px;
}



.product-price span.price_d{
    margin-right: 3px;
    font-size: 14px;
    color: #E30000;
    font-weight: bold;}
    

.product-price span.price{
    font-size: 14px;
    color: #000;
    font-weight: 600;
    font-family: 'Inter', 'Pretendard';}





.footer {
    background-color: #797b7e !important;
    position: relative;
    background: url(//newcomfort.img11.kr/HWASA/12_mo.jpg) no-repeat;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: auto;
    background-position: center
}

.footer-bg {opacity:0}
.footer-bg .ph { width:100%; height:100%; background:#222; }

.footer-bg img{opacity:0}

.footer-content { 
    margin-top: -3%;
    z-index: 2;
    text-align: center;
    color: var(--white);
    position: absolute;
    width: 65%;
}

.footer-content .big-title {
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.01em;
}
.footer-content .big-title .red { color:var(--red); }

.footer-content .foot-sub {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.4em;
    font-weight: 400;
}
.footer-bottom{
    position: absolute;
    bottom: 31px;
    width: 25%;}


.guide {
  position:fixed; bottom:24px; right:24px;
  background:var(--dark); color:var(--white);
  width:260px; padding:18px 20px;
  font-size:.72rem; line-height:1.8;
  z-index:999; border-radius:2px;
  box-shadow:0 6px 30px rgba(0,0,0,.35);
}
.guide strong {
  display:block; margin-bottom:8px;
  font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
}
.guide em { color:#C0392B; font-style:normal; }
.guide-close {
  position:absolute; top:10px; right:14px;
  background:none; border:none; color:#888;
  font-size:1.1rem; cursor:pointer; line-height:1;
}
/* BASIC css end */

