/* BASIC css start */
/* 카카오톡 상담 버튼 */
.SMS_TopKakaoTalk {
    position: fixed;
    bottom: 110px;
    right: 5px;
    z-index: 101;
}

.SMS_1 {
    position: fixed;
    bottom: 155px;
    right: 5px;
    z-index: 101;
}

.SMS_Topmodule_01_1 .container_Box ul li .joinAnimation em .text {
    color: #000000 !important;
    font-family: lato;
}

.SMS_Topmodule_01_1 .container_Box ul li .joinAnimation {
    border: 1px solid #fee100 !important;
    width: 60px !important;
    height: 19px !important;
    top: -16px !important;
    border-radius: 20px !important;
    background-color: #fee100;
}

.SMS_Topmodule_01_1 .container_Box ul li .joinAnimation:before {
    border-color: #fee100 transparent !important;
}


/* 상단 공지 바 */
.leelin-notice-bar {
    position: relative;
    width: 100%;
    height: 35px;
    line-height: 35px;
    background: #93867d;
    text-align: center;
    overflow: hidden;
    z-index: 100;
}

.leelin-notice-bar a {
    display: block;
    width: 100%;
    height: 100%;
    color: #ffefda;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}


/* 모바일 상품 상세페이지에서만 기존 로고 표시 */
@media screen {
    body:has(#SMS_shopdetailInfo) .fixed_logo img {
        content: url("/design/leelin/onedesign2/images/logo_1021.png");
    }
}




/* =====================================
   햄버거 메뉴 하단 혜택 안내
===================================== */

#Basement .leelin-menu-benefits {
    display: block !important;
    width: auto !important;
    margin: 20px 10px 15px !important;
    padding: 0 !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* 각 혜택 행 */
#Basement .leelin-menu-benefit {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 69px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* 마지막 행의 아래쪽 선은 전체 영역에서 표시 */
#Basement .leelin-menu-benefit:last-child {
    border-bottom: 0 !important;
}

/* 아이콘 영역 */
#Basement .leelin-menu-benefit .benefit-icon {
    display: flex !important;
    flex: 0 0 54px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 아이콘 이미지 */
#Basement .leelin-menu-benefit .benefit-icon img {
    display: block !important;
    width: 48px !important;
    height: 46px !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* 문구 영역 */
#Basement .leelin-menu-benefit .benefit-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 제목 */
#Basement .leelin-menu-benefit .benefit-text strong {
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

/* 설명 */
#Basement .leelin-menu-benefit .benefit-text span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
}





/* ==========================================
   모바일 메인 헤더 - 통합 설정
   스크롤 전: 햄버거 + 검색 + 장바구니
   스크롤 후: 여백 없는 흰색 카테고리 메뉴
========================================== */

@media screen {

    /* 공통 헤더 장식 제거 */
    body:has(.SMS_main_gallery) #header-container,
    body:has(.SMS_main_gallery) #SMS_fixed_warp,
    body:has(.SMS_main_gallery) #SMS_fixed_warp .SMS_fixed_inner {
        border: 0 !important;
        box-shadow: none !important;
    }

    /* 스크롤 전 헤더 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) {
        background: transparent !important;
    }

    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .SMS_fixed_inner {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 50px !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    /* 스크롤 전: 햄버거 메뉴 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) #menu {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 15px !important;
        right: auto !important;
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        background: url('/design/leelin/onedesign2/images/leelin_top_icon_w_menu3.png') center / auto 20px no-repeat !important;
        z-index: 101 !important;
    }

    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) #menu::before {
        content: none !important;
    }

    /* 스크롤 전: 검색 아이콘 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .search_fixed_btn {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: 48px !important;
        left: auto !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        background: url('/design/leelin/onedesign2/images/leelin_top_icon_w_search2.png') center / auto 25px no-repeat !important;
        z-index: 101 !important;
    }

    /* 스크롤 전: 장바구니는 검색 오른쪽에 표시 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .cart_fixed_btn {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: 12px !important;
        left: auto !important;
        width: 25px !important;
        height: 28px !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        background: url('/design/leelin/onedesign2/images/leelin_top_icon_cart.png') center / auto 25px no-repeat !important;
        z-index: 102 !important;
    }

    /* 메인페이지에서는 상세페이지 전용 아이콘을 사용하지 않음 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp .detail-back,
    body:has(.SMS_main_gallery) #SMS_fixed_warp .detail-home,
    body:has(.SMS_main_gallery) #SMS_fixed_warp .detail-search,
    body:has(.SMS_main_gallery) #SMS_fixed_warp .detail-cart {
        display: none !important;
    }

    /* 스크롤 전에는 카테고리 메뉴가 공간을 차지하지 않음 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .SMS_main_gallery2 {
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
    }

    /* 스크롤 후: 헤더 전체를 화면 최상단에 고정 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
        z-index: 5000 !important;
        box-sizing: border-box !important;
    }

    /* 스크롤 후: 아이콘 영역과 검색창을 완전히 제거
       이 두 요소가 남으면 빈 공간이 생길 수 있음 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .SMS_fixed_inner,
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled #SMS_MainSearch {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* 스크롤 후: 가로 카테고리 메뉴만 표시 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .SMS_main_gallery2 {
        display: block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        overflow: hidden !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }

    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .SMS_main_gallery2 .swiper-wrapper,
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .SMS_main_gallery2 .swiper-slide {
        height: 36px !important;
        min-height: 36px !important;
    }

    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .SMS_main_gallery2 .swiper-slide a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 36px !important;
        line-height: 36px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        box-sizing: border-box !important;
    }

    /* 메인 상품 영역의 찜 아이콘은 헤더보다 위로 올라오지 않도록 */
    body:has(.SMS_main_gallery) .SMS_Product_display,
    body:has(.SMS_main_gallery) .SMS_Product_display2 {
        position: relative;
        z-index: 0;
    }

    /* 메인 배너 위의 MENU / JOIN / LOGIN 숨기기 */
    body:has(.SMS_main_gallery) .SMS_Topmodule_01_1 {
        display: none !important;
    }
}










/* ==========================================
   모바일 검색 화면
========================================== */

@media screen {

    /* 검색 화면 전체 */
#leelin-search-layer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    background: #fff;
    z-index: 20000;
    box-sizing: border-box;
}

    #leelin-search-layer.is-open {
        display: block;
    }

    /* 상단 뒤로가기 + 검색창 */
    .leelin-search-header {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 70px;
        padding: 0 20px;
        border-bottom: 1px solid #f3f3f3;
        box-sizing: border-box;
    }

    .leelin-search-back {
        position: relative;
        flex: 0 0 28px;
        width: 28px;
        height: 36px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .leelin-search-back span {
        position: absolute;
        top: 12px;
        left: 4px;
        width: 13px;
        height: 13px;
        border-left: 1.5px solid #555;
        border-bottom: 1.5px solid #555;
        transform: rotate(45deg);
    }

    .leelin-search-form {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        height: 42px;
        border-bottom: 1px solid #ddd;
    }

    .leelin-search-form input {
        flex: 1;
        width: 100%;
        min-width: 0;
        height: 40px;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #222;
        font-size: 14px;
        appearance: none;
        -webkit-appearance: none;
    }

    .leelin-search-form input::-webkit-search-cancel-button {
        -webkit-appearance: none;
    }

    .leelin-search-submit {
        flex: 0 0 28px;
        width: 28px;
        height: 36px;
        border: 0;
        background: transparent;
        position: relative;
    }

    .leelin-search-submit::before {
        content: "";
        position: absolute;
        width: 13px;
        height: 13px;
        border: 1.5px solid #555;
        border-radius: 50%;
        top: 8px;
        left: 5px;
    }

    .leelin-search-submit::after {
        content: "";
        position: absolute;
        width: 7px;
        height: 1.5px;
        background: #555;
        transform: rotate(45deg);
        top: 23px;
        left: 19px;
    }

    /* 인기 검색어 영역 */
    .leelin-popular-search {
        padding: 34px 22px 30px;
    }

    .leelin-popular-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 24px;
    }

    .leelin-popular-title strong {
        font-size: 17px;
        font-weight: 600;
        color: #333;
    }

    .leelin-popular-title span {
        font-size: 11px;
        color: #888;
    }

    .leelin-popular-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
        column-gap: 20px;
        row-gap: 17px;
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: popular;
    }

    .leelin-popular-list li {
        min-width: 0;
        counter-increment: popular;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        color: #333;
    }

    .leelin-popular-list li::before {
        content: counter(popular);
        flex: 0 0 14px;
        font-weight: 600;
        color: #111;
    }

    .leelin-popular-list a {
        display: block;
        overflow: hidden;
        color: #666;
        text-decoration: none;
        white-space: nowrap;
        text-overflow: ellipsis;
    }




/* 검색 화면이 열려 있어도 배경 페이지 스크롤 허용 */
html.leelin-search-active,
body.leelin-search-active {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}







/* 모바일 메인: 중앙 로고 */
@media screen {
    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .leelin-main-logo {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        width: 120px !important;
        max-width: 40% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
        z-index: 102 !important;
        line-height: 0 !important;
    }

    body:has(.SMS_main_gallery) #SMS_fixed_warp:not(.main-header-scrolled) .leelin-main-logo img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 30px !important;
        object-fit: contain !important;
    }

    /* 스크롤 후에는 중앙 로고 숨김 */
    body:has(.SMS_main_gallery) #SMS_fixed_warp.main-header-scrolled .leelin-main-logo {
        display: none !important;
    }
}








/* 햄버거 메뉴: 로그인 안내 영역 */
#Basement .logout_text {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 16px 20px 18px !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 안내 문구 */
#Basement .logout_text .text {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

#Basement .logout_text .text span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #333 !important;
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

/* 버튼 두 개 가로 정렬 */
#Basement .logout_text .r01,
#Basement .logout_text .r02 {
    display: inline-block !important;
    position: static !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* 공통 버튼 모양 */
#Basement .logout_text .r01 a,
#Basement .logout_text .r02 a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 105px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #b49a83 !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* LOGIN 버튼 */
#Basement .logout_text .r01 a {
    background: #b49a83 !important;
    color: #fff !important;
}

/* JOIN 버튼 */
#Basement .logout_text .r02 a {
    background: #fff !important;
    color: #b49a83 !important;
}

#Basement .logout_text .r01 b,
#Basement .logout_text .r02 b {
    font-weight: 600 !important;
}

/* 기존 검색창 제거 */
#Basement .SMS_Search_ham {
    display: none !important;
}






/* 로고와 회원가입 안내문 사이의 회색 선 제거 */
#Basement .logout_Module {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

#Basement .logout_text {
    border-top: 0 !important;
}

/* 로그인 버튼 아래 아이콘 메뉴 */
#Basement .logout_text .leelin-side-my {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start !important;
    flex: 0 0 calc(100% + 40px) !important;
    width: calc(100% + 40px) !important;
    margin: 18px -20px -18px !important;
    padding: 16px 4px 14px !important;
    background: #f6f6f6 !important;
    box-sizing: border-box !important;
}

/* 각 메뉴 */
#Basement .leelin-side-my-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #222 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 아이콘 */
#Basement .leelin-side-my-item .icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 0 5px !important;
}

#Basement .leelin-side-my-item .icon img {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
}

/* 메뉴 이름 */
#Basement .leelin-side-my-item .txt {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}



/* 장바구니 수량 */
#Basement .leelin-side-my-item .leelin-side-count {
    position: absolute !important;
    top: -2px !important;
    left: calc(50% + 6px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 3px !important;
    border-radius: 10px !important;
    background: #f00 !important;
    color: #fff !important;
    font-size: 9px !important;
    line-height: 15px !important;
    box-sizing: border-box !important;
}





/* 장바구니 수량 배지 */
#Basement .leelin-side-my-item .leelin-side-count {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 3px !important;
    border-radius: 10px !important;
    background: #f00 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 15px !important;
    box-sizing: border-box !important;
}




/* 햄버거 메뉴: 전체 화면 및 부드러운 슬라이드 효과 */
#Basement {
    position: fixed !important;
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
    z-index: 99999 !important;

    /* 닫힌 상태: 화면 왼쪽 밖. display:none은 사용하지 않아 전환 효과 유지 */
    display: block !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(-100%, 0, 0) !important;
    transition:
        transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
        visibility 0s linear 0.32s !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* 메뉴 열림 상태 */
#Basement.leelin-menu-open {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
    transition:
        transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
        visibility 0s linear 0s !important;
}

/* 내부 메뉴 너비 유지 */
#Basement #BasementContent,
#Basement .MenuAllCon {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* 상단 X 옆 장바구니·관심상품 제거: 아래 4개 아이콘은 유지 */
#Basement .logout_Module > .Cart_Icon,
#Basement .logout_Module > .wish_Icon {
    display: none !important;
}


/* =========================================
   햄버거 메뉴 CATEGORY / COMMUNITY 디자인
========================================= */

/* 기존 전체메뉴 / 최근본상품 탭 제거 */
#Basement .SMS_All_tapMenu {
    display: none !important;
}

/* 최근 본 상품 탭의 내용 제거 */
#Basement .SMS_All_tabmenu_content > .tab_box:nth-child(2) {
    display: none !important;
}

/* 전체 메뉴 영역 표시 */
#Basement .SMS_All_tabmenu_content > .tab_box:first-child {
    display: block !important;
}

/* 메뉴 좌우 여백 */
#Basement .SMS_All_tabmenu_content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

/* CATEGORY / COMMUNITY 바깥 제목 영역 */
#Basement .Cate_SubMenu {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 24px 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* 제목 두 개를 가로로 정렬 */
#Basement .Cate_SubMenu .subM_r {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* 제목 기본 스타일 */
#Basement .Cate_SubMenu .subM_r > div {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #b7b7b7 !important;
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    cursor: pointer;
    box-sizing: border-box !important;
}

/* 제목 텍스트 */
#Basement .Cate_SubMenu .subM_r > div span {
    display: inline-block !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* 선택된 제목 */
#Basement .Cate_SubMenu .subM_r > div.Sel_subMenu {
    color: #111 !important;
}

/* 아래쪽 꺾쇠는 장식으로 표시 */
#Basement .Cate_SubMenu .subM_r > div::after {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    margin: -4px 0 0 8px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    box-sizing: border-box !important;
}

/* 메뉴 목록: 한 줄씩 세로로 표시 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner {
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#Basement .SMS_All_tabmenu_content .tabSub_box_inner > .solo_menu {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-height: 47px !important;
    height: 47px !important;
    margin: 0 0 -1px !important;
    padding: 0 14px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 47px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 두 번째 메뉴 묶음도 한 줄씩 표시 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner .menu_margin {
    display: block !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 하위 메뉴 오른쪽 화살표 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner > .solo_menu > b {
    float: right !important;
}


/* 모든 카테고리를 동일한 1단 메뉴로 표시 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner > .solo_menu {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-height: 47px !important;
    height: 47px !important;
    margin: 0 0 -1px !important;
    padding: 0 14px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 47px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 기존 2단 메뉴 간격 설정 제거 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner .menu_margin {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 1. 애슬레저 메뉴 아래 마지막 밑줄 표시 */
#Basement .SMS_All_tabmenu_content > .tab_box:first-child
.tabSub_box .tabSub_box_inner:first-child > .solo_menu:last-child {
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 0 !important;
}

/* 2. 하단 로그인 / 고객센터 / PC 버전 영역 제거 */
#Basement .SMS_All_CopyRight {
    display: none !important;
}

/* LOGIN / JOIN 글씨 크기와 두께 조정 */
#Basement .logout_text .r01 a,
#Basement .logout_text .r02 a,
#Basement .logout_text .r01 b,
#Basement .logout_text .r02 b {
    font-family: Arial, "Noto Sans KR", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* 카테고리 목록 오른쪽 화살표 제거 */
#Basement .SMS_All_tabmenu_content .tabSub_box_inner .solo_menu > b {
    display: none !important;
}


/* =====================================
   햄버거 메뉴 하단 혜택 안내
===================================== */

#Basement .leelin-menu-benefits {
    display: block !important;
    width: auto !important;
    margin: 20px 10px 15px !important;
    padding: 0 !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* 각 혜택 행 */
#Basement .leelin-menu-benefit {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 69px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* 마지막 행의 아래쪽 선은 전체 영역에서 표시 */
#Basement .leelin-menu-benefit:last-child {
    border-bottom: 0 !important;
}

/* 아이콘 영역 */
#Basement .leelin-menu-benefit .benefit-icon {
    display: flex !important;
    flex: 0 0 54px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 아이콘 이미지 */
#Basement .leelin-menu-benefit .benefit-icon img {
    display: block !important;
    width: 48px !important;
    height: 46px !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* 문구 영역 */
#Basement .leelin-menu-benefit .benefit-text {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 제목 */
#Basement .leelin-menu-benefit .benefit-text strong {
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

/* 설명 */
#Basement .leelin-menu-benefit .benefit-text span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    word-break: keep-all !important;
}


/* 1. © All right reserved. 영역 제거 */
#Basement .AllsmartskinCopyRight {
    display: none !important;
}

/* 2. 혜택 영역의 위·아래 선을 카테고리 칸과 같은 길이로 확장 */
#Basement .leelin-menu-benefits {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. 혜택 아이콘과 문구 사이 여백 확대 */
#Basement .leelin-menu-benefit {
    gap: 24px !important;
}



/* 애슬레저와 혜택 영역 사이 여백 2.5배 확대 */
#Basement .leelin-menu-benefits {
    margin-top: 50px !important;
}



/* 혜택 영역 아이콘 크기 축소 */
#Basement .leelin-menu-benefit .benefit-icon img {
    width: 34px !important;
    height: 34px !important;
    max-width: 100% !important;
    object-fit: contain !important;
}





/* COMMUNITY 상품후기 아래 밑줄 */
#Basement .tabSub_box .tabSub_box_inner:nth-child(2) > .solo_menu:nth-child(4) {
    border-bottom: 1px solid #ddd !important;
    margin-bottom: 0 !important;
}



/* 햄버거 메뉴 아이콘 4개 간격 좁히기 */
#Basement .logout_text .leelin-side-my {
    padding-left: 28px !important;
    padding-right: 28px !important;
}



/* 햄버거 메뉴 전체 화면 높이 적용 */
#Basement {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;

    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: none !important;

    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    z-index: 99999 !important;
    -webkit-overflow-scrolling: touch;
}




/* 2단 카테고리 메뉴 모바일 가로 스와이프 보완 */
.mobile-category-chips {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
}

.mobile-category-row {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    min-width: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
    touch-action: pan-x !important;

    scrollbar-width: none !important;
}

.mobile-category-row::-webkit-scrollbar {
    display: none !important;
}

.mobile-category-row a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    touch-action: pan-x !important;
}



/* 햄버거 메뉴 내부 콘텐츠 높이 제한 해제 */
#Basement #BasementContent,
#Basement .MenuAllCon,
#Basement .SMS_All_tabmenu_content,
#Basement .tab_box,
#Basement .tabSub_box,
#Basement .tabSub_box_inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 햄버거 메뉴 전체 스크롤 */
#Basement {
    height: 100vh !important;
    height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain;
}

/* 무료배송 아래쪽 스크롤 여백 */
#Basement .leelin-menu-benefits {
    padding-bottom: 100px !important;
}


/* BASIC css end */

