
/* 톱 메뉴 전체 최소폭 유지 프레임 */
.hea2, .tm1, .topmns1 { 
	min-width: 1130px; 
}
.topmns1 {
	width: 100%;
	padding: 0;
	margin: -120px 0 0 0;
	position: absolute;
	background: #f1f1f1;
	height: 36px;
}

/* [핵심 수정] 관리자가 등록한 전체 메뉴 리스트를 통째로 우측 정렬 */
.topmns1 ul {
	list-style: none;
	width: 1130px;
	margin: 0 auto;
	padding: 0;
	display: flex; /* 가로 배열을 위한 Flexbox 가동 */
	justify-content: flex-end; /* [핵심] 모든 메뉴를 오른쪽 맨 끝 벽면으로 밀착 정렬 */
	align-items: center; /* 세로축 정중앙 정렬 */
}
.topmns1 ul:after {
	content: "";
	display: block;
	clear: both;
}

/* 관리자 메뉴 설정으로 생성되는 개별 메뉴(li)의 좁고 컴팩트한 양식 */
.topmns1 li {
	margin: 0;
	padding: 8px 10px; /* 메뉴 글자들끼리 좁고 조밀하게 배치되도록 간격 조율 */
}
.topmns1 li a {
	color: #6a6a6a;
	white-space: nowrap;
	font-size: 12px;
	text-decoration: none;
}
.topmns1 li.active a { color: #000; }
.topmns1 li.first { padding: 4px 14px 2px; } /* 오른쪽 정렬에 맞춰 패딩 최적화 */
.topmns1 li.active:last-child {
	padding: 4px 10px 2px;
	border-right: 1px solid #dfdfdf;
}

/* ==========================================================================
   📦 [수정] 사이드 컬럼 & lnb 프레임 서식
   ========================================================================== */
.lnb {
    width: 238px;
    float: left;
    padding: 20px 0;
    margin: 0;
    text-align: center;
}
.lnb_m {
    width: 240px;
    padding: 0;
    margin: -1px 0 0 0;
    box-sizing: border-box;
}

/* [제거/보완] 구형 탭 버튼(.Tap_On, .Tap_Off) 서식은 사용하지 않으므로 깔끔하게 보정 처리 */
.Tap_Off, .Tap_On {
    display: none !important; /* 탭 버튼 영역 제거 */
}

/* 탭 본문 상세 출력 컨트롤러 - 물품 메뉴판 상시 노출 고정 */
.Tap_Detail {
    clear: both;
    padding: 0;
    display: none;
    box-sizing: border-box;
}
/* 물품 메뉴판(#menu_Detail)은 스크립트 없이 항상 보이도록 강제 활성화 */
#menu_Detail.Tap_Detail {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bgtt {
    transition: all .4s;
    cursor: pointer;
}
.columnLefts {
    position: relative;
    float: left;
    width: 240px;
    background: #fff;
    margin: 0;
    padding: 0;
}
.columnLefts:after {
    display: block;
    clear: both;
    content: '';
}

/* ==========================================================================
   🚨 [기존 보존] 최상위 우선순위 방어선 코드 (제공해주신 소스 그대로 유지)
   ========================================================================== */
div.columnLefts div.lnb-left-menu,
.columnLefts .lnb-left-menu {
    float: left !important;
    width: 240px !important;
    padding: 16px 0 !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border-left: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    border-top: none !important;
    border-right: none !important;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.02) !important;
}

div.columnLefts div.lnb-left-menu > ul,
.columnLefts .lnb-left-menu > ul {
    list-style: none !important;
    padding: 0 12px !important;
    margin: 0 !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item,
.columnLefts .lnb-left-menu > ul > .menu-item {
    display: block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: transparent !important;
    transition: background-color 0.2s ease !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item > a.menu-link,
.columnLefts .lnb-left-menu > ul > .menu-item > .menu-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important; 
    font-size: 14.5px !important; 
    font-weight: 600 !important; 
    letter-spacing: -0.4px !important; 
    color: #475569 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    gap: 12px !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item > a.menu-link i,
.columnLefts .lnb-left-menu > ul > .menu-item > .menu-link i {
    font-size: 15px !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover {
    background-color: #f1f5f9 !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover > a.menu-link {
    color: #0f172a !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover > a.menu-link i {
    color: #475569 !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item.on {
    background-color: #6b7277 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(107, 114, 119, 0.15) !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item.on > a.menu-link {
    color: #ffffff !important;
    font-weight: 700 !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item.on > a.menu-link i {
    color: #ffffff !important;
}

/* ==========================================================================
   📁 [기존 보존] jnb 물품 메뉴 카테고리판 서식
   ========================================================================== */
#jnb_wrp {
    z-index: 20;
    margin: 0;
    width: 239px;
    float: left;
    border: 1px solid #ddd;
    border-right: 0px solid #ddd;
    box-sizing: border-box;
    background: #ffffff;
}
#jnb {
    margin: 10px;
    padding: 0;
}
#jnb li {
    position: relative;
    list-style: none;
}
#jnb .li1 {
    display: block;
    border: 1px solid #fff;
    transition: background 0.2s ease;
}
#jnb .li1:hover {
    background: #6b7277;
}
#jnb .a1 {
    display: block;
    font-size: 13px;
    padding: 5px 6px;
    text-decoration: none;
    color: #333;
}
#jnb .a1:hover {
    color: #fff;
}
#jnb .a1.on {
    color: #FFF;
    background: #6b7277 !important;
}

/* 서브 메뉴 오버 효과 서식 */
#jnb ul {
    display: none;
    width: 90%;
    border: 1px solid #6b7277;
    position: absolute;
    margin-top: -26px;
    left: 130px;
    z-index: 20;
    padding: 0;
    background: #fff;
}
#jnb .li2:first-child {
    height: 2px;
    padding: 0;
    left: -1px;
}
#jnb .ul2 a {
    font-size: 13px;
    display: block;
    min-width: 60px;
    padding: 6px 42px 6px 12px;
    text-decoration: none;
    white-space: nowrap;
    color: #444;
    transition: all .5s;
}
#jnb .ul2 b {
    position: absolute;
    right: 8px;
}
#jnb .ul2 a:hover, #jnb .ul2 a:focus {
    background: rgba(0,0,0,.4);
    color: #FFF;
}
#jnb .ul2 .on .a2, #jnb .a3.on {
    color: #FFF;
    background: #444 !important;
}
#jnb .ul3 {
    top: 2px;
    left: 96%;
}

.ui_font {
    font-family: "Noto Sans KR", sans-serif;
}
#googleside {
    position: absolute;
    top: 0;
    background: #fff;
    width: 232px;
    height: 600px;
    margin: 0 0 0 -248px;
}
/* ==========================================================================
   📦 [경량화] 사이드 lnb 카테고리 메뉴판 상시 오픈 고정 서식
   ========================================================================== */
.lnb { width: 238px; float: left; padding: 20px 0; text-align: center; }
.lnb_m { width: 240px; margin: -1px 0 0 0; box-sizing: border-box; }
.Tap_Off, .Tap_On, .Tap_Detail { display: none; }

/* 왼쪽 물품 카테고리판 상시 노출 */
#menu_Detail.Tap_Detail { display: block !important; clear: both; }
.columnLefts { position: relative; float: left; width: 240px; background: #fff; }
.columnLefts:after { display: block; clear: both; content: ''; }

/* jnb 물품 메뉴 카테고리 보더 및 폰트 서식 */
#jnb_wrp { z-index: 20; width: 239px; float: left; border: 1px solid #ddd; border-right: 0; box-sizing: border-box; background: #ffffff; }
#jnb { margin: 10px; padding: 0; }
#jnb li { position: relative; list-style: none; }
#jnb .li1 { display: block; border: 1px solid #fff; transition: background 0.2s; }
#jnb .li1:hover { background: #6b7277; }
#jnb .a1 { display: block; font-size: 13px; padding: 5px 6px; text-decoration: none; color: #333; }
#jnb .a1:hover { color: #fff; }
#jnb .a1.on { color: #FFF; background: #6b7277 !important; }

/* 2차 서브 메뉴 레이어 */
#jnb ul { display: none; width: 90%; border: 1px solid #6b7277; position: absolute; margin-top: -26px; left: 130px; z-index: 20; background: #fff; }
#jnb .li2:first-child { height: 2px; left: -1px; }
#jnb .ul2 a { font-size: 13px; display: block; min-width: 60px; padding: 6px 42px 6px 12px; text-decoration: none; white-space: nowrap; color: #444; transition: all .5s; }
#jnb .ul2 b { position: absolute; right: 8px; }
#jnb .ul2 a:hover { background: rgba(0,0,0,.4); color: #FFF; }
#jnb .ul2 .on .a2, #jnb .a3.on { color: #FFF; background: #444 !important; }
#jnb .ul3 { top: 2px; left: 96%; }
.ui_font { font-family: "Noto Sans KR", sans-serif; }


/* 1. 최우측 구석 고정용 absolute 컨테이너 (정석 가로 플렉스 정렬) */
.custom_standalone_register_container {
    position: absolute; top: 60px; right: 0px; 
    width: 260px; height: 60px; z-index: 9999;
    display: flex; flex-direction: row; justify-content: space-between;
}
.custom_standalone_btn_wrap { position: relative; width: 60px; display: block; }

/* 2. 링크 버튼 공통 기반 서식 */
.custom_standalone_btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; width: 60px; background: transparent; border: none; cursor: pointer; text-decoration: none;
}
/* 🔧 [공통 리셋] 개별 버튼들이 수평 정렬을 유지하도록 기본 너비/높이 속성은 유지 */
.register_circle_plus { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; box-sizing: border-box; }
.register_bottom_text { font-size: 11.5px; font-weight: 600; letter-spacing: -0.3px; white-space: nowrap; }

/* 🎨 [독립 유지] 판매등록 전용: 속이 가득 찬 시그니처 레드 동그라미 단추 테마 */
.custom_standalone_btn_wrap .register_circle_plus { background-color: #d32f2f; border-radius: 50%; }
.custom_standalone_btn_wrap .register_circle_plus i { color: #ffffff; font-size: 11px; font-weight: bold; }
.custom_standalone_btn_wrap .register_bottom_text { color: #d32f2f; }

/* 🔧 [핵심 수정] 서브 링크 3형제 (나눔, 구매, 구인): 원 테두리선(border) 및 라운딩을 전량 삭제하여 순수 독립 아이콘화 
   - 테두리선이 빠진 지분만큼 아이콘 고유 크기를 11px에서 16px로 대폭 키워 시인성을 극대화 완료 */
.share_link_btn .register_circle_plus, .buy_link_btn .register_circle_plus, .job_link_btn .register_circle_plus { background-color: transparent; border: none; border-radius: 0; }
.share_link_btn .register_circle_plus i, .buy_link_btn .register_circle_plus i, .job_link_btn .register_circle_plus i { color: #7e858a; font-size: 16px; font-weight: normal; }
.share_link_btn .register_bottom_text, .buy_link_btn .register_bottom_text, .job_link_btn .register_bottom_text { color: #546e7a; }

/* ⚡ 마우스 호버 효과 (판매등록 버튼 단독 구동 / 서브 링크 3형제는 마우스 오버 효과 없음 고정) */
.custom_standalone_btn_wrap .custom_standalone_btn:hover .register_circle_plus { background-color: #222222; }
.custom_standalone_btn_wrap .custom_standalone_btn:hover .register_circle_plus i { color: #ffffff; }
.custom_standalone_btn_wrap .custom_standalone_btn:hover .register_bottom_text { color: #222222; }

/* 서브 링크 3형제 마우스 호버 고정 선언 (테두리가 없으므로 테두리 이펙트 완전 배제) */
.share_link_btn:hover .register_circle_plus, .buy_link_btn:hover .register_circle_plus, .job_link_btn:hover .register_circle_plus { background-color: transparent; border: none; }
.share_link_btn:hover .register_circle_plus i, .buy_link_btn:hover .register_circle_plus i, .job_link_btn:hover .register_circle_plus i { color: #7e858a; }
.share_link_btn:hover .register_bottom_text, .buy_link_btn:hover .register_bottom_text, .job_link_btn:hover .register_bottom_text { color: #546e7a; }


/* ==========================================================================
   📂 [내부 패널] 판매등록 클릭 시 펼쳐지는 4개들이 바둑판 레이어
   ========================================================================== */
.custom_standalone_btn_wrap .custom_standalone_detail {
    position: absolute; top: 68px; right: 0; width: 890px;
    background-color: #ffffff; border: 1px solid #e9ecef; border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1); padding: 14px; box-sizing: border-box;
}
.custom_standalone_grid_wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; width: 100%; }

/* 메뉴 4개가 담기는 거대 라운드 사각형 번들 상자 */
.custom_register_bundle_box {
    display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 22px; gap: 4px 6px;                           
    padding: 12px 14px; background-color: #ffffff; border: 1.5px solid #aeb5bc; border-radius: 14px; margin: 0;
}
.custom_register_bundle_box li { list-style: none; }

/* 상자 내부의 개별 텍스트 링크 메뉴 스타일 */
.custom_register_bundle_box li a {
    display: flex; align-items: center; gap: 4px; height: 100%; color: #333333; text-decoration: none;
    font-size: 11.5px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.15s ease;
}
.custom_register_bundle_box li a:hover { color: #d32f2f; }
.custom_register_bundle_box li a i { font-size: 11px; color: #cbd5e1; }
.custom_register_bundle_box li a:hover i { color: #d32f2f; }
