.kpm-offcanvas-menu,
.kpm-offcanvas-menu a,
.kpm-offcanvas-menu button,
.kpm-trigger,
.kpm-group-button,
.kpm-item-link {
font-family: var(--global-body-font-family, inherit) !important;
}
.kpm-panel-header a {
font-family: var(--global-heading-font-family, inherit) !important;
} .kpm-offcanvas-menu {
position: relative;
display: inline-block;
}
.kpm-trigger {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 10px 0 !important; 
border-radius: 0;
border: none;
cursor: pointer;
background: transparent !important;
color: #333333 !important; 
font-size: 15px !important; 
font-weight: 600 !important;
box-shadow: none !important;
transition: color 0.16s ease, transform 0.16s ease;
}
.kpm-trigger:hover {
color: #eb353a !important;
}
.kpm-trigger:active {
transform: translateY(1px);
}
.kpm-trigger-icon {
position: relative;
width: 18px;
height: 12px;
display: inline-flex;
flex-direction: column;
justify-content: space-between;
}
.kpm-trigger-icon span {
display: block;
height: 2px;
width: 100%;
border-radius: 999px;
background: #333333 !important; 
transition: background 0.16s ease;
}
.kpm-trigger:hover .kpm-trigger-icon span {
background: #eb353a !important;
} .kpm-overlay {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 1.5rem 1rem;
opacity: 0;
pointer-events: none;
transition: opacity 0.15s ease-out; background: rgba(0, 0, 0, 0.6); will-change: opacity; transform: translateZ(0); }
.kpm-overlay-backdrop {
position: absolute;
inset: 0;
}
.kpm-menu-dialog {
position: relative;
z-index: 1;
width: 100%;
max-width: var(--kpm-container-width, 1290px);
background: #ffffff;
border-radius: 12px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
padding: 1rem 1.25rem 1.25rem;
will-change: transform, opacity; transform: translateZ(0);
}
.kpm-offcanvas-menu.kpm-open .kpm-overlay {
opacity: 1;
pointer-events: auto;
}
html.kpm-menu-open,
html.kpm-menu-open body {
overflow: hidden;
}
html.kpm-menu-open #wrapper {
position: relative;
z-index: 1200; 
}
.kpm-menu-inner-layout {
display: grid;
grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
gap: 1.25rem;
max-height: calc(100vh - 5rem);
} .kpm-groups {
border-right: 1px solid rgba(0, 0, 0, 0.06);
overflow-y: auto;
padding-right: 0.75rem;
}
.kpm-groups ul {
list-style: none;
margin: 0;
padding: 0;
}
.kpm-group {
margin-bottom: 0.25rem;
}
.kpm-group-button,
.kpm-group-link {
display: block;
width: 100%;
text-align: left;
border: none;
background: transparent;
padding: 12px 15px !important;
border-radius: 6px;
font-size: 0.92rem;
font-weight: 400;
color: var(--global-palette3, #333333); 
text-decoration: none !important;
box-shadow: none !important;
border-bottom: 1px solid rgba(0,0,0,0.04) !important;
cursor: pointer;
transition: background 0.16s ease, color 0.16s ease;
}
.kpm-group-button:hover,
.kpm-group-link:hover {
background: rgba(0, 0, 0, 0.03);
color: #eb353a !important;
}
.kpm-group.kpm-group-active .kpm-group-button {
background: #eb353a !important;
color: #ffffff !important;
font-weight: 600 !important;
} .kpm-panels {
overflow: hidden;
position: relative;
}
.kpm-panel {
display: none;
height: 100%;
}
.kpm-panel-active {
display: block;
}
.kpm-panel-header {
margin-bottom: 15px !important;
padding-bottom: 10px !important;
border-bottom: 2px solid #f0f0f0 !important;
}
.kpm-panel-header a {
color: #333333 !important;
font-weight: 600;
font-size: 1.1rem !important;
text-decoration: none !important;
box-shadow: none !important;
}
.kpm-panel-header a:hover {
color: #eb353a !important;
}
.kpm-panel-content {
max-height: calc(100vh - 6.5rem);
overflow-y: auto;
column-width: 270px !important;
column-gap: 2rem !important;
content-visibility: auto; contain-intrinsic-size: 500px; }
.kpm-sublist {
list-style: none;
margin: 0 0 0.5rem;
padding: 0;
break-inside: avoid;
}
.kpm-sublist > .kpm-item {
display: inline-block;
width: 100%;
margin-bottom: 0.15rem; 
break-inside: avoid;
}
.kpm-item-row {
display: flex;
align-items: stretch;
gap: 0.25rem;
min-width: 0;
} .kpm-item-link {
flex: 1 1 auto;
min-width: 0;
display: flex !important;
align-items: center !important;
gap: 0.4rem;
padding: 8px 10px !important;
font-size: 0.88rem;
font-weight: 500 !important;
line-height: 1.2;
color: var(--global-palette3, #333333);
text-decoration: none !important;
box-shadow: none !important;
border-radius: 6px !important;
transition: background 0.16s ease, color 0.16s ease;
}
.kpm-item-link:visited {
color: var(--global-palette3, #333333);
}
.kpm-item-link:hover {
color: #eb353a !important;
background: rgba(0, 0, 0, 0.03);
}
.kpm-item-label {
min-width: 0;
word-break: break-word;
} .kpm-icon-wrap {
flex: 0 0 auto;
width: 36px !important; height: 36px !important; min-width: 36px !important; margin-right: 12px !important;
border-radius: 6px;
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
background: transparent !important;
}
.kpm-icon-wrap img {
width: 100%;
height: 100%;
object-fit: contain;
}
.kpm-subtoggle {
flex: 0 0 auto;
width: 38px;
min-width: 38px;
height: 38px;
border: none;
border-radius: 8px;
background: transparent;
color: var(--global-palette3, #333333);
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
transition: background 0.16s ease, color 0.16s ease;
}
.kpm-subtoggle:hover {
background: rgba(0, 0, 0, 0.05);
color: #eb353a;
}
.kpm-subtoggle:focus-visible,
.kpm-item-link:focus-visible,
.kpm-group-button:focus-visible,
.kpm-group-link:focus-visible,
.kpm-trigger:focus-visible,
.kpm-close:focus-visible {
outline: 2px solid #eb353a;
outline-offset: 2px;
}
.kpm-subtoggle-icon {
width: 10px;
height: 10px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
transition: transform 0.18s ease;
margin-top: -2px;
}
.kpm-item.kpm-expanded > .kpm-item-row .kpm-subtoggle-icon {
transform: rotate(225deg);
margin-top: 2px;
}
.kpm-sublist-wrap { display: block; }
.kpm-sublist-wrap[hidden] { display: none !important; }
.kpm-item-has-children > a::after, .kpm-item.kpm-expanded > a::after { content: none !important; }
.kpm-item-has-children > .kpm-sublist, .kpm-item.kpm-expanded > .kpm-sublist { display: block; }
.kpm-depth-1 > .kpm-item-row > .kpm-item-link { font-size: 0.9rem; font-weight: 600; }
.kpm-depth-2 > .kpm-item-row > .kpm-item-link { padding-left: 0.55rem; font-size: 0.86rem; }
.kpm-depth-3 > .kpm-item-row > .kpm-item-link { padding-left: 0.95rem; font-size: 0.84rem; } .kpm-close {
position: absolute;
top: 0.35rem;
right: 0.5rem;
border: none;
background: rgba(227, 6, 19, 0.08); 
color: #e30613;                      
font-size: 1.4rem;
line-height: 1;
cursor: pointer;
border-radius: 999px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background 0.16s ease, color 0.16s ease;
}
.kpm-close:hover {
background: rgba(227, 6, 19, 0.16);
} @media (max-width: 991px) {
.kpm-overlay { padding: 0; align-items: flex-start; }
.kpm-menu-dialog {
border-radius: 0; width: 100%; max-width: 100%;
max-height: 100vh; height: auto;
padding: 1.2rem 0.75rem 1rem; overflow-y: auto;
}
.kpm-menu-inner-layout {
grid-template-columns: 1fr; grid-template-rows: auto 1fr;
max-height: none; height: auto; gap: 0.75rem; margin-top: 1.5rem; 
}
.kpm-groups {
border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
padding-right: 0; padding-bottom: 0.35rem; max-height: none; overflow: visible;
}
.kpm-group-button, .kpm-group-link { padding: 0.35rem 0.4rem; font-size: 0.9rem; }
.kpm-panel-content { max-height: none; column-width: 180px !important; column-gap: 1.2rem !important; }
.kpm-item-link { min-height: 42px; padding: 0.4rem 0.35rem; font-size: 0.9rem; }
.kpm-subtoggle { width: 42px; min-width: 42px; height: 42px; }
.kpm-icon-wrap { width: 24px !important; height: 24px !important; min-width: 24px !important; }
}