/* ===== EPT Price Table ===== */
.ept-price-table {
	position: relative;
	overflow: hidden;
	text-align: center;
	background-color: #ffffff;
}

/* Header */
.ept-price-table__header {
	background-color: #1f3a5f;
	padding: 24px 0;
}
.ept-price-table__heading {
	margin: 0;
	padding: 0;
	line-height: 1.2;
	font-size: 24px;
	font-weight: 600;
	color: #ffffff;
}
.ept-price-table__subheading {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: #d6e0ee;
}

/* Price */
.ept-price-table__price {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 36px 0 32px;
	background-color: #f4f7fb;
	color: #1f3a5f;
	font-weight: 800;
	font-size: 64px;
	line-height: 1;
	direction: ltr; /* keeps symbol/number order stable on RTL sites */
}
.ept-price-table__currency {
	align-self: flex-start;
	font-size: 0.45em;
	line-height: 1.3;
}
.ept-price-table__currency.ept-currency--after { margin-left: 4px; }
.ept-price-table__currency.ept-currency--before { margin-right: 2px; }
.ept-price-table__integer-part {
	line-height: 0.8;
}
.ept-price-table__after-price {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	justify-content: flex-start;
	text-align: left;
	margin-left: 2px;
}
.ept-price-table__fractional-part {
	font-size: 0.35em;
	line-height: 1;
}
.ept-price-table__after-price .ept-price-table__period {
	margin-top: auto;
}
.ept-price-table__original-price {
	align-self: flex-end;
	margin-right: 12px;
	font-size: 0.35em;
	font-weight: 400;
	text-decoration: line-through;
	opacity: 0.6;
}
.ept-price-table__period {
	font-size: 14px;
	font-weight: 500;
	color: #6b7a8f;
}
.ept-price-table__period.ept-period--below {
	width: 100%;
	flex-basis: 100%;
	margin-top: 10px;
	direction: inherit;
}

/* Features */
.ept-price-table__features-list {
	list-style: none;
	margin: 0;
	padding: 24px 0;
	color: #4a5568;
	font-size: 15px;
	line-height: 1.4;
}
.ept-price-table__features-list li {
	margin: 0;
	padding: 15px 0;
}
.ept-price-table__feature-inner {
	margin-left: 15px;
	margin-right: 15px;
	display: inline-flex;
	align-items: center;
	gap: 0;
}
.ept-price-table__feature-icon {
	display: inline-flex;
	margin-inline-end: 10px;
	color: #2f855a;
}
.ept-price-table__feature-icon svg {
	width: 1em;
	height: 1em;
	fill: #2f855a;
}
.ept-price-table__features-list li.is-disabled {
	color: #a0aec0;
}
.ept-price-table__features-list li.is-disabled .ept-price-table__feature-text {
	text-decoration: line-through;
}

/* Divider */
.ept-has-divider .ept-price-table__features-list li:not(:first-child)::before {
	content: "";
	display: block;
	width: 45%;
	margin: -15px auto 15px;
	border-top: 1px solid #e4e4e4;
}

/* Footer */
.ept-price-table__footer {
	padding: 24px 0 32px;
}
.ept-price-table__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
}
.ept-price-table__button .ept-btn-icon {
	display: inline-flex;
}
.ept-price-table__button .ept-btn-icon svg {
	width: 1em;
	height: 1em;
}
.ept-price-table__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.ept-price-table__additional-info {
	margin: 15px 30px 0;
	font-size: 13px;
	color: #6b7a8f;
}

/* Ribbon */
.ept-price-table__ribbon {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	left: auto;
	width: 150px;
	height: 150px;
	overflow: hidden;
	transform: rotate(90deg);
	pointer-events: none;
}
.ept-price-table__ribbon.ept-ribbon--left {
	left: 0;
	right: auto;
	transform: rotate(0);
}
.ept-price-table__ribbon-inner {
	position: relative;
	left: 0;
	width: 200%;
	margin-top: 35px;
	transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
	text-align: center;
	background-color: #c53030;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 2.2;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.ept-price-table__button { transition: none; }
}
