/* BASIC css start */
/* 무작위 효과 */
#particles-js {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
}

/* 메인 배너 */
.main_slide_wrap {
    position: relative;
    overflow: hidden;
}

.main_slide_listbox .main_slide_list a { 
    display: block; 
}

.main_slide_listbox .main_slide_list a img { 
    width: 100%;
}

/*scrollbar swiper*/
.main_slide_wrap .swiper-scrollbar{
    width: 200px !important;
    height: 3px !important;
    left: 50% !important;
    bottom: 20px !important;
    transform: translateX(-50%);
}

/*bullet pagination*/
.main_slide_wrap .swiper-pagination { 
    position: absolute; 
    bottom: 100px; 
    left: 0; 
    right: 0; 
    margin: auto; 
    text-align: center; 
    width: auto; 
}

.main_slide_wrap .swiper-pagination .swiper-pagination-bullet { 
    width: 7px; 
    height: 7px; 
    border-radius: 7px; 
    border: 1px solid #000; 
    background-color: transparent; 
}

.main_slide_wrap .swiper-pagination .swiper-pagination-bullet-active { 
    background-color: #000; 
}

/* 섹션 콘텐츠 */
.section { 
    padding-top:120px; 
    background-color: #fff; 
} 

.contents_wrap { 
    width: 1200px; 
    margin: auto; 
}

.contents_wrap .main_content_title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 30px;
    /* ✨ 추가: 섹션 타이틀 등장 애니메이션 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ✨ 추가: 타이틀 하단 밑줄 확장 효과 */
.contents_wrap .main_content_title::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background-color: #000;
    margin: 15px auto 0;
    transition: width 0.8s ease 0.3s;
}

.contents_wrap .main_content_title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contents_wrap .main_content_title.is-visible::after {
    width: 60px;
}

.contents_wrap .tab_btn_wrap .tab_btn_box { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px;
}

.contents_wrap .tab_btn_wrap .tab_btn_box .tab_btn_list { 
    padding: 8px 22px;
    font-size: 15px;
    color: #555;
    border: 1px solid #dbdbdb;
    transition: color .3s, background-color .3s, border-color .3s, transform 0.2s;
    cursor: pointer;
    /* ✨ 추가: 탭 버튼 눌림 효과용 */
    position: relative;
    overflow: hidden;
}

.contents_wrap .tab_btn_wrap .tab_btn_box .tab_btn_list:hover {
    color: #fff;
    border-color: #000;
    background-color: #000;
}

/* ✨ 추가: 탭 버튼 클릭 시 눌림 */
.contents_wrap .tab_btn_wrap .tab_btn_box .tab_btn_list:active {
    transform: scale(0.95);
}

.contents_wrap .tab_btn_wrap .tab_btn_box .tab_btn_list.active {
    color: #fff;
    border-color: #000;
    background-color: #000;
}

.contents_wrap .cont_item_wrap { 
    margin-top: 50px; 
}

.contents_wrap .cont_item_wrap .cont_item_box { 
    display: none; 
}

.contents_wrap .cont_item_wrap .cont_item_box:first-child { 
    display: block; 
}

.section2 .contents_wrap .cont_item_wrap .cont_item_box:first-child {
    display: none;
}

.section2 .contents_wrap .cont_item_wrap .cont_item_box:nth-child(4) {
    display: block;
}


.tab_btns {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.tab_btns .more_btn {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    background-color: #000;
    font-size: 14px;
    /* ✨ 추가: MORE 버튼 호버 효과 */
    transition: background-color 0.3s, gap 0.3s, letter-spacing 0.3s;
}

/* ✨ 추가: MORE 버튼 호버 시 화살표 밀림 */
.tab_btns .more_btn:hover {
    background-color: #333;
    gap: 20px;
    letter-spacing: 1px;
}

.tab_btns .more_btn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #fff;
    transform: rotate(45deg);
}

.cont_item_box .cont_item_listbox { 
    width: 100%; 
    display: flex; 
    justify-content: flex-start; 
    flex-wrap: wrap; 
}

.cont_item_box .cont_item_listbox .cont_item_list { 
    width: calc(25% - 30px); 
    margin-bottom: 30px; 
    margin-right: 40px; 
    box-sizing: border-box; 
    /* ✨ 추가: 스크롤 시 fade-up 등장 */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ✨ 추가: 순차 등장 딜레이 (4열 기준) */
.cont_item_box .cont_item_listbox .cont_item_list:nth-child(4n+1) { transition-delay: 0s; }
.cont_item_box .cont_item_listbox .cont_item_list:nth-child(4n+2) { transition-delay: 0.1s; }
.cont_item_box .cont_item_listbox .cont_item_list:nth-child(4n+3) { transition-delay: 0.2s; }
.cont_item_box .cont_item_listbox .cont_item_list:nth-child(4n+4) { transition-delay: 0.3s; }

/* ✨ 추가: 등장 완료 상태 */
.cont_item_box .cont_item_listbox .cont_item_list.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cont_item_box .cont_item_listbox .cont_item_list:nth-child(4n) { 
    margin-right: 0; 
}

.cont_item_box .cont_item_listbox .cont_item_list .cont_item_link { 
    display: block; 
}

/* 썸네일 영역 */
.cont_item_link .cont_item_thumb {
    position: relative;
    overflow: hidden;
}

/* ✨ 추가: 호버 시 프리미엄 Shine 효과 (골드빛 이중 광택) */
.cont_item_link .cont_item_thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 248, 230, 0.05) 28%,
        rgba(255, 215, 140, 0.08) 35%,
        rgba(255, 255, 255, 0.35) 48%,
        rgba(255, 245, 220, 0.2) 50%,
        rgba(255, 255, 255, 0.35) 52%,
        rgba(255, 215, 140, 0.08) 65%,
        rgba(255, 248, 230, 0.05) 72%,
        rgba(255, 255, 255, 0) 80%,
        transparent 80%,
        transparent 100%
    );
    z-index: 2;
    transition: left 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.cont_item_link:hover .cont_item_thumb::after {
    left: 150%;
}

/* 이미지 호버 시 부드럽게 확대 + 살짝 밝아짐 */
.cont_item_link .cont_item_thumb .cont_item_thumb_img { 
    width: 100%; 
    transition: transform 0.5s ease, filter 0.4s ease;
}

.cont_item_link:hover .cont_item_thumb .cont_item_thumb_img {
    transform: scale(1.09);
    filter: brightness(1.04);
}

/* ✨ 추가: 프리미엄 자동 반짝임 (골드빛 이중 광택 + 부드러운 글로우) */
@keyframes autoShine {
    0%, 85%, 100% { left: -120%; opacity: 0; }
    88% { opacity: 1; }
    95% { left: 150%; opacity: 1; }
    98% { opacity: 0; }
}

@keyframes autoShineSecond {
    0%, 88%, 100% { left: -120%; opacity: 0; }
    91% { opacity: 1; }
    97% { left: 150%; opacity: 1; }
    99% { opacity: 0; }
}

/* 첫 번째 광택 (메인 — 밝고 선명한 빛) */
.cont_item_box .cont_item_listbox .cont_item_list:first-child .cont_item_thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 25%,
        rgba(255, 255, 255, 0) 25%,
        rgba(255, 248, 235, 0.06) 33%,
        rgba(255, 220, 160, 0.1) 40%,
        rgba(255, 255, 255, 0.3) 49%,
        rgba(255, 245, 220, 0.15) 50%,
        rgba(255, 255, 255, 0.3) 51%,
        rgba(255, 220, 160, 0.1) 60%,
        rgba(255, 248, 235, 0.06) 67%,
        rgba(255, 255, 255, 0) 75%,
        transparent 75%,
        transparent 100%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    animation: autoShine 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    animation-delay: 2s;
}

.cont_item_link .cont_item_infobox {  
    margin-top: 10px; 
    /* ✨ 추가: 호버 시 정보 영역 살짝 위로 */
    transition: transform 0.3s ease;
}

/* ✨ 추가: 호버 시 상품 정보 살짝 올라감 */
.cont_item_link:hover .cont_item_infobox {
    transform: translateY(-3px);
}

.cont_item_link .cont_item_infobox .cont_item_name { 
    font-size: 15px; 
}

.cont_item_link .cont_item_infobox .cont_item_subname { 
    font-size: 13px; 
    font-weight:300; 
    padding-top: 10px; 
}

.cont_item_link .cont_item_infobox .cont_item_pricebox { 
    padding-top: 10px; 
}

.cont_item_link .cont_item_infobox .cont_item_pricebox span { 
    vertical-align:middle; 
}

.cont_item_link .cont_item_infobox .cont_item_pricebox .cont_item_price { 
    font-size: 17px; 
}

.cont_item_link .cont_item_infobox .cont_item_pricebox .cont_item_cancel { 
    font-size: 15px; 
    font-weight:300; 
    padding-left: 5px; 
    color:#717a7a; 
    text-decoration: line-through; 
}

.cont_item_link .cont_item_infobox .cont_item_iconbox { 
    margin-top: 10px;
}

.cont_item_link .cont_item_infobox .cont_item_iconbox .MK-product-icons { 
    width: 100%; 
    display: flex; 
    justify-content: flex-start; 
}

.cont_item_link .cont_item_infobox .cont_item_iconbox .MK-product-icons img { 
    width: 27%; 
    margin-right: 5px; 
}

/*메인 배너s*/
.banner_contents .banner_link {
    display: block;
    /* ✨ 추가: 배너 호버 효과용 */
    overflow: hidden;
}

.banner_contents .banner_link img {
    width: 100%;
    /* ✨ 추가: 배너 이미지 호버 줌 + 밝기 */
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* ✨ 추가: 배너 호버 시 살짝 줌 + 밝아짐 */
.banner_contents .banner_link:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/*중간 슬라이드 배너*/
.slide_banner_contents {
    position: relative;
    overflow: hidden;
}

.slide_banner .banner_link img {
    width: 100%;
}

.slide_banner_contents .swiper-pagination {
    display: none;
    width: max-content;
    bottom: auto;
    top: 20px;
    left: auto;
    right: 20px;
    padding: 7px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}
/* BASIC css end */

