/* BASIC css start */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap');

/* ==========================================================================
   기프트 패키지 본문 레이아웃 및 스타일 (순정 풋터 간섭 없음)
   ========================================================================== */
.gift-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible; /* 전체 세로 스크롤 완전 개방 */
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.gift-container * {
    box-sizing: border-box;
}

/* [AOS 가시성 확보] AOS 모션이 부모 overflow에 의해 잘리거나 뻑뻑해지는 현상 차단 */
.gift-container section[data-aos] {
    overflow: visible !important;
    display: block;
    width: 100%;
}

/* 텍스트 박스 공통 규격 */
.gift-container .text-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상단 고정 타이틀 영역 패딩 */
.gift-container .top-summary { padding: 3.0rem 1.75rem 2.5rem 1.75rem; }

/* 상단 고정 설명글 */
.gift-container .top-description {
    text-align: left;
    padding: 1.5rem 0rem 0rem 0rem;
    font-size: 0.88rem;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    word-break: keep-all;
    font-style: normal !important;
    font-weight: 400;
    letter-spacing: -.26px !important;
}

/* 하단 썸네일 전용 상세 설명 영역 최소 높이 상향 고정 */
.gift-container .bottom-detail {
    padding-top: 30px;
    padding-bottom: 50px;
    min-height: 190px; /* 텍스트 변경 시 푸터가 들썩거리는 현상 방지 */
}

.gift-container .main-title {
    font-family: 'Noto Serif KR', serif !important; 
    letter-spacing: -0.01rem; 
    text-align: left; 
    line-height: 1.3em; 
    color: #000; 
    font-size: 1.5rem; 
    font-weight: 600; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

/* 상세 설명 가시성 트랜지션 모션 (하단 슬라이더와 연동) */
.gift-container .sub-description {
    font-size: 0.88rem;
    color: #000;
    text-align: left;        
    font-style: normal !important;
    font-weight: 400;
    letter-spacing: -.26px !important;
    line-height: 20px;
    word-break: keep-all;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}
.gift-container .sub-description.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   [Swiper 11] 가로 썸네일 슬라이더 (SmartSkin 제거로 전역 Swiper 3.x 충돌 해소되어 전환)
   window.Swiper11 캡처 패턴은 js/signature package.js 참고. Swiper CSS는 공통 head에서 로드.
   ========================================================================== */
.gift-container .thumbnail-wrapper {
    width: 100%;
    padding: 20px 0 10px 0;
    position: relative;
}

.gift-container .gift-swiper {
    width: 100%;
}

.gift-container .gift-swiper .swiper-slide {
    width: 80vw;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}
.gift-container .gift-swiper .swiper-slide-active { opacity: 1 !important; }

.gift-container .gift-swiper .img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f7f7f7;
}
.gift-container .gift-swiper img { width: 100%; height: 100%; display: block; object-fit: cover; }
.sub_title { font-family: 'Josefin Sans', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; word-break: keep-all; text-transform: uppercase; display: block; margin-bottom: 15px; }
.right_fixed { display: none; }

/* Swiper 기본 스크롤바(하단 프로그레스 바 대체)   상세페이지 related_prd와 동일 톤 */
.gift-container .gift-swiper .swiper-scrollbar {
    position: relative;
    left: 0;
    width: 80%;
    height: 2px;
    margin: 50px auto 0;
    background: #f4f0ea;
    border-radius: 0;
}
.gift-container .gift-swiper .swiper-scrollbar-drag {
    height: 2px;
    background: #000000;
    border-radius: 0;
}

/* 데스크탑 프리뷰 반응형 보정 */
@media (min-width: 769px) {
    .gift-container .main-title { font-size: 3.0rem; }
    .gift-container .sub-description, .gift-container .top-description { font-size: 1rem; line-height: 1.8; }
    .gift-container .top-summary { padding-top: 60px; padding-bottom: 30px; }
    .gift-container .bottom-detail { padding-top: 40px; padding-bottom: 60px; min-height: 210px; }
    .gift-container .gift-swiper .swiper-slide { width: 600px; }
    .sub_title { font-size: 1.8rem; }
}



/* ==========================================================================
  히어로 영역 전용 스타일
   ========================================================================== */
/* ==========================================================================
   [버그 완전 해결] 상단 꽉 찬 히어로 영역 전용 스타일
   ========================================================================== */
.signaturegift-hero-wrap {     
    padding: 0; 
    margin: 0;
    position: relative;
    width: 100%;
    line-height: 0; /* 이미지 하단 흰색 공백/여백 방지 */
}

.signaturegift-hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.signaturegift-hero-img-box { 
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.signaturegift-hero-img-box img {
    width: 100%;    
    display: block;    
    height: calc(100vh); 
    object-fit: cover;
}

.signaturegift-hero-info-box { 
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translateX(-50%); /* 좌우 정중앙 정렬 보정 */
    text-align: center; 
    color: #fff; 
    width: 90%; 
    max-width: 100%; 
    padding: 0;
    z-index: 10;
    line-height: 1.6;
    opacity: 0.95;
    visibility: visible;
}

.brand-title-en { 
    font-family: 'Josefin Sans', sans-serif; 
    display: inline-block;
    font-size: 1.4rem; 
    font-weight: 500; 
    letter-spacing: 0.06rem;
    line-height: 1.2; 
    margin-bottom: 10px;
}

.signaturegift-hero-desc { 
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto;
    letter-spacing: 0.01rem;
    word-break: keep-all;
    /* 이미지 배경이 밝아도 하얀 글씨가 무조건 또렷하게 보이도록 그림자 효과 강화 */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65); 
}

/* 데스크탑 웹 프리뷰 반응형 보정 */
@media (min-width: 769px) {
    .signaturegift-hero-img-box img {
        height: calc(100vh - 80px); /* PC 상단 헤더 바 높이에 대응 */
    }
    .brand-title-en { font-size: 2.2rem; margin-bottom: 15px; }
    .signaturegift-hero-desc { font-size: 16px; }
}
/* BASIC css end */

