/* Header, two rows: logo + search pill + call block + icons on white, then a dark-green menu bar. Loads after footer.css and overrides its header rules. */
:root { --hd-ink: #12251f; --hd-green: #00613c; --hd-deep: #0b3b2a; --hd-lime: #9bc53d; --hd-line: #e4ebe6; }

header.scx-head { background: #fff; border-bottom: 0; transition: box-shadow .3s ease; }
header.scx-head.is-stuck { box-shadow: 0 10px 30px rgba(11, 59, 42, .16); }

/* row 1 */
.scx-bar { max-width: 1400px; grid-template-columns: 230px minmax(240px, 1fr) auto auto; column-gap: 36px; padding: 10px 28px; transition: padding .3s ease; }
.scx-logo img { height: 92px; transition: height .3s ease, transform .3s ease; }
.scx-logo:hover img { transform: scale(1.03); }
header.scx-head.is-stuck .scx-bar { padding-top: 6px; padding-bottom: 6px; }
header.scx-head.is-stuck .scx-logo img { height: 58px; }

/* search pill */
.scx-search, .scx-search.open { position: relative; display: flex; align-items: center; max-width: 620px; width: 100%; height: 52px; margin: 0; padding: 0 8px 0 50px; border: 1.5px solid transparent; border-radius: 40px; background: #f2f4f1; box-sizing: border-box; animation: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.scx-search:focus-within { border-color: var(--hd-green); background: #fff; box-shadow: 0 8px 22px rgba(0, 97, 60, .13); }
.scx-s-ico { position: absolute; left: 19px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; fill: none; stroke: #6f7f78; stroke-width: 2; stroke-linecap: round; }
.scx-search input[type=search] { flex: 1; min-width: 0; max-width: none; height: 100%; padding: 0 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 500 14.5px 'Spartan', Arial, sans-serif; color: var(--hd-ink); outline: 0; }
.scx-search input[type=search]:focus { border: 0; box-shadow: none; background: transparent; }
.scx-search button { height: 38px; padding: 0 22px; border: 0; border-radius: 30px; background: transparent; color: var(--hd-ink); font: 800 13px 'Spartan', Arial, sans-serif; letter-spacing: .04em; text-transform: none; cursor: pointer; transition: background .2s, color .2s; }
.scx-search button:hover { background: var(--hd-green); color: #fff; transform: none; }

/* call block */
.scx-call { display: flex; align-items: center; gap: 12px; color: var(--hd-ink); }
.scx-call svg { width: 42px; height: 42px; flex: none; fill: none; stroke: var(--hd-lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.scx-call:hover svg { transform: scale(1.1) rotate(-6deg); }
.scx-call small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 16px; }
.scx-call b { display: block; font-size: 16.5px; font-weight: 600; line-height: 24px; color: #6f9a2e; white-space: nowrap; }
.scx-call b em { font-style: normal; font-weight: 500; }
.scx-call:hover b { color: var(--hd-green); }

/* tools */
.scx-tools { gap: 12px; }
.scx-ic { width: 46px; height: 46px; border: 0; color: var(--hd-ink); transition: transform .25s, box-shadow .25s, filter .25s; }
.scx-ic:hover { filter: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11, 59, 42, .18); }
.scx-ic svg { width: 20px; height: 20px; stroke-width: 1.7; }
.scx-ic-user { background: #e4f1ef; }
.scx-ic-heart { background: #f6efdc; }
.scx-ic-bag { background: #f7e4e4; }
.scx-ic-search { display: none; background: #eef2ee; }
.scx-badge { top: -6px; right: -6px; min-width: 21px; height: 21px; border: 2px solid #fff; border-radius: 11px; background: #f0a030; color: #fff; font: 700 10px/17px 'Spartan', Arial, sans-serif; box-sizing: border-box; }
.scx-total { min-width: 64px; font-size: 16px; font-weight: 800; color: var(--hd-ink); white-space: nowrap; }
.scx-total:hover { color: var(--hd-green); }

/* row 2: menu bar */
.scx-nav { display: block; background: linear-gradient(90deg, var(--hd-deep), #0a5236 55%, var(--hd-green)); }
.scx-nav-in { max-width: 1400px; margin: 0 auto; padding: 0 28px; }
.scx-nav ul { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; max-width: none; margin: 0; padding: 0; list-style: none; }
.scx-nav > .scx-nav-in > ul > li { position: relative; margin: 0; }
.scx-nav > .scx-nav-in > ul > li > a { position: relative; display: flex; align-items: center; padding: 16px 20px; font-size: 14.5px; line-height: 20px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: #fff; transition: color .25s, background .25s; }
.scx-nav > .scx-nav-in > ul > li > a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--hd-lime); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.scx-nav > .scx-nav-in > ul > li:hover > a, .scx-nav > .scx-nav-in > ul > li:focus-within > a { color: var(--hd-lime); background: rgba(255, 255, 255, .06); }
.scx-nav > .scx-nav-in > ul > li:hover > a::after, .scx-nav > .scx-nav-in > ul > li:focus-within > a::after { transform: scaleX(1); }
.scx-chev { width: 10px; height: 10px; margin-left: 7px; transition: transform .3s ease; }
.scx-nav li.has-sub:hover .scx-chev, .scx-nav li.has-sub:focus-within .scx-chev { transform: rotate(180deg); }

/* dropdown card */
.scx-nav ul.scx-sub { display: flex; visibility: hidden; opacity: 0; transform: translateY(10px); position: absolute; left: 0; top: 100%; z-index: 50; flex-direction: column; gap: 0; min-width: 240px; margin: 0; padding: 10px; border: 1px solid var(--hd-line); border-radius: 0 0 16px 16px; background: #fff; box-shadow: 0 24px 60px rgba(11, 59, 42, .2); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility .25s; pointer-events: none; }
.scx-nav ul.scx-sub::before, .scx-nav ul.scx-sub::after { display: none; }
.scx-nav li.has-sub:hover > ul.scx-sub, .scx-nav li.has-sub:focus-within > ul.scx-sub { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.scx-nav ul.scx-sub li { margin: 0; border: 0; }
.scx-nav ul.scx-sub a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #3a4d46; transition: background .2s, color .2s, padding .25s; }
.scx-nav ul.scx-sub a:hover { padding-left: 20px; background: #eef6ea; color: var(--hd-green); }

/* tablet / phone: burger + logo + icons, search drops below, menu lives in the drawer */
@media (max-width: 1100px) {
	.scx-bar { grid-template-columns: 46px 1fr auto; column-gap: 12px; padding: 8px 14px; }
	.scx-logo img { height: 56px; }
	header.scx-head.is-stuck .scx-logo img { height: 46px; }
	.scx-burger { width: 44px; height: 44px; border: 1.5px solid var(--hd-line); border-radius: 50%; align-items: center; gap: 4px; padding: 0; }
	.scx-burger span { width: 18px; background: var(--hd-ink); }
	.scx-call, .scx-ic-user, .scx-nav { display: none; }
	.scx-ic-search { display: flex; }
	.scx-ic { width: 40px; height: 40px; }
	.scx-ic svg { width: 18px; height: 18px; }
	.scx-tools { gap: 8px; }
	.scx-total { min-width: 0; font-size: 14px; }
	.scx-search { display: none; grid-column: 1 / -1; grid-row: 2; max-width: none; height: 46px; margin-top: 8px; }
	.scx-search.open { display: flex; animation: scxDrop .3s ease; }
}
@media (max-width: 600px) {
	.scx-total { display: none; }
	.scx-tools { gap: 6px; }
	.scx-ic { width: 38px; height: 38px; }
}
@keyframes scxDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { header.scx-head *, header.scx-head { transition: none !important; animation: none !important; } }

/* announcement strip above the header, first-letter capitals (not all caps) */
.scx-top { max-height: 40px; overflow: hidden; background: linear-gradient(90deg, var(--hd-deep), #0f5a3d 50%, var(--hd-deep)); color: #e9f3ec; transition: max-height .35s ease, opacity .25s ease; }
header.scx-head.is-stuck .scx-top { max-height: 0; opacity: 0; }
.scx-top-in { max-width: 1400px; margin: 0 auto; padding: 0 28px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px 34px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: capitalize; white-space: nowrap; }
.scx-top-in span { display: inline-flex; align-items: center; gap: 9px; }
.scx-top-in span + span::before { content: ""; width: 4px; height: 4px; margin-right: 25px; border-radius: 50%; background: var(--hd-lime); }
.scx-top-in a { color: #fff; text-decoration: underline; text-decoration-color: rgba(155, 197, 61, .8); text-underline-offset: 3px; }
.scx-top-in a:hover { color: var(--hd-lime); }
/* menu centred */
.scx-nav ul { justify-content: center; }
@media (max-width: 1100px) { .scx-top-in { font-size: 12px; } .scx-top-in span:nth-child(n+2) { display: none; } }
@media (max-width: 480px) { .scx-top-in { padding: 0 12px; font-size: 11.5px; } }
