/**
 * Packages — Lance Desk Elementor widget.
 */

.nm-packages {
	--nm-pkg-cols: 4;

	display: grid;
	grid-template-columns: repeat(var(--nm-pkg-cols), minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	box-sizing: border-box;
}

.nm-package {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.nm-package__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	height: 100%;
	box-sizing: border-box;
	padding: 36px 24px 28px;
	background-color: var(--nm-pkg-bg, #5c3a1e);
	border-style: solid;
	border-color: var(--nm-pkg-border, #c9a227);
	border-width: 1px;
	border-radius: 12px;
	text-align: center;
}

.nm-package--popular {
	z-index: 1;
}

.nm-package__ribbon {
	position: absolute;
	left: 50%;
	top: -10px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92%;
	min-height: 36px;
	padding: 10px 28px 6px;
	transform: translateX(-50%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	box-sizing: border-box;
	pointer-events: none;
}

.nm-package__ribbon-text {
	--nm-ribbon-tx: 0px;
	--nm-ribbon-ty: 2px;

	position: relative;
	z-index: 1;
	color: #111;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translate(var(--nm-ribbon-tx), var(--nm-ribbon-ty));
}

.nm-package__crown {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 auto 12px;
	line-height: 0;
}

.nm-package__crown img,
.nm-package__crown svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nm-package__title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--nm-pkg-title, #d4a84b);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	text-transform: uppercase;
}

.nm-package__subtitle {
	margin: 0 0 20px;
	padding: 0;
	color: var(--nm-pkg-subtitle, #d4a84b);
	font-size: 0.95rem;
	font-style: italic;
	line-height: 1.35;
}

.nm-package__media {
	--nm-pkg-img-w: 120px;
	--nm-pkg-img-x: 0px;
	--nm-pkg-img-y: 0px;

	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0 0 16px;
	line-height: 0;
}

.nm-package__media img {
	display: block;
	width: var(--nm-pkg-img-w);
	max-width: 100%;
	height: auto;
	object-fit: contain;
	transform: translate(var(--nm-pkg-img-x), var(--nm-pkg-img-y));
}

.nm-package__hours-wrap,
.nm-package__price-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0 0 12px;
}

.nm-package__pill {
	--nm-pkg-pill-text: #111111;

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 7.5rem;
	max-width: 100%;
	padding: 8px 28px;
	border: 0;
	background: transparent;
	color: var(--nm-pkg-pill-text);
	line-height: 1.2;
	text-align: center;
}

.nm-package__pill-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	pointer-events: none;
}

.nm-package__pill-text {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	text-transform: uppercase;
	white-space: nowrap;
}

.nm-package__pill--solid {
	border-radius: 999px;
	background-color: #d4af37;
}

.nm-package__pill--plain {
	min-width: 0;
	padding: 0;
	background: transparent;
}

.nm-package__pill--plain .nm-package__pill-bg {
	display: none;
}

.nm-package__hours {
	font-size: 0.8rem;
}

.nm-package__price {
	min-width: 8.5rem;
	padding: 10px 32px;
	font-size: 1.65rem;
}

.nm-package__price .nm-package__pill-text {
	letter-spacing: 0.02em;
	text-transform: none;
}

.nm-package__price.nm-package__pill--plain {
	font-size: 2rem;
}

.nm-package__price-note {
	width: 100%;
	margin: 0 0 18px;
	color: #fff;
	font-size: 0.85rem;
	line-height: 1.45;
	text-align: center;
}

.nm-package__price-note p {
	margin: 0 0 0.45em;
}

.nm-package__price-note p:last-child {
	margin-bottom: 0;
}

.nm-package__features {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.nm-package__feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.nm-package__star {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	margin-top: 0.2em;
	line-height: 0;
	color: #fdd551;
}

.nm-package__star img,
.nm-package__star svg {
	display: block;
	width: 100%;
	height: 100%;
}

.nm-package__feature-text {
	flex: 1 1 auto;
	min-width: 0;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
}

.nm-package__cta {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: auto;
}

.nm-package__cta .nm-btn {
	width: 80%;
}

.nm-package__cta .nm-btn--solid {
	border-radius: 999px;
}
