/* Mobile menu panel (includes/menu-panel.php, assets/menu.js): under the header, the header stays usable. */
.kmp {
	--kmp-ink: #1a1a1a;
	--kmp-muted: #9a9a9a;
	--kmp-line: #efeae8;
	--kmp-font: var(--wd-text-font, "Jost", system-ui, sans-serif);
	position: fixed;
	inset: var(--kmp-top, 0px) 0 var(--kmp-bottom, 0px);
	z-index: 389; /* under the header (390): its shadow falls on the panel */
	font-family: var(--kmp-font);
	color: var(--kmp-ink);
}
.kmp[hidden] { display: none; }
.kmp *, .kmp *::before, .kmp *::after { box-sizing: border-box; }
.kmp-veil { position: absolute; inset: 0; background: rgba(22, 18, 18, .42); opacity: 0; transition: opacity .2s; }
.kmp-box {
	position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column;
	background: #fff; border-top: 1px solid var(--kmp-line);
	opacity: 0; transform: translateY(-8px);
	transition: opacity .18s, transform .22s ease;
}
.kmp.is-in .kmp-veil { opacity: 1; }
.kmp.is-in .kmp-box { opacity: 1; transform: none; }
html.kmp-open { overflow: hidden; }

/* panes: the list, and one per submenu; they slide like the theme's drilldown. A pinned banner sits under them. */
.kmp-panes { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.kmp-pane {
	position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	padding: 8px 0 calc(28px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility .3s;
}
.kmp-sub { z-index: 2; transform: translateX(100%); visibility: hidden; box-shadow: -10px 0 24px rgba(0, 0, 0, .04); }
.kmp-sub.is-on { transform: none; visibility: visible; }
.kmp.is-sub .kmp-main { transform: translateX(-28%); opacity: 0; visibility: hidden; }
.kmp-list { list-style: none; margin: 0; padding: 0; }
.kmp-li { margin: 0; padding: 0; list-style: none; }

/* rows (the theme styles every button: reset what it adds) */
.kmp .kmp-item, .kmp .kmp-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; min-height: 56px; height: auto; margin: 0; padding: 0 20px;
	border: 0; border-radius: 0; background: none; box-shadow: none;
	color: #333; font: 600 13px/1.2 var(--kmp-font); letter-spacing: .3px; text-transform: uppercase; text-align: left; text-decoration: none;
	cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.kmp .kmp-item:hover, .kmp .kmp-head:hover { background: none; color: #333; }
.kmp-t { padding: 0; }
.kmp .kmp-item svg { width: 18px; height: 18px; flex: none; color: #555; }
.kmp .promo-nav .kmp-item, .kmp .promo-nav .kmp-t { color: rgba(var(--px-red-color-rgba, 208, 16, 46), 1); }
.kmp .kmp-head { justify-content: flex-start; gap: 14px; padding: 0 20px 0 14px; color: #1a1a1a; margin-bottom: 4px; }
.kmp .kmp-head svg { width: 20px; height: 20px; flex: none; color: #444; }

.kmp .kmp-all {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 15px 8px; padding: 14px 16px; border-radius: 12px;
	background: var(--px-tint, #f6f3f2); color: var(--kmp-ink); text-decoration: none;
	font: 500 15px/1.25 var(--kmp-font);
}
.kmp-all__t { display: grid; gap: 3px; min-width: 0; }
.kmp-all__t small { font-size: 12.5px; font-weight: 400; color: #8a8a8a; }
.kmp .kmp-all svg { width: 17px; height: 17px; flex: none; }
.kmp .kmp-link { display: grid; gap: 4px; padding: 12px 20px; color: var(--kmp-ink); text-decoration: none; }
.kmp-cat { font-size: 11px; color: var(--kmp-muted); letter-spacing: .3px; }
.kmp-size { font-size: 14px; font-weight: 500; }
.kmp .kmp-item:focus-visible, .kmp .kmp-head:focus-visible, .kmp .kmp-all:focus-visible, .kmp .kmp-link:focus-visible { outline: 2px solid var(--kmp-ink); outline-offset: -2px; }

/* the burger: three lines that turn into an X while a panel (menu or search) is open */
.wd-header-mobile-nav .wd-tools-icon.kmp-has::before { content: none !important; }
.wd-header-mobile-nav .wd-tools-icon.kmp-has { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.kmp-burger { position: relative; display: block; width: 18px; height: 14px; }
.kmp-burger i {
	position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
	transition: top .26s cubic-bezier(.2, .8, .2, 1) .08s, transform .26s cubic-bezier(.2, .8, .2, 1), opacity .15s .08s;
}
.kmp-burger i:nth-child(1) { top: 0; }
.kmp-burger i:nth-child(2) { top: 6.25px; }
.kmp-burger i:nth-child(3) { top: 12.5px; }
/* to X: the lines meet in the middle first, then turn */
html.kmp-x .kmp-burger i { transition: top .2s cubic-bezier(.2, .8, .2, 1), transform .26s cubic-bezier(.2, .8, .2, 1) .12s, opacity .12s; }
html.kmp-x .kmp-burger i:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
html.kmp-x .kmp-burger i:nth-child(2) { opacity: 0; }
html.kmp-x .kmp-burger i:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
	.kmp-box, .kmp-veil, .kmp-pane, .kmp-burger i, html.kmp-x .kmp-burger i { transition: none; }
}
/* desktop: the panel never shows */
@media (min-width: 1025px) { .kmp { display: none !important; } }

/* ---- banner (Customize > Keeko PX > Mobile menu banner) ---- */
.kmp-ban-wrap { flex: none; }
/* the banner scrolls with the menu: the pane is a column, "at the bottom" pushes it down when there is room */
.kmp-pane--ban { display: flex; flex-direction: column; padding-bottom: 0; }
.kmp-pane--ban > .kmp-list { flex: none; }
.kmp-ban-wrap--bottom { margin-top: auto; padding-top: 16px; }
.kmp-ban-wrap--after { margin-top: 12px; }
/* nothing under the banner but the iPhone home bar space (none above the bottom bar: that space is the bar's) */
.kmp-pane--ban > .kmp-ban-wrap { padding-bottom: env(safe-area-inset-bottom, 0px); }
.kmp--bar .kmp-pane--ban > .kmp-ban-wrap { padding-bottom: 0; }
.kmp .kmp-ban {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	color: #fff; text-decoration: none; background: var(--kmp-ban-bg, #d0102e);
}
.kmp .kmp-ban { border-radius: var(--kmp-ban-r, 14px); }
.kmp .kmp-ban--inset { margin: 0 var(--kmp-ban-gap, 15px) var(--kmp-ban-gap, 15px); }
.kmp .kmp-ban--img { background: #f2efee; }
.kmp-ban__media { position: relative; display: block; }
.kmp-ban__img { display: block; width: 100%; height: auto; }
.kmp-ban--ratio .kmp-ban__media { aspect-ratio: var(--kmp-ban-ratio); }
.kmp-ban--ratio .kmp-ban__img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.kmp-ban--color.kmp-ban--ratio { aspect-ratio: var(--kmp-ban-ratio); justify-content: center; }
.kmp-ban__copy { position: relative; display: grid; gap: 4px; justify-items: start; padding: 18px 20px; }
.kmp-ban--center .kmp-ban__copy { justify-items: center; text-align: center; }
/* text over an image: at the bottom of it, on a soft shade */
.kmp-ban--img.kmp-ban--text-over .kmp-ban__copy { position: absolute; inset: auto 0 0 0; padding-top: 44px; }
.kmp-ban--img.kmp-ban--text-over.kmp-ban--light .kmp-ban__copy { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.kmp-ban--img.kmp-ban--text-over.kmp-ban--dark .kmp-ban__copy { background: linear-gradient(to top, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
.kmp-ban--dark { color: #1a1a1a; }
/* text under the image: on the menu's white */
.kmp .kmp-ban--text-below { background: #fff; color: #1a1a1a; }
.kmp-ban--text-below .kmp-ban__copy { padding: 12px 2px 4px; }
.kmp-ban--full.kmp-ban--text-below .kmp-ban__copy { padding: 12px 20px 16px; }
.kmp-ban__eyebrow { font: 600 11px/1.3 var(--kmp-font); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.kmp-ban__title { font: 600 20px/1.15 var(--kmp-font); letter-spacing: .01em; }
.kmp-ban__text { font: 400 14px/1.4 var(--kmp-font); opacity: .92; }
.kmp-ban__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #1a1a1a; font: 500 13px/1 var(--kmp-font); }
.kmp-ban--dark .kmp-ban__btn, .kmp-ban--text-below .kmp-ban__btn { background: #1a1a1a; color: #fff; }
.kmp-ban__btn svg { width: 14px; height: 14px; }
.kmp .kmp-ban:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
/* two images side by side */
.kmp .kmp-ban--pair { background: none; color: #1a1a1a; border-radius: 0; }
.kmp-ban__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kmp-ban--full .kmp-ban__pair { gap: 2px; }
.kmp .kmp-ban__tile { position: relative; display: block; overflow: hidden; border-radius: var(--kmp-ban-r, 14px); background: #f2efee; }
.kmp-ban--pair.kmp-ban--ratio .kmp-ban__tile { aspect-ratio: var(--kmp-ban-ratio); }
.kmp-ban--pair.kmp-ban--ratio .kmp-ban__img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.kmp .kmp-ban--pair .kmp-ban__copy { color: #1a1a1a; text-decoration: none; padding: 12px 2px 4px; }
.kmp-ban--full.kmp-ban--pair .kmp-ban__copy { padding: 12px 20px 16px; }
.kmp-ban--pair .kmp-ban__btn { background: #1a1a1a; color: #fff; }
.kmp .kmp-ban__tile:focus-visible, .kmp .kmp-ban--pair .kmp-ban__copy:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }
/* no focus ring on the burger after a tap or a click (keyboard focus keeps it) */
.wd-header-mobile-nav > a:focus:not(:focus-visible) { outline: none; }
