.pmm-menu-wrap {
	font-family: 'Poppins', sans-serif;
	position: relative;
	width: 100%;
	z-index: 100;
}

.pmm-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 14px 20px;
	background-color: #FFFFFF;
	border-bottom: 1px solid #E7E1DA;
	flex-wrap: nowrap;
}

.pmm-logo {
	font-weight: 600;
	font-size: 19px;
	white-space: nowrap;
	color: #1F1B16;
}

.pmm-logo-accent {
	font-weight: 500;
}

.pmm-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: nowrap;
	justify-content: center;
}

.pmm-nav-item {
	position: relative;
}

.pmm-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #1F1B16;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.15s ease;
}

.pmm-icon {
	font-size: 16px;
	line-height: 1;
}

.pmm-caret {
	font-size: 10px;
	margin-left: 2px;
	transition: transform 0.15s ease;
}

.pmm-nav-item.pmm-open .pmm-caret {
	transform: rotate(180deg);
}

.pmm-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pmm-search {
	position: relative;
	display: flex;
	align-items: center;
}

.pmm-search-icon {
	position: absolute;
	left: 10px;
	font-size: 14px;
	color: #9A9189;
	pointer-events: none;
}

.pmm-search-input {
	width: 160px;
	padding: 8px 10px 8px 30px;
	border-radius: 8px;
	border: 1px solid #E7E1DA;
	font-family: inherit;
	font-size: 13px;
	background: #FAF8F6;
}

.pmm-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: #1F1B16;
	text-decoration: none;
	font-size: 20px;
}

.pmm-cart-badge {
	position: absolute;
	top: -6px;
	right: -10px;
	background: #8C6A4F;
	color: #fff;
	font-size: 10px;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.pmm-cta {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid #8C6A4F;
	background-color: #8C6A4F;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.pmm-cta:hover {
	opacity: 0.88;
	color: #fff;
}

.pmm-burger {
	display: none;
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	padding: 4px;
}

/* Panel de mega menu (angosto, anclado bajo el item que lo abre) */
.pmm-megapanel {
	position: fixed !important;
	min-width: 260px;
	max-width: 340px;
	width: max-content;
	background-color: #FBF8F5;
	border: 1px solid #E7E1DA;
	border-radius: 10px;
	padding: 22px;
	box-sizing: border-box;
	box-shadow: 0 16px 32px rgba(20, 16, 10, 0.12);
	z-index: 999999 !important;
	margin: 0 !important;
	max-height: none !important;
	overflow: visible !important;
}

.pmm-megapanel-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pmm-cat-image {
	border-radius: 8px;
	background-color: #EFEAE4;
	background-size: cover;
	background-position: center;
	aspect-ratio: 16 / 9;
	width: 100%;
}

.pmm-cat-content {
	min-width: 0;
}

.pmm-cat-title-rule {
	display: none;
}

.pmm-cat-description {
	margin-bottom: 14px;
}

.pmm-subgrid {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.pmm-subcard {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border: 1px solid #E7E1DA;
	border-radius: 8px;
	padding: 9px 12px;
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.pmm-subcard:hover {
	border-color: #8C6A4F;
}

.pmm-sub-name {
	font-weight: 500;
	color: #1F1B16 !important;
}

.pmm-sub-price {
	color: #9A9189 !important;
	font-size: 12px;
	white-space: nowrap;
}

.pmm-sublist {
	display: none;
}

.pmm-cat-title {
	font-weight: 600;
	font-size: 16px;
	margin: 0 0 6px;
	color: #1F1B16;
}

.pmm-body-text {
	font-size: 13px;
	line-height: 1.6;
	color: #5C5248;
	font-weight: 400;
	margin: 0;
}

.pmm-cat-description {
	margin-bottom: 16px;
}

.pmm-sub-link {
	color: #8C6A4F;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pmm-sub-link:hover {
	text-decoration: underline;
}

/* Menu mobile */
.pmm-mobile-panel {
	display: none;
	flex-direction: column;
	background: #fff;
	border-bottom: 1px solid #E7E1DA;
}

.pmm-mobile-link {
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #1F1B16;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #F1ECE6;
}

/* El desktop se oculta y el burger aparece via el <style> inline que genera
   cada widget segun el control "Activar boton hamburguesa desde (px)". Solo
   dejamos ac' un fallback por si ese <style> no llegara a imprimirse. */
@media (max-width: 1024px) {
	.pmm-megapanel {
		display: none !important;
	}
}

/* Acordeon de categorias en el menu movil */
.pmm-mobile-item {
	border-bottom: 1px solid #F1ECE6;
}

.pmm-mobile-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 13px 20px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #1F1B16;
	text-align: left;
	transition: background-color 0.15s ease;
}

.pmm-mobile-header-left {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pmm-mobile-chevron {
	font-size: 10px;
	color: #1F1B16;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.pmm-mobile-item.pmm-mobile-open .pmm-mobile-chevron {
	transform: rotate(180deg);
}

.pmm-mobile-body {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	background-color: #FFFFFF;
	transition: grid-template-rows 0.25s ease;
}

.pmm-mobile-body-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 20px;
}

.pmm-mobile-item.pmm-mobile-open .pmm-mobile-body {
	grid-template-rows: 1fr;
}

.pmm-mobile-item.pmm-mobile-open .pmm-mobile-body-inner {
	padding: 0 20px 16px;
}

.pmm-mobile-description {
	margin: 0 0 12px;
}

.pmm-mobile-sublist {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.pmm-mobile-sub-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border: 1px solid #E7E1DA;
	border-radius: 8px;
	text-decoration: none;
}

.pmm-mobile-sub-name {
	font-size: 13px;
	font-weight: 500;
	color: #1F1B16;
}

.pmm-mobile-sub-price {
	font-size: 12px;
	color: #9A9189;
	white-space: nowrap;
}

.pmm-mobile-landing-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #8C6A4F;
	text-decoration: none;
}

.pmm-mobile-landing-link:hover {
	text-decoration: underline;
}
