/* =====================================================================
   PB50 header + footer ("chrome")
   ===================================================================== */
.pb50-hdr, .pb50-hdr *, .pb50-drawer, .pb50-drawer *, .pb50-ftr, .pb50-ftr * { box-sizing: border-box; }
.pb50-hdr ul, .pb50-drawer ul, .pb50-ftr ul { list-style: none; margin: 0; padding: 0; }
.pb50-hdr a, .pb50-drawer a, .pb50-ftr a { text-decoration: none; }
.pb50-i { display: block; flex: none; }
.pb50-num { font-variant-numeric: tabular-nums; }
.pb50-hdr__wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.pb50-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--pb-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.pb50-skip:focus { left: 8px; }
.pb50-stripe { height: 4px; background: linear-gradient(90deg, var(--pb-leaf) 0 22%, var(--pb-lime) 22% 40%, var(--pb-sun) 40% 62%, var(--pb-clay) 62% 76%, var(--pb-navy) 76% 100%); }

/* ---------- Utility bar ---------- */
.pb50-util { background: var(--pb-navy-deep); color: #B8C9D6; font: 500 13px/1 var(--pb-body); }
.pb50-util__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.pb50-util__info { display: flex; gap: 26px; align-items: center; }
.pb50-util__info li { display: flex; gap: 8px; align-items: center; }
.pb50-util__info .pb50-i { color: var(--pb-sun); }
.pb50-util a { color: #DCE6EC !important; }
.pb50-util a:hover { color: var(--pb-sun) !important; }
.pb50-util__right { display: flex; align-items: center; gap: 18px; }
.pb50-util__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font: 500 11.5px/1 var(--pb-mono); letter-spacing: .06em; text-transform: uppercase; color: #DCE6EC; }
.pb50-util__badge .pb50-i { color: #9FD36A; }
.pb50-social { display: flex; gap: 6px; }
.pb50-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #DCE6EC !important; background: rgba(255,255,255,.07); transition: background .2s, color .2s, transform .2s; }
.pb50-social a:hover { background: var(--pb-sun); color: var(--pb-navy-deep) !important; transform: translateY(-1px); }

/* ---------- Main bar ---------- */
/* Kunco sets body{overflow-x:hidden}, which turns <body> into a scroll container and breaks sticky. clip keeps the side-scroll protection without that. */
html body.pb50-chrome { overflow-x: clip !important; overflow-y: visible !important; }
.pb50-hdr { position: sticky; top: 0; z-index: 900; display: flow-root; }
body.admin-bar .pb50-hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .pb50-hdr { top: 0; } }
.pb50-hdr .pb50-util { transition: margin-top .25s ease; }
.pb50-hdr.is-scrolled .pb50-util { margin-top: -40px; }
.pb50-mainbar { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); position: relative; transition: box-shadow .25s; }
.pb50-hdr.is-scrolled .pb50-mainbar { box-shadow: 0 6px 24px rgba(0,36,63,.10); }
.pb50-mainbar__row { display: flex; align-items: center; gap: 28px; min-height: 86px; transition: min-height .25s; }
.pb50-hdr.is-scrolled .pb50-mainbar__row { min-height: 72px; }
.pb50-brand { display: flex; align-items: center; flex: none; }
.pb50-brand img { height: 62px; width: auto; display: block; transition: height .25s; }
.pb50-hdr.is-scrolled .pb50-brand img { height: 52px; }

/* nav */
.pb50-nav { margin-left: auto; }
.pb50-nav__list { display: flex; align-items: center; gap: 2px; }
.pb50-nav__item--d0 { position: relative; }
.pb50-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 10px; font: 600 15px/1 var(--pb-body); color: var(--pb-text) !important; position: relative; white-space: nowrap; transition: color .2s, background .2s; }
.pb50-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--pb-sun); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.pb50-nav__link .pb50-i { color: var(--pb-muted); transition: transform .2s; }
.pb50-nav__item--d0:hover > .pb50-nav__link, .pb50-nav__item--d0:focus-within > .pb50-nav__link { color: var(--pb-navy) !important; background: var(--pb-surface-2); }
.pb50-nav__item--d0:hover > .pb50-nav__link .pb50-i, .pb50-nav__item--d0:focus-within > .pb50-nav__link .pb50-i { transform: rotate(180deg); color: var(--pb-navy); }
.pb50-nav__item--d0.is-current > .pb50-nav__link { color: var(--pb-navy) !important; }
.pb50-nav__item--d0.is-current > .pb50-nav__link::after, .pb50-nav__link:hover::after { transform: scaleX(1); }

/* dropdown */
.pb50-nav .pb50-sub--d0 { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 340px; padding: 10px; background: #fff; border: 1px solid var(--pb-line); border-radius: 16px; box-shadow: 0 24px 48px -12px rgba(0,36,63,.25), 0 2px 6px rgba(0,36,63,.06); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.pb50-nav .pb50-sub--d0::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.pb50-nav .pb50-sub--d0::after { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--pb-line); border-top: 1px solid var(--pb-line); transform: translateX(-50%) rotate(45deg); }
.pb50-nav__item--d0:hover > .pb50-sub--d0, .pb50-nav__item--d0:focus-within > .pb50-sub--d0 { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pb50-sub__link { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; color: var(--pb-text) !important; transition: background .15s; }
.pb50-sub__link:hover, .pb50-sub__link:focus-visible { background: var(--pb-surface-2); }
.pb50-sub__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; transition: transform .2s; }
.pb50-sub__link:hover .pb50-sub__ic { transform: scale(1.06); }
.pb50-sub .pb50-nav__item:nth-child(4n+1) .pb50-sub__ic { background: #EAF4E8; color: var(--pb-leaf); }
.pb50-sub .pb50-nav__item:nth-child(4n+2) .pb50-sub__ic { background: #FEF3DC; color: #B87A00; }
.pb50-sub .pb50-nav__item:nth-child(4n+3) .pb50-sub__ic { background: #E6EEF6; color: var(--pb-navy); }
.pb50-sub .pb50-nav__item:nth-child(4n+4) .pb50-sub__ic { background: #FDEBDD; color: var(--pb-clay); }
.pb50-sub__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pb50-sub__txt b { font: 600 15px/1.25 var(--pb-body); color: var(--pb-navy); }
.pb50-sub__txt small { font: 400 13px/1.35 var(--pb-body); color: var(--pb-muted); }
.pb50-sub .pb50-nav__item.is-current .pb50-sub__txt b { color: var(--pb-leaf); }
/* third level flyout */
.pb50-nav .pb50-sub--d1 { position: absolute; left: calc(100% + 6px); top: 0; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--pb-line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0,36,63,.25); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.pb50-nav .pb50-nav__item--d1 { position: relative; }
.pb50-nav .pb50-nav__item--d1:hover > .pb50-sub--d1, .pb50-nav .pb50-nav__item--d1:focus-within > .pb50-sub--d1 { opacity: 1; visibility: visible; }

/* actions */
.pb50-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.pb50-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pb-line); background: #fff; color: var(--pb-navy) !important; cursor: pointer; position: relative; transition: border-color .2s, background .2s, color .2s; padding: 0; box-shadow: none !important; }
.pb50-iconbtn:hover, .pb50-iconbtn[aria-expanded="true"] { border-color: var(--pb-navy); background: var(--pb-navy); color: #fff !important; }
.pb50-cart__n { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--pb-clay); color: #fff; font: 700 11px/19px var(--pb-body); text-align: center; }
.pb50-donate, .pb50-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; font: 700 15px/1 var(--pb-body); white-space: nowrap; transition: transform .15s, background .2s, box-shadow .2s, color .2s, border-color .2s; }
.pb50-donate { background: var(--pb-sun); color: var(--pb-navy-deep) !important; box-shadow: 0 8px 20px -6px rgba(245,169,12,.6); }
.pb50-donate:hover { background: #FFB823; transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(245,169,12,.7); }
.pb50-donate .pb50-i { color: var(--pb-clay); }
.pb50-donate--block { width: 100%; }
.pb50-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff !important; }
.pb50-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.pb50-burger { display: none; }

/* search panel */
.pb50-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--pb-line); box-shadow: 0 18px 30px -18px rgba(0,36,63,.3); padding: 18px 0; }
.pb50-search__form { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--pb-line); border-radius: 14px; padding: 6px 6px 6px 16px; background: #fff; }
.pb50-search__form:focus-within { border-color: var(--pb-leaf); box-shadow: 0 0 0 4px rgba(67,154,58,.15); }
.pb50-search__form .pb50-i { color: var(--pb-muted); }
.pb50-search__form input[type=search] { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; font: 500 17px/1.3 var(--pb-body); padding: 12px 4px !important; background: transparent; color: var(--pb-text); outline: none; }
.pb50-search__form button { border: 0; border-radius: 10px; background: var(--pb-navy); color: #fff; font: 700 15px/1 var(--pb-body); padding: 14px 22px; cursor: pointer; }
.pb50-search__form button:hover { background: var(--pb-navy-deep); }

/* drawer */
.pb50-drawer { position: fixed; inset: 0; z-index: 1000; }
.pb50-drawer__scrim { position: absolute; inset: 0; background: rgba(0,26,46,.55); opacity: 0; transition: opacity .25s; }
.pb50-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.pb50-drawer.is-open .pb50-drawer__scrim { opacity: 1; }
.pb50-drawer.is-open .pb50-drawer__panel { transform: none; }
.pb50-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pb-line); }
.pb50-drawer__head img { height: 48px; width: auto; }
.pb50-m { flex: 1; overflow-y: auto; padding: 10px 12px; }
.pb50-m__row { display: flex; align-items: center; }
.pb50-m__link { flex: 1; display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 10px; font: 600 16px/1.2 var(--pb-body); color: var(--pb-navy) !important; }
.pb50-m__link:hover { background: var(--pb-surface-2); }
.pb50-m__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--pb-surface-2); color: var(--pb-leaf); }
.pb50-m__toggle { width: 42px; height: 42px; border: 0; background: none; border-radius: 10px; color: var(--pb-muted); cursor: pointer; display: grid; place-items: center; }
.pb50-m__toggle .pb50-i { transition: transform .2s; }
.pb50-m__toggle[aria-expanded="true"] .pb50-i { transform: rotate(180deg); }
.pb50-m .pb50-sub { display: none; position: static !important; transform: none !important; opacity: 1 !important; visibility: visible !important; min-width: 0 !important; box-shadow: none !important; background: none !important; border: 0 !important; border-left: 2px solid var(--pb-line) !important; border-radius: 0 !important; padding: 2px 0 8px 14px; margin-left: 27px; }
.pb50-m .pb50-sub::before, .pb50-m .pb50-sub::after { display: none !important; }
.pb50-m .is-open > .pb50-sub { display: block; }
.pb50-m .pb50-sub__link { padding: 9px 10px; gap: 12px; }
.pb50-m .pb50-sub__ic { width: 32px; height: 32px; border-radius: 8px; background: var(--pb-surface-2); color: var(--pb-navy); }
.pb50-m .pb50-sub__txt b { font-size: 15px; }
.pb50-drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--pb-line); display: flex; flex-direction: column; gap: 12px; color: var(--pb-muted); font-size: 14px; }
.pb50-drawer__foot p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.pb50-drawer__foot .pb50-i { color: var(--pb-leaf); margin-top: 2px; }
body.pb50-lock { overflow: hidden; }

@media (max-width: 1180px) {
	.pb50-nav__link { padding: 12px 10px; font-size: 14.5px; }
	.pb50-mainbar__row { gap: 18px; }
}
@media (max-width: 1060px) {
	.pb50-nav, .pb50-util { display: none; }
	.pb50-burger { display: inline-grid; }
	.pb50-actions { margin-left: auto; }
	.pb50-mainbar__row { min-height: 72px; }
	.pb50-brand img { height: 52px; }
}
@media (max-width: 560px) {
	.pb50-actions .pb50-donate span { display: none; }
	.pb50-actions .pb50-donate { padding: 0; width: 44px; height: 44px; }
	.pb50-actions .pb50-cart { display: none; }
	.pb50-brand img { height: 46px; }
}

/* ---------- Footer ---------- */
#wp-footer.pb50-ftr { background: var(--pb-navy-deep) !important; color: #B8C9D6 !important; font: 400 14.5px/1.6 var(--pb-body); padding: 0 !important; margin: 0; }
#wp-footer.pb50-ftr::before { display: none !important; }
#wp-footer.pb50-ftr a { color: #C9D7E2 !important; transition: color .2s; }
#wp-footer.pb50-ftr a:hover { color: var(--pb-sun) !important; }
#wp-footer.pb50-ftr .pb50-donate { color: var(--pb-navy-deep) !important; }
#wp-footer.pb50-ftr .pb50-ghost { color: #fff !important; }
#wp-footer.pb50-ftr .pb50-social a { color: #DCE6EC !important; }
#wp-footer.pb50-ftr .pb50-social a:hover { color: var(--pb-navy-deep) !important; }

.pb50-ftr__cta { background: radial-gradient(900px 380px at 90% 0%, rgba(125,166,48,.28), transparent 60%), radial-gradient(700px 300px at 0% 100%, rgba(245,169,12,.16), transparent 60%), linear-gradient(135deg, var(--pb-navy), #00304F); padding: 30px 0; }
.pb50-ftr__cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pb50-ftr__cta-copy { max-width: 680px; display: flex; flex-direction: column; gap: 6px; }
.pb50-ftr__eyebrow { font: 500 12px/1 var(--pb-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pb-sun); }
.pb50-ftr__cta h2 { margin: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--pb-display) !important; color: #fff !important; letter-spacing: -.015em; }
.pb50-ftr__cta p { margin: 0; color: #C9D7E2; font-size: 15px; }
.pb50-ftr__cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.pb50-ftr__main { padding: 40px 0 28px; }
.pb50-ftr__grid { display: grid; grid-template-columns: 1.25fr 1.35fr .9fr 1.2fr; gap: 36px; align-items: start; }
.pb50-ftr__brand { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.6; }
.pb50-ftr__logo { display: inline-flex; align-self: flex-start; background: #F7F9F4; border-radius: 12px; padding: 8px 12px; }
.pb50-ftr__logo img { height: 48px; width: auto; display: block; }
.pb50-ftr__brand p { margin: 0; max-width: 40ch; }
.pb50-social--lg a { width: 34px; height: 34px; }
.pb50-ftr__col h3 { margin: 0 0 14px; font: 700 15px/1 var(--pb-body) !important; color: #fff !important; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.pb50-ftr__col h3::after { content: ""; flex: 0 0 28px; height: 2px; border-radius: 2px; background: var(--pb-sun); }
.pb50-ftr__col ul { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.pb50-ftr__col--explore ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.pb50-ftr__col:not(.pb50-ftr__contact) a { display: inline-flex; align-items: center; gap: 8px; }
.pb50-ftr__col:not(.pb50-ftr__contact) a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); transition: background .2s, transform .2s; }
.pb50-ftr__col:not(.pb50-ftr__contact) a:hover::before { background: var(--pb-sun); transform: scale(1.3); }
.pb50-ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.pb50-ftr__contact .pb50-i { color: var(--pb-sun); margin-top: 4px; }
.pb50-ftr__trust { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; line-height: 1.45; color: #DCE6EC; }
.pb50-ftr__trust .pb50-i { color: #9FD36A; margin-top: 1px; }

.pb50-ftr__base { background: #001A2E; padding: 14px 0; font-size: 13px; }
.pb50-ftr__base-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pb50-ftr__base p { margin: 0; color: #93A6B2; }
.pb50-ftr__base ul { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pb50-ftr__base span { color: #93A6B2; }
.pb50-totop { display: inline-flex; align-items: center; gap: 6px; }
.pb50-dot { margin: 0 6px; }

@media (max-width: 1000px) { .pb50-ftr__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) {
	.pb50-ftr__grid { grid-template-columns: 1fr; gap: 34px; }
	.pb50-ftr__cta { padding: 44px 0; }
	.pb50-ftr__cta-btns { width: 100%; }
	.pb50-ftr__cta-btns a { flex: 1; }
}

/* Hide Kunco's own floating back-to-top and mobile header if any slipped through */
.pb50-chrome .return-top, .pb50-chrome .header-mobile { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.pb50-hdr *, .pb50-drawer *, .pb50-ftr * { transition: none !important; }
}
