.aef-bundle-card {
	container-type: inline-size;
	display: flex;
	min-width: 0;
	flex-direction: column;
	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(3, minmax(0, 1fr));
}

.aef-bundle-card__header {
	padding: 22px 20px 10px;
	background: #fff;
	direction: rtl;
	text-align: right;
}

.aef-bundle-card__header h2 {
	margin: 0 0 6px;
	color: var(--aef-palette-primary, #12355b);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.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(14px, 3.6cqw, 18px);
	line-height: 1.55;
}

.aef-bundle-card__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "media" "components";
	gap: 16px;
	align-items: stretch;
	padding: 10px 20px 20px;
	background: #fff;
	direction: ltr;
}

.aef-bundle-card__media {
	grid-area: media;
	display: block;
	min-width: 0;
	aspect-ratio: 1.8;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

.aef-bundle-card__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 0;
	margin: 0 !important;
	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: 38px;
	direction: rtl;
}

.aef-bundle-card__component {
	display: flex;
	min-width: 0;
	min-height: 88px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 8px;
	border: 1px solid var(--aef-palette-primary, #12355b);
	border-radius: 12px;
	background: #fff;
	color: inherit;
	cursor: default;
	direction: rtl;
	text-align: center;
}

.aef-bundle-card__component-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
}

.aef-bundle-card__component-name {
	color: var(--aef-palette-primary, #12355b);
	font-size: clamp(12px, 2.8cqw, 15px);
	font-weight: 400;
	line-height: 1.3;
}

.aef-bundle-card__component-subtitle {
	margin-top: 4px;
	color: var(--aef-palette-primary, #12355b);
	font-size: clamp(12px, 3.1cqw, 16px);
	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__plus {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--aef-palette-primary, #12355b);
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.aef-bundle-card__footer {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) minmax(0, 1fr);
	grid-template-areas: "meta price";
	gap: 10px;
	align-items: center;
	padding: 18px 20px;
	margin-top: auto;
	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: clamp(12px, 3.1cqw, 16px);
	font-weight: 800;
}

.aef-bundle-price-final {
	display: inline-block;
	color: var(--aef-palette-primary, #12355b);
	font-weight: 800;
}

.aef-bundle-price-saving {
	display: inline-block;
	margin-inline-start: 12px;
	color: var(--aef-palette-primary, #12355b);
	font-size: .58em;
	font-weight: 800;
	white-space: nowrap;
}

.aef-bundle-card__price-values del {
	color: var(--aef-color-muted, #718797);
	font-size: .875em;
	font-weight: 400;
	text-decoration-thickness: 1px;
	white-space: nowrap;
}

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

.aef-bundle-card__price-values del .amount,
.aef-bundle-card__price-values del .woocommerce-Price-currencySymbol {
	color: inherit !important;
	font-size: inherit;
	font-weight: inherit;
}

.aef-bundle-card__meta {
	grid-area: meta;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	direction: rtl;
}

.aef-bundle-card__meta .aef-native-card__reviews {
	order: 0;
	justify-content: center;
	gap: 4px;
}

.aef-bundle-card__no-reviews {
	color: var(--aef-color-muted, #718797);
	font-size: 12px;
	text-align: center;
}

.aef-bundle-card__colors {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.aef-bundle-card__color {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	border: 1px solid var(--aef-palette-border, #b8c9d5);
	border-radius: 50%;
	background: var(--aef-color, #d8e5eb);
}

@container (max-width: 360px) {
	.aef-bundle-card__header {
		padding: 18px 12px 8px;
	}

	.aef-bundle-card__main {
		padding: 8px 12px 16px;
	}

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

	.aef-bundle-card__component {
		min-height: 82px;
		padding: 10px 6px;
	}

	.aef-bundle-card__component-name {
		font-size: 12px;
	}

	.aef-bundle-card__component-subtitle {
		font-size: 12px;
	}

	.aef-bundle-card__plus {
		width: 26px;
		height: 26px;
		font-size: 23px;
	}

	.aef-bundle-card__footer {
		padding: 16px 12px;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.term-bundles .aef-native-cat__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body.single-product .aef-bundle-product-media {
	width: 100%;
	min-width: 0;
	padding: 0;
	background: transparent;
}

.aef-bundle-product-media__layout {
	display: grid;
	grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .8fr);
	grid-template-areas: "main components";
	gap: 16px;
	align-items: stretch;
	direction: ltr;
}

.aef-bundle-product-media__main {
	grid-area: main;
	display: grid;
	min-height: 520px;
	place-items: center;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
}

.aef-bundle-product-media__main-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-height: 520px;
	margin: 0 !important;
	object-fit: contain;
	object-position: center;
}

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

.aef-bundle-product-media__component {
	display: flex;
	min-width: 0;
	min-height: 150px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 10px;
	border: 1px solid var(--aef-palette-border, #d8ebf3);
	border-radius: 9px;
	background: #fff;
	color: inherit;
	cursor: default;
	direction: rtl;
	text-align: center;
}

.aef-bundle-product-media__visual {
	display: flex;
	width: 120px;
	height: 88px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 7px;
	background: #fff;
}

.aef-bundle-product-media__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
	object-position: center;
}

.aef-bundle-product-media__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
}

.aef-bundle-product-media__copy strong {
	color: var(--aef-palette-primary, #12355b);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.aef-bundle-product-media__copy span {
	margin-top: 3px;
	color: var(--aef-palette-price, #4f7898);
	font-size: 13px;
	line-height: 1.3;
}

.aef-bundle-product-media--3 .aef-bundle-product-media__component:last-of-type {
	grid-column: 1 / -1;
}

.aef-bundle-product-media--2 .aef-bundle-product-media__component {
	grid-column: 1 / -1;
}

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

body.single-product .aef-price .aef-bundle-price-saving,
body.single-product .aef-live-subtotal .aef-bundle-price-saving {
	font-size: 13px;
}

@media (max-width: 1024px) {
	.aef-bundle-product-media__layout {
		grid-template-columns: minmax(210px, 1fr) minmax(190px, .78fr);
	}

	.aef-bundle-product-media__main {
		min-height: 420px;
	}

	.aef-bundle-product-media__main-image {
		max-height: 420px;
	}

	.aef-bundle-product-media__visual {
		width: 96px;
		height: 70px;
	}
}

@media (max-width: 680px) {
	.aef-bundle-product-media__layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "main" "components";
		gap: 12px;
	}

	.aef-bundle-product-media__main {
		min-height: 280px;
	}

	.aef-bundle-product-media__main-image {
		max-height: 280px;
	}

	.aef-bundle-product-media__component {
		min-height: 132px;
	}

	.aef-bundle-product-media__visual {
		width: 104px;
		height: 74px;
	}
}

.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);
	}
}
