/**
 * Header search icon + h26-7 layout (desktop + mobile).
 */

/* ── Header row layout ── */
header.et-l--header .h26-7 .n26-row .et_pb_column_2_tb_header {
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: nowrap !important;
}

header.et-l--header .n26-row .et_pb_column_3_tb_header,
header.et-l--header .h26-7 .n26-row .et_pb_column_3_tb_header {
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 14px;
	flex-wrap: nowrap !important;
}

header.et-l--header .h26-7 .n26-row .et_pb_column_3_tb_header>.et_pb_module {
	flex: 0 0 auto;
	width: auto !important;
	max-width: none !important;
	margin-bottom: 0 !important;
}

header.et-l--header .h26-7 .n26-row,
header.et-l--header .h26-7 .n26-row .et_pb_column_3_tb_header {
	overflow: visible !important;
}

/* Search icon + dropdown wrapper */
header.et-l--header .a4h-header-search-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

header.et-l--header .a4h-header-search-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(420px, calc(100vw - 24px));
	z-index: 100100;
	padding: 14px;
	background: #ececec;
	border-top: 2px solid #e44f3d;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

header.et-l--header .a4h-header-search-dropdown::before {
	content: "";
	position: absolute;
	top: -19px;
	right: 6px;
	border: 9px solid transparent;
	border-bottom-color: #e44f3d;
}

.a4h-header-search-dropdown .c-search {
	border: 0;
}

header.et-l--header .a4h-header-search-dropdown[hidden] {
	display: none !important;
}

header.et-l--header .a4h-header-search-dropdown .c-search,
header.et-l--header .a4h-header-search-dropdown .et_pb_search {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

header.et-l--header .a4h-header-search-dropdown .et_pb_searchform {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
}

header.et-l--header .a4h-header-search-dropdown .et_pb_searchform>div {
	display: flex;
	align-items: stretch;
	gap: 0;
}

header.et-l--header .a4h-header-search-dropdown input.et_pb_s {
	border: 0 !important;
	border-radius: 4px 0 0 4px !important;
	padding: 11px 14px !important;
	flex: 1 1 auto;
	min-width: 0;
}

header.et-l--header .a4h-header-search-dropdown input.et_pb_searchsubmit {
	position: static !important;
	transform: none !important;
	width: auto !important;
	min-width: 88px;
	height: auto !important;
	min-height: 44px;
	border-radius: 0 4px 4px 0 !important;
	font-size: 14px !important;
	font-weight: 600;
	color: #fff !important;
	background: unset !important;
	background-image: none !important;
	padding: 0 16px !important;
	cursor: pointer;
}

header.et-l--header .a4h-header-search-dropdown input.et_pb_searchsubmit:hover {
	background-color: #16aa9d !important;
}

/* Search icon button (injected or from builder) */
header.et-l--header .a4h-header-search-icon {
	appearance: none;
	background: none;
	border: 0;
	padding: 6px;
	margin: 0;
	cursor: pointer;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #e44f3d;
	transition: background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

header.et-l--header .a4h-header-search-icon:hover,
header.et-l--header .a4h-header-search-icon.is-active {
	background-color: rgba(228, 79, 61, 0.12);
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(228, 79, 61, 0.2);
}

header.et-l--header .a4h-header-search-icon img {
	display: block;
	width: 22px;
	height: 22px;
	max-width: none;
	pointer-events: none;
	/* White/light asset → theme coral (#e44f3d) */
	filter: brightness(0) saturate(100%) invert(40%) sepia(79%) saturate(1878%) hue-rotate(337deg) brightness(96%) contrast(93%);
}

/* Cart */
header.et-l--header .h26-7 .hcart-26 {
	margin: 0 !important;
	padding-left: 28px !important;
	background: url(/wp-content/uploads/2026/01/v2-cart.png) left center / 20px no-repeat;
	white-space: nowrap;
}

header.et-l--header .h26-7 .hcart-26 .lwp_menu_cart,
header.et-l--header .h26-7 .hcart-26 a {
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
}

header.et-l--header .h26-7 .hcart-26 a span:not(.lwp_menu_cart_count) {
	display: none;
}

/* Login / account button */
header.et-l--header .h26-7 .n26-row .v2-lg-btn.et_pb_button {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	white-space: nowrap;
	padding: 10px 14px !important;
}

/* Mobile menu trigger */
header.et-l--header .h26-7 .a4h-mobile-menu-trigger {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	flex: 0 0 auto !important;
}

header.et-l--header .h26-7 .a4h-mobile-menu-trigger .et_pb_text_inner,
header.et-l--header .h26-7 .a4h-mobile-menu-trigger p {
	margin: 0;
	padding: 0;
	line-height: 0;
}

header.et-l--header .h26-7 #rmp_menu_trigger-249829 {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	transform: none !important;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
}

.h26-7 .c-search.et_pb_search input.et_pb_searchsubmit {
	background-color: unset !important;
}

/* Desktop nav in center column */
header.et-l--header .h26-7 .a4h-header-nav--relocated.et_pb_menu,
header.et-l--header .h26-7 .n26-row .et_pb_column_2_tb_header .et_pb_menu.v2-navbar {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

header.et-l--header .h26-7 .et_pb_menu.v2-navbar .et_pb_menu__wrap {
	justify-content: center;
}

header.et-l--header .h26-7 .a4h-header-nav--relocated .et_pb_menu__wrap {
	justify-content: center !important;
}

header.et-l--header .h26-7 .a4h-header-nav--relocated .et_pb_menu__menu {
	display: block !important;
	margin-right: 0 !important;
}

header.et-l--header .h26-7 .a4h-header-nav--relocated .et_mobile_nav_menu {
	display: none !important;
}

/* Mobile search row */
header.et-l--header .h26-7 .n26-row-mobile .c-search.et_pb_search {
	width: 100% !important;
	max-width: 100% !important;
}

header.et-l--header .h26-7 .c-search .et_pb_searchform {
	background: #fff;
	border: 1px solid #e44f3d;
	border-radius: 999px;
}

header.et-l--header .h26-7 .c-search input.et_pb_s {
	border: 0 !important;
	border-radius: 999px !important;
	padding: 11px 17px 11px 16px !important;
	font-size: 14px;
}

header.et-l--header .h26-7 .c-search input.et_pb_searchsubmit {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	font-size: 0;
	color: transparent;
	background: url(/wp-content/uploads/2026/01/search-ico.png) center / 17px no-repeat !important;
	cursor: pointer;
	filter: brightness(0) saturate(100%) invert(40%) sepia(79%) saturate(1878%) hue-rotate(337deg) brightness(96%) contrast(93%);
	padding-left: 10px !important;
	min-width: 40px;
}

header.et-l--header .h26-7 .c-search input.et_pb_searchsubmit:hover {
	background-color: #16aa9d;
}

.a4h-search-highlight {
	outline: 3px solid #e44f3d !important;
	outline-offset: 4px;
	border-radius: 999px;
	box-shadow: 0 0 0 6px rgba(228, 79, 61, 0.18), 0 12px 30px -14px rgba(0, 0, 0, 0.25) !important;
}

/* Shop hero search — highlight when opened from header icon */
.a4h-sr form.search.a4h-search-highlight {
	border-color: #e44f3d !important;
}

/* ── Desktop ── */
@media (min-width: 981px) {
	header.et-l--header .h26-7 .n26-row-mobile {
		display: none !important;
	}

	header.et-l--header .h26-7 .n26-row .v2-navbar-row1 {
		display: block !important;
	}

	header.et-l--header .h26-7 .a4h-mobile-menu-trigger {
		display: none !important;
	}

	/* Logo | menu | actions — single row */
	header.et-l--header .h26-7 .n26-row.et_pb_row_1_tb_header>.et_pb_column_1_tb_header {
		width: 25% !important;
		flex: 0 0 25% !important;
	}

	header.et-l--header .h26-7 .n26-row.et_pb_row_1_tb_header>.et_pb_column_2_tb_header {
		display: flex !important;
		width: 50% !important;
		flex: 1 1 50% !important;
	}

	header.et-l--header .h26-7 .n26-row.et_pb_row_1_tb_header>.et_pb_column_3_tb_header {
		width: 25% !important;
		flex: 0 0 25% !important;
	}

	/* Nav moved into row 1 — hide old menu row */
	header.et-l--header .h26-7 .et_pb_row_2_tb_header.et_pb_row--with-menu {
		display: none !important;
	}
}

/* ── Tablet + mobile ── */
@media (max-width: 980px) {
	header.et-l--header .h26-7 .n26-row .v2-navbar-row1 {
		display: none !important;
	}

	header.et-l--header .h26-7 .n26-row-mobile {
		display: flex !important;
		padding-top: 0 !important;
	}

	header.et-l--header .h26-7 .n26-row.et_pb_row_1_tb_header {
		display: flex !important;
		align-items: center !important;
		flex-wrap: nowrap !important;
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}

	header.et-l--header .h26-7 .n26-row .et_pb_column_0_tb_header {
		width: 32% !important;
		flex: 0 0 32% !important;
		margin-bottom: 0 !important;
	}

	header.et-l--header .h26-7 .n26-row .et_pb_column_1_tb_header {
		display: none !important;
	}

	header.et-l--header .h26-7 .n26-row .et_pb_column_3_tb_header {
		width: 68% !important;
		flex: 1 1 68% !important;
		gap: 4px !important;
	}

	header.et-l--header .h26-7 .a4h-mobile-menu-trigger {
		display: flex !important;
	}

	header.et-l--header .h26-7 .n26-row .v2-lg-btn.et_pb_button {
		padding: 8px 10px !important;
		font-size: 10px !important;
	}

	header.et-l--header .h26-7 .hcart-26 {
		padding-left: 24px !important;
		font-size: 12px;
	}
}

/* Undo legacy mobile header rules for the new layout */
@media (max-width: 980px) {
	header.et-l--header .h26-7 .et_pb_row_1_tb_header .et_pb_column_1_tb_header {
		display: block !important;
		width: 100% !important;
	}

	header.et-l--header .h26-7 .et_pb_row_1_tb_header .et_pb_menu_0_tb_header {
		display: none !important;
	}

	header.et-l--header .h26-7 .et_pb_row_1_tb_header .et_pb_text_1_tb_header {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		position: relative !important;
		transform: none !important;
	}

	header.et-l--header .h26-7~#page-container #rmp_menu_trigger-249829,
	header.et-l--header .h26-7 #rmp_menu_trigger-249829 {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		transform: none !important;
	}
}

@media (max-width: 980px) {
	header.et-l--header .h26-7 .n26-row-mobile {
		display: none !important;
	}

	body.a4h-header-search-dropdown header.et-l--header .h26-7 .n26-row .et_pb_column_2_tb_header,
	body.a4h-header-search-hero-focus header.et-l--header .h26-7 .n26-row .et_pb_column_2_tb_header {
		display: none !important;
	}

	/* Keep mobile hamburger row visible (menu + RMP trigger) */
	header.et-l--header .h26-7 .et_pb_row_2_tb_header.et_pb_row--with-menu {
		display: block !important;
	}

	header.et-l--header .h26-7 .et_pb_row_2_tb_header .et_pb_menu_0_tb_header,
	header.et-l--header .h26-7 .et_pb_row_2_tb_header .c-search.et_pb_search_1_tb_header {
		display: none !important;
	}

	header.et-l--header .a4h-header-search-dropdown {
		right: -70px;
		width: min(280px, calc(100vw - 20px));
	}

	header.et-l--header .a4h-header-search-dropdown::before {
		right: 75px;
	}
}

@media screen and (max-width:767px) {
	header.et-l--header .a4h-header-search-icon {
		width: 30px;
		height: 30px;
	}

	header.et-l--header .a4h-header-search-icon img {
		width: 100%;
		height: 100%;
	}

	header.et-l--header .h26-7 .hcart-26,
	.hcart-26 {
		background: unset !important;
	}

	header.et-l--header .h26-7 #rmp_menu_trigger-249829 {
		top: 120px !important;
	}
}