/* Bundles V5 — asymmetric bento mosaic */

.bundle-v5-section {
	padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
	background: var(--sc-bundles-v5-bundle-v5-section-bg, var(--primary-background-color));
}

.bundle-v5-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	flex-wrap: wrap;
}

.bundle-v5-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sc-bundles-v5-bundle-v5-kicker-text, var(--primary-brand-color));
}

.bundle-v5-header h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3.2vw, 2.25rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--sc-bundles-v5-bundle-v5-header-heading-text, var(--primary-title-color));
}

.bundle-v5-view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--sc-bundles-v5-bundle-v5-view-all-border, color-mix(in srgb, var(--primary-brand-color) 30%, transparent));
	background: var(--sc-bundles-v5-bundle-v5-view-all-bg, transparent);
	color: var(--sc-bundles-v5-bundle-v5-view-all-text, var(--primary-title-color));
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bundle-v5-view-all:hover,
.bundle-v5-view-all:focus-visible {
	background: var(--sc-bundles-v5-bundle-v5-view-all-hover-bg, var(--primary-brand-color));
	border-color: var(--sc-bundles-v5-bundle-v5-view-all-hover-border, var(--primary-brand-color));
	color: var(--sc-bundles-v5-bundle-v5-view-all-hover-text, var(--primary-button-text-color));
}

.bundle-v5-section .view-all-desktop {
	display: inline-flex;
}

.bundle-v5-section .view-all-mobile {
	display: none !important;
}

.bundle-v5-bento {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: minmax(9.5rem, 1fr);
	gap: clamp(0.65rem, 1.4vw, 0.85rem);
	min-height: clamp(22rem, 52vw, 32rem);
}

.bundle-v5-cell {
	position: relative;
	min-height: 9.5rem;
	border-radius: clamp(0.85rem, 1.6vw, 1.15rem);
	overflow: hidden;
	isolation: isolate;
}

.bundle-v5-cell--hero {
	grid-column: 1 / 8;
	grid-row: 1 / 3;
}

.bundle-v5-cell:nth-child(2).bundle-v5-cell--stack {
	grid-column: 8 / 13;
	grid-row: 1;
}

.bundle-v5-cell:nth-child(3).bundle-v5-cell--stack {
	grid-column: 8 / 13;
	grid-row: 2;
}

.bundle-v5-cell--banner {
	grid-column: 1 / 13;
	grid-row: 3;
	min-height: 8.5rem;
}

.bundle-v5-cell--tile {
	grid-column: span 4;
}

.bundle-v5-cell__link {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: inherit;
	text-decoration: none;
	color: var(--sc-bundles-v5-bundle-v5-cell-link-text, var(--primary-button-text-color));
}

.bundle-v5-cell__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.bundle-v5-cell__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--overlay-color, #000) 92%, transparent) 0%,
		color-mix(in srgb, var(--overlay-color, #000) 48%, transparent) 42%,
		color-mix(in srgb, var(--overlay-color, #000) 12%, transparent) 100%
	);
	transition: opacity 0.35s ease;
}

.bundle-v5-cell__deal {
	position: absolute;
	top: 0.85rem;
	inset-inline-end: 0.85rem;
	z-index: 2;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: var(--sc-bundles-v5-bundle-v5-cell-deal-bg, var(--discount-badge-background-color, var(--primary-brand-color)));
	color: var(--sc-bundles-v5-bundle-v5-cell-deal-text, var(--discount-badge-text-color, var(--primary-button-text-color)));
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bundle-v5-cell__body {
	position: relative;
	z-index: 2;
	margin-top: auto;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 0.35rem 0.75rem;
	width: 100%;
	padding: clamp(0.85rem, 2vw, 1.25rem);
}

.bundle-v5-cell__index {
	grid-row: 1 / 3;
	align-self: end;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--sc-bundles-v5-bundle-v5-cell-index-text, color-mix(in srgb, var(--primary-button-text-color) 55%, transparent));
}

.bundle-v5-cell__copy {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.bundle-v5-cell__name {
	font-size: clamp(0.95rem, 1.8vw, 1.25rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.bundle-v5-cell__meta {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sc-bundles-v5-bundle-v5-cell-meta-text, color-mix(in srgb, var(--primary-button-text-color) 72%, transparent));
}

.bundle-v5-cell__foot {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bundle-v5-cell__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
}

.bundle-v5-price-original {
	font-size: 0.75rem;
	text-decoration: line-through;
	opacity: 0.75;
}

.bundle-v5-price-final,
.bundle-v5-price-single {
	font-size: clamp(0.875rem, 1.5vw, 1.05rem);
	font-weight: 800;
	color: var(--sc-bundles-v5-bundle-v5-price-final-text, color-mix(in srgb, var(--discount-price-color, #fff) 92%, var(--primary-button-text-color)));
}

.bundle-v5-cell__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sc-bundles-v5-bundle-v5-cell-cta-text, color-mix(in srgb, var(--primary-button-text-color) 86%, transparent));
	transition: gap 0.25s ease, color 0.25s ease;
}

.bundle-v5-cell__peek {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 3;
	display: grid;
	gap: 0.35rem;
	padding: 0.85rem 1rem 1rem;
	background: var(--sc-bundles-v5-bundle-v5-cell-peek-bg, color-mix(in srgb, var(--overlay-color, #000) 88%, transparent));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transform: translateY(102%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bundle-v5-cell__peek-label {
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-bundles-v5-bundle-v5-cell-peek-label-text, color-mix(in srgb, var(--primary-button-text-color) 68%, transparent));
}

.bundle-v5-cell__peek-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
}

.bundle-v5-cell__peek-item,
.bundle-v5-cell__peek-more {
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sc-bundles-v5-bundle-v5-cell-peek-item-text, var(--primary-button-text-color));
}

.bundle-v5-cell__peek-more {
	opacity: 0.78;
}

.bundle-v5-cell--hero .bundle-v5-cell__name {
	font-size: clamp(1.15rem, 2.4vw, 1.65rem);
}

.bundle-v5-cell--banner .bundle-v5-cell__body {
	grid-template-columns: auto 1fr auto;
	align-items: end;
}

.bundle-v5-cell--banner .bundle-v5-cell__index {
	grid-row: auto;
}

.bundle-v5-cell--banner .bundle-v5-cell__foot {
	grid-column: 3;
	justify-content: flex-end;
}

.bundle-v5-cell__link:hover .bundle-v5-cell__image,
.bundle-v5-cell__link:focus-visible .bundle-v5-cell__image {
	transform: scale(1.1);
}

.bundle-v5-cell__link:hover .bundle-v5-cell__cta,
.bundle-v5-cell__link:focus-visible .bundle-v5-cell__cta {
	gap: 0.55rem;
	color: var(--sc-bundles-v5-bundle-v5-cell-cta-hover-text, var(--primary-button-text-color));
}

.bundle-v5-cell__link:hover .bundle-v5-cell__peek,
.bundle-v5-cell__link:focus-visible .bundle-v5-cell__peek {
	transform: translateY(0);
}

.bundle-v5-cell__link:focus-visible {
	outline: none;
}

.bundle-v5-cell__link:focus-visible::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	outline: 3px solid var(--sc-bundles-v5-bundle-v5-cell-link-after-focus-outline, var(--primary-brand-color));
	outline-offset: -3px;
	z-index: 4;
	pointer-events: none;
}

@media (max-width: 900px) {
	.bundle-v5-bento {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		min-height: 0;
		gap: 0.75rem;
	}

	.bundle-v5-cell,
	.bundle-v5-cell--hero,
	.bundle-v5-cell:nth-child(2).bundle-v5-cell--stack,
	.bundle-v5-cell:nth-child(3).bundle-v5-cell--stack,
	.bundle-v5-cell--banner,
	.bundle-v5-cell--tile {
		grid-column: 1;
		grid-row: auto;
		min-height: clamp(12rem, 42vw, 16rem);
	}

	.bundle-v5-cell--banner .bundle-v5-cell__body {
		grid-template-columns: auto 1fr;
	}

	.bundle-v5-cell--banner .bundle-v5-cell__foot {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.bundle-v5-section .view-all-desktop {
		display: none !important;
	}

	.bundle-v5-section .view-all-mobile {
		display: flex !important;
		margin-top: 0.75rem;
	}

	.bundle-v5-cell__peek {
		display: none;
	}
}

[dir='rtl'] .bundle-v5-cell__cta i {
	transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
	.bundle-v5-cell__image,
	.bundle-v5-cell__peek,
	.bundle-v5-cell__cta,
	.bundle-v5-cell__veil {
		transition: none;
	}

	.bundle-v5-cell__link:hover .bundle-v5-cell__image,
	.bundle-v5-cell__link:focus-visible .bundle-v5-cell__image {
		transform: scale(1.04);
	}
}

/* === theme colour controls: inherited values (generated) === */
.bundle-v5-cell__body {
	color: var(--sc-bundles-v5-bundle-v5-cell-body-text, inherit);
}

.bundle-v5-cell__copy {
	color: var(--sc-bundles-v5-bundle-v5-cell-copy-text, inherit);
}

.bundle-v5-cell__name {
	color: var(--sc-bundles-v5-bundle-v5-cell-name-text, inherit);
}

.bundle-v5-cell__foot {
	color: var(--sc-bundles-v5-bundle-v5-cell-foot-text, inherit);
}

.bundle-v5-cell__price {
	color: var(--sc-bundles-v5-bundle-v5-cell-price-text, inherit);
}

.bundle-v5-price-original {
	color: var(--sc-bundles-v5-bundle-v5-price-original-text, inherit);
}

.bundle-v5-cell__peek-list {
	color: var(--sc-bundles-v5-bundle-v5-cell-peek-list-text, inherit);
}
/* === end theme colour controls === */
