/* css 메인 부분 */
/* ================== 카테고리 ================== */
.category {width: 100%;}
.category .category_swiper {}
/* ================== 슬라이드 기본 ================== */
.category .category_swiper .swiper-wrapper {display: flex; gap: 0 !important;}
.category .category_swiper .swiper-wrapper .swiper-slide {
    position: relative;
    width: 25% !important;
    height: 839px;
    overflow: hidden;
    margin-right: 0 !important;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.category .category_swiper .swiper-wrapper .swiper-slide a {
    display: block;
    width: 100%; height: 100%;
    position: relative;
    z-index: 2;
}
.category .category_swiper .swiper-wrapper .swiper-slide a .category_txt {
    position: absolute;
    left: 48px; bottom: 70px;
    transition: 0.4s ease;
}
.category .category_swiper .swiper-wrapper .swiper-slide a .category_txt .eng_title {
    font-size: 1.75rem;
    color: #fff;
    padding-bottom: 14px;
}
.category .category_swiper .swiper-wrapper .swiper-slide a .category_txt p {
    font-size: 1.38rem;
    color: #ddd;
}
/* ================== 배경 이미지 ================== */
.category .category_swiper .swiper-wrapper .skincare::before {
    background-image: url(../img/product/category_section1.jpg);
}
.category .category_swiper .swiper-wrapper .body::before {
    background-image: url(../img/product/category_section2.jpg);
}
.category .category_swiper .swiper-wrapper .hair::before {
    background-image: url(../img/product/category_section3.jpg);
}
.category .category_swiper .swiper-wrapper .fragrance::before {
    background-image: url(../img/product/category_section4.jpg);
}

/* ================== 호버 효과 ================== */
.category .category_swiper .swiper-wrapper .swiper-slide:hover::before {transform: scale(1.04);}
.category .category_swiper .swiper-wrapper .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.4s ease;
    z-index: 1;
}
.category .category_swiper .swiper-wrapper .swiper-slide:hover::after {background: rgba(0, 0, 0, 0.32);}
.category .category_swiper .swiper-wrapper .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

/* ================== Curated ================== */
.curated {
    width: 100%;
    padding: 100px 0;
    background: #F6F1E9;
}

/* ===== 상단 ===== */
.curated .curated_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 50px;
    margin-bottom: 60px;
}

.curated .curated_top .eng_title {
    font-size: 2rem;
    color: #333;
}

/* ===== 탭 ===== */
.curated .category_tab {
    display: flex;
    gap: 32px;
}

.curated .category_tab li {
    font-size: 1.1rem;
    color: #999;
    cursor: pointer;
    position: relative;
}

.curated .category_tab li.active {
    color: #555;
}

.curated .category_tab li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #555;
    transition: 0.3s;
}

.curated .category_tab li.active::after {
    width: 100%;
}

/* ===== swiper ===== */
.curated .curated_swiper {
    display: none;
    padding: 0 50px 80px;
    opacity: 0;
    transform: translateY(10px);
}

.curated .curated_swiper.active {
    display: block;
    animation: curatedFade 0.5s ease forwards;
}

/* 애니메이션 */
@keyframes curatedFade {
    from {
    opacity: 0;
    transform: translateY(12px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/* ===== 슬라이드 ===== */
.curated .swiper-slide {
    height: auto !important;
}

/* ===== 이미지 카드 (핵심) ===== */
.banner_item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* 기본 이미지 */
.banner_item .img_default {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* hover 이미지 */
.banner_item .img_hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* hover 효과 */
.banner_item:hover .img_default {
    transform: scale(1.04);
}

.banner_item:hover .img_hover {
    opacity: 1;
}

/* 어두운 오버레이 */
.banner_item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1);
    opacity: 0;
}

.banner_item:hover::after {
    opacity: 1;
}

/* 텍스트 */
.banner_txt {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 10px);
    text-align: center;
    opacity: 0;
    transition: 0.4s;
    z-index: 2;
    transition: all 0.5s ease;
}

.banner_item:hover .banner_txt {
    opacity: 1;
    transform: translate(-50%, 0);
}

.banner_txt p {
    color: #fff;
    margin-bottom: 14px;
}

.banner_txt .more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.85rem;
}

/* ===== 텍스트 ===== */
.curated .eng_title {
    margin: 12px 0 4px;
    font-size: 1rem;
    color: #333;
}

.price {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.product_desc {
    font-size: 0.75rem;
    color: #666;
}

/* ===== scrollbar ===== */
.curated .swiper-scrollbar {
    position: relative !important;
    width: 360px !important;
    margin: 60px auto 0;
    left: auto !important;
    transform: none !important;
    height: 1px;
    background: #ddd;
}

.curated .swiper-scrollbar-drag {
    background: #111;
}

/* ===== 버튼 ===== */
.swiper-button-prev,
.swiper-button-next {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
    background-repeat: 50%;
    opacity: 0;
    transition: 0.3s;
}

.curated_swiper:hover .swiper-button-prev,
.curated_swiper:hover .swiper-button-next {
    opacity: 1;
}

.swiper-button-prev {left: 10px;}
.swiper-button-next {right: 10px;}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #333;
    font-size: 18px;
}

.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
}

/* .swiper-button-prev .swiper-notification,
.swiper-button-next .swiper-notification {color: #333; width: 30px; height: 30px;} */

/* ================== 브랜드 소개 ================== */
.philosophy {
    width: 100%;
    padding: 100px 0 0 80px;
    background: #EDE6DC;
    display: flex;
    justify-content: space-between; align-items: flex-start;
    gap: 80px;
}
.philosophy .txt {}
.philosophy .txt .sub_title {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 5px;
}
.philosophy .txt .eng_title {
    font-size: 1.50rem;
    color: #333;
    margin-bottom: 12px;
}
.philosophy .txt .desc {
    font-size: 1.13rem;
    color: #666;
    margin-bottom: 42px;
}
.philosophy .txt .more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: 0.3s;
}
.philosophy .txt .more img {
    width: 18px;
    transition: transform 0.3s ease;
}
.philosophy .txt .more:hover img {transform: translateX(6px);}
.philosophy .img_box {width: 50%;}
.philosophy .img_box img {
    width: 100%; 
    display: block; 
    object-fit: cover;
}

/* ================== Recommended ================== */
.recommend {
    width: 100%;
    padding: 120px 0 0;
    background: #F6F1E9;
}

/* 상단 */
.recommend .recommend_top {
    position: relative;
    text-align: center;
    margin-bottom: 42px;
}

/* 제목 가운데 */
.recommend .recommend_top .title_wrap {
    display: inline-block;
}

.recommend .recommend_top h2 {
    color: #333;
    font-size: 2.00rem;
}

.recommend .title_wrap p {
    color: #666;
    margin-top: 12px;
}

.recommend .view_all {
    position: absolute;
    right: 50px; top: 40%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
}
.recommend .view_all:hover {color: #333;}

.recommend .view_all img {
    width: 18px;
    transition: 0.3s;
}

.recommend .view_all:hover img {
    transform: translateX(6px);
}

/* ================== 탭 ================== */
.recommend_tab_wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 54px;
}

.recommend_tab {
    display: flex;
    gap: 36px;
    margin-bottom: 2px;
    position: relative;
}

.recommend_tab li {
    color: #999;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    transition: 0.3s;
}

.recommend_tab li.active {
    color: #333;
}

.recommend_tab li.active::after {
    width: 100%;
}

/* 움직이는 바 */
.tab_indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: #333;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ================== 상품 리스트 ================== */
.recommend_list {
    display: none;
    padding: 0 50px;
}

.recommend_list.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(8px);}
    to {opacity: 1; transform: translateY(0);}
}

/* 그리드 */
.product_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-bottom: 54px;
}

/* ================== 상품 카드 ================== */
.product_item a {
    display: block;
}

/* 이미지 */
.product_item img {
    width: 100%;
    display: block;
    margin-bottom: 14px;
    transition: transform 0.6s ease;
}

.product_item:hover img {
    transform: scale(1.03);
}

/* 텍스트 */
.product_name {
    font-size: 1.19rem;
    color: #333;
    margin-bottom: 8px;
}

.product_price {
    font-size: 1.06rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.product_desc {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 16px;
}

/* 평점 */
.product_rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #666;
}

.product_rating .star {
    color: #555;
}

.product_rating .rating_score {
    color: #666;
}
.product_rating .review_text {
    font-size: 0.75rem;
    margin-left: 6px;
    color: #666;
}

/* ================== 이벤트 섹션 ================== */
.recommend_event {
    margin-top: 100px;
    position: relative;
    background: #E9E0CC;
}

.event_item {
    display: none;
    align-items: stretch;
    min-height: 420px;
    gap: 60px;
}

.event_item.active {
    display: flex;
    animation: fadeIn 0.8s ease;
}

/* 이미지 */
.event_item img {
    width: 60%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 텍스트 */
.event_item .txt {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 22px;
}

.event_item .txt .sub {
    font-size: 0.88rem;
    font-weight: 500;
    color: #999;
    margin-bottom: 10px;
}

.event_item .txt h3 {
    font-size: 2.63rem;
    color: #333;
    margin-bottom: 10px;
}

.event_item .txt .event_desc {
    color: #666;
    margin-bottom: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

/* 버튼 */
.event_item .more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 600;
    margin-top: 45px;
}

.event_item .more img {
    width: 18px;
    transition: 0.3s;
    }

.event_item .more:hover img {
    transform: translateX(6px);
}

/* ================== Brand Philosophy ================== */
.brand_philosophy {
    padding: 120px 0;
    background: #EDE6DC;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== 헤더 ===== */
.brand_philosophy_header {
    text-align: center;
    margin-bottom: 90px;
}

.brand_philosophy_header h2 {
    font-size: 2.00rem;
    color: #333;
    margin-bottom: 12px;
}

.brand_philosophy_header .sub_title {
    font-size: 1.13rem;
    color: #666;
}

/* ===== 리스트 ===== */
.brand_philosophy_list {
    display: flex;
    justify-content: center;
    gap: 140px;
    width: 100%;
    max-width: 900px;
}

/* ===== 아이템 ===== */
.brand_philosophy_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition:  transform 0.4s ease;
}
.brand_philosophy_item:hover {
    transform: translateY(-6px);
}

/* 아이콘 */
.brand_philosophy_item .icon {
    margin-bottom: 20px;
}

.brand_philosophy_item .icon img {
    width: 60px;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* 제목 */
.brand_philosophy_item .title {
    font-size: 1.38rem;
    color: #333;
    margin-bottom: 10px;
}

/* 설명 */
.brand_philosophy_item .desc {
    color: #666;
}