/*
 * Plan Heavy Mobile Menu widget.
 *
 * Mobile-only (hidden above 768px so the Elementor desktop header shows there).
 * A burger in the bar opens a full-screen, search-first overlay. The Browse
 * tiles reuse the nav-icon mask set. The accent colour is driven by the widget
 * Style control via the --ph-mm-accent custom property.
 */

.ph-mm { --ph-mm-accent: #e8568a; display: none; }
@media (max-width: 768px) { .ph-mm { display: block; } }

.ph-mm__bar { display: flex; align-items: center; justify-content: flex-end; }
.ph-mm__burger {
	width: 44px; height: 44px; border: 0; background: transparent;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 5px; cursor: pointer; border-radius: 10px;
}
.ph-mm__burger span { width: 22px; height: 2px; background: #1f3148; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.ph-mm.is-open .ph-mm__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ph-mm.is-open .ph-mm__burger span:nth-child(2) { opacity: 0; }
.ph-mm.is-open .ph-mm__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ph-mm__svg { width: 20px; height: 20px; display: block; }

.ph-mm__overlay {
	position: fixed; inset: 0; z-index: 99990; background: #fff;
	display: flex; flex-direction: column; padding: 14px 16px;
	transform: translateY(-102%); transition: transform .34s cubic-bezier(.4,0,.2,1);
	visibility: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ph-mm.is-open .ph-mm__overlay { transform: none; visibility: visible; }
body.ph-mm-lock { overflow: hidden; }

.ph-mm__ovhd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph-mm__logo-img { max-height: 30px; width: auto; display: block; }
.ph-mm__logo-txt { font-weight: 700; font-size: 18px; color: #1f3148; }
.ph-mm__close {
	width: 38px; height: 38px; border: 0; background: #f4f2ec; border-radius: 50%;
	color: #1f3148; display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.ph-mm__search {
	display: flex; align-items: center; gap: 10px; height: 50px;
	padding: 0 8px 0 14px; border-radius: 999px; border: 1.5px solid #e7e4dc; margin-bottom: 6px;
}
.ph-mm__search-ic { color: #9a978d; display: flex; }
.ph-mm__search-ic .ph-mm__svg { width: 19px; height: 19px; }
.ph-mm__search-in { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; font-family: inherit; color: #1f3148; min-width: 0; }
.ph-mm__search-go {
	flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: var(--ph-mm-accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ph-mm__search-go .ph-mm__svg { width: 18px; height: 18px; }

.ph-mm__lbl { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #a6a399; margin: 16px 2px 9px; }

.ph-mm__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-mm__tiles li { margin: 0; }
.ph-mm__tiles a {
	display: flex; align-items: center; gap: 11px; padding: 14px 12px;
	border: 1px solid #eceae3; border-radius: 14px; text-decoration: none; color: #28323f; font-size: 15px; font-weight: 500;
}
.ph-mm__tiles li[class*="ph-nav-icon-"] > a::before { width: 1.3em; height: 1.3em; margin-right: 0; color: var(--ph-mm-accent); }

.ph-mm__areas { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-mm__pill { padding: 9px 15px; border-radius: 999px; font-size: 13px; background: #f4f2ec; color: #5c5f6b; text-decoration: none; }

.ph-mm__feats { display: flex; flex-direction: column; gap: 8px; }
.ph-mm__feat { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #eceae3; border-radius: 14px; text-decoration: none; color: #28323f; font-size: 15px; font-weight: 500; }
.ph-mm__feat-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #fbeaf0; color: var(--ph-mm-accent); display: flex; align-items: center; justify-content: center; }
.ph-mm__feat-ic .ph-mm__svg { width: 19px; height: 19px; }

.ph-mm__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-mm__card { border: 1px solid #eceae3; border-radius: 14px; overflow: hidden; text-decoration: none; color: #28323f; }
.ph-mm__card-img { display: block; height: 84px; background: #dfe7eb; background-size: cover; background-position: center; }
.ph-mm__card-tx { display: block; padding: 10px 12px; font-size: 14px; font-weight: 500; line-height: 1.3; }

.ph-mm__foot { margin-top: auto; padding-top: 16px; }
.ph-mm__signin {
	display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px;
	border-radius: 999px; background: var(--ph-mm-accent); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none;
}
.ph-mm__signin .ph-mm__svg { width: 19px; height: 19px; }
