/* Header and footer of the new design (sn-header.php, sn-footer.php) on every page, 2026-10-25.
   Self-contained: on the shop pages the theme (Bootstrap + its inline !important colours) is still loaded,
   so everything here is prefixed sn- and the colours that the theme forces are set with !important. */
:root {
	--sn-coral: #c8441f;
	--sn-coral-dark: #a8381a;
	--sn-ink: #222;
	--sn-slate: #2a3740;
	--sn-chrome-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.sn-top, .sn-top *, .sn-foot, .sn-foot * { box-sizing: border-box; }

/* header */
.sn-top { position: sticky; top: 0; z-index: 990; background: #fff; transition: box-shadow .2s ease-in-out; font-family: var(--sn-chrome-font); }
.sn-top.is-scrolled { box-shadow: 0 2px 16px rgba(3, 9, 37, .1); }
.sn-top__in { max-width: 1180px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 24px; min-height: 76px; }
.sn-top__logo { font: 700 24px/1.2 var(--sn-chrome-font) !important; letter-spacing: -.05em; color: var(--sn-ink) !important; text-decoration: none !important; margin-right: auto; white-space: nowrap; }
.sn-top__nav { display: flex; align-items: center; gap: 36px; }
.sn-top__links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.sn-top__links li { margin: 0; padding: 0; list-style: none; }
.sn-top__links a { font: 500 16px/1.4 var(--sn-chrome-font) !important; color: var(--sn-ink) !important; text-decoration: none !important; }
.sn-top__links a:hover, .sn-top__links a:focus { color: var(--sn-coral-dark) !important; text-decoration: underline !important; text-underline-offset: 6px; }
.sn-top__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 5px; background: var(--sn-coral) !important; color: #fff !important; font: 700 15px/1 var(--sn-chrome-font) !important; text-decoration: none !important; transition: background .2s ease-out; white-space: nowrap; }
.sn-top__cta:hover, .sn-top__cta:focus { background: var(--sn-coral-dark) !important; color: #fff !important; }
.sn-top__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--sn-ink) !important; text-decoration: none !important; }
.sn-top__cart:hover { color: var(--sn-coral-dark) !important; }
.sn-cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sn-coral); color: #fff; font: 700 11px/18px var(--sn-chrome-font); text-align: center; }
.sn-cart-count[hidden] { display: none; }

/* phone/tablet menu: slides in from the left (checkbox, no script needed) */
.sn-top__burger { display: none; }
.sn-top__check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sn-top__lines { position: relative; z-index: 1002; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin: 0; cursor: pointer; }
.sn-top__lines span { display: block; width: 25px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--sn-ink); transition: transform .3s ease, opacity .3s ease; }
.sn-top__check:checked + .sn-top__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sn-top__check:checked + .sn-top__lines span:nth-child(2) { opacity: 0; }
.sn-top__check:checked + .sn-top__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sn-top__check:focus-visible + .sn-top__lines { outline: 2px solid var(--sn-coral); outline-offset: 2px; }
.sn-top__panel { position: fixed; top: 0; left: 0; z-index: 1001; width: 300px; max-width: 85vw; height: 100vh; padding: 24px; background: #fff; box-shadow: 4px 0 24px rgba(0, 0, 0, .12); display: flex; flex-direction: column; justify-content: center; gap: 24px; transform: translateX(-105%); transition: transform .3s ease-in-out; }
.sn-top__panel .sn-top__links { flex-direction: column; gap: 0; text-align: center; }
.sn-top__panel .sn-top__links a { display: block; padding: 10px 0; font-size: 20px !important; }
.sn-top__panel .sn-top__cta { min-height: 52px; }
.sn-top__backdrop { position: fixed; inset: 0; z-index: 1000; margin: 0; background: rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.sn-top__check:checked ~ .sn-top__panel { transform: translateX(0); }
.sn-top__check:checked ~ .sn-top__backdrop { opacity: 1; pointer-events: all; }

/* footer */
.sn-foot { background: var(--sn-slate); color: #e8ecef; font-family: var(--sn-chrome-font); }
.sn-foot__in { max-width: 1180px; margin: 0 auto; padding: 64px 20px 40px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.sn-foot__logo { display: inline-block; margin-bottom: 20px; font: 700 24px/1.2 var(--sn-chrome-font) !important; letter-spacing: -.05em; color: #fff !important; text-decoration: none !important; }
.sn-foot p { margin: 0 0 12px; font: 400 15px/1.7 var(--sn-chrome-font) !important; color: #e8ecef !important; }
.sn-foot p strong { color: #fff; }
.sn-foot .sn-foot__title { margin: 0 0 16px; font: 700 16px/1.3 var(--sn-chrome-font) !important; color: #fff !important; text-transform: uppercase; letter-spacing: .06em; }
.sn-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sn-foot li { margin: 0; padding: 0; list-style: none; }
.sn-foot a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.sn-foot ul a { display: inline-flex; align-items: center; gap: 8px; font: 400 15px/1.5 var(--sn-chrome-font) !important; text-decoration: none !important; }
.sn-foot ul a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.sn-foot ul a:hover { color: #f5b7a5 !important; }
.sn-foot ul a:hover span, .sn-foot ul a:hover { text-decoration: underline !important; }
.sn-foot__bottom { max-width: 1180px; margin: 0 auto; padding: 24px 20px; border-top: 1px solid rgba(255, 255, 255, .15); font: 400 14px var(--sn-chrome-font); color: #c9d1d6; }

@media (max-width: 992px) {
	.sn-top__nav { display: none; }
	.sn-top__burger { display: block; }
	.sn-top__in { gap: 8px; min-height: 64px; padding: 10px 20px; }
	.sn-top__logo { font-size: 22px !important; }
}
@media (max-width: 992px) {
	.sn-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.sn-foot__in { grid-template-columns: 1fr; padding-top: 48px; }
}

/* cookie banner (Complianz): the accept button in the accent instead of the old teal */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background-color: var(--sn-coral) !important; border-color: var(--sn-coral) !important; color: #fff !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background-color: var(--sn-coral-dark) !important; border-color: var(--sn-coral-dark) !important; }
