/* ==========================================================================
   7at 7agtak — Header (Phase 2). Loaded only when the new header is on.

   One header in the DOM, three states (set by header.js on .h7-header):
     .is-at-top / .is-scrolling  full header, in the normal page flow
     .is-compact                 .h7-hdr__bar is position:fixed (compact bar);
                                 .h7-hdr__slot keeps the bar's height, so the
                                 page never moves (no layout shift).
   Selectors start with "html body.hat7" to outrank Storefront and the
   snippet #14 rules without !important. Mobile-first: 768 / 1024 / 1100.
   ========================================================================== */

:root {
	--h7-hdr-compact: 56px;   /* compact bar height (also read by header.js) */
	--h7-hdr-logo: 40px;      /* 0.4.4: new, taller brand logo (2026-10) */
	--h7-hdr-logo-c: 34px;
	--h7-hdr-z: 999;          /* same layer as the previous header */
	--h7-drawer-z: 100001;    /* above Hazem (99998/99999) and the admin bar */
	--h7-ab: 0px;             /* admin-bar offset for the fixed bar */
}
@media (min-width: 768px) {
	:root { --h7-hdr-compact: 60px; --h7-hdr-logo: 48px; --h7-hdr-logo-c: 40px; }
}
@media (min-width: 1024px) {
	:root { --h7-hdr-compact: 64px; --h7-hdr-logo: 54px; --h7-hdr-logo-c: 44px; }
}
html body.admin-bar { --h7-ab: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
	html body.admin-bar { --h7-ab: 0px; } /* admin bar scrolls away on phones */
}

/* Anchors, notices and validation errors must not hide under the bar. */
html.h7-hdr-js {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--h7-hdr-compact) + 8px);
}

/* ---------- Masthead: neutralise the sticky/blur rules of snippet #14 ----------
   (#14: body.hh-ui #masthead.site-header{position:sticky;backdrop-filter:…}).
   backdrop-filter must go: it would turn the masthead into the containing
   block of the fixed compact bar. */
html body.hat7.h7-hdr-v2 #masthead.site-header {
	position: relative;
	top: auto;
	z-index: var(--h7-hdr-z);
	margin: 0;
	padding: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: none;
}

/* ---------- Layout primitives ---------- */
html body.hat7 .h7-header .h7-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 14px;
}
@media (min-width: 641px) {
	html body.hat7 .h7-header .h7-wrap { padding-inline: 24px; }
}
html body.hat7 .h7-header ul,
html body.hat7 .h7-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
html body.hat7 .h7-header .h7-ico,
html body.hat7 .h7-drawer .h7-ico { flex: none; display: block; }

/* ---------- Bar (row 1) ---------- */
html body.hat7 .h7-header .h7-hdr__bar { background: var(--surface); }

html body.hat7 .h7-header .h7-hdr__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-block: 6px 10px;
}

/* Icon buttons (menu, drawer close) */
html body.hat7 .h7-header .h7-iconbtn,
html body.hat7 .h7-drawer .h7-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-iconbtn:hover,
html body.hat7 .h7-drawer .h7-iconbtn:hover { background: var(--primary-tint); }

html body.hat7 .h7-header .h7-hdr__menu { order: 1; }

/* Logo */
html body.hat7 .h7-header .h7-hdr__logo {
	order: 2;
	display: inline-flex;
	align-items: center;
	flex: none;
	min-height: 44px;
	color: var(--text);
	text-decoration: none;
}
html body.hat7 .h7-header .h7-hdr__logoimg {
	display: block;
	width: auto;
	height: var(--h7-hdr-logo);
	max-width: none;
	border-radius: var(--r-md);
	transition: height var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-hdr__logotxt { display: flex; flex-direction: column; line-height: 1.15; }
html body.hat7 .h7-header .h7-hdr__logotxt b { font: 700 1.15rem/1.15 var(--font-display); }
html body.hat7 .h7-header .h7-hdr__logotxt small { font-size: var(--fs-xs); color: var(--text-secondary); }

/* Categories button + panel (desktop compact only) */
html body.hat7 .h7-header .h7-hdr__cats { order: 3; position: relative; display: none; flex: none; }
html body.hat7 .h7-header .h7-hdr__catsbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--surface);
	color: var(--text);
	font: 600 var(--fs-sm)/1 var(--font-body);
	cursor: pointer;
	box-shadow: none;
}
html body.hat7 .h7-header .h7-hdr__catsbtn:hover,
html body.hat7 .h7-header .h7-hdr__catsbtn[aria-expanded="true"] { background: var(--primary-tint); border-color: var(--primary-soft); color: var(--primary-dark); }
html body.hat7 .h7-header .h7-hdr__catsbtn .h7-ico:first-child { color: var(--primary); }
html body.hat7 .h7-header .h7-hdr__chev { transition: transform var(--dur) var(--ease); }
html body.hat7 .h7-header .h7-hdr__catsbtn[aria-expanded="true"] .h7-hdr__chev { transform: rotate(180deg); }

html body.hat7 .h7-header .h7-catpanel {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	width: min(520px, 80vw);
	padding: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-3);
	z-index: 2;
}
html body.hat7 .h7-header .h7-catpanel[hidden] { display: none; }
html body.hat7 .h7-header .h7-catlist--panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }

/* Search */
html body.hat7 .h7-header .h7-search {
	order: 4;
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	box-sizing: border-box;
	height: 46px;
	margin: 0;
	padding: 3px;
	padding-inline-start: 12px;
	background: var(--background);
	border: 1.5px solid var(--border-strong);
	border-radius: var(--r-md);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-search:focus-within {
	background: var(--surface);
	border-color: var(--primary);
	box-shadow: var(--ring-primary);
}
html body.hat7 .h7-header .h7-search__ico { color: var(--text-secondary); }
html body.hat7 .h7-header .h7-search input.h7-search__input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: 0;
	color: var(--text);
	font: 400 16px/1.2 var(--font-body); /* 16px: no iOS zoom on focus */
	-webkit-appearance: none;
	appearance: none;
}
html body.hat7 .h7-header .h7-search input.h7-search__input[type="search"]:focus { box-shadow: none; outline: 0; background: transparent; }
html body.hat7 .h7-header .h7-search input.h7-search__input::placeholder { color: var(--text-secondary); opacity: 1; }
html body.hat7 .h7-header .h7-search .h7-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: none;
	height: 100%;
	min-width: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 9px;
	background: var(--primary-dark);
	color: var(--text-on-primary);
	font: 600 var(--fs-sm)/1 var(--font-body);
	cursor: pointer;
	box-shadow: none;
	transition: background-color var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-search .h7-search__btn:hover { background: var(--primary-deep); }
html body.hat7 .h7-header .h7-search__btntxt { display: none; }

/* Actions */
html body.hat7 .h7-header .h7-hdr__actions {
	order: 3;
	display: flex;
	align-items: center;
	gap: 4px;
	flex: none;
	margin-inline-start: auto;
}
html body.hat7 .h7-header .h7-act {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	box-sizing: border-box;
	border-radius: var(--r-md);
	color: var(--text);
	font: 500 var(--fs-sm)/1 var(--font-body);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-act:hover { background: var(--primary-tint); color: var(--primary-dark); }
html body.hat7 .h7-header .h7-act__label { display: none; }
html body.hat7 .h7-header .h7-act--lang,
html body.hat7 .h7-header .h7-act--role { display: none; }

html body.hat7 .h7-header .h7-act--cart { background: var(--text); color: #fff; padding: 0 12px; margin-inline-start: 2px; }
html body.hat7 .h7-header .h7-act--cart:hover { background: var(--primary-deep); color: #fff; }
html body.hat7 .h7-header .h7-act__cartico { position: relative; display: inline-flex; }
html body.hat7 .h7-header .h7-cart-count {
	position: absolute;
	top: -8px;
	inset-inline-end: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 9px;
	background: var(--accent);
	color: var(--text);
	font: 700 11px/18px var(--font-body);
	text-align: center;
}
html body.hat7 .h7-header .h7-cart-total { display: none; font-weight: 600; unicode-bidi: isolate; }
html body.hat7 .h7-header .h7-cart-total .woocommerce-Price-currencySymbol { font-size: .8em; opacity: .85; }

/* ---------- Nav (row 2): categories + links + sell ---------- */
html body.hat7 .h7-header .h7-hdr__nav { border-top: 1px solid var(--border); background: var(--surface); }
html body.hat7 .h7-header .h7-hdr__navin {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 50px;
	padding-block: 8px;
}
html body.hat7 .h7-header .h7-catlist--chips {
	display: flex;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}
html body.hat7 .h7-header .h7-catlist--chips::-webkit-scrollbar { display: none; }
html body.hat7 .h7-header .h7-catlist--chips > li { flex: none; scroll-snap-align: start; }
html body.hat7 .h7-header .h7-catlist--chips .h7-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--border);
	border-radius: var(--r-pill);
	background: var(--surface);
	color: var(--text);
	font: 500 var(--fs-sm)/1 var(--font-body);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
html body.hat7 .h7-header .h7-catlist--chips .h7-cat .h7-ico { color: var(--primary); }
html body.hat7 .h7-header .h7-catlist--chips .h7-cat:hover { background: var(--primary-tint); color: var(--primary-dark); }
html body.hat7 .h7-header .h7-catlist--chips .h7-cat[aria-current="page"] { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }

html body.hat7 .h7-header .h7-hdr__links { display: none; }
html body.hat7 .h7-header .h7-hdr__link {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border-radius: var(--r-pill);
	color: var(--text-secondary);
	font-size: var(--fs-sm);
	text-decoration: none;
	white-space: nowrap;
}
html body.hat7 .h7-header .h7-hdr__link:hover,
html body.hat7 .h7-header .h7-hdr__link[aria-current="page"] { background: var(--primary-tint); color: var(--primary-dark); }

html body.hat7 .h7-header .h7-hdr__sell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	height: 34px;
	padding: 0 12px;
	border-radius: var(--r-pill);
	background: var(--accent-soft);
	color: var(--text);
	font: 600 var(--fs-sm)/1 var(--font-body);
	text-decoration: none;
	white-space: nowrap;
}
html body.hat7 .h7-header .h7-hdr__sell:hover { background: var(--cream-deep); color: var(--text); }

/* Category rows (panel + drawer) */
html body.hat7 .h7-catlist--panel .h7-cat,
html body.hat7 .h7-catlist--drawer .h7-cat,
html body.hat7 .h7-drawer .h7-drawer__row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--text);
	font: 500 var(--fs-md)/1.3 var(--font-body);
	text-decoration: none;
}
html body.hat7 .h7-catlist--panel .h7-cat .h7-ico,
html body.hat7 .h7-catlist--drawer .h7-cat .h7-ico,
html body.hat7 .h7-drawer .h7-drawer__row .h7-ico { color: var(--primary); }
html body.hat7 .h7-catlist--panel .h7-cat:hover,
html body.hat7 .h7-catlist--drawer .h7-cat:hover,
html body.hat7 .h7-drawer .h7-drawer__row:hover,
html body.hat7 .h7-catlist--panel .h7-cat[aria-current="page"],
html body.hat7 .h7-catlist--drawer .h7-cat[aria-current="page"],
html body.hat7 .h7-drawer .h7-drawer__row[aria-current="page"] { background: var(--primary-tint); color: var(--primary-dark); }

/* ==========================================================================
   Tablet ≥ 768
   ========================================================================== */
@media (min-width: 768px) {
	html body.hat7 .h7-header .h7-hdr__row { flex-wrap: nowrap; gap: 12px; padding-block: 12px; }
	html body.hat7 .h7-header .h7-search { order: 3; flex: 1 1 auto; }
	html body.hat7 .h7-header .h7-hdr__actions { order: 4; margin-inline-start: 0; }
	html body.hat7 .h7-header .h7-search__btntxt { display: inline; }
	html body.hat7 .h7-header .h7-search .h7-search__btn { padding: 0 16px; }
}

/* ==========================================================================
   Desktop ≥ 1024
   ========================================================================== */
@media (min-width: 1024px) {
	html body.hat7 .h7-header .h7-hdr__menu { display: none; }
	html body.hat7 .h7-header .h7-hdr__row { gap: 20px; padding-block: 15px; }
	html body.hat7 .h7-header .h7-search { max-width: 720px; height: 50px; }
	html body.hat7 .h7-header .h7-act--lang,
	html body.hat7 .h7-header .h7-act--role { display: inline-flex; }
	html body.hat7 .h7-header .h7-cart-total { display: inline; }
	html body.hat7 .h7-header .h7-act--cart { padding: 0 14px; }
	html body.hat7 .h7-header .h7-hdr__links { display: flex; gap: 2px; flex: none; }
}
@media (min-width: 1100px) {
	html body.hat7 .h7-header .h7-act__label { display: inline; }
}

/* ==========================================================================
   Compact state (all sizes)
   ========================================================================== */
html body.hat7 .h7-header.is-compact .h7-hdr__slot { height: var(--h7-bar-h, auto); }
html body.hat7 .h7-header.is-compact .h7-hdr__bar {
	position: fixed;
	top: var(--h7-ab);
	inset-inline: 0;
	z-index: var(--h7-hdr-z);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-2);
	animation: h7-hdr-in .22s var(--ease) both;
}
html body.hat7 .h7-header.is-compact .h7-hdr__row {
	flex-wrap: nowrap;
	gap: 8px;
	min-height: var(--h7-hdr-compact);
	padding-block: 6px;
	box-sizing: border-box;
}
html body.hat7 .h7-header.is-compact .h7-hdr__logoimg { height: var(--h7-hdr-logo-c); }
html body.hat7 .h7-header.is-compact .h7-search { order: 3; flex: 1 1 auto; height: 44px; }
html body.hat7 .h7-header.is-compact .h7-hdr__actions { order: 4; margin-inline-start: 0; }
html body.hat7 .h7-header.is-compact .h7-act--lang,
html body.hat7 .h7-header.is-compact .h7-act--role,
html body.hat7 .h7-header.is-compact .h7-act--account .h7-act__label { display: none; }

/* Phone compact: ☰ | logo | search | cart (account lives in the drawer) */
@media (max-width: 767px) {
	html body.hat7 .h7-header.is-compact .h7-act--account { display: none; }
	html body.hat7 .h7-header.is-compact .h7-search { height: 42px; padding-inline-start: 8px; }
	html body.hat7 .h7-header.is-compact .h7-search__ico { display: none; }
}
@media (min-width: 768px) {
	html body.hat7 .h7-header.is-compact .h7-hdr__row { gap: 12px; }
}
/* Desktop compact: logo | Categories ▾ | search | account | cart */
@media (min-width: 1024px) {
	html body.hat7 .h7-header.is-compact .h7-hdr__cats { display: block; }
	html body.hat7 .h7-header.is-compact .h7-search { max-width: 640px; height: 46px; }
	html body.hat7 .h7-header.is-compact .h7-hdr__row { gap: 16px; }
}

@keyframes h7-hdr-in {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

/* ==========================================================================
   Drawer
   ========================================================================== */
html body.hat7 .h7-drawer { position: fixed; inset: 0; z-index: var(--h7-drawer-z); }
html body.hat7 .h7-drawer[hidden] { display: none; }
html body.hat7 .h7-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 59, 62, .45);
	opacity: 0;
	transition: opacity .2s var(--ease);
}
html body.hat7 .h7-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	width: min(86vw, 360px);
	background: var(--surface);
	box-shadow: var(--shadow-3);
	transform: translateX(-100%);
	transition: transform .24s var(--ease);
	outline: 0;
}
html[dir="rtl"] body.hat7 .h7-drawer__panel { transform: translateX(100%); }
html body.hat7 .h7-drawer.is-open .h7-drawer__backdrop { opacity: 1; }
html body.hat7 .h7-drawer.is-open .h7-drawer__panel,
html[dir="rtl"] body.hat7 .h7-drawer.is-open .h7-drawer__panel { transform: none; }

html body.hat7 .h7-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 8px 12px 8px 16px;
	padding-inline: 16px 12px;
	border-bottom: 1px solid var(--border);
	font: 700 var(--fs-lg)/1.2 var(--font-display);
}
html body.hat7 .h7-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px 8px 24px;
}
html body.hat7 .h7-drawer__group { padding-block: 8px; border-bottom: 1px solid var(--border); }
html body.hat7 .h7-drawer__group:last-child { border-bottom: 0; }
html body.hat7 .h7-drawer__title {
	margin: 4px 12px 6px;
	color: var(--text-secondary);
	font: 600 var(--fs-xs)/1.4 var(--font-body);
	letter-spacing: .02em;
}
html body.hat7 .h7-drawer__cta { display: grid; gap: 8px; padding-inline: 4px; }
html body.hat7 .h7-drawer .h7-drawer__sell,
html body.hat7 .h7-drawer .h7-drawer__hazem {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--r-md);
	font: 600 var(--fs-md)/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}
html body.hat7 .h7-drawer .h7-drawer__sell { background: var(--accent-soft); color: var(--accent-ink); }
html body.hat7 .h7-drawer .h7-drawer__hazem { background: var(--primary-tint); color: var(--primary-dark); }
html body.hat7 .h7-drawer .h7-drawer__hazem[hidden] { display: none; }

html.h7-drawer-open,
html.h7-drawer-open body { overflow: hidden; }

/* ==========================================================================
   Compatibility with page parts that depend on the header height
   ========================================================================== */
/* Snippet #17 (work dashboard) pins its side menu at top:150px / 182px, sized
   for the old fully-sticky header. Align it with the compact bar instead. */
html body.hat7.h7-hdr-v2 .hh-td-side { top: calc(var(--h7-hdr-compact) + 16px); }
html body.hat7.h7-hdr-v2.admin-bar .hh-td-side { top: calc(var(--h7-hdr-compact) + var(--wp-admin--admin-bar--height, 32px) + 16px); }

/* ==========================================================================
   Motion + print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html body.hat7 .h7-header.is-compact .h7-hdr__bar { animation: none; }
	html body.hat7 .h7-drawer__panel,
	html body.hat7 .h7-drawer__backdrop,
	html body.hat7 .h7-header .h7-hdr__logoimg { transition: none; }
}
@media print {
	html body.hat7 .h7-drawer,
	html body.hat7 .h7-header .h7-hdr__menu,
	html body.hat7 .h7-header .h7-hdr__cats { display: none; }
	html body.hat7 .h7-header.is-compact .h7-hdr__bar { position: static; box-shadow: none; animation: none; }
}

/* Wide brand logo (0.3.1): keep the mobile header on one row. */
@media (max-width: 600px) {
	html body.hat7 .h7-header .h7-hdr__logoimg { height: 40px; }
	html body.hat7 .h7-header.is-compact .h7-hdr__logoimg { height: 34px; }
}
/* Small phones (0.3.8): smaller logo so search and cart keep their room. */
@media (max-width: 420px) {
	html body.hat7 .h7-header .h7-hdr__logoimg { height: 36px; }
	html body.hat7 .h7-header.is-compact .h7-hdr__logoimg { height: 30px; }
	html body.hat7 .h7-header .h7-search { min-width: 0; }
}
/* Phones (0.3.9): a snippet gives every button min-height 44px below 780px, which made
   the search button taller than the field. Keep it inside the field, on the left. */
@media (max-width: 780px) {
	html body.hat7 .h7-header .h7-search { overflow: hidden; align-items: center; padding: 4px; padding-inline-start: 10px; }
	html body.hat7 .h7-header .h7-search .h7-search__btn { min-height: 0; height: 100%; max-height: 100%; min-width: 40px; padding: 0 10px; align-self: stretch; border-radius: 8px; box-sizing: border-box; }
}

/* "Ask Hazem" inside the search field (0.4.3). */
html body.hat7 .h7-header .h7-search .h7-search__hazem {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: none;
	align-self: stretch;
	min-height: 0;
	min-width: 40px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid #537B7B;
	border-radius: 9px;
	background: #E5ECE8;
	color: #294C50;
	font: 700 var(--fs-sm)/1 var(--font-body);
	cursor: pointer;
	box-shadow: none;
	white-space: nowrap;
	box-sizing: border-box;
}
html body.hat7 .h7-header .h7-search .h7-search__hazem[hidden] { display: none; }
html body.hat7 .h7-header .h7-search .h7-search__hazem:hover { background: #D8E3DE; }
html body.hat7 .h7-header .h7-search__hztxt { display: none; }
@media (min-width: 768px) {
	html body.hat7 .h7-header .h7-search__hztxt { display: inline; }
	html body.hat7 .h7-header .h7-search .h7-search__hazem { padding: 0 14px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	html body.hat7 .h7-header.is-compact .h7-search__hztxt { display: none; }
}
/* Phone compact bar: keep the room for typing (Hazem stays in the drawer and the page). */
@media (max-width: 767px) {
	html body.hat7 .h7-header.is-compact .h7-search .h7-search__hazem { display: none; }
}

/* ==========================================================================
   0.4.4 — new brand logo (cart + H, 2026-10) and the brand line under it:
   "— HAT HAGTAK —" with layered petrol / gold / cream stripes.
   Shown on wide screens in the full header; hidden in the compact bar and on
   phones so the header keeps its height.
   ========================================================================== */
html body.hat7 .h7-header .h7-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
html body.hat7 .h7-header .h7-hdr__logoimg { border-radius: 0; }
html body.hat7 .h7-tagline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 700 10px/1 var(--font-body, inherit);
	letter-spacing: .42em;
	color: #294C50;
	white-space: nowrap;
}
html body.hat7 .h7-tagline > span { margin-inline-end: -.42em; } /* letter-spacing balance */
html body.hat7 .h7-tagline i {
	display: block;
	width: 18px;
	height: 5px;
	border-radius: 2px;
	background: linear-gradient(to bottom, #537B7B 0 34%, #C5A46D 34% 67%, #E3D9C4 67% 100%);
}
html body.hat7 .h7-header.is-compact .h7-tagline { display: none; }
@media (max-width: 1023px) { html body.hat7 .h7-header .h7-tagline { display: none; } }
