/*
 * Plan Heavy Elementor widgets: base layout.
 *
 * Only structural rules live here. Every colour, size, spacing, typography,
 * and underline value is driven by the widget Style controls, which Elementor
 * compiles into its own per-page stylesheet. Keeping the base minimal means a
 * placement starts neutral and is shaped entirely from the Elementor panel.
 */

/* ===== Logo widget ===== */
.ph-el-logo {
	display: flex;
	align-items: center;
	line-height: 0;
}
.ph-el-logo__link {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
}
.ph-el-logo__img {
	display: block;
	height: auto;
	width: 150px;
	max-width: 100%;
}
.ph-el-logo__text {
	font-weight: 800;
	font-size: 22px;
	color: var(--ph-color-ink, #1f2430);
	line-height: 1.2;
}

/* ===== Menu widget ===== */
.ph-el-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}
.ph-el-nav__list li {
	position: relative;
	margin: 0;
}
.ph-el-nav__list a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: var(--ph-color-ink, #1f2430);
	line-height: 1.2;
	white-space: nowrap;
}
/* Active nav item: pink underline on the label span only, pink text.
   Covers both WordPress current-menu-item class and any manually added
   is-active class on the li. */
.ph-el-nav__list li.current-menu-item > a,
.ph-el-nav__list li.current_page_item > a,
.ph-el-nav__list li.is-active > a { color: var(--ph-color-primary, #e8568a); }
.ph-el-nav__list li.current-menu-item > a .ph-el-nav__label::after,
.ph-el-nav__list li.current_page_item > a .ph-el-nav__label::after,
.ph-el-nav__list li.is-active > a .ph-el-nav__label::after { background: var(--ph-color-primary, #e8568a); }
/* The label text is wrapped in its own span so the underline sits under the
   words only, never under the leading icon. Height and offset come from the
   Style controls; it stays transparent until the hover or active colour
   control paints it, so the underline only appears on those states. */
.ph-el-nav__list .ph-el-nav__label {
	position: relative;
	display: inline-block;
}
.ph-el-nav__list .ph-el-nav__label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: transparent;
	border-radius: 2px;
	transition: background 0.15s ease;
}

.ph-el-nav--empty {
	font-size: 13px;
	color: #8a8f9a;
	padding: 8px 10px;
	border: 1px dashed #cfd3da;
	border-radius: 8px;
}

/* ===== Account / Sign-in widget ===== */
.ph-el-account {
	display: flex;
	align-items: center;
}
/* Signed-out: full pink fill. This is the primary call to action. */
.ph-el-account__btn--out {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	background: var(--ph-color-primary, #e8568a);
	font-weight: 700;
	line-height: 1.2;
	padding: 9px 18px;
	border-radius: var(--ph-radius-pill, 999px);
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}
.ph-el-account__btn--out:hover { background: #d23f76; color: #fff; }
/* Signed-in: ghost outline so pink is not constant in the header. */
.ph-el-account__btn--in {
	display: inline-block;
	text-decoration: none;
	color: var(--ph-color-primary, #e8568a);
	background: transparent;
	border: 1.5px solid var(--ph-color-primary, #e8568a);
	font-weight: 700;
	line-height: 1.2;
	padding: 8px 18px;
	border-radius: var(--ph-radius-pill, 999px);
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}
.ph-el-account__btn--in:hover { background: var(--ph-color-primary, #e8568a); color: #fff; }

/* ── Account widget: signed-in dropdown ─────────────────────── */
.ph-el-account--dd { position: relative; display: inline-flex; }
.ph-el-account--dd .ph-el-account__btn--in,
.ph-el-account--dd .ph-el-account__btn--out { cursor: pointer; border-width: 1.5px; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.ph-el-account__caret {
	width: 7px; height: 7px; flex: none;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.18s ease;
}
.ph-el-account--dd.is-open .ph-el-account__caret { transform: rotate(225deg) translateY(-1px); }
.ph-el-account__dd {
	position: fixed; z-index: 99999;
	min-width: 200px;
	background: var(--ph-color-surface, #fff);
	border: 1px solid var(--ph-color-line, #e6e8ee);
	border-radius: var(--ph-radius-md, 14px);
	box-shadow: 0 8px 32px rgba(33, 37, 58, 0.14);
	padding: 6px;
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.ph-el-account--dd.is-open .ph-el-account__dd { opacity: 1; visibility: visible; transform: none; }
.ph-el-account__dd-link {
	display: block; padding: 9px 12px;
	border-radius: var(--ph-radius-sm, 8px);
	font-size: var(--ph-text-small, 0.8rem); font-weight: 600;
	color: var(--ph-color-ink, #21253a); text-decoration: none; white-space: nowrap;
}
.ph-el-account__dd-link:hover { background: var(--ph-color-bg, #f5f7fa); color: var(--ph-color-primary, #e8568a); }
.ph-el-account__dd-link--logout { color: var(--ph-color-closed, #d8444a); border-top: 1px solid var(--ph-color-line, #e6e8ee); border-radius: 0 0 var(--ph-radius-sm, 8px) var(--ph-radius-sm, 8px); margin-top: 4px; padding-top: 11px; }
.ph-el-account__dd-link--logout:hover { color: var(--ph-color-closed, #d8444a); }

/*
 * Elementor's sticky header creates an isolated stacking context that traps
 * children regardless of their z-index. We break out by ensuring the header
 * containers do not create a new stacking context via overflow:hidden or
 * isolation, while keeping their own z-index intact.
 */
[data-elementor-type="header"] .e-con,
[data-elementor-type="header"] .elementor-section,
[data-elementor-type="header"] .elementor-container,
[data-elementor-type="header"] .elementor-column,
[data-elementor-type="header"] .elementor-widget-wrap,
.elementor-location-header .e-con,
.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-wrap {
	overflow: visible !important;
}
