/**
 * Enhanced Menu Styles
 *
 * @package Ernesto
 * @since 1.0.0
 */

/* ============================================
   Header Top Navigation
   ============================================ */

/* Override style.css fixed 80px height — site-header now has two rows */
.site-header {
	height: auto !important;
}

.header-top-wrapper {
	background: var(--bg-surface, #f8f9fa);
	font-size: 0.875rem;
	margin: 0;
	padding: 0;
}

.header-top-wrapper .container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.header-top-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1.5rem;
}

.header-top-nav a {
	color: var(--color-text-light, #666);
	text-decoration: none;
	transition: color 0.2s ease;
}

.header-top-nav a:hover,
.header-top-nav a:focus {
	color: var(--color-primary, #007bff);
}

.header-utilities {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

/* ============================================
   Social Navigation
   ============================================ */

.social-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
}

.social-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--color-text-light, #666);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.social-nav a:hover,
.social-nav a:focus {
	color: var(--color-primary, #007bff);
	transform: translateY(-2px);
}

.social-nav a svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ============================================
   Header Search
   ============================================ */

.header-search form {
	display: flex;
	align-items: center;
	position: relative;
}

.header-search input[type="search"] {
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--color-border, #e0e0e0);
	border-radius: var(--border-radius, 4px);
	font-size: 0.875rem;
	min-width: 200px;
}

/* Hide the browser's native "clear" (x) control on type="search" fields —
   it sits in the same corner as .search-submit and overlaps it once text
   is typed. We only want our own magnifying-glass submit button there. */
.header-search input[type="search"]::-webkit-search-cancel-button,
.header-search input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.header-search input[type="search"]::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

.header-search button {
	position: absolute;
	right: 0.5rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	color: var(--color-text-light, #666);
}

/* ============================================
   Header Cart & Account
   ============================================ */

.header-cart,
.header-account {
	position: relative;
}

.header-cart .cart-btn,
.header-account .account-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: var(--color-primary, #007bff);
	color: white;
	text-decoration: none;
	border-radius: var(--border-radius, 4px);
	transition: background-color 0.2s ease;
}

.header-cart .cart-btn:hover,
.header-cart .cart-btn:focus,
.header-account .account-btn:hover,
.header-account .account-btn:focus {
	background: var(--color-primary-dark, #0056b3);
}

/* assets/images/{account,account-loggedin,cart,cart-full}.svg are inlined
   via ernesto_get_theme_icon() and have no width/height attribute (only
   viewBox) and hardcode black internally — size and recolor here instead
   of touching the files. Plain paths (no .cls-1) are solid-fill shapes and
   inherit fill from the svg root below; .cls-1 paths are stroke-only
   outlines whose own inline <style> block already sets fill:none (a direct
   match, so it wins regardless of this rule) — only their stroke color
   needs overriding. */
.account-btn svg,
.cart-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.account-btn svg .cls-1,
.cart-btn svg .cls-1 {
	stroke: currentColor;
}

/* Empty/full cart icon swap — cart-count.js toggles [hidden] on whichever
   one doesn't match current cart state (see ernesto_render_cart_button()
   for why this can't be decided server-side). */
.cart-icon {
	display: flex;
}
.cart-icon[hidden] {
	display: none;
}

.header-cart .cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 0.375rem;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 0.75rem;
	font-weight: 600;
}

/* Empty/zero cart: badge is server-rendered hidden and filled by
   cart-count.js — inline-flex above would otherwise beat the UA [hidden] rule. */
.header-cart .cart-count[hidden] {
	display: none;
}

/* ============================================
   Main Navigation - Enhanced
   ============================================ */

.header-main-wrapper {
	position: relative;
	z-index: 1100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* Header End — groups accessibility icon + hamburger on the right */
.header-end {
	display: flex;
	align-items: center;
	gap: var(--space-sm, 0.5rem);
}

/* Menu Toggle Button */
.menu-toggle {
	display: flex;
	align-items: center;
	background: none !important;
	border: none !important;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1002;
	position: relative;
	color: var(--text-main, currentColor);
	transition: opacity 0.2s ease;
	box-shadow: none !important;
}

/* Lottie burger: always use Primary Color, never inherit hover colour changes */
.menu-lottie svg path,
.menu-lottie svg rect,
.menu-lottie svg ellipse {
	fill: var(--color-primary, #007bff) !important;
}

/* High contrast: burger white (primary blue invisible on blue bg) */
body.high-contrast .menu-lottie svg path,
body.high-contrast .menu-lottie svg rect,
body.high-contrast .menu-lottie svg ellipse {
	fill: #ffffff !important;
}

/* High contrast: hamburger menu lines also white */
body.high-contrast .menu-toggle .line {
	background: #ffffff !important;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background: none !important;
	border-color: transparent !important;
	color: var(--color-primary, #007bff) !important;
	opacity: 0.8;
	outline: none;
}

.menu-toggle .menu-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.menu-toggle .line {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: all 0.3s ease;
}

.menu-toggle.is-active .line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active .line:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active .line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Close Button - Hidden (Lottie animation handles closing) */
.menu-close {
	display: none !important;
}

/* Main Navigation */
.main-navigation ul,
.main-navigation .menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2rem;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 0.5rem 0;
	color: var(--text-main, currentColor);
	text-decoration: none;
	font-family: var(--font-nav, inherit);
	font-size: var(--font-size-nav, 0.875rem);
	font-weight: var(--font-weight-nav, 500);
	transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--color-primary, #007bff);
	text-decoration: none;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--color-primary, #007bff);
}

/* Submenu Styles */
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--bg-surface);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: var(--border-radius-md, 0.375rem);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	padding: var(--space-sm, 0.5rem);
	z-index: 1000;
}

.main-navigation .sub-menu li {
	display: block;
}

.main-navigation .sub-menu a {
	padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
	color: var(--text-main, currentColor);
	font-weight: var(--font-weight-nav, 400);
	white-space: nowrap;
	border-radius: var(--border-radius-sm, 0.25rem);
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
	background: rgba(0, 0, 0, 0.05);
	color: var(--color-primary, #007bff);
}

/* Nested Submenus */
.main-navigation .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: -1px;
}

/* Submenu Toggle Button */
.submenu-toggle {
	display: none;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: var(--color-text-light, #666);
}

.submenu-toggle svg {
	display: block;
	transition: transform 0.2s ease;
}

.submenu-toggle.is-active svg {
	transform: rotate(180deg);
}

/* Desktop Hover Menus */
@media (min-width: 1024px) {
	.main-navigation .menu-item-has-children:hover > .sub-menu,
	.main-navigation .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}
}

/* Mobile Social Nav — icons from Header Social Menu, shown in slide-in panel */
.mobile-social-nav {
	display: none; /* hidden on desktop */
	border-top: 1px solid var(--color-border, #e0e0e0);
	margin-top: 1.25rem;
	padding-top: 1.25rem;
}

.mobile-social-nav ul {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
}

/* Override the general mobile <a> padding — icons need square tap targets */
.mobile-social-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border-bottom: none !important;
	color: var(--text-main, currentColor);
	text-decoration: none;
	opacity: 0.75;
	transition: opacity 0.2s ease;
}

.mobile-social-nav a:hover,
.mobile-social-nav a:focus {
	opacity: 1;
	color: var(--color-primary, #007bff);
}

.mobile-social-nav svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

@media (max-width: 767px) {
	.mobile-social-nav {
		display: block;
	}
}

/* Mobile Top Menu */
.mobile-top-menu {
	display: none;
	border-top: 1px solid var(--color-border, #e0e0e0);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.mobile-top-menu ul {
	flex-direction: column;
	gap: 0;
}

.mobile-top-menu a {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border, #e0e0e0);
}

/* Mobile WooCommerce Nav — same cart/account icon buttons as the desktop
   header-top-wrapper (hidden ≤767px below), just smaller and laid out in
   a horizontal row instead of stacked text links. Reuses .header-cart/
   .header-account/.cart-btn/.account-btn so all existing icon styling
   (color, hover, cart-count badge) applies without duplication — see
   ernesto_render_account_button()/ernesto_render_cart_button() in
   inc/woocommerce.php, shared with header-top-nav.php. */
.mobile-woo-nav {
	display: none;
	align-items: center;
	gap: 1.25rem;
	border-top: 1px solid var(--color-border, #e0e0e0);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.mobile-woo-nav .cart-btn,
.mobile-woo-nav .account-btn {
	padding: 0;
	background: none;
	color: var(--text-main, currentColor);
}

.mobile-woo-nav .cart-btn:hover,
.mobile-woo-nav .cart-btn:focus,
.mobile-woo-nav .account-btn:hover,
.mobile-woo-nav .account-btn:focus {
	background: none;
	color: var(--color-primary, #007bff);
}

.mobile-woo-nav .cart-btn svg,
.mobile-woo-nav .account-btn svg {
	width: 20px;
	height: 20px;
}

.mobile-woo-nav .cart-count {
	background: var(--color-primary, #007bff);
	color: white;
}

/* ============================================
   Footer — single inline row
   © Year Name | Privacy | Footer Menu | Social
   ============================================ */

/* Outer row — one shared colour for every child (copyright text, links,
   pipe separators), baked to 75% via color-mix() rather than the `opacity`
   property: opacity on nested elements compounds with any ancestor that
   also has opacity set (e.g. the site-name link inside .copyright would
   render dimmer than the plain "© 2026" text next to it, and would never
   be able to reach full brightness on hover — an ancestor's opacity is a
   hard ceiling a descendant's own opacity can't exceed), whereas a
   semi-transparent color value inherits normally with no such stacking.

   Colour source is --bg-surface: .site-footer paints an inverted band
   (style.css: background-color: var(--text-main); color: var(--bg-surface)),
   so this row sits on a --text-main background and needs the inverted
   token to read. From 2026-08-05 to 2026-08-06 this was --text-main instead,
   because functions.php enqueued 'ernesto-style' from get_stylesheet_uri(),
   which on a child-theme site resolves to the CHILD's (empty) style.css, so
   the inverted band never painted and --text-main-on---text-main was the
   only combination that read (dark-on-dark work-around). That enqueue bug is
   now fixed (get_template_directory_uri() is used instead), so the inverted
   band is real again — swap back to --bg-surface or footer text goes
   invisible. Don't flip this again without re-measuring contrast. */
.site-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
	padding: 1rem 0;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--bg-surface, #f8f9fa) 75%, transparent);
}

.site-info a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-info a:hover,
.site-info a:focus {
	color: var(--bg-surface, #f8f9fa);
	text-decoration: none;
}

/* Pipe separators — inherit the same dimmed colour instead of their own
   (previously mismatched) fallback. */
.site-info .sep {
	color: inherit;
	padding: 0 0.5rem;
	user-select: none;
}

/* Footer nav: inline flex list */
.footer-navigation {
	display: flex;
	align-items: center;
}

.footer-navigation ul,
.footer-navigation .footer-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem 1rem;
}

/* Social nav: inline flex */
.footer-social-nav {
	display: flex;
	align-items: center;
}

.footer-social-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.5rem;
}

/* Mobile: stack, hide pipes */
@media (max-width: 767px) {
	.site-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding: 1.25rem 0;
	}

	.site-info .sep {
		display: none;
	}

	.footer-navigation ul,
	.footer-navigation .footer-menu {
		flex-direction: column;
		gap: 0.375rem;
	}
}

/* ============================================
   Responsive - Mobile
   ============================================ */

/* Desktop Styles */
@media (min-width: 768px) {
	/* Show navigation on desktop */
	.main-navigation {
		display: block;
		position: static;
		background: none;
		overflow: visible;
		padding: 0;
		width: auto;
		height: auto;
		box-shadow: none;
	}

	/* Hide menu toggle on desktop */
	.menu-toggle {
		display: none;
	}

	.menu-close {
		display: none;
	}

	/* Desktop menu layout */
	.main-navigation > ul,
	.main-navigation > .menu,
	.main-navigation > #primary-menu {
		display: flex !important;
		align-items: center;
		gap: 2rem;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.main-navigation > ul > li,
	.main-navigation > #primary-menu > li {
		border-bottom: none;
	}

	/* Desktop submenu styles */
	.main-navigation .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: var(--bg-surface);
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: var(--border-radius-md, 0.375rem);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
		padding: var(--space-sm, 0.5rem);
		margin: 0;
		z-index: 1000;
	}

	.main-navigation .menu-item-has-children:hover > .sub-menu,
	.main-navigation .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}

	.main-navigation .sub-menu li {
		border-bottom: none;
	}

	.main-navigation .sub-menu a {
		padding: 0.75rem 1.25rem;
		color: var(--text-main, currentColor);
	}

	.main-navigation .sub-menu a:hover,
	.main-navigation .sub-menu a:focus {
		background: rgba(0, 0, 0, 0.05);
		color: var(--color-primary, #007bff);
	}

	/* Hide submenu toggle on desktop */
	.submenu-toggle {
		display: none;
	}
}

/* Mobile Styles */
@media (max-width: 767px) {
	/* Hide desktop elements on mobile */
	.header-top-wrapper {
		display: none;
	}

	/* Show mobile menu toggle */
	.menu-toggle {
		display: flex;
	}

	/* Mobile menu overlay - hidden by default */
	.main-navigation {
		display: block;
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 400px;
		height: 100vh;
		background: var(--bg-surface);
		overflow-y: auto;
		padding: 4rem 2rem 2rem;
		transition: right 0.3s ease;
		z-index: 1001;
		box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
	}

	.main-navigation.is-open {
		right: 0;
	}

	/* Show close button on mobile */
	body.menu-open .menu-close {
		display: block;
	}

	/* Blur content and site branding when menu is open */
	body.menu-open #content,
	body.menu-open .site-branding {
		filter: blur(2px) brightness(0.95);
		transition: filter 0.3s ease;
		pointer-events: none;
	}

	/* Mobile menu items */
	.main-navigation ul,
	.main-navigation .menu {
		display: flex !important;
		flex-direction: column;
		gap: 0;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	/* Separator between top-level groups (sits above each item except first) */
	.main-navigation > ul > li,
	.main-navigation > .menu > li,
	.main-navigation > #primary-menu > li {
		border-top: 1px solid var(--color-border, #e0e0e0);
	}

	.main-navigation > ul > li:first-child,
	.main-navigation > .menu > li:first-child,
	.main-navigation > #primary-menu > li:first-child {
		border-top: none;
	}

	/* Top-level links: no border (separator is on the <li>) */
	.main-navigation a {
		padding: 0.75rem 0;
		border-bottom: none;
		font-size: 1.125rem;
	}

	/* Mobile submenus — always visible, no toggle needed */
	.main-navigation .sub-menu {
		position: static;
		display: block;
		border: none;
		box-shadow: none;
		background: transparent;
		border-radius: 0;
		margin: 0;
		padding: 0 0 0.375rem;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	/* Sub-menu links: body font, flush left, muted */
	.main-navigation .sub-menu a {
		padding: 0.3rem 0;
		font-family: var(--font-primary, inherit);
		font-size: 0.9375rem; /* 15px */
		font-weight: 400;
		color: var(--text-main, currentColor);
		opacity: 0.65;
		border-bottom: none;
		white-space: normal;
	}

	.main-navigation .sub-menu a:hover,
	.main-navigation .sub-menu a:focus {
		opacity: 1;
		color: var(--color-primary, #007bff);
		background: transparent;
	}

	.main-navigation .sub-menu .sub-menu a {
		padding-left: 0.75rem;
	}

	/* Hide submenu toggle — sub-menus are always expanded on mobile */
	.submenu-toggle {
		display: none !important;
	}

	/* Show mobile top menu */
	.main-navigation.is-open .mobile-top-menu {
		display: block;
	}

	/* Show mobile WooCommerce nav */
	.main-navigation.is-open .mobile-woo-nav {
		display: flex;
	}

	/* WPML language switcher on mobile — the desktop hover-dropdown trigger
	   is redundant once every language is shown at once, so hide it and lay
	   the .sub-menu out as a flat "EN | DE | FR | IT | ES" row instead of
	   the generic always-expanded vertical submenu style above. Equal
	   selector specificity to ".main-navigation .sub-menu" — must stay
	   after it in source order to win. */
	.wpml-menu-item > a {
		display: none;
	}

	.wpml-menu-item .sub-menu {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding: 0.75rem 0 0;
	}

	.wpml-menu-item .sub-menu li {
		display: flex;
		align-items: center;
	}

	.wpml-menu-item .sub-menu li + li::before {
		content: "|";
		margin: 0 0.5rem;
		color: var(--color-border, #ccc);
		opacity: 1;
	}

	.wpml-menu-item .sub-menu a {
		padding: 0;
		font-size: 0.875rem;
	}
}

/* ============================================
   Conditional Menu Item Visibility
   (works at all breakpoints, most useful on mobile)

   How to use:
   - Add CSS class "menulogged-in"  to items that only logged-in users should see
   - Add CSS class "menulogged-out" to items that only logged-out users should see
   - Add CSS class "menucart-full"  to items that only show when cart has items
   - Add CSS class "menubold"       to sub-menu items that need slightly heavier weight
   Set these in: Appearance → Menus → (Screen Options) → CSS Classes
   ============================================ */

/* Hide conditional items by default */
.main-navigation li.menulogged-in,
.main-navigation li.menulogged-out,
.main-navigation li.menucart-full {
	display: none;
}

/* Show logged-in items for authenticated users */
body.logged-in .main-navigation li.menulogged-in {
	display: block;
}

/* Show logged-out items for guests */
body:not(.logged-in) .main-navigation li.menulogged-out {
	display: block;
}

/* Show cart item when cart has contents (body class added via functions.php) */
body.menucart-full .main-navigation li.menucart-full {
	display: block;
}

/* Bold sub-menu items (add class "menubold" to menu item in admin) */
.main-navigation .sub-menu li.menubold > a {
	font-weight: 500 !important;
}

/* ============================================
   Sticky Header (Optional)
   ============================================ */

@media (min-width: 1024px) {
	.site-header.is-sticky {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: var(--bg-surface);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		animation: slideDown 0.3s ease;
	}

	.site-header.is-sticky .header-top-wrapper {
		display: none;
	}

	@keyframes slideDown {
		from {
			transform: translateY(-100%);
		}
		to {
			transform: translateY(0);
		}
	}

}

/* ============================================
   Print Styles
   ============================================ */

/* ── High contrast: cart/account always white on primary blue ────────────
   Both are <a> tags, so without their own !important override here they
   fall through to the generic "links are brown" rule in accessibility.css
   (higher up the cascade, also !important — specificity/order don't save
   a plain <a> from that). Account never had this counter-rule (only cart
   did), which is exactly why its icon showed brown instead of white. */

body.high-contrast .header-cart .cart-btn,
body.high-contrast .header-cart .cart-btn:hover,
body.high-contrast .header-cart .cart-btn:focus,
body.high-contrast .header-account .account-btn,
body.high-contrast .header-account .account-btn:hover,
body.high-contrast .header-account .account-btn:focus {
	background: var(--color-primary, #000066) !important;
	color: #ffffff !important;
}

/* .cart-icon (the empty/full icon wrapper spans, ernesto_render_cart_button())
   is itself a bare <span> — accessibility.css's "all text elements → navy"
   rule directly matches it and !important wins over the inherited white
   from .cart-btn above, same bug as the button-text fix elsewhere in this
   file. Account has no such wrapper (icon markup sits straight inside the
   <a>), which is why it doesn't need this. */
body.high-contrast .header-cart .cart-btn .cart-icon {
	color: #ffffff !important;
}

body.high-contrast .header-cart .cart-count {
	background: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
}

/*
 * OS-level @media (prefers-contrast: high) mirror removed — high contrast is
 * opt-in via the accessibility toolbar only (body.high-contrast).
 */

@media print {
	.header-top-wrapper,
	.menu-toggle,
	.menu-close,
	.header-cart,
	.header-search,
	.social-nav {
		display: none !important;
	}
}
