﻿/**
 * Global header styles (shared by Divi TB + CORE Self Service).
 * Do not @import Divi here — Self Service uses Bootstrap.
 -----------------------------------------------------------------------*/
@font-face {
	font-family: "Inter";
	src: url("../fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/**
 * Global header (CO 2026-09-10)
 * Theme Builder section uses CSS class "istore-header"; shortcodes fill Code modules.
 -----------------------------------------------------------------------*/
.et-l--header .istore-header.et_pb_section,
.et_pb_section.istore-header {
	--istore-header-blue: #2f9fe0;
	--istore-header-text: #111111;
	--istore-header-muted: #8a8a8a;
	--istore-header-search-bg: #f5f5f5;
	--istore-header-border: #e4e4e4;
	position: relative;
	z-index: 10000;
	background: #ffffff !important;
	border-bottom: 1px solid #d3d3d3;
	font-family: "Inter", sans-serif;
	color: var(--istore-header-text);
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}
.et-l--header .istore-header .et_pb_row {
	width: min(1320px, calc(100% - 64px)) !important;
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 !important;
}
.et-l--header .istore-header .et_pb_column {
	margin-bottom: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
.et-l--header .istore-header .et_pb_module {
	margin-bottom: 0 !important;
}
.et-l--header .istore-header .et_pb_code_inner,
.et-l--header .istore-header .et_pb_text_inner {
	padding: 0 !important;
}
.et-l--header .istore-header__row--top.et_pb_row {
	display: grid !important;
	grid-template-columns: 1fr minmax(320px, 580px) 1fr;
	align-items: center;
	gap: 12px 24px;
}
.et-l--header .istore-header__row--top > .et_pb_column {
	width: 100% !important;
	float: none !important;
}
.et-l--header .istore-header__row--top > .et_pb_column:nth-child(1) {
	justify-self: start;
}
.et-l--header .istore-header__row--top > .et_pb_column:nth-child(2) {
	justify-self: center;
	min-width: 0;
}
.et-l--header .istore-header__row--top > .et_pb_column:nth-child(3) {
	justify-self: end;
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}
.istore-header__logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	flex-shrink: 0;
}
.istore-header__logo img {
	display: block;
	height: 64px;
	width: auto;
}
.istore-header__search-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	min-width: 0;
}
.istore-header__search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--istore-header-border, #e4e4e4);
	border-radius: 999px;
	background: var(--istore-header-search-bg, #f5f5f5);
}
.istore-header__search-icon {
	display: inline-flex;
	color: #555555;
	flex-shrink: 0;
}
.istore-header__search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--istore-header-text, #111111);
	font-family: "Inter", sans-serif !important;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	outline: none;
	-webkit-appearance: none;
}
.istore-header__search input[type="search"]::placeholder {
	color: var(--istore-header-muted, #8a8a8a);
	opacity: 1;
}
.istore-header__search input[type="search"]::-webkit-search-decoration,
.istore-header__search input[type="search"]::-webkit-search-cancel-button,
.istore-header__search input[type="search"]::-webkit-search-results-button,
.istore-header__search input[type="search"]::-webkit-search-results-decoration {
	display: none;
}
.istore-header__utilities-wrap {
	display: inline-flex;
}
.istore-header__utilities {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}
.istore-header__utility {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--istore-header-blue, #2f9fe0) !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
}
.istore-header__utility:hover {
	opacity: 0.85;
}
.istore-header__utility .istore-header__icon {
	color: var(--istore-header-blue, #2f9fe0);
}
.istore-header__utility--shop .istore-header__icon--shop {
	color: #111111;
}
.istore-header__icon--chevron {
	margin-left: -2px;
}
.istore-header__divider {
	display: inline-block;
	width: 1px;
	height: 18px;
	background: #cfcfcf;
}
.istore-header__user {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #111111 !important;
	line-height: 0;
	text-decoration: none !important;
}
.istore-header__user:hover {
	opacity: 0.85;
}
.istore-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111111;
	cursor: pointer;
}
.et-l--header .istore-header__row--nav.et_pb_row {
	display: flex !important;
	justify-content: flex-end;
}
.et-l--header .istore-header__row--nav > .et_pb_column {
	width: 100% !important;
	float: none !important;
}
.istore-header__nav {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.istore-header__nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0 36px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.istore-header__nav-item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.istore-header__nav-item::before,
.istore-header__nav-item::marker {
	content: none !important;
	display: none !important;
}
.istore-header__nav-item > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #111111 !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
}
.istore-header__nav-item > a:hover {
	opacity: 0.75;
}
.istore-header__cta > a,
.istore-header .menu_cta > a {
	padding: 9px 22px;
	border: 1.5px solid var(--istore-header-blue, #2f9fe0);
	border-radius: 999px;
	background: #ffffff;
	color: #111111 !important;
	font-weight: 500;
}
.istore-header__cta > a:hover,
.istore-header .menu_cta > a:hover {
	opacity: 1;
	background: rgba(47, 159, 224, 0.06);
}
.istore-header__home .istore-header__icon--home {
	color: #111111;
}
.et-l--header .istore-header__row--mobile.et_pb_row {
	margin-top: 0 !important;
}
.istore-header__mobile-nav {
	display: none;
}
.istore-header .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Tablet / mobile */
@media only screen and (max-width: 1100px) {
	.et-l--header .istore-header__row--top.et_pb_row {
		grid-template-columns: auto minmax(220px, 1fr) auto;
		gap: 16px;
	}
	.istore-header__nav-list {
		gap: 0 22px;
	}
	.et-l--header .istore-header .et_pb_row {
		width: min(1320px, calc(100% - 32px)) !important;
	}
}

@media only screen and (max-width: 980px) {
	.et-l--header .istore-header.et_pb_section {
		padding-top: 14px !important;
		padding-bottom: 14px !important;
	}
	.et-l--header .istore-header__row--top.et_pb_row {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
	.et-l--header .istore-header__row--top > .et_pb_column:nth-child(2),
	.et-l--header .istore-header__utilities-wrap {
		display: none !important;
	}
	/* Match desktop row specificity so flex !important does not win */
	.et-l--header .istore-header__row--nav.et_pb_row {
		display: none !important;
	}
	.istore-header__toggle {
		display: inline-flex;
	}
	.istore-header.is-open .istore-header__mobile-nav {
		display: flex;
		flex-direction: column;
		gap: 18px;
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px solid #eeeeee;
	}
	.istore-header__mobile-nav .istore-header__search {
		max-width: none;
	}
	.istore-header__mobile-nav .istore-header__utilities-wrap {
		display: block !important;
	}
	.istore-header__nav-list--mobile {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.istore-header__mobile-nav .istore-header__utilities {
		flex-wrap: wrap;
		white-space: normal;
	}
}


/**
 * Self Service (CORE) — layout without Divi builder CSS
 -----------------------------------------------------------------------*/
.core-ss-global-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #ffffff;
}
.core-ss-global-header .et_builder_inner_content,
.core-ss-global-header .istore-header.et_pb_section {
	margin: 0;
}
.core-ss-global-header .istore-header__col-logo {
	display: flex !important;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.core-ss-global-header .istore-header__sidebar-toggle,
.core-ss-global-header .istore-header__sidebar-toggle:hover,
.core-ss-global-header .istore-header__sidebar-toggle:focus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 6px;
	background: var(--istore-header-blue, #2f9fe0) !important;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
}
.core-ss-global-header .istore-header__sidebar-toggle span {
	display: inline;
}
.core-ss-global-header .istore-header__user.dropdown-toggle::after {
	display: none;
}
.core-ss-global-header .istore-header__account .dropdown-menu {
	min-width: 10rem;
	margin-top: 8px;
	font-size: 14px;
}

@media only screen and (max-width: 767px) {
	.core-ss-global-header .istore-header__sidebar-toggle span {
		display: none;
	}
}
