/* tMP Core: site header and footer. Loaded on every page, so everything is scoped
   to .tmp-nav / .tmp-foot and written to win against theme and Bootstrap rules. */

.tmp-nav, .tmp-foot {
	--paper: #F5F2EA; --card: #FFFDF8; --tint: #F5F2EA; --ink: #0F2029; --ink2: #3C4C55; --muted: #5F6E76;
	--line: rgba(15, 32, 41, 0.14); --accent: #58B4E5; --blue-deep: #1A6A96;
	--sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
	font-family: var(--sans) !important; font-size: 15px; line-height: 1.5; color: var(--ink);
	-webkit-font-smoothing: antialiased; box-sizing: border-box; text-align: left;
}
.tmp-nav *, .tmp-foot *, .tmp-nav *::before, .tmp-foot *::before { box-sizing: border-box; }
.tmp-nav a, .tmp-foot a, .tmp-nav button, .tmp-nav summary { font-family: var(--sans) !important; text-decoration: none !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
.tmp-nav a:focus-visible, .tmp-nav button:focus-visible, .tmp-nav summary:focus-visible, .tmp-foot a:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }

/* theme header and footer step aside (kept in the DOM for theme scripts) */
body.tmp-chrome header.banner, body.tmp-chrome .headhesive--clone, body.tmp-chrome footer.footer, body.tmp-chrome .prefooter { display: none !important; }

/* ---------- header ---------- */
.tmp-nav { position: sticky; top: 0; z-index: 990; margin: 0; padding: 0; background: rgba(245, 242, 234, 0.92); background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body.admin-bar .tmp-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tmp-nav { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .tmp-nav { top: 0; } }
.tmp-nav__in { max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 76px; display: flex; align-items: center; gap: 22px; }
.tmp-nav__logo { display: flex; align-items: center; margin-right: 22px; flex-shrink: 0; }
.tmp-nav__logo img { height: 36px !important; width: auto !important; max-width: none !important; display: block; margin: 0 !important; }
.tmp-nav__links { display: flex; align-items: center; gap: 28px; flex-grow: 1; margin: 0; padding: 0; }
.tmp-nav__links > a, .tmp-nav__dropbtn { color: var(--ink2) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.5 !important; padding: 12px 0 !important; white-space: nowrap; background: none !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: auto !important; min-height: 0 !important; margin: 0 !important; transition: color .15s ease; }
.tmp-nav__links > a:hover, .tmp-nav__dropbtn:hover, .tmp-nav__drop:focus-within .tmp-nav__dropbtn, .tmp-nav__links > a[aria-current] { color: var(--ink) !important; }
.tmp-nav__drop { position: relative; }
.tmp-nav__panel { position: absolute; left: -14px; top: 100%; min-width: 280px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 24px 40px -20px rgba(15, 32, 41, 0.35); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.tmp-nav__drop:hover .tmp-nav__panel, .tmp-nav__drop:focus-within .tmp-nav__panel { opacity: 1; visibility: visible; transform: none; }
.tmp-nav__panel a, .tmp-menu nav a, .tmp-menu__sub summary { color: var(--ink2) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.4 !important; padding: 10px 14px !important; border-radius: 6px; display: block; }
.tmp-nav__panel a:hover, .tmp-menu nav a:hover { background: var(--tint) !important; color: var(--ink) !important; }
.tmp-nav__login { color: var(--ink) !important; font-size: 15px !important; font-weight: 500 !important; padding: 12px 4px; white-space: nowrap; }
.tmp-nav__cart { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink) !important; border-radius: 8px; flex-shrink: 0; }
.tmp-nav__cart:hover { background: var(--tint); }
.tmp-nav__count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; }
.tmp-nav__count[hidden] { display: none; }
.tmp-nav .tmp-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink) !important; color: #fff !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2 !important; padding: 12px 20px !important; border-radius: 8px !important; border: 1px solid var(--ink) !important; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.tmp-nav .tmp-btn:hover { background: #1B3442 !important; transform: translateY(-1px); }

.tmp-menu { display: none; position: relative; margin: 0; }
.tmp-menu > summary { list-style: none; width: 44px; height: 44px; border: 1px solid rgba(15, 32, 41, 0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.tmp-menu summary::-webkit-details-marker { display: none; }
.tmp-menu > nav { position: absolute; right: 0; top: 52px; z-index: 5; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 24px 40px -20px rgba(15, 32, 41, 0.4); display: flex; flex-direction: column; }
.tmp-menu nav a, .tmp-menu__sub summary { font-size: 16px !important; padding: 13px 14px !important; }
.tmp-menu__sub summary { list-style: none; cursor: pointer; display: flex !important; align-items: center; justify-content: space-between; }
.tmp-menu__sub[open] summary svg { transform: rotate(180deg); }
.tmp-menu nav .tmp-menu__sub a { padding-left: 28px !important; font-size: 15px !important; }

/* ---------- footer ---------- */
.tmp-foot { clear: both; margin: 96px 0 0; padding: 0; background: var(--paper); border-top: 1px solid var(--line); }
.tmp-home .tmp-foot { margin-top: 0; border-top: 0; }
.tmp-foot__in { max-width: 1200px; margin: 0 auto; padding: 56px 40px 40px; display: flex; flex-direction: column; gap: 40px; }
.tmp-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.tmp-foot__logo { height: 34px !important; width: auto !important; display: block; margin: 0 0 16px !important; }
.tmp-foot p { margin: 0 !important; padding: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 320px; }
.tmp-foot nav { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.tmp-foot nav a { color: var(--ink2) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.5; }
.tmp-foot nav a:hover { color: var(--ink) !important; }
.tmp-foot p.tmp-foot__h, .tmp-foot p.tmp-foot__legal { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); max-width: none; }
.tmp-foot p.tmp-foot__legal { border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 1080px) {
	.tmp-nav__links { gap: 20px; }
	.tmp-nav__in { gap: 16px; }
}
@media (max-width: 940px) {
	.tmp-nav__in { height: 64px; gap: 8px; padding: 0 20px; }
	.tmp-nav__logo { margin-right: auto; }
	.tmp-nav__logo img { height: 30px !important; }
	.tmp-nav__links, .tmp-nav__login { display: none !important; }
	.tmp-menu { display: block; }
	.tmp-nav .tmp-btn { font-size: 14px !important; padding: 12px 14px !important; }
	.tmp-foot { margin-top: 64px; }
	.tmp-foot__in { padding: 40px 20px 32px; gap: 24px; }
	.tmp-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
	.tmp-foot__grid > div { grid-column: 1 / -1; }
	.tmp-foot__logo { height: 30px !important; }
}
@media (max-width: 380px) { .tmp-nav__cta { display: none !important; } }

/* The theme sets overflow-x: hidden on html and body, which turns body into a scroll box and stops the header sticking. */
html:has(body.tmp-chrome), body.tmp-chrome { overflow-x: clip !important; overflow-y: visible !important; }

/* The wordmark sits in the lower half of the logo image (the flag rises above it), so lift the
   image until the lettering lines up with the menu text. */
.tmp-nav__logo img { transform: translateY(-30%); }
@media (max-width: 940px) { .tmp-nav__acct { display: none !important; } }
