/* CSS 공통 부분 */
/* ================== HEADER ================== */
header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    transition: 0.3s ease;
}

header:hover {
    background: #F6F1E9;
}

/* 아이콘 변경 */
header:hover .icon.search img { content: url(../img/search2.png); }
header:hover .icon.user img   { content: url(../img/person2.png); }
header:hover .icon.cart img   { content: url(../img/shopping_cart3.png); }

header:hover nav ul li a {color: #333;}
header:hover #header_top .left a {color: #333;}

/* ================== TOP BANNER ================== */
#top_banner {
    position: relative;
    width: 100%;
    height: 44px;
    background: #333;
    overflow: hidden;
    z-index: 9999;
}

/* 트랙 */
.banner_track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 슬라이드 */
.banner_slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

/* 활성 */
.banner_slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* 다음 (아래에서 대기) */
.banner_slide.next {
    opacity: 1;
    transform: translateY(100%);
}

/* 이전 */
.banner_slide.prev {
    transform: translateY(-100%);
    opacity: 0;
}

/* 텍스트 */
.banner_slide p {
    color: #f5f5f5;
    font-size: 0.88rem;
    font-weight: 500;
}

.banner_slide a {
    color: #f5f5f5;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
}

/* 닫기 버튼 */
.banner_close {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #f5f5f5;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ================== HEADER TOP ================== */
#header_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 60px;
}

#header_top .left {
    display: flex;
    gap: 28px;
}

#header_top .left a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    position: relative;
}

#header_top .left a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #333;
    transition: 0.3s ease;
}

#header_top .left a:hover::after {
    width: 100%;
}

#header_top .right {
    display: flex;
    gap: 20px;
}

#header_top .right .icon img {
    transition: 0.3s ease;
}

#header_top .right .icon:hover img {
    transform: scale(1.05);
}

#header_top .logo img {
    height: 100%;
}

/* ================== NAV ================== */
.main_nav {
    position: relative;
}

.gnb {
    display: flex;
    justify-content: center;
    gap: 34px;
}

.gnb > li > a {
    font-size: 0.95rem;
    color: #fff;
    padding: 16px 0;
    display: block;
    transition: 0.2s;
    position: relative;
}

/* 밑줄 */
.gnb > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #333;
    transition: 0.3s ease;
}

/* hover */
.gnb > li:hover > a::after {
    width: 100%;
}

header:hover .gnb > li > a {
    color: #333;
}

/* ================== SUBMENU (핵심) ================== */
.menu {
    position: static;
}

/* 전체 펼쳐지는 메가메뉴 */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: 100%;
    background: #F6F1E9;
    padding: 50px 400px;
    display: flex;
    align-items: flex-start;
    /* gap: 50px; */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 90;
}

.submenu a {
    position: relative;
}

/* 밑줄 */
.submenu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #222;
    transition: 0.25s ease;
}

/* hover */
.submenu a:hover::after {
    width: 100%;
}

/* hover */
.menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ================== SUBMENU COLUMN ================== */
.submenu .col {
    min-width: 140px;
}

.submenu .col p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #222;
}

.submenu .col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submenu .col ul li a {
    font-size: 0.85rem;
    color: #555;
    transition: 0.2s;
}

.submenu .col ul li a:hover {
    color: #111;
}

/* ================== 단일 리스트 (기프트용) ================== */
.submenu > ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
}

.submenu > ul li a {
    font-size: 0.85rem;
    color: #555;
}

/* ================== 이미지 영역 ================== */
.submenu_img {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.submenu_img a {
    display: block;
}

.submenu_img img {
    width: 180px;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.5s ease;
}

.submenu_img a:hover img {
    transform: scale(1.05);
}

.submenu_img p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
}

/* ================== 구분선 ================== */
header:hover .submenu {
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* ================== 히어로 ================== */
#hero_section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
#hero_section::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
#hero_section video {
    position: absolute; top: 50%; left: 50%; width: 100%;
    transform:  translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}
#hero_section .hero_section_txt {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%); text-align: center;
    z-index: 2;
}
#hero_section .hero_section_txt .eng_title {color: #fff; font-size: 2.00rem; margin-bottom: 10px;}
#hero_section .hero_section_txt p {color: #f5f5f5; font-size: 1.38rem; margin-bottom: 22px;}
#hero_section .hero_section_txt .btn {
    color: #f5f5f5;
    display: inline-flex; align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}
#hero_section .hero_section_txt .btn img {
    transform: translateY(1px);
    transition: transform 0.3s ease;
}
#hero_section .hero_section_txt .btn:hover {text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);}
#hero_section .hero_section_txt .btn:hover img {transform: translateX(6px);}

/* ================== 검색 ================== */
#search_overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
    background: rgba(246, 241, 233, 0.85);
    display: flex; align-items: flex-start; justify-content: flex-end;
    padding: 60px 0 0 120px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}
/* 열렸을 때 */
#search_overlay.active {
    opacity: 1;
    visibility: visible;
}
#search_overlay .search_inner {
    /* background: #F6F1E9;
    width: 80%;
    max-width: 900px;
    padding: 40px;
    position: relative; */
    position: absolute; top: 0; right: 0;
    width: 420PX; height: 100%;
    background: #F6F1E9;
    padding: 60PX 40PX;
    transform: translateX(100%); transition: 0.4S ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}
#search_overlay.active .search_inner {transform: translateX(0);} /* 열림 = 보임 */
#search_overlay .search_inner .close_btn {
    position: absolute; top: 20px; right: 30px;
    font-size: 1.50rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
#search_overlay .search_inner .close_btn:hover {transform: rotate(90deg);}
#search_overlay .search_inner .close_btn img {}
#search_overlay .search_inner .search_box {
    display: flex; align-items: center;
    border-bottom: 2px solid #111;
    margin-bottom: 30px;
}
#search_overlay .search_inner .search_box input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.38rem;
    padding: 10px 0;
    outline: none;

}
#search_overlay .search_inner .search_box .search_icon {
    background: none;
    border: none;
    cursor: pointer;
}
#search_overlay .search_inner .search_keywords {margin-top: 20px;}
#search_overlay .search_inner .search_keywords p {font-size: 1.38rem; font-weight: 600; margin-bottom: 22px;}
#search_overlay .search_inner .search_keywords ul {}
#search_overlay .search_inner .search_keywords ul li {margin-bottom: 12px;}
#search_overlay .search_inner .search_keywords ul li a {font-size: 0.88rem; color: #666;}

/* ================== 푸터 ================== */
footer {
    background: #1A1A1A;
    padding: 40px 50px 40px;
}
footer .inner {}
footer .inner .footer_top {
    margin-bottom: 130px;
}
footer .inner .footer_top ul {
    display: flex; justify-content: space-between;
}
footer .inner .footer_top ul li {
    flex: 1;
    text-align: center;
}
footer .inner .footer_top ul li .eng_title {
    display: block;
    color: #EAE6DF;
    font-size: 1.13rem;
    margin-bottom: 12px;
}
footer .inner .footer_top ul li p {color: #999;}
footer .inner .footer_menu {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 80px;
}
footer .inner .footer_menu .footer_left {display: flex; gap: 80px;}
footer .inner .footer_menu .footer_left .footer_col {}
footer .inner .footer_menu .footer_left .footer_col .eng_title {
    font-size: 1.13rem;
    color: #EAE6DF;
    margin-bottom: 12px;
}
footer .inner .footer_menu .footer_left .footer_col ul {}
footer .inner .footer_menu .footer_left .footer_col ul li {margin-bottom: 10px;}
footer .inner .footer_menu .footer_left .footer_col ul li a {
    position: relative;
    font-size: 0.88rem;
    color: #999;
    transition: color 0.3s ease;
}
footer .inner .footer_menu .footer_left .footer_col ul li a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 1px;
    background: #EAE6DF;
    transition: width 0.3s ease;
}
footer .inner .footer_menu .footer_left .footer_col ul li a:hover {color: #EAE6DF;}
footer .inner .footer_menu .footer_left .footer_col ul li a:hover::after {width: 100%;}
footer .inner .footer_menu .footer_right {max-width: 200px;}
footer .inner .footer_menu .footer_right .footer_col .eng_title {
    font-size: 1.13rem;
    color: #EAE6DF;
    margin-bottom: 12px;
}
footer .inner .footer_menu .footer_right .follow {}
footer .inner .footer_menu .footer_right .follow .sns {
    display: flex;
    gap: 22px;
}
footer .inner .footer_menu .footer_right .follow .sns a {}
footer .inner .footer_menu .footer_right .follow .sns a img {opacity: 0.7; transition: 0.3s;}
footer .inner .footer_menu .footer_right .follow .sns a:hover img {opacity: 1; transform: translateY(-2px);}
footer .inner .footer_bottom {text-align: center;}
footer .inner .footer_bottom p {margin-bottom: 12px;}
footer .inner .footer_bottom p .eng_title {font-size: 1.13rem; color: #EAE6DF;}
footer .inner .footer_bottom .policy {
    display: flex; justify-content: center;
    gap: 10px;
}
footer .footer_bottom .policy li {}
footer .footer_bottom .policy li::after {
    content: "•";
    margin-left: 10px;
    color: #EAE6DF;
}
footer .footer_bottom .policy li:last-child::after {content: "";}
footer .footer_bottom .policy li a {
    font-size: 0.88rem;
    color: #EAE6DF;
    transition: 0.2s;
}
footer .footer_bottom .policy li a:hover {text-decoration: underline;}


/* ================== 공통 글꼴 ================== */
.eng_title {font-family: 'Prociono', serif; line-height: 1.4;}
footer .inner {
    max-width: 1200px;
    margin: 0 auto;
}