/* Site header (includes/header.php) + footer (includes/footer.php), layout Step 5, 2026-10-27.
   Brand kit colours/fonts (reports/brand_kit_2026_10_26). Scoped under .gh / .gf so Bootstrap 3 pages are unaffected. */
.gh, .gf, .gh-skip {
	--forest: #2f4a3c; --forest-hover: #253b30; --forest-tint: #e4ece7; --rice: #5f6b2b;
	--link: #176f9c; --ink: #404040; --muted: #61655f; --paper: #f7f5ee; --surface: #fff; --line: #e2dccd;
	--serif: "Noto Serif", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
	--sans: "Noto Sans", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
}
.gh-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 0 0 8px 0; }
.gh-skip:focus { left: 0; color: #fff; }

.gh { position: relative; z-index: 1001; background: var(--surface); border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15px; line-height: 1.4; color: var(--ink); }
.gh a { text-decoration: none; }
.gh-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; min-height: 64px; display: flex; align-items: center; gap: 20px; }
.gh-brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--forest); }
.gh-brand:hover, .gh-brand:focus { color: var(--forest); }
.gh-brand img { width: 30px; height: 40px; object-fit: contain; display: block; }
.gh-name { font-family: var(--serif); font-weight: 600; font-size: 19px; white-space: nowrap; letter-spacing: .005em; }
.gh-name sup { font-size: 10px; top: -.7em; }
.gh-panel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }

.gh-nav { display: flex; align-items: center; gap: 2px; }
.gh-nav a { display: block; padding: 21px 10px 19px; color: var(--ink); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.gh-nav a:hover, .gh-nav a:focus { color: var(--forest); border-bottom-color: var(--line); }
.gh-nav a.is-on { color: var(--forest); border-bottom-color: var(--forest); }
.gh-sub { position: relative; }
.gh-sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 6px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.gh-sub:hover .gh-sub-menu, .gh-sub:focus-within .gh-sub-menu { display: block; }
.gh-sub-menu a { padding: 8px 16px; border: 0; font-weight: 400; }
.gh-sub-menu a:hover, .gh-sub-menu a:focus { background: var(--forest-tint); border: 0; }

.gh-search { flex: 1; min-width: 160px; max-width: 340px; margin-left: auto; display: flex; align-items: stretch; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.gh-search:focus-within { border-color: var(--forest); box-shadow: 0 0 0 2px var(--forest-tint); }
.gh-search select { flex: none; width: auto; max-width: 96px; border: 0; border-right: 1px solid var(--line); background: transparent; padding: 0 6px 0 12px; font: 13px var(--sans); color: var(--muted); cursor: pointer; }
.gh-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 10px; font: 14px var(--sans); color: var(--ink); outline: 0; }
.gh-search-go { flex: none; width: 40px; border: 0; background: transparent; color: var(--forest); cursor: pointer; }
.gh-search-go:hover { background: var(--forest-tint); }

.gh-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.gh-tool { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; color: var(--ink); white-space: nowrap; cursor: pointer; }
.gh-tool:hover, .gh-tool:focus { background: var(--forest-tint); color: var(--forest); }
.gh-searchbtn { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--forest); cursor: pointer; }
.gh-submit { margin-left: 6px; padding: 9px 18px; border-radius: 8px; background: var(--forest); color: #fff !important; font-weight: 600; white-space: nowrap; }
.gh-submit:hover, .gh-submit:focus { background: var(--forest-hover); }
.gh-acct { position: relative; }
.gh-acct summary { list-style: none; }
.gh-acct summary::-webkit-details-marker { display: none; }
.gh-acct-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.gh-acct-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; padding: 6px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.1); display: block; }
.gh-acct-menu a { display: flex; gap: 8px; align-items: center; padding: 8px 14px; color: var(--ink); }
.gh-acct-menu a:hover, .gh-acct-menu a:focus { background: var(--forest-tint); color: var(--forest); }
.gh-acct-role { display: block; padding: 4px 14px 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; text-transform: capitalize; }
.gh-burger { display: none; margin-left: auto; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--forest); font: 600 14px var(--sans); cursor: pointer; }
.gh-burger-bars, .gh-burger-bars::before, .gh-burger-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.gh-burger-bars::before, .gh-burger-bars::after { content: ""; position: absolute; left: 0; }
.gh-burger-bars::before { top: -6px; } .gh-burger-bars::after { top: 6px; }
.gh.is-open .gh-burger-bars { background: transparent; }
.gh.is-open .gh-burger-bars::before { top: 0; transform: rotate(45deg); }
.gh.is-open .gh-burger-bars::after { top: 0; transform: rotate(-45deg); }
/* the cart pop-up (style.css .shopping-cart) sits just under the header */
#main-content > .shopping-cart { position: absolute; right: 15px; top: 0; margin-top: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); border: 1px solid #e2dccd; }

/* Laptop widths: menu + tools fill the row, so the search box becomes a button that opens a search row
   under the header (inline search only from 1440px; at 1366 it squeezed to 160px and the row overflowed) */
@media (max-width: 1199px) and (min-width: 992px) {
	.gh-in { gap: 12px; }
	.gh-nav a { padding-left: 7px; padding-right: 7px; }
	.gh-name { font-size: 17px; }
	.gh-tools .gh-help { display: none; }
}
@media (max-width: 1439px) and (min-width: 992px) {
	.gh-search { display: none; position: absolute; left: 16px; right: 16px; top: 100%; max-width: 1168px; margin: 8px auto 0; height: 44px; background: var(--surface); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
	.gh.is-search .gh-search { display: flex; }
	.gh-searchbtn { display: inline-block; }
	.gh-tools { margin-left: auto; }
}
/* Phones and tablets: one Menu button opens everything (search first) */
@media (max-width: 991px) {
	.gh-in { flex-wrap: wrap; gap: 0 12px; min-height: 58px; }
	.gh-burger { display: inline-flex; }
	.gh-panel { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 16px; }
	.gh.is-open .gh-panel { display: flex; }
	.gh-search { order: -1; max-width: none; margin: 0; height: 44px; }
	.gh-search select { max-width: 110px; }
	.gh-nav { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
	.gh-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
	.gh-nav a.is-on { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--forest); padding-left: 12px; }
	.gh-sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
	.gh-sub-menu a:first-child { display: none; }
	.gh-tools { flex-wrap: wrap; gap: 8px; }
	.gh-tool { border: 1px solid var(--line); }
	.gh-submit { margin-left: auto; padding: 10px 20px; }
	.gh-acct-menu { right: auto; left: 0; }
}
@media (max-width: 380px) { .gh-name { font-size: 17px; } }

/* Footer */
.gf { margin-top: 48px; background: var(--forest); color: #e8ede9; font-family: var(--sans); font-size: 14px; line-height: 1.6; }
.gf a { color: #fff; text-decoration: none; }
.gf a:hover, .gf a:focus { text-decoration: underline; color: #fff; }
.gf-in { max-width: 1200px; margin: 0 auto; padding: 36px 16px 20px; }
.gf-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.gf-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.gf-brand img { width: 30px; height: 40px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px; box-sizing: content-box; }
.gf-brand span { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; }
.gf-about { margin: 0 0 12px; color: #cfd9d2; max-width: 34em; }
.gf h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e1d18c; margin: 0 0 10px; }
.gf ul { list-style: none; margin: 0; padding: 0; }
.gf li { margin: 0 0 6px; }
.gf-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #cfd9d2; font-size: 13px; }
.gf-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #cfd9d2; font-size: 13px; }
.gf-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 767px) {
	.gf-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 16px; }
	.gf-col-brand { grid-column: 1 / -1; }
}
@media print { .gh, .gh-skip, .gf { display: none !important; } }
/* Wide screens: a wider header row so the inline search box gets ~220px */
@media (min-width: 1440px) { .gh-in { max-width: 1320px; } }
