.aef-bundle-card {
	container-type: inline-size;
	grid-column: auto;
	overflow: hidden;
	border: 1px solid var(--aef-palette-border, #d8ebf3);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(23, 58, 81, .07);
	color: var(--aef-text-primary, #173a51);
	font-family: var(--aef-font-sans, inherit);
}

.term-bundles .aef-native-cat__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.aef-bundle-card__header {
	padding: 24px 28px 12px;
	background: #fff;
	direction: rtl;
	text-align: right;
}

.aef-bundle-card__header h2 {
	margin: 0 0 6px;
	color: var(--aef-palette-primary, #12355b);
	font-size: clamp(24px, 2.1vw, 34px);
	font-weight: 800;
	line-height: 1.2;
}

.aef-bundle-card__header h2 a {
	color: inherit;
	text-decoration: none;
}

.aef-bundle-card__header p {
	max-width: 860px;
	margin: 0;
	color: var(--aef-color-text, #294c63);
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.55;
}

.aef-bundle-card__main {
	display: grid;
	grid-template-columns: minmax(260px, 44%) minmax(0, 1fr);
	grid-template-areas: "media components";
	gap: 18px;
	align-items: stretch;
	padding: 12px 28px 28px;
	background: #fff;
	direction: ltr;
}

.aef-bundle-card__media {
	grid-area: media;
	display: block;
	min-height: 260px;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

.aef-bundle-card__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 260px;
	object-fit: contain;
	object-position: center;
}

.aef-bundle-card__components {
	position: relative;
	grid-area: components;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	direction: ltr;
}

.aef-bundle-card__component {
	display: flex;
	min-height: 118px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 18px 14px;
	border: 1px solid var(--aef-palette-border, #d8ebf3);
	border-radius: 8px;
	background: #fff;
	direction: rtl;
	text-align: center;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.aef-bundle-card__component:hover,
.aef-bundle-card__component:focus-visible {
	border-color: #f2a126;
	box-shadow: 0 7px 18px rgba(23, 58, 81, .09);
	transform: translateY(-1px);
}

.aef-bundle-card__component strong {
	color: var(--aef-palette-primary, #12355b);
	font-size: clamp(17px, 1.4vw, 22px);
	font-weight: 800;
	line-height: 1.25;
}

.aef-bundle-card__component span {
	margin-top: 4px;
	color: var(--aef-palette-price, #4f7898);
	font-size: clamp(14px, 1.1vw, 18px);
	font-weight: 500;
	line-height: 1.3;
}

.aef-bundle-card--3 .aef-bundle-card__component:last-of-type {
	grid-column: 1 / -1;
}

.aef-bundle-card--2 .aef-bundle-card__component {
	grid-column: 1 / -1;
}

.aef-bundle-card__plus {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #f2a126;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.aef-bundle-card__footer {
	display: grid;
	grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
	grid-template-areas: "button price";
	gap: 12px;
	align-items: center;
	padding: 18px 20px;
	background: var(--aef-palette-surface, #eef9fc);
	direction: ltr;
}

.aef-bundle-card__price {
	grid-area: price;
	direction: rtl;
	text-align: right;
}

.aef-bundle-card__price-label {
	display: block;
	margin-bottom: 2px;
	color: var(--aef-palette-primary, #12355b);
	font-size: 15px;
	font-weight: 600;
}

.aef-bundle-card__price-values {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	color: var(--aef-palette-primary, #12355b);
	font-size: 28px;
	font-weight: 800;
}

.aef-bundle-card__price-values del {
	color: var(--aef-color-muted, #718797);
	font-size: 17px;
	font-weight: 500;
}

.aef-bundle-card__price-values ins {
	color: var(--aef-palette-primary, #0f2c59);
	text-decoration: none;
}

.aef-bundle-card__saving {
	color: var(--aef-palette-primary, #0f2c59);
	font-size: 14px;
	font-weight: 800;
}

.aef-bundle-card__button {
	grid-area: button;
	display: flex;
	width: 100%;
	max-width: 150px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	justify-self: start;
	padding: 8px 12px;
	border: 1px solid var(--aef-palette-primary, #12355b);
	border-radius: 12px;
	background: var(--aef-palette-primary, #12355b);
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.aef-bundle-card__button:hover,
.aef-bundle-card__button:focus-visible {
	border-color: #f2a126;
	background: #f2a126;
	color: #fff !important;
	transform: translateY(-1px);
}

.term-bundles .aef-bundle-card .aef-bundle-card__button,
.term-bundles .aef-bundle-card .aef-bundle-card__button:visited,
.term-bundles .aef-bundle-card .aef-bundle-card__button:hover,
.term-bundles .aef-bundle-card .aef-bundle-card__button:focus-visible {
	color: #fff !important;
}

@container (max-width: 430px) {
	.aef-bundle-card__header {
		padding: 22px 20px 10px;
	}

	.aef-bundle-card__main {
		grid-template-columns: minmax(140px, 46%) minmax(0, 1fr);
		gap: 12px;
		padding: 10px 20px 22px;
	}

	.aef-bundle-card__components {
		gap: 8px;
	}

	.aef-bundle-card__component {
		min-height: 105px;
		padding: 12px 8px;
	}

	.aef-bundle-card__component strong {
		font-size: clamp(15px, 4.4cqw, 19px);
	}

	.aef-bundle-card__component span {
		font-size: clamp(13px, 3.8cqw, 16px);
	}

	.aef-bundle-card__plus {
		width: 38px;
		height: 38px;
		font-size: 25px;
	}
}

.aef-bundle-form {
	display: grid;
	gap: 14px;
	margin-top: 18px;
	direction: rtl;
}

.aef-bundle-form__choices {
	display: grid;
	gap: 10px;
}

.aef-bundle-form__choice {
	display: grid;
	gap: 6px;
}

.aef-bundle-form__choice > label {
	color: var(--aef-palette-primary, #12355b);
	font-size: 14px;
	font-weight: 800;
}

.aef-bundle-form__choice select,
.aef-bundle-form__fixed {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--aef-palette-border, #d8ebf3);
	border-radius: 8px;
	background: #fff;
	color: var(--aef-text-primary, #173a51);
	font: inherit;
}

.aef-bundle-form__fixed {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.aef-bundle-form__fixed span {
	color: var(--aef-palette-price, #0e6f88);
	font-weight: 800;
}

.aef-bundle-form__help {
	margin: 0;
	color: var(--aef-color-muted, #607887);
	font-size: 13px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.term-bundles .aef-native-cat__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aef-bundle-card__header {
		padding: 20px 18px 10px;
	}

	.aef-bundle-card__main {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "components";
		gap: 14px;
		padding: 10px 18px 20px;
	}

	.aef-bundle-card__media,
	.aef-bundle-card__image {
		min-height: 220px;
	}

	.aef-bundle-card__component {
		min-height: 92px;
		padding: 14px 8px;
	}

	.aef-bundle-card__plus {
		width: 38px;
		height: 38px;
		font-size: 25px;
	}

	.aef-bundle-card__footer {
		grid-template-columns: 1fr;
		grid-template-areas: "price" "button";
		gap: 14px;
		padding: 18px;
	}

	.aef-bundle-card__price-values {
		font-size: 24px;
	}

	.aef-bundle-card__button {
		width: min(100%, 220px);
	}
}
