* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  color : #0c0c0c;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
}
body > main{
    padding-bottom : 0;
    padding-top : 0;
}
body > main img{pointer-events: none;}
body > main .bottom-btn, 
body > main .bottom-btn *{pointer-events: auto !important;}
/* 2025fw 페이지에서 header에 on 클래스가 없을 때만 nav 배경을 투명으로 설정 */
body > header:not(.on) > nav {
    background: transparent !important;
    transition: background-color 0.1s ease;
}

/* header에 on 클래스가 있을 때는 기존 동작 유지 (흰색 배경) */
body > header.on > nav {
    background: #fff !important;
}

body > header > nav:before {
    background-color: transparent;
}
.campaign-25fw {
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: auto;
    scroll-behavior: auto;
    display: flex;
    flex-direction: row;
    position: relative;
    scrollbar-width: none;
}

.bottom-btn{
    position: fixed;
    bottom : 50px;
    left : 50%;
    transform: translateX(-50%);
    z-index : 1000;
    display : flex;
    flex-direction : column;
    align-items : center;
    justify-content : center;
}
.bottom-btn .scroll-down-text{
    color : #fff;
    font-weight : 300;
}
.campaign-content {
    width: 100vw;
    height: 100vh;
    flex: 0 0 100vw;
    position: relative;
    margin-bottom: 0;
}

.train-section-first {
    flex: 0 0 495vw; /* train-section들은 애니메이션을 위해 더 넓은 공간 확보 */
    margin-left : 5rem;
}
.train-section-second {
  flex: 0 0 280vw; /* train-section들은 애니메이션을 위해 더 넓은 공간 확보 */
}
.train-section-third {
  flex: 0 0 240vw; /* train-section들은 애니메이션을 위해 더 넓은 공간 확보 */
}
.campaign-25fw .main-img {
    width: 100%;
    height: 100%;
}

.campaign-25fw .main-img img {
    width: 100%;
    object-fit: cover;
}

.campaign-25fw .main-img .main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* PC에서는 데스크톱 비디오만 보이기 */
.campaign-25fw .main-img .mobile-video {
    display: none;
}

.campaign-25fw .main-img .desktop-video {
    display: block;
}
#section2-content{
    position : relative;
    --left-line: clamp(20px, 3vw, 100px);
}
.txt-content {
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    height: 55%;
    bottom: -24%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.txt-content > .top-txt {
    line-height : 30px;
    font-size : 12px;
}
.txt-content .top-txt > h2 {
    text-align : center;
    font-weight : 500;
}
.bottom-btn .scroll-down-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.bottom-btn .scroll-down-wrap .scroll-down-text {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 20px;
}

.bottom-btn .scroll-down-wrap .vertical-flicker {
    height: 18px;
    width: 1px;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 30%, rgba(255, 255, 255, 0) 100%);
    transform-origin: top;
}
.bottom-btn >.btn{
    opacity: 0.7;
    color : #000;
    font-size : 11px;
    font-weight : 400;
    width : 125px;
    height : 35px;
    line-height : 35px;
    text-align : center;
    border : none;
    box-shadow: 0px 2px 30px 0px #18348E4D;
}
#edi-txt{
    color : #0c0c0c;
    left : var(--left-line);
    align-items : flex-start;
    text-align : left;
    justify-content : center;
    top : 50%;
    transform : translateY(-50%);
    width : calc(45vw - var(--left-line));
}
#edi-txt > *{
    font-weight : 300;
}
#edi-txt > h1{
    font-weight : 400;
    font-size : 25px;
    margin-bottom : 50px;
}
#edi-txt > p{
    font-size : 11px;
}
#edi-txt > a{
    font-size : 11px;
    margin-top : 40px;
    position: relative;
    display: inline-block;
}

#edi-txt > a::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: #000;
}

#edi-txt > a::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 1px;
    background: #000;
    transform-origin: right center;
}
.bottom-txt{
    position : absolute;
    bottom : 30px;
    left: var(--left-line);   /* ← 동일 기준선 */
    right: auto;
    font-weight : 300;
}
#section1,#section2,#section3{
    position: relative; width: 30vw; height: 100%; z-index: 2; 
}
.section2-img{
    position: absolute;
    inset: 0 auto 0 45vw;  /* top right bottom left : 좌측 45vw부터 시작 */
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;    /* 안의 아이템만큼 가로로 길어짐 */
    padding-right: 1vw;   /* 끝쪽 여유 */
    will-change: transform;
    z-index: 3;
}
.train-section{
    position: relative; 
    --left-pane: 40vw;           /* 좌측 영역(텍스트/메인) 폭 */
    --left-line: clamp(24px, 6vw, 120px); /* 텍스트 기준선 */
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
}
.train-section .train-left { 
  width: var(--left-pane); 
  height: 100vh; 
  position: sticky;
  top: 0;
  z-index: 5; /* section2-img보다 낮은 z-index */
}
.section2-img > img,
  .section2-img > .train-item,
  .section2-img > video {
    width: 100%;           /* 카드(차량) 하나의 폭 */
    height: 100%;
    object-fit: cover;
    pointer-events: none;  /* 클릭 방지 */
  }
  .train-section .section2-img{
    position: absolute; top: 0; bottom: 0;
    left: var(--left-pane);      /* 좌측 영역 다음부터 시작 */
    right: 0;                    /* 현재 섹션 내에서만 */
    height: 100%;
    display: flex; 
    align-items: center;
    will-change: transform;
    z-index: 10; /* train-left보다 높은 z-index로 자연스럽게 덮음 */
  }
  .train-section .section2-img > img,
  .train-section .section2-img > .train-item,
  .train-section .section2-img > video{
    width: 75%;
    height: 100vh;
    object-fit: cover;  /* 전체 보이기 */
    display: block;
    pointer-events: none;  /* 클릭 방지 */
  }
  
  /* #section3의 자유분방한 이미지 배치 */
  #section3 ~ .section2-img {
    position: absolute;
    top: 0;
    left: var(--left-pane);
    right: 0;
    height: 100%;
    display: block !important;
    z-index: 10;
    background : #fff;
  }
  
  #section3 ~ .section2-img > img,
  #section3 ~ .section2-img > .train-item {
    position: absolute;
    display: block;
    object-fit: cover;

  }
  /* section3의 이미지들을 동일한 크기로 배치 */
  #section3 ~ .section2-img > img,
  #section3 ~ .section2-img > .train-item {
    width: 300px;
    height: 400px;
    object-fit: cover;
    position: absolute;
  }
  
  #section3 ~ .section2-img > img:nth-child(1),
  #section3 ~ .section2-img > .train-item:nth-child(1) {
    width: 400px;
    height: 520px;
    top: 20%;
    left: 0%;
  }
  
  #section3 ~ .section2-img > img:nth-child(2),
  #section3 ~ .section2-img > .train-item:nth-child(2) {
    bottom: 0;
    width : 380px;
    height: 480px;
    left: 13%;
    z-index: 5;
  }
  
  #section3 ~ .section2-img > img:nth-child(3),
  #section3 ~ .section2-img > .train-item:nth-child(3) {
    top: 13%;
    left: 25%;
    width : 380px;
    height : 480px;
  }
  
  #section3 ~ .section2-img > img:nth-child(4),
  #section3 ~ .section2-img > .train-item:nth-child(4) {
    top: 19%;
    left: 36%;
    width : 400px;
    height : 520px;
    z-index: 4;
  }
  
  #section3 ~ .section2-img > img:nth-child(5),
  #section3 ~ .section2-img > .train-item:nth-child(5) {
    top: 13%;
    left: 48%;
    width : 400px;
    height : 500px;
  }
  
  #section3 ~ .section2-img > img:nth-child(6),
  #section3 ~ .section2-img > .train-item:nth-child(6) {
    bottom: 0;
    left: 62%;
    width : 380px;
    height : 480px;
    z-index: 3;
  }
  
  #section3 ~ .section2-img > img:nth-child(7),
  #section3 ~ .section2-img > .train-item:nth-child(7) {
    top: 30%;
    left: 75%;
    width : 420px;
    height : 520px;
  }
  
  #section3 ~ .section2-img > img:nth-child(8),
  #section3 ~ .section2-img > .train-item:nth-child(8) {
    top: 12%;
    left: 90%;
    z-index: 2;
    width : 360px;
    height : 470px;
  }
  
  #section3 ~ .section2-img > img:nth-child(9),
  #section3 ~ .section2-img > .train-item:nth-child(9) {
    top: 35%;
    left: 100%;
    width : 380px;
    height : 480px;
  }
  
  #section3 ~ .section2-img > img:nth-child(10),
  #section3 ~ .section2-img > .train-item:nth-child(10) {
    top: 18%;
    left: 115%;
    width : 420px;
    height : 520px;
  }
   .product-section{
     width: 100vw;
     flex: 0 0 100vw;
     display : flex;
     flex-direction: row;
     align-items: center;
     justify-content: center;
   }
  .product-section > .men,.product-section > .women{
    width : 50%;
    height: 100%;
    position: relative;
  }
  .product-section > .men > img,.product-section > .women > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-section > .men > a,.product-section > .women > a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color : #fff;
    font-size : 25px;
    font-weight : 400;
  }

  /* 카테고리 모달 스타일 */
  .category-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .category-modal.show {
    visibility: visible;
    opacity: 1;
  }

  .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(0px);
    box-shadow: 0px 2px 5px 3px #7070700D;
    transition: backdrop-filter 0.3s ease;
  }

  .category-modal.show .modal-backdrop {
    backdrop-filter: blur(100px);
    background : #eaeaea3e;
  }

  .modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s ease-out 0.4s;
  }

  .category-modal.show .modal-content {
    transform: translateY(0);
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .close-btn:hover {
    color: #333;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 40px;
  }

  .category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .category-item:hover {
    transform: translateY(-8px) scale(1.02);
  }

  .category-item img {
    width: 360px;
    height: 450px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: none;
  }

  .category-item h3 {
    font-size: 13px;
    font-weight: 400;
    color: #0c0c0c;
    letter-spacing: 0.5px;
    text-align: center;
  }

  .modal-footer {
    text-align: center;
    position : absolute;
    bottom : 50px;
    border-top: none;
  }

  .footer-btn {
    opacity: 0.6;
    color: #000;
    font-size: 11px;
    font-weight: 400;
    width: 125px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 2px 4px 30px 0px #18348E4D;
    background-color: #fff;
  }
/* CSS 애니메이션 {키프레임 (GSAP 백업용) */
@keyframes flickerAnimation {
    0% {
        height: 18px;
    }
    100% {
        height: 25px;
    }
}
@media (max-width: 768px) {
  body > header > nav{background : transparent;}
    body.fold-nav > header > nav{
        background-color : #fff;
    }
    
    /* 모바일에서는 모바일 비디오만 보이기 */
    .campaign-25fw .main-img .desktop-video {
        display: none;
    }
    
    .campaign-25fw .main-img .mobile-video {
        display: block;
    }
    .campaign-25fw {
        width: 100%;
        min-height: 100vh;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .campaign-content {
        margin-left : 0;
        width: 100%;
        min-height: 100vh;
        position: relative;
        margin-bottom: 0;
        flex: none;
    }

    /* train-section들을 모바일에서 세로로 배치 */
    .train-section-first,
    .train-section-second, 
    .train-section-third {
        width: 100%;
        flex: none;
        display: block;
    }

    /* 모바일에서 train-section을 새로운 순서로 배치 */
    .train-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 0;
        margin-top : 120px;
    }

    /* 모바일에서 재배치된 요소들의 스타일 */
    .train-section .mobile-title {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        color: #000;
        padding: 0 20px;
        margin-top : 6rem;
    }

    .train-section .mobile-first-image,
    .train-section video.mobile-first-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-bottom: 30px;
        pointer-events: none;  /* 클릭 방지 */
    }

    .train-section .mobile-text-content {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        bottom: auto;
        height: auto;
        width: 100%;
        margin-bottom: 30px;
        text-align: left;
        color: #000;
        word-break: keep-all;
        padding: 30px 20px;
    }
    .mobile-text-content > h1{
      font-size : 15px;
      font-weight : 400;
      margin-bottom : 30px;
    }
    .mobile-text-content > p{
      font-size : 11px;
      font-weight : 400;
    }

    .train-section .mobile-remaining-images {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .train-section .mobile-remaining-images img,
    .train-section .mobile-remaining-images video {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-bottom: 20px;
        pointer-events: none;  /* 클릭 방지 */
    }

    .train-section .mobile-link {
        font-size: 11px;
        font-weight: 500;
        color: #000;
        text-decoration: none;
        padding: 0 20px;
        margin-top: 30px;
        display: block;
        position: relative !important;
        z-index: 10;
        transform: translateZ(0);
        isolation: isolate;
        contain: layout;
    }

    .train-section .mobile-link::after {
        content: '';
        position: absolute !important;
        right: 255px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 1px;
        background: #000;
        z-index: 11;
        pointer-events: none;
    }

    .train-section .mobile-link::before {
        content: '';
        position: absolute !important;
        right: 255px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 6px;
        height: 1px;
        background: #000;
        transform-origin: right center;
        z-index: 11;
        pointer-events: none;
    }

    /* 기존 요소들은 모바일에서 숨김 */
    .train-section .train-left {
        display: none;
    }

    .train-section .section2-img {
        display: none;
    }
    .train-section-first{
      margin-top : 0;
    }
    .campaign-25fw .main-img img{
      height: 100%;
      object-fit: cover;
    }
    .txt-content{
      width : 100%;
    }
    .bottom-txt{
      top : 30px;
    }
    .train-section .section2-img > img, .train-section .section2-img > .train-item{
      width : 100%;
      height: auto;
      margin-bottom: 20px;
    }

    /* #section3의 특별한 배치도 모바일에서는 숨김 (JavaScript로 처리) */
    #section3 ~ .section2-img {
        display: none !important;
    }
    .product-section{
      flex-direction: column;
      padding: 120px 0 0 0;
      min-height: auto;
    }
    .product-section > .men,
    .product-section > .women{
      width : 100%;
    }
    .product-section > .women{
      margin-bottom: 0;
    }
    .product-section a{font-size : 15px !important; font-weight : 400;}
    .mobile-text-content > p{font-weight : 300;}
    .mobile-remaining-images > img[src*="detail_01.jpg"]{
      margin-bottom : 20px;
    }
    .mobile-remaining-images > img[src*="detail_02.jpg"]{
      width : 280px;
      height : 350px;
      left : 0;
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_03.jpg"]{
      width : 260px;
      height : 325px;
      position: relative;
      float: right;
      margin-left: auto;
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_04.jpg"]{
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_05.jpg"]{
      width : 280px;
      height : 100%;
      position: relative;
      float: right;
      margin-left: auto;
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_06.jpg"]{
      width : 260px;
      height : 325px;
      position: relative;
      float: left;
      margin-bottom : 100px;
    }
    .mobile-remaining-images > img[src*="detail_07.jpg"]{
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_08.jpg"]{
      width : 280px;
      height : 100%;
      position: relative;
      float: left;
      margin-bottom : 40px;
    }
    .mobile-remaining-images > img[src*="detail_09.jpg"]{
      width : 260px;
      height : 325px;
      position: relative;
      float: right;
      margin-left: auto;
      margin-bottom : 40px;
    }
    /* 모바일 모달 스타일 */
    .modal-backdrop {
        backdrop-filter: blur(0px);
        box-shadow: 0px 2px 5px 3px #7070700D;
        opacity: 0;
        transition: opacity 0.15s ease, backdrop-filter 0.3s ease;
    }

    .category-modal.show .modal-backdrop {
        opacity: 1;
        backdrop-filter: blur(30px);
    }

    .modal-content {
        background: transparent;
        padding: 40px 20px;
        transform: translateY(100%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0;
        transition: transform 0.3s ease 0.25s;
    }

    .category-modal.show .modal-content {
        transform: translateY(0);
    }

    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 40px;
        padding: 0 20px;
        max-width: 400px;
        width: 100%;
    }

    .category-item {
        text-align: center;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .category-item:hover {
        transform: none;
    }

    .category-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 0;
        margin-bottom: 15px;
        box-shadow: none;
    }

    .category-item h3 {
        font-size: 11px;
        font-weight: 400;
        color: #000;
        letter-spacing: 0;
        text-align: center;
        margin: 0;
    }

    .modal-footer {
        position: fixed;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-top: none;
        margin-top: 0;
    }

    .footer-btn {
        opacity: 0.6;
        color: #000;
        font-size: 11px;
        font-weight: 400;
        width: 125px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        border: none;
        background: #fff;
        cursor: pointer;
        box-shadow: 0px 2px 30px 0px #18348E4D;
        border-radius: 0;
        padding: 0;
    }

    .close-btn {
        display: none;
    }
    .mobile-remaining-images > img:last-child{
      margin-bottom: 0;
    }
    
    /* 모바일에서 br 태그 처리 */
    br:not(.mo) {
        display: none;
    }
    
    br.mo {
        display: block;
    }
}

/* 해외몰(영문) 전용 스타일 */
html[lang="en"] .train-section .mobile-link::after,
html[lang="en"] .train-section .mobile-link::before,
body[lang="en"] .train-section .mobile-link::after,
body[lang="en"] .train-section .mobile-link::before,
.en .train-section .mobile-link::after,
.en .train-section .mobile-link::before,
/* URL 경로 기반 선택자 */
[data-lang="en"] .train-section .mobile-link::after,
[data-lang="en"] .train-section .mobile-link::before {
    right: 285px !important;
}

/* 더 구체적인 선택자로 강제 적용 */
@media (max-width: 768px) {
    .train-section .mobile-link::after {
        right: 255px;
    }
    .train-section .mobile-link::before {
        right: 255px;
    }
    
    /* 영문 페이지에서만 285px 적용 */
    html[lang="en"] .train-section .mobile-link::after,
    body[lang="en"] .train-section .mobile-link::after,
    .en .train-section .mobile-link::after,
    [data-lang="en"] .train-section .mobile-link::after {
        right: 285px !important;
    }
    
    html[lang="en"] .train-section .mobile-link::before,
    body[lang="en"] .train-section .mobile-link::before,
    .en .train-section .mobile-link::before,
    [data-lang="en"] .train-section .mobile-link::before {
        right: 285px !important;
    }
}