/* MOHA garden map: plant card that opens from the hotspots of the Gardens plan.
   Loaded by mu-plugins/moha-garden-map.php only on pages whose Hotspot widget has the class "moha-garden-map". */

/* Hotspots */
.moha-garden-map a.e-hotspot {
	text-decoration: none;
}
.moha-garden-map.moha-pop-open .e-hotspot__tooltip {
	display: none !important;
}
.moha-garden-map .e-hotspot.moha-pop-active {
	z-index: 3;
}
.moha-garden-map .e-hotspot.moha-pop-active .e-hotspot__button {
	box-shadow: 0 0 0 2px #2E7D32;
}

/* Card */
.moha-plant-pop {
	position: absolute;
	z-index: 90;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 420px;
	max-width: calc(100vw - 24px);
	padding: 18px;
	background: #FFFFFF;
	color: #1A1A1A;
	border: 1px solid #E6E6E6;
	box-shadow: 5px 10px 23px -8px rgba(0, 0, 0, 0.15);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}
.moha-plant-pop[hidden] {
	display: none;
}
.moha-plant-pop:focus {
	outline: none;
}
.moha-plant-pop__media {
	flex: 0 0 88px;
	background: #F2F2F2;
}
.moha-plant-pop__media[hidden] {
	display: none;
}
.moha-plant-pop__img {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: cover;
}
.moha-plant-pop__body {
	flex: 1 1 auto;
	min-width: 0;
}
.moha-plant-pop .moha-plant-pop__title {
	margin: 0 0 8px;
	padding: 0 26px 0 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #1A1A1A;
}
.moha-plant-pop__facts {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #1A1A1A;
	overflow-wrap: break-word;
}
.moha-plant-pop__facts[hidden] {
	display: none;
}
.moha-plant-pop__facts strong {
	font-weight: 700;
}
.moha-plant-pop .moha-plant-pop__more {
	display: inline-block;
	margin-top: 14px;
	padding: 9px 14px;
	border: 1px solid #1A1A1A;
	border-radius: 0;
	background: transparent;
	color: #1A1A1A;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
}
.moha-plant-pop .moha-plant-pop__more:hover,
.moha-plant-pop .moha-plant-pop__more:focus-visible {
	color: #1A1A1A;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.moha-plant-pop .moha-plant-pop__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #1A1A1A;
	font-family: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
}
.moha-plant-pop .moha-plant-pop__close:hover,
.moha-plant-pop .moha-plant-pop__close:focus {
	background: transparent;
	color: #000000;
}
.moha-plant-pop .moha-plant-pop__close:focus-visible {
	outline: 1px solid #1A1A1A;
	outline-offset: -4px;
}

/* Phones: the card sits at the bottom of the screen */
.moha-plant-pop.is-sheet {
	position: fixed;
	top: auto !important;
	left: 12px !important;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	width: auto;
	max-width: 480px;
	margin: 0 auto;
}
@media (max-width: 767px) {
	.moha-plant-pop__media {
		flex-basis: 72px;
	}
	.moha-plant-pop__img {
		width: 72px;
		height: 72px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.moha-plant-pop.is-in {
		animation: moha-pop-in 0.16s ease-out;
	}
	.moha-plant-pop.is-sheet.is-in {
		animation: moha-sheet-in 0.2s ease-out;
	}
}
@keyframes moha-pop-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}
@keyframes moha-sheet-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
