/* =========================================================================
   Aqua-Net Header v1.1.0
   Breakpoints: 1680 / 1400 / 1280 (compact desktop) · 1180 (drawer) · 760 · 600 · 400
   ========================================================================= */

.anh {
	--anh-navy: #1b4c76;
	--anh-navy-dk: #143a5c;
	--anh-text: #1d3b57;
	--anh-gold: #9a7a45;
	--anh-cream: #fbf8f3;
	--anh-bar: #ebe6dd;
	--anh-line: #dcd4c6;
	--anh-soft: #f3eee5;
	--anh-wa: #3a9be0;
	--anh-wa-dk: #2a86c9;
	--anh-radius: 999px;
	--anh-h: 48px;

	position: relative;
	z-index: 9990;
	background: var(--anh-cream);
	color: var(--anh-text);
	font-size: 16px;
	line-height: 1.3;
}
.anh *, .anh *::before, .anh *::after { box-sizing: border-box; }
html .anh ul { list-style: none !important; margin: 0 !important; padding: 0 !important; line-height: inherit; }
.anh li { list-style: none; margin: 0; padding: 0; }
.anh a { color: inherit; text-decoration: none; }
.anh button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.anh .anh-i { width: 1.2em; height: 1.2em; flex: none; display: block; }
.anh .anh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anh :focus-visible { outline: 2px solid var(--anh-wa); outline-offset: 2px; }

.anh .anh-wrap { max-width: 1760px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top bar ---------- */
.anh .anh-topbar { background: var(--anh-bar); font-size: 13.5px; }
.anh .anh-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 24px; }
.anh .anh-trust { display: flex; align-items: center; }
.anh .anh-trust li { display: flex; align-items: center; gap: 8px; padding: 0 18px; border-left: 1px solid var(--anh-line); white-space: nowrap; }
.anh .anh-trust li:first-child { padding-left: 0; border-left: 0; }
.anh .anh-trust .anh-i { color: var(--anh-gold); width: 16px; height: 16px; }
.anh .anh-toplinks { display: flex; align-items: center; border-left: 1px solid var(--anh-line); }
.anh .anh-toplinks li { white-space: nowrap; padding: 0 16px; border-left: 1px solid var(--anh-line); }
.anh .anh-toplinks li:first-child { border-left: 0; }
.anh .anh-toplinks li:last-child { padding-right: 0; }
.anh .anh-toplinks a:hover { color: var(--anh-gold); }

/* ---------- Middle row ---------- */
.anh .anh-mid-in { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.anh .anh-logo { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.anh .anh-logo img { display: block; width: auto; height: auto; max-height: 76px; max-width: 290px; }
.anh .anh-logo-text { font-size: 34px; font-weight: 700; color: var(--anh-navy); }
.anh .anh-tagline { font-size: 17px; letter-spacing: .02em; margin-top: -4px; }

.anh .anh-search { position: relative; flex: 1 1 260px; min-width: 200px; display: flex; height: var(--anh-h); background: #fff; border: 1px solid #cdc5b6; border-radius: var(--anh-radius); overflow: hidden; }
.anh .anh-search > .anh-i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #5d6773; pointer-events: none; }
.anh .anh-search input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0; margin: 0; padding: 0 16px 0 54px; background: transparent; font: inherit; font-size: 16px; color: var(--anh-text); box-shadow: none; -webkit-appearance: none; appearance: none; }
.anh .anh-search input[type="search"]::placeholder { color: #6c7580; opacity: 1; }
.anh .anh-search input[type="search"]:focus { outline: none; }
.anh .anh-search:focus-within { border-color: var(--anh-navy); box-shadow: 0 0 0 3px rgba(27,76,118,.15); }
.anh .anh-search-btn { flex: none; width: 68px; display: grid; place-items: center; background: var(--anh-navy); color: #fff; border-radius: 0 var(--anh-radius) var(--anh-radius) 0; transition: background .15s; }
.anh .anh-search-btn:hover { background: var(--anh-navy-dk); }
.anh .anh-search-btn .anh-i { width: 23px; height: 23px; }

.anh .anh-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.anh .anh-btn { display: inline-flex; align-items: center; gap: 10px; height: var(--anh-h); padding: 0 22px; border-radius: var(--anh-radius); font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.anh .anh-btn .anh-i { width: 22px; height: 22px; }
.anh .anh-btn-wa { background: var(--anh-wa); color: #fff; box-shadow: 0 6px 16px rgba(58,155,224,.32); }
.anh .anh-btn-wa:hover { background: var(--anh-wa-dk); }
.anh .anh-btn-wa .anh-i-arrow { width: 20px; height: 20px; transition: transform .15s; }
.anh .anh-btn-wa:hover .anh-i-arrow { transform: translateX(3px); }
.anh .anh-btn-shop, .anh .anh-btn-outline { border: 2px solid var(--anh-navy); color: var(--anh-navy-dk); background: #fff; }
.anh .anh-btn-shop:hover, .anh .anh-btn-outline:hover { background: var(--anh-navy); color: #fff; }
.anh .anh-btn-compare { border: 2px solid #d9ccb5; color: var(--anh-navy-dk); background: var(--anh-cream); }
.anh .anh-btn-compare .anh-i { color: var(--anh-gold); width: 22px; height: 22px; }
.anh .anh-btn-compare:hover { border-color: var(--anh-gold); }

.anh .anh-nspi { flex: none; display: block; }
.anh .anh-nspi img { display: block; width: auto; height: auto; max-height: 48px; max-width: 140px; }

.anh .anh-burger { display: none; }

/* ---------- Main navigation (desktop) ---------- */
.anh .anh-nav { border-top: 1px solid var(--anh-line); background: #fcfaf6; box-shadow: 0 8px 18px -10px rgba(29,59,87,.22); }
.anh .anh-drawer-head, .anh .anh-drawer-foot, .anh .anh-overlay { display: none; }
.anh .anh-menu { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.anh .anh-menu > li { position: relative; display: flex; align-items: center; }
.anh .anh-menu > li > a { display: flex; align-items: center; white-space: nowrap; min-height: 60px; padding: 0 6px; font-size: 17px; font-weight: 500; color: var(--anh-navy-dk); position: relative; }
.anh .anh-menu > li > a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 13px; height: 2px; background: var(--anh-gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.anh .anh-menu > li:hover > a::after,
.anh .anh-menu > li.current-menu-item > a::after,
.anh .anh-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.anh .anh-sub-toggle { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 2px; border-radius: 6px; color: var(--anh-navy-dk); }
.anh .anh-sub-toggle .anh-i { width: 20px; height: 20px; transition: transform .2s; }
.anh .anh-sub-toggle:hover { background: var(--anh-soft); }
.anh li.is-open > .anh-sub-toggle .anh-i { transform: rotate(180deg); }

/* Dropdowns */
.anh .anh-menu .sub-menu { position: absolute; top: 100%; left: -12px; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--anh-line); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(20,58,92,.28); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 10; }
.anh .anh-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: -12px; }
.anh .anh-menu li:hover > .sub-menu,
.anh .anh-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.anh .anh-menu .sub-menu li { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.anh .anh-menu .sub-menu a { flex: 1; display: block; padding: 10px 14px; border-radius: 8px; font-size: 15.5px; color: var(--anh-text); }
.anh .anh-menu .sub-menu a:hover,
.anh .anh-menu .sub-menu .current-menu-item > a { background: var(--anh-soft); color: var(--anh-navy-dk); }
.anh .anh-menu .sub-menu .anh-sub-toggle .anh-i { transform: rotate(-90deg); }
/* 3rd level flies out to the right */
.anh .anh-menu .sub-menu .sub-menu { top: -9px; left: 100%; margin-left: 6px; }
.anh .anh-menu > li:nth-last-child(-n+2) .sub-menu .sub-menu { left: auto; right: 100%; margin: 0 6px 0 0; }

/* Optional mega menu: add CSS class "mega" to a top-level item in Appearance → Menus */
.anh .anh-menu > li.mega > .sub-menu { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 2px 8px; min-width: 660px; }

.anh .anh-notice { padding: 14px 0; font-size: 14px; }

/* =========================================================================
   ≤1680 / ≤1400 / ≤1280 — progressively compact the desktop header
   ========================================================================= */
@media (max-width: 1680px) {
	.anh .anh-mid-in { gap: 18px; }
	.anh .anh-logo img { max-height: 70px; max-width: 260px; }
	.anh .anh-btn { padding: 0 18px; }
	.anh .anh-btn-wa .anh-i-arrow { display: none; }
	.anh .anh-nspi img { max-height: 50px; max-width: 140px; }
	.anh .anh-menu > li > a { font-size: 16.5px; }
}
@media (max-width: 1400px) {
	.anh .anh-btn-shop { width: var(--anh-h); padding: 0; justify-content: center; }
	.anh .anh-btn-shop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.anh .anh-trust li:nth-child(n+4) { display: none; }
}
@media (max-width: 1280px) {
	.anh .anh-wrap { padding: 0 24px; }
	.anh .anh-logo img { max-height: 62px; max-width: 220px; }
	.anh .anh-search-btn { width: 62px; }
	.anh .anh-btn { font-size: 15px; padding: 0 16px; }
	.anh .anh-nspi img { max-height: 42px; max-width: 110px; }
	.anh .anh-menu > li > a { font-size: 15.5px; padding: 0 3px; }
	.anh .anh-sub-toggle { width: 24px; }
}

/* =========================================================================
   ≤1180 — tablet & mobile: stacked header + off-canvas drawer
   (1180 = iPad landscape; keep in sync with MOBILE_BP in aquanet-header.js)
   ========================================================================= */
@media (max-width: 1180px) {
	.anh { --anh-h: 44px; }
	.anh .anh-wrap { padding: 0 16px; }

	/* Top bar → compact trust strip */
	.anh .anh-topbar { font-size: 12.5px; }
	.anh .anh-topbar-in { min-height: 28px; justify-content: center; }
	.anh .anh-top-nav { display: none; }
	.anh .anh-trust li { padding: 0 14px; gap: 7px; }
	.anh .anh-trust li:nth-child(n+4) { display: none; }
	.anh .anh-trust .anh-i { width: 14px; height: 14px; }

	/* Middle row: logo + burger / search / CTAs */
	.anh .anh-mid-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo burger" "search search" "actions actions"; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
	.anh .anh-logo { grid-area: logo; align-items: flex-start; }
	.anh .anh-logo img { max-height: 50px; max-width: 200px; }
	.anh .anh-tagline { font-size: 13px; margin-top: -2px; }
	.anh .anh-burger { grid-area: burger; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 8px; border-radius: 10px; color: var(--anh-navy-dk); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
	.anh .anh-burger .anh-i { width: 28px; height: 28px; }
	.anh .anh-search { grid-area: search; min-width: 0; }
	.anh .anh-search input[type="search"] { font-size: 16px; padding-left: 48px; } /* 16px stops iOS zoom */
	.anh .anh-search > .anh-i { left: 17px; width: 20px; height: 20px; }
	.anh .anh-search-btn { width: 58px; }
	.anh .anh-actions { grid-area: actions; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
	.anh .anh-btn-wa { justify-content: center; padding: 0 14px; box-shadow: 0 4px 12px rgba(58,155,224,.3); }
	.anh .anh-mid-in > .anh-nspi { display: none; }

	/* Drawer */
	.anh .anh-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); max-width: none; height: 100vh; height: 100dvh; margin: 0; z-index: 2147483001; display: flex; flex-direction: column; background: var(--anh-cream); border: 0; box-shadow: -16px 0 40px rgba(20,58,92,.25); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s; overflow-y: auto; overscroll-behavior: contain; }
	.anh.anh-drawer-open .anh-nav { transform: none; visibility: visible; transition: transform .28s ease; }
	.anh .anh-overlay { display: block; position: fixed; inset: 0; z-index: 2147483000; background: rgba(15,35,55,.45); opacity: 0; transition: opacity .28s; }
	.anh .anh-overlay[hidden] { display: none; }
	.anh.anh-drawer-open .anh-overlay { opacity: 1; }

	.anh .anh-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--anh-line); background: var(--anh-bar); position: sticky; top: 0; z-index: 2; }
	.anh .anh-drawer-title { font-weight: 700; font-size: 17px; color: var(--anh-navy-dk); }
	.anh .anh-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--anh-navy-dk); }
	.anh .anh-close .anh-i { width: 26px; height: 26px; }
	.anh .anh-nav-in { padding: 0; flex: 1 0 auto; }

	.anh .anh-nav-in { max-width: none; width: 100%; }
	.anh .anh-nav ul, .anh .anh-nav li { margin: 0 !important; padding: 0 !important; width: 100%; max-width: none; text-indent: 0; }
	.anh .anh-nav li::before { display: none !important; }
	.anh .anh-menu { display: block; min-height: 0; }
	.anh .anh-menu li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--anh-line); }
	.anh .anh-menu > li > a,
	.anh .anh-menu .sub-menu a { flex: 1; min-height: 52px; display: flex; align-items: center; padding: 12px 18px; font-size: 17px; border-radius: 0; }
	.anh .anh-menu > li > a::after { display: none; }
	.anh .anh-menu .current-menu-item > a,
	.anh .anh-menu .current-menu-ancestor > a { color: var(--anh-navy); font-weight: 700; box-shadow: inset 4px 0 0 var(--anh-gold); }

	.anh .anh-sub-toggle { width: 52px; height: 52px; margin: 0; border-left: 1px solid var(--anh-line); border-radius: 0; }
	.anh .anh-menu .sub-menu .anh-sub-toggle .anh-i { transform: none; }
	.anh .anh-menu li.is-open > .anh-sub-toggle .anh-i { transform: rotate(180deg); }

	/* Accordion submenus */
	.anh .anh-menu .sub-menu,
	.anh .anh-menu .sub-menu .sub-menu,
	.anh .anh-menu > li.mega > .sub-menu { position: static; display: none; flex-basis: 100%; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; opacity: 1; visibility: visible; transform: none; transition: none; }
	.anh .anh-menu li:hover > .sub-menu { display: none; }
	.anh .anh-menu li.is-open > .sub-menu { display: block; }
	.anh .anh-menu .sub-menu li:last-child { border-bottom: 0; }
	.anh .anh-menu .sub-menu a { font-size: 15.5px; min-height: 46px; padding-left: 32px; }
	.anh .anh-menu .sub-menu .sub-menu a { padding-left: 46px; background: var(--anh-cream); }

	.anh .anh-drawer-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 18px 28px; }
	.anh .anh-nav .anh-toplinks-m { display: flex; width: auto; border: 0; flex-wrap: wrap; gap: 6px 0; }
	.anh .anh-nav .anh-toplinks-m li { width: auto; padding: 0 14px !important; font-size: 15px; }
	.anh .anh-nav .anh-toplinks-m li:first-child { padding-left: 0 !important; }
	.anh .anh-nav .anh-toplinks-m li + li { border-left: 1px solid var(--anh-line); }
	.anh .anh-drawer-foot .anh-nspi img { max-height: 44px; }
}

@media (min-width: 761px) and (max-width: 1180px) {
	.anh .anh-mid-in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search burger" "actions actions actions"; column-gap: 20px; }
	.anh .anh-actions { grid-template-columns: 1fr 1fr 1fr; }
	.anh .anh-btn-shop, .anh .anh-btn-compare { width: auto; padding: 0 16px; justify-content: center; }
	.anh .anh-btn-shop span, .anh .anh-btn-compare span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (max-width: 600px) {
	.anh .anh-trust li:nth-child(n+2) { display: none; }
	.anh .anh-btn-compare { width: var(--anh-h); padding: 0; justify-content: center; }
	.anh .anh-btn-compare span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.anh .anh-trust li:first-child { padding: 0; }
}

@media (max-width: 400px) {
	.anh .anh-btn-wa { font-size: 14px; gap: 7px; padding: 0 10px; }
	.anh .anh-btn-wa .anh-i { width: 20px; height: 20px; }
	.anh .anh-actions { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.anh *, .anh *::before, .anh *::after { transition: none !important; }
}

/* Drawer is moved to <body> on mobile (escapes Divi stacking contexts) */
.anh.anh-portal { position: static; z-index: auto; background: none; }

/* Hero CTA buttons reuse the header button styles: wrap in .anh.anh-inline */
.anh.anh-inline { position: static; z-index: auto; background: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Lock page scroll while the drawer is open */
html.anh-lock, html.anh-lock body { overflow: hidden !important; }
