/* Header — ora-us.com style */

.ora-header {
	--ora-header-height: 78px;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ora-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--ora-header-height);
	padding: 0.65rem 0;
}

@media (max-width: 1023px) {
	:root {
		--ora-header-height: 72px;
	}

	.ora-header {
		--ora-header-height: 72px;
		/* Fixed flush to viewport top — no body padding gap */
		position: fixed !important;
		inset: 0 0 auto 0 !important;
		top: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		transform: none !important;
	}

	.ora-header__bar {
		min-height: var(--ora-header-height);
		height: var(--ora-header-height);
		padding-block: 0.45rem;
	}

	.ora-logo img {
		width: auto;
		height: 40px;
		max-width: min(96px, 42vw);
		max-height: 40px;
		object-fit: contain;
	}

	/* Reserve space with a sibling spacer (avoids empty band above the bar) */
	.ora-header-spacer {
		display: block;
		height: var(--ora-header-height, 72px);
		margin: 0;
		padding: 0;
		pointer-events: none;
		visibility: hidden;
	}

	body.admin-bar .ora-header {
		top: 0 !important;
	}

	body.admin-bar .ora-header-spacer {
		height: var(--ora-header-height, 72px);
	}
}

@media (max-width: 1023px) and (min-width: 783px) {
	body.admin-bar .ora-header {
		top: 0 !important;
	}

	body.admin-bar .ora-header-spacer {
		height: var(--ora-header-height, 72px);
	}
}

@media (min-width: 1024px) {
	.ora-header-spacer {
		display: none;
	}
}

.ora-logo {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ora-logo img {
	width: clamp(88px, 14vw, 120px);
	height: auto;
	max-height: none;
	object-fit: contain;
}

.ora-nav--desktop {
	/* True center of the bar (not squeezed between uneven logo/actions widths) */
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	justify-content: center;
	width: max-content;
	max-width: min(52%, 36rem);
}

.ora-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(1.1rem, 2vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ora-nav__list > li {
	margin: 0;
}

.ora-nav__list a,
.ora-nav__link {
	display: inline-flex;
	align-items: center;
	color: var(--ora-black);
	font-family: var(--ora-font);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 160ms var(--ora-ease, ease);
}

.ora-nav__list a:hover,
.ora-nav__link:hover,
.ora-nav__list .current-menu-item > a,
.ora-nav__list .current_page_item > a {
	color: var(--ora-magenta);
}

.ora-header__actions {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.85rem;
	flex-shrink: 0;
	margin-left: auto;
}

.ora-header__account {
	display: none;
	align-items: center;
	gap: var(--ora-space-2, 0.5rem);
}

.ora-header__account-link.ora-btn {
	flex-shrink: 0;
}

.ora-search,
.ora-cart,
.ora-account {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--ora-black);
}

.ora-search:hover,
.ora-cart:hover,
.ora-account:hover {
	color: var(--ora-magenta);
}

.ora-cart svg,
.ora-account svg {
	display: block;
	width: 22px;
	height: 22px;
}

.ora-cart__label,
.ora-account__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ora-cart__count {
	position: absolute;
	top: -4px;
	right: -7px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 999px;
	background: var(--ora-magenta);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.ora-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 8px;
	background: #32373c;
	color: #fff;
	cursor: pointer;
}

@media (min-width: 1024px) {
	.ora-nav--desktop {
		display: flex;
	}

	.ora-header__account {
		display: inline-flex;
	}

	.ora-menu-toggle {
		display: none;
	}
}

/* Drawer */
.ora-drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	pointer-events: none;
	visibility: hidden;
}

.ora-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.ora-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 200ms ease;
}

.ora-drawer.is-open .ora-drawer__overlay {
	opacity: 1;
}

.ora-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(86vw, 320px);
	height: 100%;
	background: #fff;
	padding: 1.25rem;
	transform: translateX(100%);
	transition: transform 240ms var(--ora-ease);
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.ora-drawer.is-open .ora-drawer__panel {
	transform: translateX(0);
}

.ora-drawer__close {
	display: inline-flex;
	margin-bottom: 1rem;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ora-nav-mobile__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ora-nav-mobile__list li + li {
	border-top: 1px solid var(--ora-border);
}

.ora-nav-mobile__list a {
	display: block;
	padding: 0.9rem 0;
	color: var(--ora-black);
	font-weight: 600;
}

.ora-nav-mobile__list a:hover {
	color: var(--ora-magenta);
}

.ora-nav-mobile__list--account {
	margin-top: 1rem;
	padding-top: 0.35rem;
	border-top: 2px solid var(--ora-border);
}

body.ora-drawer-open {
	overflow: hidden;
}
