/* 레이아웃 CSS */
.rows_gnb_wrap {border-top:1px solid rgba(255,255,255,0.2); padding-top: 10px; margin-top: 20px;}
.row_gnbs {position: relative;}
.row_gnbs .cbp-hrmenu > ul, .cbp-hrmenu .cbp-hrsub-inner {padding-left: 0px; padding-right: 0px;}
.row_gnbs .cbp-hrmenu > ul > li {padding-left: 0px; padding-right: 30px;}
.row_gnbs .cbp-hrmenu > ul {float:none !important; line-height: 100%;}
.gnb_wrap .row_gnbs nav {float:none;}
.row_gnbs .cbp-hrmenu .cbp-hrsub {top:40px;}

.search_top_wrap {float:left; position: relative; width: 280px;}
.search_top_wrap input {border:0px; background-color: #fff; border-radius: 60px; height:40px; width: 100%; color:#000;}
.search_top_wrap input::placeholder{font-family:'font-R',sans-serif; color:#999;}
.search_top_wrap button {position: absolute; top:11px; right:15px;}
.search_top_wrap input:focus {border:0px !important;}
.search_top_wrap_inner {position: relative;}

/* 게시판 fixed 버튼 위치조정 */
.rb_bbs_wrap .btns_gr_wrap {top:185px !important;}

.co_header0 .rows_gnb_wrap {border-top:1px solid rgba(0,0,0,0.05);}
.co_header0 .search_top_wrap input {background-color: rgba(0,0,0,0.05);}
.ser_display_none .search_top_wrap_inner {display: none;}

/* changsu start: 소비자 화면 상단 카테고리 메뉴 선을 쇼핑몰 리스트와 동일하게 공통 적용 */
body:has(#main.co_header_ffffff) #header {box-shadow:none !important;background:#fff !important;}
body:has(#main.co_header_ffffff) #header .rows_gnb_wrap {border-top:1px solid #e5e5e5 !important;border-bottom:1px solid #e5e5e5 !important;padding-bottom:8px !important;background:#fff !important;box-shadow:none !important;}
/* changsu end */

/* changsu start: 소비자 화면 페이지 타이틀 글자 스타일 공통 적용 */
body:has(#main.co_header_ffffff) #container_title,
body:has(#main.co_header_ffffff) .rb-public-page-title,
body:has(#main.co_header_ffffff) .rb-public-page .rb_qa_page_title,
body:has(#main.co_header_ffffff) #rb_shop_cart_page .rb_cart_page_title {margin:10px 0 34px !important;padding:0 !important;color:#000 !important;font-family:"font-R",sans-serif !important;font-size:28px !important;font-weight:normal !important;line-height:1.3 !important;letter-spacing:0 !important;word-break:keep-all !important;text-align:center !important;}
body:has(#main.co_header_ffffff) #rb_shop_cart_page {margin-top:0 !important;}
/* changsu end */

/* changsu start: 장바구니 상품 행 정렬 공통 보정 */
#rb_shop_cart_page #sod_bsk .tbl_head03 thead th:nth-child(n+3),
#rb_shop_cart_page #sod_bsk .tbl_head03 tbody td:nth-child(n+3) {text-align:center !important;vertical-align:middle !important;}
#rb_shop_cart_page #sod_bsk .tbl_head03 tbody td {vertical-align:middle !important;}
#rb_shop_cart_page #sod_bsk .td_prd {display:flex !important;align-items:center !important;gap:20px !important;min-height:112px !important;padding-left:20px !important;text-align:left !important;}
#rb_shop_cart_page #sod_bsk .td_prd .sod_img {position:static !important;top:auto !important;left:auto !important;flex:0 0 80px !important;margin:0 !important;line-height:0 !important;}
#rb_shop_cart_page #sod_bsk .td_prd .sod_name {display:flex !important;min-height:0 !important;flex-direction:column !important;justify-content:center !important;}
#rb_shop_cart_page #sod_bsk .td_prd .prd_name,
#rb_shop_cart_page #sod_bsk .td_prd .prd_name b {font-weight:normal !important;}
/* changsu end */

.cbp-hrmenu .cbp-hrsub-inner > div {min-width: 140px;}
.cbp-hrmenu .cbp-hrsub {margin-left: -30px;}
#cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner > div > ul > li{position: relative; min-height:32.2px;}
#cbp-hrmenu .cbp-hropen .cbp-hrsub {padding-left: 30px; padding-right: 30px; padding-top: 20px; padding-bottom: 20px;}
.cbp-hrmenu .cbp-hrsub-inner > div i {position: absolute; top:-5px; right:-5px; opacity: 0.5; transition: transform 220ms ease, opacity 220ms ease;}
#cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner > div > ul > li:hover i {opacity: 0;}
.cbp-hrmenu .cbp-hrsub-inner > div a {padding-right: 20px;}

#cbp-hrmenu .cbp-hrsub-3{
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    position: absolute;
    left: 90%;
    top: -10px;

    background-color: #fff;
    min-width: 120px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);

    transform: translate3d(0, 6px, 0);
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 9
}

#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover > .cbp-hrsub-3{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover > .cbp-hrsub-3 a {padding-top: 4px; padding-bottom: 4px; font-family: 'font-R'; font-size: 13px; padding-right: 0px;}
#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover {position: relative;}

.gnb_all_menu .cbp-hrsub .cbp-hrsub-inner > div > ul > li {min-height: auto !important;}

@media all and (max-width:1024px) {
    .rows_gnb_wrap {display: none;}
    .search_top_wrap {width: 30%;}
    .gnb_wrap .snb_wrap .qm_wrap a {width: auto; padding-left: 0px; margin-left: 20px;}
    .gnb_wrap .tog_wrap {margin-right: 20px;}

    /* 1.0.1 { */
    .mobile_cb {clear: both;}
    .search_top_wrap {display: block; float:none !important; width: 100%; margin-top: 10px;}
    .gnb_wrap .snb_wrap .my_btn_wrap {display: block;margin-left: 20px;}
    .gnb_wrap .snb_wrap .my_btn_wrap .btn_round.arr_bg {display: none;}
    .gnb_wrap .snb_wrap .my_btn_wrap .btn_round {padding-left: 15px; padding-right: 15px; height:35px;}
    .gnb_wrap .snb_wrap .qm_wrap a span {left: 10px;}
    /* } */

    /* 1.1.1 { */
    .gnb_wrap .inner {padding-left: 0px !important; padding-right: 0px !important;}
    /* } */

}
