.lgdh-pricing-table {
	--lgdh-red: #b40000;
	--lgdh-red-dark: #850000;
	--lgdh-ink: #1a1a1a;
	--lgdh-muted: #626262;
	--lgdh-line: #e1e1e1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin: 25px auto;
	max-width: 1440px;
	width: 100%;
}

.lgdh-price-card {
	--lgdh-accent: #b40000;
	--lgdh-accent-dark: #850000;
	--lgdh-label: #b40000;
	--lgdh-label-dark: #850000;
	background: #fff;
	border: 1px solid var(--lgdh-line);
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
}

.lgdh-price-card:hover {
	box-shadow: 0 12px 34px rgba(0, 0, 0, .11);
	transform: translateY(-3px);
}

.lgdh-price-card--featured {
	border: 2px solid var(--lgdh-accent);
	box-shadow: 0 16px 38px rgba(0, 0, 0, .17);
	transform: translateY(-8px);
	z-index: 2;
}

.lgdh-price-card--featured:hover {
	box-shadow: 0 19px 42px rgba(0, 0, 0, .2);
	transform: translateY(-11px);
}

.lgdh-price-card__ribbon {
	background: linear-gradient(135deg, var(--lgdh-label-dark), var(--lgdh-label));
	box-sizing: border-box;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1;
	overflow: hidden;
	padding: 10px 12px;
	position: absolute;
	right: -52px;
	text-align: center;
	text-overflow: ellipsis;
	text-transform: uppercase;
	top: 31px;
	transform: rotate(45deg);
	white-space: nowrap;
	width: 190px;
	z-index: 3;
}

.lgdh-price-card__image {
	align-items: center;
	background: #fff;
	display: flex;
	height: 210px;
	justify-content: center;
	padding: 18px 24px;
}

.lgdh-price-card__image img {
	display: block;
	height: 100%;
	margin: 0 auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.lgdh-price-card__intro {
	background: linear-gradient(135deg, var(--lgdh-accent-dark), var(--lgdh-accent));
	border-top: 4px solid var(--lgdh-accent);
	box-sizing: border-box;
	color: #fff;
	min-height: 150px;
	padding: 26px 22px 23px;
	text-align: center;
}

.lgdh-price-card__intro h3 {
	color: #fff !important;
	font-size: clamp(20px, 1.6vw, 25px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 9px !important;
	text-transform: none;
}

.lgdh-price-card__intro p {
	color: rgba(255, 255, 255, .9);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

.lgdh-price-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 27px 24px 24px;
}

.lgdh-price-card__price {
	align-items: baseline;
	color: var(--lgdh-ink);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 7px;
	margin: 0 0 25px;
}

.lgdh-price-card__currency {
	color: #777;
	font-size: 15px;
	font-weight: 600;
}

.lgdh-price-card__price strong {
	color: var(--lgdh-ink);
	font-size: 33px;
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1;
}

.lgdh-price-card__prefix {
	color: #777;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
}

.lgdh-price-card__price .lgdh-price-card__price-text {
	font-size: 29px;
}

.lgdh-price-card__period {
	color: #777;
	font-size: 13px;
}

.lgdh-price-card__features {
	list-style: none !important;
	margin: 0 0 25px !important;
	padding: 0 !important;
}

.lgdh-price-card__features li {
	border-bottom: 1px solid #ededed;
	color: #333;
	font-size: 13px;
	line-height: 1.45;
	margin: 0 !important;
	padding: 10px 0 10px 27px;
	position: relative;
}

.lgdh-price-card__features li::before {
	color: var(--lgdh-accent);
	content: '\2713';
	font-size: 17px;
	font-weight: 800;
	left: 1px;
	position: absolute;
	top: 8px;
}

.lgdh-price-card__features li:last-child {
	border-bottom: 0;
}

.lgdh-price-card__button {
	align-items: center;
	background: var(--lgdh-accent);
	border: 1px solid var(--lgdh-accent);
	border-radius: 5px;
	box-shadow: none;
	color: #fff !important;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: .03em;
	margin-top: auto;
	min-height: 46px;
	padding: 10px 18px;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color .18s ease, border-color .18s ease;
}

.lgdh-price-card__button:hover,
.lgdh-price-card__button:focus {
	background: var(--lgdh-accent-dark);
	border-color: var(--lgdh-accent-dark);
	color: #fff !important;
}

.lgdh-pricing-table-error {
	border-left: 4px solid #b40000;
	color: #555;
	padding: 10px 14px;
}

@media (max-width: 767px) {
	.lgdh-pricing-table {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.lgdh-price-card__image {
		height: 185px;
	}
	.lgdh-price-card__intro {
		min-height: 0;
	}
	.lgdh-price-card--featured,
	.lgdh-price-card--featured:hover {
		transform: none;
	}
}
