/* Shared storefront shell. Page-specific treatments live with the home and inner layouts. */
:root {
    --kh-ink: #122747;
    --kh-navy: #081d3b;
    --kh-blue: #145bc4;
    --kh-blue-hover: #093d8f;
    --kh-sky: #bbdeff;
    --kh-soft-sky: #e7f3ff;
    --kh-canvas: #f6faff;
    --kh-muted: #455d79;
    --kh-border: #caddeb;
    --kh-radius-control: .7rem;
    --kh-radius-panel: 1.05rem;
    --kh-radius-hero: 1.5rem;
    --kh-shadow-component: 0 2px 6px rgb(14 67 139 / 6%);
    --kh-shadow-float: 0 18px 42px -12px rgb(9 49 106 / 27%);
}
.kh-site { background: linear-gradient(180deg, #edf6ff 0, #fff 40rem, #f6faff 100%); }
.kh-site[data-bs-theme="light"] {
    --bs-success-base: #12689c;
    --bs-success-bg: #12689c;
    --bs-success-fg: #09517f;
    --bs-success-fg-emphasis: #083a5c;
    --bs-success-bg-subtle: #e6f6ff;
    --bs-success-bg-muted: #d3edff;
    --bs-success-border: #80b7d9;
    --bs-success-contrast: #fff;
    --bs-danger-base: #17355c;
    --bs-danger-bg: #17355c;
    --bs-danger-fg: #163861;
    --bs-danger-fg-emphasis: #0b2546;
    --bs-danger-bg-subtle: #edf1fb;
    --bs-danger-bg-muted: #dbe7f7;
    --bs-danger-border: #829abb;
    --bs-danger-contrast: #fff;
    --bs-warning-base: #4687bb;
    --bs-warning-bg: #c4e3ff;
    --bs-warning-fg: #194d7d;
    --bs-warning-fg-emphasis: #16375b;
    --bs-warning-bg-subtle: #eaf5ff;
    --bs-warning-bg-muted: #d9ebff;
    --bs-warning-border: #89accb;
    --bs-warning-contrast: #102d51;
}
.kh-main .alert.theme-danger { border-inline-start: .32rem double var(--bs-danger-fg); }
.kh-main .alert.theme-warning { border-inline-start: .23rem dashed var(--bs-warning-fg); }
.kh-header {
    background: rgb(255 255 255 / 97%);
    border-color: #c6dcf5;
    box-shadow: 0 5px 22px -15px #13447270;
}
.kh-service-bar {
    color: #d9edff;
    background: linear-gradient(103deg, #071a37 10%, #103a73 75%, #1056a3);
    font-size: .78rem;
}
.kh-service-bar .kh-container, .kh-service-bar nav, .kh-service-hours, .kh-service-bar a {
    display: flex;
    align-items: center;
}
.kh-service-bar .kh-container { justify-content: space-between; gap: 1rem; }
.kh-service-hours, .kh-service-bar a { gap: .5rem; }
.kh-service-hours i { color: #8ddcff; }
.kh-service-bar nav { gap: 1.25rem; }
.kh-service-bar a { min-height: 1.95rem; color: inherit; text-decoration: none; }
.kh-service-bar a + a { position: relative; padding-inline-start: 1.25rem; }
.kh-service-bar a + a::before {
    content: ""; position: absolute; inset-inline-start: 0; height: .78rem;
    border-inline-start: 1px solid #6392c4;
}
.kh-service-bar a:is(:hover,:focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
.kh-service-bar a:focus-visible, .kh-footer a:focus-visible { outline-color: #ace1ff; }
.kh-navbar { min-height: 4.4rem; }
.kh-navbar .kh-nav-inner { column-gap: clamp(.8rem, 2vw, 2.25rem); }
.kh-header .kh-brand { gap: .42rem; margin-inline-end: clamp(.4rem, 1.3vw, 1.35rem); }
.kh-brand .kh-brand-mark { flex: none; }
.kh-header .kh-brand-mark { width: 2.8rem; height: 2.8rem; }
.kh-wordmark {
    color: #0a2449; font: 900 clamp(1.15rem, 2vw, 1.58rem)/1 var(--kh-font-sans);
    letter-spacing: -.07em; transform: skew(-5deg);
}
.kh-wordmark .kh-brand-accent { color: #1765d2; }
.kh-header .kh-nav-links { align-self: stretch; gap: .18rem; }
.kh-header .kh-nav-links > li { display: flex; align-items: center; }
.kh-header .kh-nav-links .nav-link {
    position: relative;
    padding: .62rem clamp(.48rem, .75vw, .9rem);
    color: #304968; border-radius: .65rem; font-size: .93rem; font-weight: 700;
}
.kh-header .kh-nav-links .nav-link > .kh-nav-icon:not(.kh-nav-chevron) { display: none; }
.kh-header .kh-nav-links .nav-link:is(.active, [aria-current], :hover, :focus-visible, .show) {
    color: #0d51ba; background: #eaf4ff;
}
.kh-header .kh-nav-links .nav-link[aria-current]::after {
    content: ""; position: absolute; bottom: .18rem; left: 34%; right: 34%;
    height: 2px; border-radius: 2px; background: #2180ee;
}
.kh-header-login, .kh-header-button, .kh-wallet {
    border-color: #c5dafa; font-size: .91rem; border-radius: .75rem;
}
.kh-header-login { color: #103f80; background: #f5faff; }
.kh-header .kh-wallet { color: #1248a1; background: #edf6ff; }
.kh-header-actions > .btn-solid, .kh-drawer .btn-solid.theme-primary {
    align-items: center; min-height: 2.65rem; padding-inline: 1.05rem; color: white;
    border: 1px solid #135ac7; border-radius: .75rem;
    background: linear-gradient(115deg, #1d69e5, #0743a6);
    box-shadow: 0 4px 14px -6px #1859bd9e;
}
.kh-header-actions > .btn-solid:hover { background: #124eae; }
.kh-menu {
    padding: .42rem; border: 1px solid #c9dbf2; border-radius: 1rem;
    box-shadow: 0 18px 44px -14px #15376455;
}
.kh-menu .menu-item { min-height: 2.55rem; border-radius: .6rem; }
.kh-drawer .drawer-header {
    background: linear-gradient(110deg, #edf6ff, white 60%);
    padding: 1rem 1.2rem; border-color: #c6ddf5;
}
.kh-drawer .drawer-title { display: flex; gap: .55rem; align-items: center; color: #0d315c; font-weight: 800; }
.kh-drawer-links { gap: .27rem; }
.kh-drawer-links .nav-link { padding: .36rem .55rem; border-radius: .7rem; }
.kh-drawer-link-icon { border: 1px solid #c9e2ff; }
.kh-bottom-nav {
    border-color: #bcd5f2;
    background: rgb(252 254 255 / 97%);
    box-shadow: 0 -4px 24px -12px rgb(18 65 120 / 25%);
}
.kh-bottom-nav a { color: #4a617a; font-size: .77rem; }
.kh-bottom-nav a[aria-current] { color: #06449b; font-weight: 800; }
.kh-bottom-nav a[aria-current] .kh-bottom-nav-icon {
    color: white; background: linear-gradient(120deg, #247df2, #1250b2);
    box-shadow: 0 3px 8px -3px #165fcc85;
}
.kh-footer {
    position: relative; isolation: isolate; overflow: clip;
    margin-top: clamp(2.5rem, 6vw, 5rem);
    border: 0; color: #f0f7ff;
    background: radial-gradient(ellipse at 98% -55%, #185bb4 0, transparent 63%),
        linear-gradient(105deg, #071b38, #0a2c59);
}
.kh-footer::before, .kh-footer::after {
    position: absolute; z-index: -1; pointer-events: none; content: "";
    right: -16rem; top: -19rem; width: 58rem; height: 33rem; transform: rotate(-24deg);
    border: 1px solid #8dc8ff29; border-radius: 50%;
}
.kh-footer::after { right: -11rem; top: -16rem; width: 47rem; height: 27rem; }
.kh-footer-grid {
    display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.05fr;
    gap: clamp(1.25rem, 3.6vw, 3.25rem);
    padding-block: clamp(2rem, 5vw, 4.1rem) clamp(1.6rem, 3.5vw, 3rem);
}
.kh-footer-grid > * { min-width: 0; }
.kh-footer .kh-brand, .kh-footer h2 { color: #fff; }
.kh-footer .kh-brand-accent { color: #86d5ff; }
.kh-footer .kh-brand-mark { width: 2.85rem; height: 2.85rem; }
.kh-footer .kh-footer-logo {
    box-sizing: content-box; padding: .22rem .65rem; border-radius: .65rem;
    background: #f5faff;
}
.kh-footer h2 { margin: 0 0 .85rem; font-size: 1.03rem; font-weight: 800; }
.kh-footer .kh-footer-about, .kh-footer .kh-footer-links,
.kh-footer .kh-footer-links a, .kh-footer .kh-footer-about a, .kh-footer-bottom a {
    color: #d4e7fb;
}
.kh-footer .kh-footer-about { line-height: 1.72; }
.kh-footer-links { margin-bottom: 0; gap: .24rem; font-size: .91rem; }
.kh-footer-links a { min-height: 1.95rem; }
.kh-contact-hours { color: #c6daf0; margin-bottom: .9rem; font-size: .85rem; }
.kh-footer .kh-contact-chat {
    gap: .6rem; min-height: 2.75rem; padding: .45rem .9rem;
    color: #eaf7ff; border: 1px solid #5489bf; border-radius: .7rem; background: #153b68;
}
.kh-footer .kh-contact-chat:hover { background: #1d4b81; }
.kh-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .23em; }
.kh-footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.2rem;
    color: #b6d0eb; border-color: #31547b; font-size: .8125rem;
}
.kh-footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.kh-footer-bottom a { display: inline-flex; align-items: center; min-height: 1.75rem; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
    :is(.kh-header, .kh-footer, .kh-drawer, .kh-bottom-nav) :is(a, button, .kh-bottom-nav-icon) {
        transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease;
    }
}
@media (max-width: 879.98px) {
    .kh-service-bar { display: none; }
    .kh-header .kh-brand { margin: 0; }
    .kh-header .kh-brand-mark { width: 2.22rem; height: 2.22rem; }
    .kh-navbar { min-height: 3.7rem; }
    .kh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kh-footer .kh-footer-links a { min-height: 2.75rem; }
}
@media (max-width: 575.98px) {
    .kh-footer-grid { gap: 1.65rem .8rem; }
    .kh-footer-identity, .kh-footer-contact { grid-column: 1 / -1; }
    .kh-footer-contact { padding-top: 1.3rem; border-top: 1px solid #35567b; }
    .kh-footer-bottom { justify-content: flex-start; }
    .kh-footer-bottom nav { flex-basis: 100%; }
}
@media (max-width: 360px) {
    .kh-header .kh-nav-inner { padding-inline: .65rem; column-gap: .3rem; }
    .kh-header .kh-brand { gap: .22rem; }
    .kh-header .kh-wordmark { font-size: 1.06rem; }
    .kh-header .kh-brand-mark { width: 1.95rem; }
    .kh-header .kh-header-login { padding-inline: .5rem; }
    .kh-header .kh-wallet { max-width: 33vw; }
}
@media (forced-colors: active) {
    .kh-header .kh-nav-links .nav-link[aria-current]::after { background: Highlight; }
}
