/* BASIC css start */
/* ============================================================
   공통
============================================================ */
.main { overflow: hidden; }
.cont_wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 40px 80px;
    box-sizing: border-box;
}

/* 풀배경 전용 — 바깥은 full width, 안쪽은 기존 너비 유지 */
.cont_wrap_full {
    max-width: none;          /* full width로 확장 */
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    background: #fbfafa;
}

/* 풀배경 섹션 내부 콘텐츠 너비 제한 */
.cont_wrap_full .sec_head,
.cont_wrap_full .swiper-container,
.cont_wrap_full .story_grid,
.cont_wrap_full .tab_btn_wrap,
.cont_wrap_full .tab_content {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

/* 섹션 헤더 */
.sec_head {
    display: flex; align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sec_tit { font-size: 14px; font-weight: 400; color: #999; }
.sec_tit b {font-size: 22px;font-weight: 700;color: #111;margin-right: 8px;letter-spacing: -0.5px;}
.sec_tit span {font-size: 15px;color: #aaa;letter-spacing: -0.5px;}
.sec_more {
    font-size: 12px; color: #aaa;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1px;
    transition: color 0.2s;
}
.sec_more:hover { color: #333; border-color: #333; }

/* ============================================================
   공통 상품카드
============================================================ */
.item-list .thumb {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 7px;
    border: 1px #e1e1e17d solid;
}
.item-list .thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
    padding: 4%;
}
.item-list:hover .thumb img { transform: scale(1.04); }
.item-list .thumb .soldout {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.38);
    color: #fff; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: 1px;
}
.item-list .prd-info { padding: 10px 2px 0; }
.item-list .prd-brand a,
.item-list .prd-brand {
    font-size: 12px;
    color: #b76b6e;
    display: block;
    margin-bottom: 3px;
    text-decoration: none;
}
.item-list .prd-name a {
    font-size: 14px;
    color: #111;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 7px;
    text-decoration: none;
    font-weight: 500;
}
/* 가격 */
.item-list .prd-price .price {
    display: flex; align-items: center;
    gap: 5px; flex-wrap: wrap;
}
.item-list .prd-price .dc_per {
    font-size: 13px; font-weight: 700;
    color: #e03030;
}
.item-list .prd-price .consumer {
    font-size: 12px; color: #bbb;
    text-decoration: line-through;
}
.item-list .prd-price .normal {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}
.item-list .prd-price .replace {
    font-size: 14px; font-weight: 700; color: #e03030;
}


/* ============================================================
   1. 메인 배너 래퍼 (양옆 살짝 보임)
============================================================ */
.main_bnr_wrap {
    margin-bottom: 50px;
    overflow: hidden;
}

.main_bnr_wrap {width:100%;}

/* PC 배너 */
#main_bnr_swiper_pc {
    /* centeredSlides + slidesPerView 1.12 → 양옆 살짝 노출 */
    padding: 0 60px; /* 좌우 여백으로 양옆 슬라이드 노출 */
    box-sizing: border-box;
}
#main_bnr_swiper_pc .swiper-slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
#main_bnr_swiper_pc .swiper-slide a { display: block; }
#main_bnr_swiper_pc .swiper-slide a video,
#main_bnr_swiper_pc .swiper-slide a img {
    width: 100%;
    aspect-ratio: 1200 / 520;
    object-fit: cover;
    display: block;
}
#main_bnr_swiper_pc .swiper-slide a .txt_wrap {
    position: absolute; top: 17%; left: 8%;
}
#main_bnr_swiper_pc .swiper-slide a .txt_wrap img {
    width: auto; aspect-ratio: auto; object-fit: none;
}
#main_bnr_swiper_pc .swiper-slide a .txt_wrap p { color: #fff; }
#main_bnr_swiper_pc .swiper-slide a .txt_wrap .txt_01 {
    font-size: 1.1vw; font-weight: 600; margin-bottom: 14px;
    opacity: 0.85;
}
#main_bnr_swiper_pc .swiper-slide a .txt_wrap .txt_02 {
    font-size: 2.8vw; font-weight: 800; line-height: 1.2;
    margin-bottom: 12px;
}
#main_bnr_swiper_pc .swiper-slide a .txt_wrap .txt_03 {
    font-size: 1.1vw; font-weight: 500;
    opacity: 0.85;
}

/* PC 배너 내비 버튼 */
.main-prev, .main-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 44px; height: 44px;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    display: flex !important; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.main-prev:hover, .main-next:hover { background: rgba(0,0,0,0.7); }
.main-prev { left: 70px; }
.main-next { right: 70px; }
.main-prev::after, .main-next::after { display: none !important; }

/* PC 배너 페이지네이션 — 가로 바 스타일 */
.main-pagination {
    position: absolute !important;
    bottom: 18px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    display: flex !important;
    gap: 6px;
    z-index: 10;
}
.main-pagination .swiper-pagination-bullet {
    width: 28px; height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s;
}
.main-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 52px;
}



/* MO 배너 */
#main_bnr_swiper_mo { display: none; overflow: hidden; }
#main_bnr_swiper_mo .swiper-slide a { display: block; }
#main_bnr_swiper_mo .swiper-slide a video,
#main_bnr_swiper_mo .swiper-slide a img {
    width: 100%;
    display: block;
}
/* MO 페이지네이션 */
.mo-pagination {
    bottom: 12px !important;
    display: flex !important;
    justify-content: center;
    gap: 5px;
}
.mo-pagination .swiper-pagination-bullet {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    opacity: 1; margin: 0 !important;
    transition: all 0.3s;
}
.mo-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 3px;
    background: #fff;
}

#main_bnr_swiper_mo .swiper-slide a .txt_wrap {
    position: absolute;
    bottom: 17%;
    left: 8%;
}
#main_bnr_swiper_mo .swiper-slide a .txt_wrap img {
    width: 40%;
}
#main_bnr_swiper_mo .swiper-slide a .txt_wrap p { color: #fff; }
#main_bnr_swiper_mo .swiper-slide a .txt_wrap .txt_01 {
    font-size: 1.1vw; font-weight: 600; margin-bottom: 14px;
    opacity: 0.85;
}
#main_bnr_swiper_mo .swiper-slide a .txt_wrap .txt_02 {
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}
#main_bnr_swiper_mo .swiper-slide a .txt_wrap .txt_03 {
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0.85;
}


/* ============================================================
   2. 아이콘 메뉴
============================================================ */
.ico_wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 33px 0 100px;
    box-sizing: border-box;
}
.ico_wrap ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.ico_wrap ul li {
    /* width: calc(100% / 11); */
    text-align: center;
    padding: 0 13px;
    box-sizing: border-box;
}
.ico_wrap ul li a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.ico_img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ico_wrap ul li a:hover .ico_img {
    transform: translateY(-3px);
}
.ico_img img { width: 100%; height: 100%; object-fit: cover; }
.ico_wrap ul li a p {font-size: 13px;color: #444;}



/* ============================================================
   3. 신제품 스와이퍼
============================================================ */

#new_swiper {position: relative;}

/* prev/next — SVG 인라인 버튼 */
.new-prev, .new-next {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0;
    box-sizing: content-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.new-prev svg, .new-next svg { display: block; flex-shrink: 0; }
.new-prev { left: -18px; }
.new-next { right: -18px; }
.new-prev::after, .new-next::after { display: none !important; }


/* ============================================================
   4. 탭형 추천 아이템
============================================================ */
.tab_btn_wrap {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.tab_btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 20px;
    font-size: 14px; font-weight: 500;
    color: #555; background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px; cursor: pointer;
    transition: all 0.22s;
    line-height: 1;
}
.tab_ico { font-size: 16px; }
.tab_btn.active,
.tab_btn:hover {
    color: #fff; background: #111; border-color: #111;
}
.tab_content { display: none; }
.tab_content.active { display: block; }
.tab_prd_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
}


/* ============================================================
   5. 스토리 배너
============================================================ */
.story_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.story_item {
    position: relative; display: block;
    overflow: hidden; border-radius: 10px;
}
.story_item img { width: 100%; height: auto; display: block; transition: transform 0.35s; }
.story_item:hover img { transform: scale(1.03); }
.story_txt {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.story_sub { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.story_desc { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.story_btn {
    display: inline-block; padding: 7px 18px;
    font-size: 12px; color: #fff; letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 2px;
    transition: background 0.2s;
}
.story_item:hover .story_btn { background: rgba(255,255,255,0.15); }


/* ============================================================
   6. 혜택 배너
============================================================ */
.sec_benefit {padding-bottom: 80px;}
.benefit_bnr {
    display: flex;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ebfaf9;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.benefit_bnr img {width: auto;height: 120px;display: block;}
.benefit_txt {
    text-align: left;
    white-space: nowrap;
}
.benefit_sub {font-size: 13px;color: #888;/* margin-bottom: 8px; */}
.benefit_tit {font-size: 22px;font-weight: 700;color: #111;/* margin-bottom: 6px; */}
.benefit_desc { font-size: 15px; font-weight: 600; color: #555; }


/* ============================================================
   7. MD's PICK
============================================================ */
.sec_mdpick { }
.mdpick_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
    border-top: 2px solid #111;
    padding-top: 24px;
}
.mdpick_col_head {
    margin-bottom: 14px;
}
.mdpick_cate { font-size: 16px; font-weight: 700; color: #111; }
.mdpick_hero {
    margin-bottom: 16px;
    overflow: hidden; border-radius: 6px;
}
.mdpick_hero img { width: 100%; height: auto; display: block; transition: transform 0.3s; }
.mdpick_hero:hover img { transform: scale(1.03); }
.mdpick_prd_list { display: flex; flex-direction: column; gap: 16px; }
.mdpick_item {
    display: flex; gap: 14px; align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.mdpick_item:first-child { border-top: none; padding-top: 0; }
.mdpick_thumb { flex: 0 0 125px; position: relative; overflow: hidden; border-radius: 4px; }
.mdpick_thumb img {width: 120px;height: 120px;object-fit: cover;display: block;border: 1px #e9e9e9 solid;border-radius: 5px;}
.mdpick_thumb .soldout {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.38); color: #fff; font-size: 10px;
    display: flex; align-items: center; justify-content: center;
}
.mdpick_info { flex: 1; min-width: 0; }
.mdpick_info .prd-brand,
.mdpick_info .prd-brand a { font-size: 11px; color: #aaa; display: block; margin-bottom: 3px; }
.mdpick_info .prd-name a {
    font-size: 13px; color: #111; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 6px; text-decoration: none;
}
.mdpick_info .prd-price .price {
    display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.mdpick_info .prd-price .dc_per { font-size: 12px; font-weight: 700; color: #e03030; }
.mdpick_info .prd-price .consumer { font-size: 11px; color: #bbb; text-decoration: line-through; }
.mdpick_info .prd-price .normal { font-size: 13px; font-weight: 700; color: #111; }
.mdpick_info .prd-price .replace { font-size: 13px; font-weight: 700; color: #e03030; }


/* ============================================================
   8. 쇼핑라이브 스와이퍼
============================================================ */
.sec_live { padding-bottom: 100px; }
#live_swiper { position: relative; padding-bottom: 36px; }
.live_item { box-sizing: border-box; }
.live_video {
    position: relative; width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #111;
    border-radius: 8px;
}
.live_video iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}
.live_title {
    padding: 10px 2px 0;
    font-size: 13px; color: #333; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}

/* live prev/next */
.live-prev, .live-next {
    position: absolute; top: 38%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px; height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex !important; align-items: center; justify-content: center;
    cursor: pointer; transition: box-shadow 0.2s;
}
.live-prev:hover, .live-next:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.live-prev { left: -16px; }
.live-next { right: -16px; }
.live-prev::after, .live-next::after { display: none !important; }

/* live 페이지네이션 — 얇은 가로 바 */
.live-pagination {
    bottom: 4px !important;
    display: flex !important;
    justify-content: center;
    gap: 4px;
}
.live-pagination .swiper-pagination-bullet {
    width: 16px; height: 3px;
    border-radius: 2px;
    background: #ccc;
    opacity: 1; margin: 0 !important;
    transition: all 0.3s;
}
.live-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: #111;
}


/* ============================================================
   태블릿 (768 ~ 1024px)
============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .cont_wrap { padding: 30px 24px 60px; }
    .ico_wrap { padding: 20px 24px 40px; }
    .cate_nav_wrap { padding: 8px 24px 18px; margin-bottom: 36px; }
    #main_bnr_swiper_pc { padding: 0 30px; }
    .main-prev { left: 36px; }
    .main-next { right: 36px; }
    .tab_prd_grid { grid-template-columns: repeat(4, 1fr); gap: 20px 14px; }
    .mdpick_grid { gap: 0 16px; }
    .mdpick_thumb img { width: 80px; height: 80px; }
    .mdpick_thumb { flex: 0 0 80px; }
    .ico_wrap ul li { width: calc(100% / 6); }
}


/* ============================================================
   모바일 (~767px)
============================================================ */
@media (max-width: 767px) {
    /* 배너 전환 */
    #main_bnr_swiper_pc { display: none !important; }
    #main_bnr_swiper_mo { display: block; }

    .cont_wrap { padding: 20px 16px 48px; }

    /* 헤더 */
    .sec_head { margin-bottom: 14px; }
    .sec_tit b { font-size: 16px; }
    .sec_tit span { font-size: 11px; }

    /* 아이콘 */
    .ico_wrap {padding: 20px 16px 40px;}
    .ico_wrap ul { justify-content: flex-start; }
    .ico_wrap ul li {width: calc(100% / 4);padding: 6px 3px;}
    .ico_img {width: 70px;height: 70px;}
    .ico_wrap ul li a p { font-size: 10px; }

    /* 카테고리 네비 */
    .cate_nav_wrap {
        padding: 8px 16px 14px;
        margin-bottom: 32px;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
    }
    .cate_nav_wrap ul { flex-wrap: nowrap; justify-content: flex-start; }
    .cate_nav_wrap ul li a { padding: 5px 10px; font-size: 12px; white-space: nowrap; }

    /* 탭 그리드 */
    .tab_prd_grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
    .tab_btn { padding: 7px 14px; font-size: 13px; }

    /* 스토리 */
    .story_grid {grid-template-columns: 1fr;gap: 10px;padding: 0 10px !important;}
    .story_sub { font-size: 16px; }

    /* 혜택 */
    .benefit_bnr {gap:10px;}
    .benefit_bnr img {height: 100px;}
    .benefit_txt {white-space: normal;}
    .benefit_tit { font-size: 16px; }
    .benefit_desc { font-size: 13px; }

    /* MD's PICK */
    .mdpick_grid {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 2px solid #111;
    }
    .mdpick_col {
        padding-top: 20px;
        padding-bottom: 24px;
        border-bottom: 1px solid #eee;
    }
    .mdpick_col:last-child { border-bottom: none; }

    /* 신제품/라이브 버튼 숨김 */
    .new-prev, .new-next,
    .live-prev, .live-next { display: none !important; }
}


/* BASIC css end */

