/*
 * Header Variant: Sleek V1
 * Inspired by clean retail navigation with compact top announcement strip.
 */

.site-header {
	border-bottom: 0;
	box-shadow: none;
}

.site-header .sg-header-topbar {
	background: #000000;
	color: #ffffff;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.site-header .sg-header-topbar-inner {
	grid-template-columns: 1fr;
}

.site-header .sg-header-topbar-left,
.site-header .sg-header-topbar-right {
	display: none;
}

.site-header .sg-header-topbar-text {
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

.site-header .sg-header-main {
	background: #f3f3f3;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 0;
	border-bottom: 0;
	grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
	gap: 2rem;
}

.site-header .sg-header-logo {
	justify-self: start;
}

.site-header .sg-header-nav-main .main-navigation > ul {
	justify-content: center;
	gap: clamp(24px, 2.1vw, 44px);
}

.site-header .sg-header-nav-main .main-navigation a {
	font-size: clamp(14px, 1.05vw, 18px);
	font-weight: 600;
	color: #111111;
}

.site-header .sg-header-actions {
	gap: 0.65rem;
}

.site-header .sg-header-actions .search-toggle,
.site-header .sg-header-actions .account-icon,
.site-header .sg-header-actions .wishlist-icon,
.site-header .sg-header-actions .cart-icon {
	background: transparent;
	border: 0;
	border-radius: 0;
	width: auto;
	height: auto;
	padding: 0;
	box-shadow: none;
	transform: none;
	color: #111111;
}

.site-header .sg-header-shell .sg-header-search-drawer {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.site-header .sg-header-shell .sg-header-search-drawer .search-toggle-mobile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #111111;
}

.site-header .sg-header-shell .sg-header-search-drawer .icon-close {
	display: none;
}

.site-header .sg-header-main.mobile-search-open .sg-header-search-drawer .search-toggle-mobile .icon-search {
	display: none;
}

.site-header .sg-header-main.mobile-search-open .sg-header-search-drawer .search-toggle-mobile .icon-close {
	display: inline;
}

.site-header .sg-header-shell .sg-header-search-panel {
	display: none;
}

.site-header .sg-header-main.mobile-search-open .sg-header-search-panel {
	display: block;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	left: auto;
	width: min(540px, calc(100vw - 24px));
	max-width: calc(100vw - 24px);
	background: #f3f3f3;
	padding: 16px 14px 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
	overflow-y: auto;
	z-index: 1000;
}

.site-header .sg-header-actions .search-toggle:hover,
.site-header .sg-header-actions .account-icon:hover,
.site-header .sg-header-actions .wishlist-icon:hover,
.site-header .sg-header-actions .cart-icon:hover {
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
}

.site-header .sg-header-actions .search-toggle svg,
.site-header .sg-header-actions .account-icon svg,
.site-header .sg-header-actions .wishlist-icon svg,
.site-header .sg-header-actions .cart-icon svg {
	width: 28px;
	height: 28px;
	stroke-width: 1.65;
}

.site-header .sg-header-call,
.site-header .sg-header-quote,
.site-header .sg-header-bottom-strip,
.site-header .sg-header-navband {
	display: none;
}

@media (max-width: 921px) {
	body.sg-mobile-search-lock {
		overflow: hidden;
	}

	.site-header .sg-header-topbar {
		padding: 8px 10px;
		font-size: 16px;
	}

	.site-header .sg-header-topbar .sg-header-marquee-track {
		animation-duration: 13s;
	}

	.site-header .sg-header-main {
		grid-template-columns: auto minmax(0, 1fr) auto;
		padding: 10px 12px;
		gap: 0.8rem;
	}

	.site-header .sg-header-nav-main {
		order: 1;
		justify-self: start;
		width: auto;
		min-width: 0;
	}

	.site-header .sg-header-nav-main .main-navigation {
		width: auto;
	}

	.site-header .sg-header-logo {
		order: 2;
		justify-self: center;
	}

	.site-header .sg-header-actions {
		order: 3;
		justify-self: end;
		gap: 0.55rem;
	}

	.site-header .sg-header-shell .sg-header-search-drawer {
		position: static;
	}

	.site-header .sg-header-actions .search-toggle svg,
	.site-header .sg-header-actions .account-icon svg,
	.site-header .sg-header-actions .wishlist-icon svg,
	.site-header .sg-header-actions .cart-icon svg {
		width: 24px;
		height: 24px;
	}

	.site-header .menu-toggle {
		display: inline-flex;
		align-self: center;
		padding: 4px;
		border: 0;
		background: transparent;
		border-radius: 0;
	}

	.site-header .main-navigation > ul {
		position: absolute;
		top: calc(100% + 12px);
		left: 0;
		right: auto;
		min-width: min(320px, calc(100vw - 24px));
		max-width: calc(100vw - 24px);
		margin-top: 0;
		padding: 0.45rem 0.9rem;
		background: #ffffff;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 12px;
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
		z-index: 50;
	}

	.site-header .main-navigation > ul > li + li {
		border-top: 1px solid rgba(0, 0, 0, 0.08);
	}

	.site-header .main-navigation a {
		font-size: 16px;
		padding: 0.72rem 0.2rem;
	}

	.site-header .sg-header-main.mobile-search-open .sg-header-search-panel {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--shopgen-mobile-search-top, 112px);
		bottom: 0;
		width: auto;
		max-width: none;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
		overflow-y: auto;
		z-index: 1000;
	}

	.site-header .sg-header-search-panel-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		margin-bottom: 10px;
	}

	.site-header .sg-header-search-panel-title {
		margin: 0;
		font-size: 20px;
		font-weight: 600;
		color: #111111;
	}

	.site-header .sg-header-search-panel-close {
		font-size: 30px;
		line-height: 1;
		padding: 0;
		border: 0;
		background: transparent;
		color: #111111;
		cursor: pointer;
	}

	.site-header .sg-header-search-panel .header-search-shortcode {
		display: block;
		width: 100%;
		max-width: 100%;
	}

	/* Plugin-agnostic + DGWT Woo search styling inside Sleek mobile panel. */
	.site-header .sg-header-search-panel .header-search-shortcode form,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-search-wrapp,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-sf-wrapp {
		width: 100%;
		max-width: 100%;
	}

	.site-header .sg-header-search-panel .header-search-shortcode input[type="search"],
	.site-header .sg-header-search-panel .header-search-shortcode input[type="text"],
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-search-input {
		width: 100% !important;
		height: 52px;
		border-radius: 999px;
		border: 1px solid #e5e5e5;
		background: #ededed;
		padding: 0 18px 0 50px;
		font-size: 18px;
		line-height: 1.2;
		color: #111111;
		box-shadow: none;
	}

	.site-header .sg-header-search-panel .header-search-shortcode input::placeholder,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-search-input::placeholder {
		color: #7a7a7a;
		opacity: 1;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-preloader,
	.site-header .sg-header-search-panel .header-search-shortcode button[type="submit"],
	.site-header .sg-header-search-panel .header-search-shortcode .search-submit {
		top: 50%;
		transform: translateY(-50%);
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-suggestions-wrapp,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-suggestions-wrapp * {
		font-family: inherit;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-suggestions-wrapp {
		margin-top: 18px;
		border: 0;
		box-shadow: none;
		background: transparent;
		padding: 0;
		max-height: none;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-suggestion,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-suggestion-product {
		padding: 10px 0;
		border-bottom: 1px solid #d7d7d7;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-si {
		width: 70px;
		height: 70px;
		border-radius: 8px;
		overflow: hidden;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-st {
		font-size: 18px;
		line-height: 1.25;
		font-weight: 500;
		color: #111111;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-sp,
	.site-header .sg-header-search-panel .header-search-shortcode .dgwt-wcas-price {
		font-size: 18px;
		font-weight: 700;
		color: #111111;
	}

	/* AWFFS (ajax-woo-flat-file-search) specific styling in header panel. */
	.site-header .sg-header-search-panel .header-search-shortcode .awffs-search-wrapper {
		display: block;
		max-width: 100%;
		margin: 0;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-search-container {
		background: #ededed;
		border-radius: 999px;
		padding: 0 12px;
		height: 52px;
		border: 1px solid #e5e5e5;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-search-icon {
		margin-right: 8px;
		font-size: 18px;
		color: #555555;
	}

	.site-header .sg-header-search-panel .header-search-shortcode #awffs-search-input {
		font-size: 18px;
		padding: 0;
		margin-right: 8px;
		color: #111111;
	}

	.site-header .sg-header-search-panel .header-search-shortcode #awffs-search-input::placeholder {
		color: #7a7a7a;
		opacity: 1;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-close-icon {
		font-size: 18px;
		color: #666666;
		margin-left: 6px;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-search-results {
		position: static;
		width: 100%;
		margin-top: 14px;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-result-section {
		margin-bottom: 14px;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-section-title {
		font-size: 16px;
		font-weight: 700;
		color: #111111;
		letter-spacing: 0;
		text-transform: none;
		margin: 8px 0 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #d9d9d9;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-category-item {
		font-size: 16px;
		line-height: 1.45;
		color: #1a1a1a;
		margin: 6px 0;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-products .awffs-product-item {
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0;
		padding: 10px 0;
		border-bottom: 1px solid #e1e1e1;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-product-image {
		width: 60px;
		height: 60px;
		border-radius: 8px;
		margin-right: 0;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-product-link {
		font-size: 18px;
		line-height: 1.35;
		font-weight: 500;
		color: #111111;
		text-decoration: none;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-see-all {
		text-align: left;
		margin-top: 12px;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-see-all-link {
		font-size: 15px;
		color: #6a6a6a;
		text-decoration: none;
	}

	.site-header .sg-header-search-panel .header-search-shortcode .awffs-no-results {
		font-size: 15px;
		color: #777777;
		text-align: left;
		padding: 6px 0;
	}
}
