/* Leatherman 공식 사이트 톤 — body.theme-leatherman 전용 */
.theme-leatherman {
	--lm-yellow: #ffd500;
	--lm-yellow-hover: #e6c000;
	--lm-charcoal: #3e3e3e;
	--lm-charcoal-dark: #2a2a2a;
	--lm-text: #333333;
	--lm-muted: #888888;
	--lm-border: #e0e0e0;
	--lm-sale: #e02020;
	--lm-white: #ffffff;
}

.theme-leatherman,
.theme-leatherman body {
	background-color: var(--lm-white) !important;
	color: var(--lm-text);
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

.theme-leatherman h1,
.theme-leatherman h2,
.theme-leatherman h3,
.theme-leatherman h4,
.theme-leatherman h5,
.theme-leatherman h6 {
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
	color: var(--lm-text) !important;
}

/* 상단 유틸리티 바 */
.theme-leatherman .lm-utility-bar {
	background-color: var(--lm-charcoal-dark);
	color: #f2f2f2;
	font-size: 11px;
	line-height: 1.2;
	padding: 6px 0;
}
.theme-leatherman .lm-utility-bar a {
	color: #f2f2f2;
	text-decoration: none;
}
.theme-leatherman .lm-utility-bar a:hover {
	text-decoration: underline;
}
.theme-leatherman .lm-utility-inner {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

/* 헤더 전체 */
.theme-leatherman nav.navbar.lm-nav.navbar-fixed,
.theme-leatherman nav.navbar.bootsnav.lm-nav.navbar-fixed {
	position: relative !important;
	top: auto !important;
}
body.theme-leatherman,
.theme-leatherman body {
	padding-top: 0 !important;
}
.theme-leatherman .cpos-name {
	padding-top: 1rem !important;
}
.theme-leatherman nav.lm-nav .navbartop {
	padding-top: 8px;
	padding-bottom: 4px;
}
.theme-leatherman .lm-nav-row {
	padding-bottom: 8px;
}
.theme-leatherman ul.lm-primary-nav {
	padding-top: 4px !important;
}
.theme-leatherman li.dropdownTop .dropdown-contents,
.theme-leatherman .dropdown-contents.megahidde {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}
.theme-leatherman #mainbn_titleBox.lm-hero-empty {
	display: none !important;
}
.theme-leatherman nav.lm-nav > form.search-div {
	background: transparent !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.theme-leatherman .lm-utility-bar {
	overflow: hidden;
	position: relative;
	z-index: 1002;
}
.theme-leatherman section.w3-center[style*="margin-top:3rem"] {
	margin-top: 1.5rem !important;
}
.theme-leatherman .bottom-space,
.theme-leatherman .w3-container.bottom-space {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.theme-leatherman #main {
	margin-bottom: 0 !important;
}
.theme-leatherman footer.footer,
.theme-leatherman .footer.lm-footer {
	margin-bottom: 0 !important;
	padding-bottom: 2rem !important;
}
body.theme-leatherman {
	min-height: 0 !important;
}
.theme-leatherman nav.navbar.bootsnav.lm-nav {
	background: var(--lm-white) !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--lm-border);
	padding-bottom: 0 !important;
	position: relative;
	z-index: 1001;
}
.theme-leatherman nav.lm-nav .navbartop,
.theme-leatherman nav.lm-nav #navbars {
	max-width: 1680px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 0;
	float: none !important;
}
.theme-leatherman nav.lm-nav #navbars {
	display: flex;
	flex-direction: column;
}
.theme-leatherman .lm-header-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 48px;
}
.theme-leatherman .lm-header-row .navbar-toggler {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
.theme-leatherman .lm-header-row .navbar-brand {
	position: static !important;
	transform: none !important;
	left: auto !important;
	top: auto !important;
	margin: 0 !important;
	flex: 0 0 auto;
	float: none !important;
}
.theme-leatherman .lm-header-search {
	flex: 1 1 auto;
	max-width: 480px;
	min-width: 160px;
	margin: 0 auto;
}
.theme-leatherman .lm-search-wrap {
	display: flex;
	align-items: center;
	border: 1px solid var(--lm-border);
	border-radius: 999px;
	background: #fafafa;
	padding: 0 14px;
	height: 40px;
}
.theme-leatherman .lm-search-wrap .material-icons {
	color: var(--lm-muted);
	font-size: 20px;
	margin-right: 6px;
	flex-shrink: 0;
}
.theme-leatherman .lm-search-wrap input {
	border: none;
	background: transparent;
	flex: 1;
	font-size: 14px;
	outline: none;
	min-width: 0;
	color: var(--lm-text);
}
.theme-leatherman .lm-header-icons {
	flex: 0 0 auto;
	margin-left: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}
.theme-leatherman .lm-header-icons a {
	color: var(--lm-text) !important;
	padding: 6px 8px;
	line-height: 1;
}
.theme-leatherman .lm-header-icons .material-icons {
	font-size: 22px;
}

/* 로고 — 검색창 높이에 맞춤 */
.theme-leatherman .navbar-brand img.logo,
.theme-leatherman img.logo {
	max-width: 168px !important;
	max-height: 34px !important;
}

/* 2행: 메인 메뉴 (전체 너비, 왼쪽 정렬) */
.theme-leatherman .lm-nav-row {
	width: 100%;
	flex: 0 0 100%;
	padding: 0 0 12px;
	margin: 0;
	border-top: 1px solid #f0f0f0;
}
@media (min-width: 993px) {
	.theme-leatherman .lm-header-row .navbar-toggler {
		display: none !important;
	}
	.theme-leatherman .lm-nav-row .navbar-collapse.collapse {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
		visibility: visible !important;
	}
	.theme-leatherman .lm-nav-row #navbar-menu {
		display: block !important;
		width: 100%;
	}
	.theme-leatherman ul.lm-primary-nav {
		float: none !important;
		margin: 0 !important;
		padding: 8px 0 0 !important;
		width: 100%;
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
	}
	.theme-leatherman ul.lm-primary-nav > li {
		float: none !important;
		display: block;
	}
	.theme-leatherman nav.navbar.bootsnav .navbar-nav {
		margin-left: 0 !important;
		padding-top: 0 !important;
	}
	.theme-leatherman nav.navbar.bootsnav .navbar-brand {
		position: static !important;
		transform: none !important;
	}
}
.theme-leatherman nav.navbar.bootsnav ul.nav > li > a,
.theme-leatherman .topbtns {
	color: var(--lm-text) !important;
	font-family: "Roboto", sans-serif !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 8px 12px !important;
	white-space: nowrap;
}
.theme-leatherman nav.navbar.bootsnav ul.nav > li > a:hover,
.theme-leatherman .topbtns:hover {
	color: #000 !important;
	opacity: 0.85;
}
.theme-leatherman a.topbtns.lm-nav-sale {
	color: var(--lm-sale) !important;
}
.theme-leatherman .quick-topbtn,
.theme-leatherman .topsearchbtn,
.theme-leatherman .navbar-rights,
.theme-leatherman nav.bootsnav .attr-nav:not(#topsearchbtnMb) {
	display: none !important;
}

/* 햄버거 */
.theme-leatherman .xbar1,
.theme-leatherman .xbar2,
.theme-leatherman .xbar3 {
	background-color: var(--lm-text) !important;
}

/* 히어로 — 문구 있을 때만 다크 박스 */
.theme-leatherman #mainbn_titleBox > div.text-left.lm-hero-panel {
	background-color: var(--lm-charcoal);
	padding: 32px 36px !important;
	max-width: 460px;
	text-shadow: none !important;
	box-sizing: border-box;
}
.theme-leatherman #mainbn_titleBox > div.text-left:not(.lm-hero-panel) {
	background: transparent !important;
	padding: 0 !important;
}
.theme-leatherman #mainbn_titleBox .lm-hero-panel .ck-content,
.theme-leatherman #mainbn_titleBox .lm-hero-panel #imgtitle,
.theme-leatherman #mainbn_titleBox .lm-hero-panel #imgcmt {
	color: var(--lm-white) !important;
}
.theme-leatherman #mainbn_titleBox .lm-hero-panel #imgtitle {
	font-size: 1.35rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.25 !important;
}
.theme-leatherman #mainbn_titleBox .lm-hero-panel #imgcmt {
	font-size: 0.95rem !important;
	font-weight: 400;
	opacity: 0.95;
	line-height: 1.5 !important;
}
.theme-leatherman #mainbn_titleBox .lm-hero-panel .ck-content a,
.theme-leatherman .mainbn_title a,
.theme-leatherman .home_text a {
	display: inline-block;
	background: var(--lm-yellow) !important;
	color: #000 !important;
	font-weight: 700 !important;
 font-size: 12px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 12px 20px !important;
	border-radius: 0 !important;
	border: none !important;
	text-decoration: none !important;
	margin: 8px 8px 0 0;
}
.theme-leatherman #mainbn_titleBox .lm-hero-panel .ck-content a:hover,
.theme-leatherman .mainbn_title a:hover {
	background: var(--lm-yellow-hover) !important;
}

/* 메가메뉴·탑바 누수 방지 (배너 아래 회색 띠) */
.theme-leatherman .dropdown-contents {
	display: none !important;
}
.theme-leatherman li.dropdownTop:hover > .dropdown-contents,
.theme-leatherman li.dropdownTop:focus-within > .dropdown-contents {
	display: block !important;
}
.theme-leatherman .topmenu-topbar,
.theme-leatherman .dropdown-contents .topmenu-topbar {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
.theme-leatherman .home.mainbanner {
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.theme-leatherman #main .home.mainbanner {
	max-width: none;
}
/* leatherman.com 스타일 full-bleed 히어로 */
.theme-leatherman .home.mainbanner.lm-hero-banner {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: clamp(380px, 38vw, 580px) !important;
	min-height: 380px;
	background-position: center center !important;
	background-size: cover !important;
	display: flex;
	align-items: stretch;
	position: relative;
}
.theme-leatherman .lm-hero-banner > .lm-hero-shell,
.theme-leatherman .lm-hero-banner > .w3-container.lm-hero-shell {
	flex: 1;
	width: 100%;
	max-width: 1760px;
	margin: 0 auto;
	padding: 0 36px !important;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 100%;
}
.theme-leatherman .lm-hero-banner .w3-row,
.theme-leatherman .lm-hero-banner .w3-row > div {
	width: 100%;
}
.theme-leatherman .lm-hero-banner #mainbn_titleBox {
	padding: 0 !important;
	margin: 0;
	width: 100%;
}
.theme-leatherman .lm-hero-banner #mainbn_titleBox > div.text-left.lm-hero-panel {
	margin: 0;
	align-self: center;
}
.theme-leatherman section.w3-center[style*="margin-top:3rem"] {
	margin-top: 2rem !important;
	margin-bottom: 0 !important;
}
.theme-leatherman .lm-site-header + .w3-sidebar,
.theme-leatherman .lm-site-header ~ .w3-sidebar {
	top: auto;
}

.theme-leatherman nav.lm-nav form.search-div.w3-black {
	background: transparent !important;
}
.theme-leatherman .top-search2 {
	background: var(--lm-white) !important;
}

.theme-leatherman .mainbn_title,
.theme-leatherman .mainbn_cmt {
	color: var(--lm-text);
}

/* 버튼 · 강조색 전역 */
.theme-leatherman .boxbtn {
	background-color: var(--lm-yellow) !important;
	border-color: var(--lm-yellow) !important;
	color: #000 !important;
	border-radius: 0 !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.theme-leatherman .boxbtn:hover {
	background-color: var(--lm-yellow-hover) !important;
	border-color: var(--lm-yellow-hover) !important;
	color: #000 !important;
}
.theme-leatherman .boxbtnlt {
	border-color: var(--lm-border) !important;
	color: var(--lm-text) !important;
	border-radius: 0 !important;
}
.theme-leatherman .boxbtnlt:hover {
	background-color: var(--lm-charcoal) !important;
	border-color: var(--lm-charcoal) !important;
	color: var(--lm-white) !important;
}

.theme-leatherman .p_name,
.theme-leatherman .p_price,
.theme-leatherman .text_gray,
.theme-leatherman nav.navbar.bootsnav ul.nav > li > a {
	color: var(--lm-text) !important;
}
.theme-leatherman .p_name {
	font-weight: 700;
}

.theme-leatherman .footer.lm-footer,
.theme-leatherman footer.footer {
	background-color: var(--lm-charcoal-dark) !important;
}
.theme-leatherman .footer p,
.theme-leatherman .footer_rview {
	color: #e8e8e8 !important;
}

.theme-leatherman .form-control2,
.theme-leatherman .search-div,
.theme-leatherman .search_bar {
	background-color: #f2f2f2 !important;
	color: var(--lm-text) !important;
}

.theme-leatherman .new_titlediv {
	border-bottom-color: var(--lm-border) !important;
	color: var(--lm-text) !important;
}

.theme-leatherman .topmenu-topbar {
	display: none !important;
}
.theme-leatherman .dropdown-contents {
	background-color: var(--lm-white) !important;
	border-top: 1px solid var(--lm-border);
}

@media (max-width: 992px) {
	.theme-leatherman .lm-header-search {
		flex: 1 1 100%;
		max-width: none;
		margin: 8px 0 0;
		order: 5;
	}
	.theme-leatherman .lm-header-row {
		flex-wrap: wrap;
	}
	.theme-leatherman nav.navbar.bootsnav .navbar-brand {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
	}
	.theme-leatherman .lm-utility-bar .lm-utility-right {
		display: none;
	}
}
