
.mpmm-wrap{width:100%;max-width:100%}
.mpmm-grid{display:grid;grid-template-columns:repeat(var(--mpmm-desktop-cols,4),minmax(0,1fr));gap:var(--mpmm-gap,22px);width:100%}
.mpmm-card{position:relative;display:block;min-width:0;height:var(--mpmm-desktop-height,230px);overflow:hidden;border-radius:var(--mpmm-radius,10px);background:#f3f3f3;text-decoration:none!important;isolation:isolate}
.mpmm-media,.mpmm-media img,.mpmm-placeholder{position:absolute;inset:0;width:100%;height:100%}
.mpmm-media img{object-fit:cover;object-position:center;transition:transform .35s ease}
.mpmm-placeholder{background:linear-gradient(145deg,#eee,#d9d9d9)}
.mpmm-overlay{position:absolute;inset:0;background:rgba(0,0,0,var(--mpmm-overlay,.08));z-index:1;pointer-events:none}
.mpmm-label{position:absolute;left:50%;bottom:18px;z-index:2;width:var(--mpmm-label-width,72%);transform:translateX(-50%);padding:14px 18px;border-radius:var(--mpmm-label-radius,0);background:var(--mpmm-label-bg,#fff);color:var(--mpmm-label-color,#171a1f);font-size:var(--mpmm-label-size,18px);font-weight:500;line-height:1.16;text-align:center;box-shadow:0 7px 20px rgba(0,0,0,.07);word-break:normal}
@media(hover:hover){.mpmm-card:hover .mpmm-media img{transform:scale(var(--mpmm-hover-zoom,1.03))}}

/* WoodMart desktop dropdown width fix */
@media(min-width:1025px){
.wd-dropdown-menu:has(.mpmm-wrap),.wd-dropdown:has(.mpmm-wrap),.sub-menu-dropdown:has(.mpmm-wrap){
	width:min(var(--mpmm-desktop-width,1100px),calc(100vw - 40px))!important;
	max-width:none!important;
	min-width:min(var(--mpmm-desktop-width,1100px),calc(100vw - 40px))!important;
	padding:24px!important;
	overflow:visible!important;
}
.wd-nav-main>li:has(.mpmm-wrap){position:static!important}
.wd-nav-main>li:has(.mpmm-wrap)>.wd-dropdown-menu,
.wd-nav-main>li:has(.mpmm-wrap)>.wd-dropdown{
	left:50%!important;
	right:auto!important;
	transform:translateX(-50%)!important;
}
}

@media(max-width:1024px){.mpmm-grid{grid-template-columns:repeat(var(--mpmm-tablet-cols,2),minmax(0,1fr))}}
@media(max-width:767px){
.mpmm-grid{grid-template-columns:repeat(var(--mpmm-mobile-cols,1),minmax(0,1fr));gap:14px}
.mpmm-card{height:var(--mpmm-mobile-height,240px)}
.mpmm-label{bottom:16px;width:min(var(--mpmm-label-width,72%),86%);padding:13px 14px;font-size:clamp(16px,5vw,25px);font-weight:700}
}

/* Auto injected mobile drawer */
.mpmm-mobile-toggle,.mpmm-mobile-panel{display:none}
@media(max-width:1024px){
.wd-nav-mobile li,.mobile-nav li{position:relative}
.wd-nav-mobile .mpmm-mobile-toggle,.mobile-nav .mpmm-mobile-toggle{
	display:block;position:absolute;right:10px;top:8px;width:38px;height:38px;border:0;background:transparent;padding:0;z-index:5
}
.mpmm-mobile-toggle span:before,.mpmm-mobile-toggle span:after{content:"";position:absolute;left:10px;right:10px;top:18px;height:2px;background:#333;transition:.25s}
.mpmm-mobile-toggle span:after{transform:rotate(90deg)}
.mpmm-mobile-toggle[aria-expanded="true"] span:after{transform:rotate(0)}
.wd-nav-mobile .mpmm-mobile-panel,.mobile-nav .mpmm-mobile-panel{
	display:none;position:relative;clear:both;width:100%;padding:12px 14px 18px;background:#fff;border-top:1px solid #eee
}
.wd-nav-mobile .mpmm-mobile-panel.is-open,.mobile-nav .mpmm-mobile-panel.is-open{display:block}
.wd-nav-mobile .mpmm-mobile-injected .mpmm-grid,.mobile-nav .mpmm-mobile-injected .mpmm-grid{grid-template-columns:repeat(var(--mpmm-mobile-cols,1),minmax(0,1fr))}
.wd-nav-mobile .mpmm-mobile-injected .mpmm-card,.mobile-nav .mpmm-mobile-injected .mpmm-card{height:var(--mpmm-mobile-height,240px)}
}


/* v2.1.1: force WoodMart desktop mega menu inside viewport */
@media (min-width:1025px){
	.mpmm-desktop-positioned{
		position:fixed!important;
		right:auto!important;
		transform:none!important;
		max-width:calc(100vw - 32px)!important;
		overflow:visible!important;
		z-index:99999!important;
	}
	.mpmm-desktop-positioned .mpmm-wrap{
		width:100%!important;
		max-width:100%!important;
	}
	.mpmm-desktop-positioned .mpmm-grid{
		width:100%!important;
	}
}


/* v2.1.2: WoodMart separate Mobile Side Menu runtime injection */
#mpmm-mobile-template-store{display:none!important}.mpmm-mobile-runtime{display:none}
@media(max-width:1024px){
.wd-side-hidden-nav .mpmm-mobile-runtime,.mobile-nav .mpmm-mobile-runtime,.wd-nav-mobile .mpmm-mobile-runtime,.wd-mobile-nav .mpmm-mobile-runtime,.mobile-menu-tab .mpmm-mobile-runtime{display:block;position:static;width:100%}
.wd-side-hidden-nav li.mpmm-has-runtime,.mobile-nav li.mpmm-has-runtime,.wd-nav-mobile li.mpmm-has-runtime,.wd-mobile-nav li.mpmm-has-runtime{position:relative}
.mpmm-mobile-runtime>.mpmm-mobile-toggle{display:block!important;position:absolute;right:8px;top:7px;width:40px;height:40px;border:0;background:transparent;padding:0;z-index:20;cursor:pointer}
.mpmm-mobile-runtime>.mpmm-mobile-panel{display:none;position:relative;width:100%;clear:both;padding:12px 14px 18px;margin:0;background:#fff;border-top:1px solid #eee}
.mpmm-mobile-runtime>.mpmm-mobile-panel.is-open{display:block!important}
.mpmm-mobile-runtime .mpmm-mobile-injected{display:block!important;width:100%!important}
.mpmm-mobile-runtime .mpmm-grid{grid-template-columns:repeat(var(--mpmm-mobile-cols,1),minmax(0,1fr))!important}
.mpmm-mobile-runtime .mpmm-card{height:var(--mpmm-mobile-height,240px)!important}
}

/* v2.1.4: universal WoodMart Mobile Side Menu attachment */
@media(max-width:1024px){
	li.mpmm-has-runtime,
	.mpmm-has-runtime{
		position:relative!important;
		overflow:visible!important;
	}
	.mpmm-has-runtime>.mpmm-mobile-runtime{
		display:block!important;
		position:static!important;
		width:100%!important;
		clear:both!important;
	}
	.mpmm-has-runtime>.mpmm-mobile-runtime>.mpmm-mobile-toggle{
		display:block!important;
		position:absolute!important;
		right:8px!important;
		top:6px!important;
		width:42px!important;
		height:42px!important;
		margin:0!important;
		padding:0!important;
		border:0!important;
		background:transparent!important;
		z-index:50!important;
	}
	.mpmm-has-runtime>.mpmm-mobile-runtime>.mpmm-mobile-panel{
		display:none;
		position:relative!important;
		float:none!important;
		clear:both!important;
		width:100%!important;
		max-width:100%!important;
		margin:0!important;
		padding:12px 14px 18px!important;
		background:#fff!important;
		border-top:1px solid #e7e7e7!important;
		box-sizing:border-box!important;
	}
	.mpmm-has-runtime>.mpmm-mobile-runtime>.mpmm-mobile-panel.is-open{
		display:block!important;
	}
	.mpmm-mobile-runtime .mpmm-wrap,
	.mpmm-mobile-runtime .mpmm-grid{
		width:100%!important;
		max-width:100%!important;
	}
	.mpmm-mobile-runtime .mpmm-grid{
		display:grid!important;
		grid-template-columns:repeat(var(--mpmm-mobile-cols,1),minmax(0,1fr))!important;
		gap:14px!important;
	}
	.mpmm-mobile-runtime .mpmm-card{
		display:block!important;
		height:var(--mpmm-mobile-height,240px)!important;
		min-height:180px!important;
	}
}


/* v2.1.5: prevent mobile runtime from leaking into header/footer links */
.mpmm-mobile-runtime{display:none!important}
@media(max-width:1024px){
	.wd-side-hidden-nav .mpmm-mobile-runtime,
	.wd-side-hidden .wd-nav-mobile .mpmm-mobile-runtime,
	.wd-mobile-nav .mpmm-mobile-runtime,
	.wd-nav-mobile .mpmm-mobile-runtime,
	.mobile-nav .mpmm-mobile-runtime,
	.mobile-menu-wrapper .menu .mpmm-mobile-runtime{
		display:block!important;
	}
	header .mpmm-mobile-runtime,
	footer .mpmm-mobile-runtime,
	.wd-footer .mpmm-mobile-runtime,
	.site-footer .mpmm-mobile-runtime,
	.wd-header .mpmm-mobile-runtime{
		display:none!important;
	}
	header .mpmm-mobile-toggle,
	footer .mpmm-mobile-toggle,
	.wd-footer .mpmm-mobile-toggle,
	.site-footer .mpmm-mobile-toggle,
	.wd-header .mpmm-mobile-toggle{
		display:none!important;
	}
}


/* v2.1.6: prevent WoodMart native mobile submenu opener conflict */
@media(max-width:1024px){
  .mpmm-has-runtime > .wd-nav-opener,
  .mpmm-has-runtime > a > .wd-nav-opener,
  .mpmm-has-runtime > .menu-opener,
  .mpmm-has-runtime > .submenu-toggle,
  .mpmm-has-runtime > .caret,
  .mpmm-has-runtime > a > .caret{
    display:none!important;
    pointer-events:none!important;
    visibility:hidden!important;
  }
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle{
    display:block!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle:before,
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle:after{
    content:"";
    position:absolute;
    left:11px;
    right:11px;
    top:19px;
    height:2px;
    background:#222;
    border-radius:2px;
    transition:transform .2s ease,opacity .2s ease;
  }
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle:after{transform:rotate(90deg)}
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle[aria-expanded="true"]:after{transform:rotate(0deg)}
  .mpmm-has-runtime > .mpmm-mobile-runtime > .mpmm-mobile-toggle span{display:none!important}
  .mpmm-has-runtime > .sub-menu,
  .mpmm-has-runtime > .wd-sub-menu{
    display:none!important;
  }
}
