@charset "UTF-8";

/* =========================================================
   Header · 3-row layout based on design reference
   Row 1: full-width red announcement bar
   Row 2: centered LOGO + user links + icon row
   Row 3: category icon + main nav + search box
   ========================================================= */

.wst-search-container {
	width: 100%;
	background: #fff;
	
    margin-bottom: 30px;
}

.wst-top-bar,
.wst-main-header,
.wst-nav-row {
	width: 100%;
}

.wst-top-bar-inner,
.wst-main-header-inner,
.wst-nav-row-inner {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 10px;
}

/* ---------- Row 1: Top red announcement bar ---------- */
.wst-top-bar {
	background: #E83928;
	height: 34px;
}

.wst-top-bar-inner {
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.wst-top-announce {
	color: #fff;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.5px;
}

.wst-top-service {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.wst-top-service a {
	color: #fff;
	font-size: 13px;
}

.wst-top-service a:hover {
	text-decoration: underline;
}

/* ---------- Row 2: LOGO + user area ---------- */
.wst-main-header {
	background: #fff;
	
}

.wst-main-header-inner {
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}

.wst-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	flex-shrink: 0;
	line-height: 0;
}

.wst-logo a {
	display: inline-block;
}

.wst-logo img {
	display: block;
	height: 78px;
	width: auto;
	max-width: 260px;
	object-fit: contain;
}

/* User links area (right of LOGO row) */
.wst-user-links {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 13px;
	color: #666;
}

.wst-link-item {
	color: #333;
	padding: 0 4px;
}

.wst-link-item:hover {
	color: #E83928;
}

.wst-link-sep {
	color: #ccc;
	margin: 0 4px;
}

.wst-user-icons {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: 16px;
}

.wst-user-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	background: transparent;
}


.wst-user-icons a:hover {
	opacity: .8;
}

/* ---------- Row 3: Nav row ---------- */
.wst-nav-row {
	background: #fff;
	
}

.wst-nav-row-inner {
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wst-nav-left {
	display: flex;
	align-items: center;
	gap: 0;
}

.wst-cat-icon {
	display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    width: 50px;
    height: 50px;
    background: #f7f7f7;
    border-radius: 50%;
	margin-right: 40px;
    overflow: hidden;
    transition: background .2s ease;
}


.wst-cat-icon.has-img {
    background: #fff;
    border: 2px solid #E83928;
    box-shadow: 0 2px 8px rgba(232, 57, 40, 0.2);
}



.wst-nav-links {
	display: flex;
	align-items: center;
	border: 1px solid #e5e5e5;
    border-radius: 50px;
    background: #F6F6F6;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.wst-nav-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 18px;
	color: #333;
	font-size: 17px;
    font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: color .2s ease;
}

.wst-nav-item::before {
	content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../img/3_03.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.wst-nav-item:hover,
.wst-nav-item.nav-active {
	color: #E83928;
	
}

.wst-nav-item.nav-active {
    font-weight: 700;
}

.wst-nav-item:hover::before,
.wst-nav-item.nav-active::before {
	opacity: 1;
}

/* ---------- Search (right of nav row) ---------- */
.wst-nav-right {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.wst-header-search {
	position: relative;
    display: flex;
    align-items: center;
    width: 250px;
    height: 50px;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    background: #F6F6F6;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.wst-header-search:focus-within {
	border-color: #E83928;
	box-shadow: 0 0 0 2px rgba(232, 57, 40, 0.08);
}

.wst-header-search-ipt {
	flex: 1;
	min-width: 0;
	height: 36px !important;
	margin: 0 4px 0 16px;
	padding: 0 10px !important;
	border: 0 !important;
	outline: none;
	background: transparent;
	color: #333;
	font-size: 14px;
	line-height: 36px;
	box-shadow: none;
	font-family: inherit;
}

.wst-header-search-ipt::-webkit-input-placeholder {
	color: #bbb;
}

.wst-header-search-ipt::-moz-placeholder {
	color: #bbb;
}

.wst-header-search-ipt:-ms-input-placeholder {
	color: #bbb;
}

.wst-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	flex-shrink: 0;
	transition: background .2s ease;
}

.wst-search-btn:hover {
	background: #eee;
}

.wst-search-btn img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.wst-top-bar-inner,
	.wst-main-header-inner,
	.wst-nav-row-inner {
		width: 100%;
		padding: 0 16px;
	}

	.wst-header-search {
		width: 220px;
	}

	.wst-nav-item {
		padding: 0 12px;
		font-size: 14px;
	}
}

@media (max-width: 992px) {
	.wst-main-header-inner {
		height: auto;
		padding: 12px 16px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.wst-nav-row-inner {
		height: auto;
		padding: 12px 16px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.wst-nav-left,
	.wst-nav-right {
		width: 100%;
	}

	.wst-nav-links {
		flex-wrap: wrap;
	}

	.wst-header-search {
		width: 100%;
		max-width: 100%;
	}
}
