@charset "utf-8";

/* 공통 */
*,
body,
th,
td,
input,
select,
textarea,
button {
    font-family: 'Pretendard';
}

*:focus {
    outline: none;
}

:root {
    --mainBlack: #000000;
    --gray01: #3E3E3E;
    --gray02: #8E8E8E;
    --gray03: #999;
    --lightGray01: #E7E7E7;
    --lightGray02: #F7F7F7;
    --white: #fff;
}


.maruburi {
    font-family: 'Maru Buri', serif !important;
    -webkit-font-smoothing: antialiased !important;
}

.cormorant {
    font-family: 'Cormorant Infant', serif !important;
    -webkit-font-smoothing: antialiased !important;
}


/*------------------------------------------------------
    layout
------------------------------------------------------*/
#wrap {
    overflow: hidden;
}

#layerDim {
    background: rgba(0, 0, 0, 0.5);
}

.w_custom {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.sub_top {
    border: 0;
    border-bottom: 1px solid var(--lightGray01);
}

.sub_top .sub_top_left {
    width: 24px;
    height: 24px;
    padding: 0;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.sub_top .sub_top_left a {
    background: url('../img/icon/icon_mid_arrow.svg') no-repeat center;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.sub_top h2 {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    padding: 13px 0;
}

.sub_top h2 a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}


/*------------------------------------------------------
    header
------------------------------------------------------*/
#header_wrap {}

#header_wrap header {
    position: fixed;
    z-index: 100;
}

#header_wrap header .header_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--lightGray01);
}

#header_wrap header .header_box .h_logo {
    height: 36px;
    width: auto;
    padding: 0;
    margin: 0;
}

#header_wrap header .header_box .h_logo a {}

#header_wrap header .header_box .h_logo img,
#header_wrap header .header_box .h_logo a img {
    width: auto;
    height: 100%;
}

#header_wrap header .header_box .right_menu {
    position: static;
    display: flex;
    gap: 10px;
}

#header_wrap header .header_box .right_menu li {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-block;
}

#header_wrap header .header_box .right_menu li button,
#header_wrap header .header_box .right_menu li a {
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
    font-size: 0;
}

#header_wrap header .header_box .right_menu li .top_search {
    background: url('../img/icon/icon_hd_search.svg') no-repeat center;
    background-size: 28px auto;
}

#header_wrap header .header_box .right_menu li .mypage {
    background: url('../img/icon/icon_hd_my.svg') no-repeat center;
    background-size: 28px auto;
}

#header_wrap header .header_box .right_menu li .cart {
    background: url('../img/icon/icon_hd_cart.svg') no-repeat center;
    background-size: 28px auto;
}

#header_wrap header .header_box .right_menu li .cart .cart_count {
    font-size: 10px;
    line-height: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: var(--mainBlack);
    padding: 0;
    text-align: center;
    position: absolute;
    top: 0;
    right: -4px;
}

#header_wrap header .header_box .right_menu li .side_menu {
    background: url('../img/icon/icon_hd_cate.svg') no-repeat center;
    background-size: 28px auto;
}

/* 전체 카테고리 */
#wrap nav .bg {
    background: none;
}

#wrap nav .nav_top_box {
    background: #a37764;
}

#wrap nav .nav_top_box .nav_top {
    padding: 15px 15px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#wrap nav .nav_top_box .nav_top .left_close {
    position: static;
    width: 28px;
    height: 28px;
    background: url('../img/icon/icon_allcate_x.svg') no-repeat center;
    background-size: 18px auto;
}

#wrap nav .nav_top_box .nav_top .cate_logo {
    height: 36px;
}

#wrap nav .nav_top_box .nav_top .cate_logo a {
    display: block;
    font-size: 0;
}

#wrap nav .nav_top_box .nav_top .cate_logo a img,
#wrap nav .nav_top_box .nav_top .cate_logo img {
    width: auto;
    height: 36px;
}

#wrap nav .nav_top_box .nav_login {
    padding: 30px 0;
}

#wrap nav .nav_top_box .nav_login ul {
    font-size: 0;
}

#wrap nav .nav_top_box .nav_login ul li {
    display: inline-block;
    position: relative;
    width: 33.333%;
}

#wrap nav .nav_top_box .nav_login ul li+li:before {
    content: '';
    position: absolute;
    display: block;
    width: 1px;
    height: 12px;
    background: var(--white);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#wrap nav .nav_top_box .nav_login ul li a {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: var(--white);
    display: block;
    text-align: center;
}

#wrap nav .nav_bg_box .nav_box {
    left: auto;
    right: 0;
    margin: 0 -100% 0 0;
    width: 100%;
}

#wrap nav .nav_bg_box .nav_box .nav_iscroll_box {
    height: calc(100vh - 186px);
    height: calc(100dvh - 186px);
    max-height: calc(100dvh - 186px);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y !important;
}

#wrap nav .nav_bg_box .nav_box .nav_content_box {
    transform: none !important;
    transition-duration: 0s !important;
}

#wrap nav .nav_bg_box .nav_box .category_side {
    width: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
    height: auto;
    min-height: 100%;
    overflow: visible !important;
}

#wrap nav .nav_bg_box .nav_box .category_side>li {
    padding: 0;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>a {
    padding: 21px 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 300;
    color: #74584C;
}

#wrap nav .nav_bg_box .nav_box .category_side>li ul {
    border: 0;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>ul {
    padding: 7.5px 15px;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>ul>li>a {
    font-size: 15px;
    line-height: 1;
    font-weight: 300;
    color: #74584C;
    padding: 7.5px 0;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>ul>li:hover>a,
#wrap nav .nav_bg_box .nav_box .category_side>li>ul>li>a.active {
    color: #A37764 !important;
    font-weight: 400 !important;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>ul>li>ul {
    padding: 7.5px 15px;
}

#wrap nav .nav_bg_box .nav_box .category_side>li>ul>li>ul>li>a {
    padding: 7.5px 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: var(--gray02);
}

#wrap nav .nav_bg_box .nav_box .category_side li a span.icon_plus {
    background: url('../img/icon/icon_left_arrow.svg') no-repeat center;
    background-size: 12px auto;
}

#wrap nav .nav_bg_box .nav_box .category_side li a.on span.icon_plus {
    background: url('../img/icon/icon_left_arrow_on.svg') no-repeat center;
    background-size: 12px auto;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom {
    position: absolute;
    width: 100%;
    height: 60px;
    bottom: 0;
    border-top: 1px solid var(--lightGray01);
    background: var(--white);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom .ft_sns {
    display: flex;
    align-items: center;
    gap: 20px;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom .ft_sns li {
    width: 20px;
    height: 20px;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom .ft_sns li a {
    display: block;
    width: 100%;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom .ft_sns li a img {
    width: 100%;
}

#wrap nav .nav_bg_box .nav_box .nav_bottom .ft_family {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    color: var(--gray01);
}

/* 검색 레이어 팝업 */
.ly_srch {
    margin: 0 -100% 0 0;
    display: block;
    left: auto;
    right: 0;
    transition: all 0.5s;
    visibility: hidden;
}

.ly_srch.ly_show {
    margin: 0;
    display: block;
    visibility: visible;
}

.ly_srch .ly_wrap {
    -webkit-transition: unset;
    -moz-transition: unset;
    transition: unset;
    opacity: 1;
}

.ly_show~.ly_overlay {
    display: none;
}

._header_search {}

._header_search .header_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    position: relative;
}

._header_search .header_box .h_logo {
    height: 36px;
    width: auto;
}

._header_search .header_box .h_logo a {
    display: block;
    height: 100%;
}

._header_search .header_box .h_logo a img,
._header_search .header_box .h_logo img {
    height: 100%;
}

._header_search .header_box .title {
    position: absolute;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    font-family: 'Marcellus';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

._header_search .header_box .h_search_close_btn {
    position: static;
    width: 28px;
    height: 28px;
    border: 0;
    padding: 0;
    background: url('../img/icon/icon_search_x.svg') no-repeat center;
    background-size: 18px auto;
    font-size: 0;
}

._header_search .layer_search_box {
    padding: 20px 15px 0;
    background: var(--white);
}

._header_search .layer_search_box .keyword_box {
    position: relative;
}

._header_search .layer_search_box .keyword_box input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 68px 0 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 48px;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    border: 0;
    border-bottom: 1px solid var(--mainBlack);
}

._header_search .layer_search_box .keyword_box .h_search_btn {
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('../img/icon/icon_hd_search.svg') no-repeat center;
    background-size: 100% auto;
    border: 0;
    font-size: 0;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

._header_search .layer_search_box .search_hit_box {
    margin-top: 20px;
}

._header_search .layer_search_box .search_hit_box .search_hit_list {
    font-size: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

._header_search .layer_search_box .search_hit_box .search_hit_list li {}

._header_search .layer_search_box .search_hit_box .search_hit_list li a {
    display: block;
    font-size: 13px;
    line-height: 1;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    padding: 8px 15px;
    box-sizing: border-box;
    border-radius: 29px;
    border: 1px solid var(--mainBlack);
}

._header_search .tit {
    margin-bottom: 20px;
}

._header_search .tit h3 {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    color: var(--mainBlack);
    letter-spacing: -0.01em;
}

._header_search .layer_search_content {
    padding: 40px 15px 0;
    height: auto !important;
    overflow: visible;
}

._header_search .layer_search_content .search_bx_area {
    background: var(--white);
    border: 0;
}

._header_search .layer_search_content .search_bx_area .latest_search_list {}

._header_search .layer_search_content .search_bx_area .latest_search_list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._header_search .layer_search_content .search_bx_area .latest_search_list li+li {
    margin-top: 15px;
}

._header_search .layer_search_content .search_bx_area .latest_search_list li .link {
    width: calc();
}

._header_search .layer_search_content .search_bx_area .latest_search_list li .link a {
    display: block;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
}

._header_search .layer_search_content .search_bx_area .latest_search_list li .date {
    width: 102px;
    text-align: right;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
}

._header_search .layer_search_content .search_bx_area .latest_search_list li .date button {
    display: inline-block;
    background: url('../img/icon/icon_search_recent_x.svg') no-repeat center;
    background-size: 100% auto;
    padding: 0;
    border: 0;
    font-size: 0;
    width: 12px;
    height: 12px;
}

._header_search .layer_search_content .search_bx_area .latest_search_list li.no-date a {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: var(--gray01);
    letter-spacing: -0.02em;
}

._header_search .layer_search_content .search_bx_area .recom_box {
    padding-top: 40px;
}

._header_search .layer_search_content .search_bx_area .recom_box .recom_list {
    position: static;
}

.goods_prd_item_s {
    position: static;
}

/*------------------------------------------------------
    footer
 ------------------------------------------------------*/
#footer {
    background: #1A1A1A;
    margin: 0;
    padding: 0;
}

#footer .footer_top {
    display: flex;
    align-items: center;
    padding: 28px 20px 22px;
    border-bottom: 1px solid #3A3A3A;
}

#footer .footer_top .ft_list li {
    display: inline-block;
}

#footer .footer_top .ft_list li+li {
    margin-left: 45px;
}

#footer .footer_top .ft_list li a {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.02em;
}

#footer .footer_cont {
    padding: 22px 20px 33px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#footer .footer_cont .ft_logo {
    height: 32px;
}

#footer .footer_cont .ft_logo img {
    height: 100%;
    width: auto;
}

#footer .footer_cont .ft_info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#footer .footer_cont .ft_info address {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    color: #CDCDCD;
    letter-spacing: -0.02em;
    font-style: normal;
    vertical-align: middle;
}

#footer .ft_info address .bar {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #696969;
    margin: 0 10px;
}

#footer .footer_cont .ft_info .copyright {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
    color: #CDCDCD;
}

/*------------------------------------------------------
    플로팅 버튼
 ------------------------------------------------------*/

.floating_menu {
    position: fixed;
    bottom: 16px;
    right: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 플로팅 퀵메뉴 공통 */
.floating_menu {
    position: fixed;
    bottom: 40px;
    /* 요청하신 위치 */
    right: 40px;
    /* 요청하신 위치 */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* 오른쪽 정렬 */
    gap: 6px;
}

.quick_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* 메뉴 리스트 (초기 숨김) */
.floating_menu .quick_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 공통 버튼 스타일 (크기는 기존 유지, 스타일은 새롭게) */
.floating_menu .btn_item {
    width: auto;
    min-width: 120px;
    height: 48px;
    background: #a37764;
    color: #fff;
    border-radius: 500px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    box-sizing: border-box;
    white-space: nowrap;
    gap: 8px;
}

.floating_menu .btn_item:hover {
    background: #685c57;
    /* 호버 시 색상 변경 */
}

/* 아이콘 크기 (기존 유지) */
.floating_menu .btn_item img {
    width: 16px;
    /* 기존 유지 */
    height: 16px;
    /* 기존 유지 */
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.floating_menu .res img {
    width: 20px;
    height: 20px;
}

/* 버튼 내 텍스트 숨김 (원형 버튼이므로) */
.floating_menu .btn_item span {
    line-height: 1;
    display: inline-block;
}

/* 메인 토글 버튼 및 말풍선 영역 */
.quick_main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 말풍선 이미지 위치 */
.speech_bubble {
    position: absolute;
    bottom: 60px;
    right: -5px;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    /* 클릭 방해 금지 */
}

.speech_bubble img {
    max-width: 180px;
}

/* 토글 버튼 (크기 기존 유지 40x40으로 맞춤) */
.btn_toggle {
    width: 40px;
    /* 기존 크기에 맞춤 (원래 60px 요청하셨으나 전체 비율 고려) */
    height: 40px;
    background: #a37764;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    padding: 0;
}

.icon_plus {
    width: 20px;
    /* 아이콘 크기 통일 */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
    /* 다른 아이콘과 톤 통일 */
}

/* TOP 버튼 (크기 40x40 유지) */
.btn_top {
    width: 40px;
    height: 40px;
    background: #74584c;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn_top img {
    width: 16px;
    filter: brightness(0) invert(1);
}

/* 호버 시 애니메이션 효과 */
.quick_wrap:hover .quick_list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick_wrap:hover .speech_bubble {
    opacity: 0;
    transform: translateY(-10px);
}

.quick_wrap:hover .btn_toggle {
    background: #685c57;
}

.quick_wrap:hover .icon_plus {
    transform: rotate(45deg);
}


/*------------------------------------------------------
    상품 공통
 ------------------------------------------------------*/
.prd_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 15px;
}

.prd_list .item_custom_wrap {
    width: calc(50% - 7.5px);
    padding: 0;
}

.prd_list .item_custom_wrap .item_custom_box {
    padding: 0;
}

.prd_list .item_custom_wrap .item_custom_box .goods_product_list>li>.item_custom_box {
    padding: 0;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .goods_info_list li {
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    padding: 0;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_img .img_box {
    border-radius: 5px;
    overflow: hidden;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_img .img_box .img img {
    border: 0;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_img .soldout_img {}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .goods_info_list {}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .goods_info_list .prd_name {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
    padding: 0;
    word-break: break-all;
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .item_money_box {
    display: flex;
    gap: 5px;
    flex-direction: column;
    padding-top: 10px;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .item_money_box li.price {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 15px;
    line-height: 1.33;
    font-weight: 500;
    color: var(--mainBlack);
    letter-spacing: -0.02em;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .item_money_box li.price .c_price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .item_money_box li.fixed_price {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: var(--gray03);
    letter-spacing: -0.02em;
    width: 100%;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .item_money_box li .discount-rate {
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    padding: 4px 6px;
    background: var(--gray01);
    border-radius: 5px;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .goods_prd_icon {
    padding-top: 5px;
}

.prd_list .item_custom_wrap .item_custom_box .goods_prd_content .goods_prd_icon:empty {
    display: none;
}

.prd_list .no_bx {
    width: 100%;
    padding: 50px 0;
}

.prd_list .no_bx p {
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    color: var(--gray01);
    letter-spacing: -0.02em;
    text-align: center;
}

.prd_list .no_bx p strong {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

._goods_display_main .main_prd_list {
    padding: 0;
}