/* ملاحظة تعديل: هذا الملف يتحكم في شكل قسم المجموعة الخاصة، العنوان، السعر، وصورة المجموعة. */
.bundle-section {
	position: relative;
	overflow: hidden;
	padding: clamp(70px, 7vw, 118px) clamp(18px, 4vw, 42px);
	background:
		linear-gradient(135deg, rgba(200, 164, 93, 0.16), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f4f1eb 100%);
	color: #4d382a;
}

.bundle-section::before {
	display: none;
}

.bundle-shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	width: min(1180px, 100%);
	margin-inline: auto;
}

.bundle-copy {
	display: grid;
	justify-items: center;
	gap: 18px;
	align-content: center;
	text-align: center;
}

.bundle-kicker {
	position: relative;
	display: inline-flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	background:
		linear-gradient(135deg, #fff9e9 0%, #d9b869 48%, #c8a45d 100%);
	color: #4d382a;
	font-size: clamp(13px, 1.35vw, 17px);
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
	box-shadow:
		0 0 0 7px rgba(200, 164, 93, 0.12),
		0 0 30px rgba(200, 164, 93, 0.5),
		0 16px 30px rgba(77, 56, 42, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.72);
	animation: solene-bundle-kicker-glow 2.8s ease-in-out infinite;
}

.bundle-kicker::before,
.bundle-kicker::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 42px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(200, 164, 93, 0.9), transparent);
}

.bundle-kicker::before {
	right: calc(100% + 10px);
}

.bundle-kicker::after {
	left: calc(100% + 10px);
}

.bundle-includes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.bundle-includes li {
	position: relative;
	min-height: 42px;
	padding: 12px 12px 12px 34px;
	border: 1px solid rgba(200, 164, 93, 0.24);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.72);
	color: #4d382a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
}

.bundle-includes li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 17px;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #c8a45d;
}

body.rtl .bundle-includes li {
	padding-right: 34px;
	padding-left: 12px;
}

body.rtl .bundle-includes li::before {
	right: 14px;
	left: auto;
}

body.rtl .bundle-includes {
	text-align: right;
}

.bundle-buy-row {
	display: grid;
	justify-items: center;
	gap: 16px;
	margin-top: 12px;
	text-align: center;
}

.bundle-price-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	width: 100%;
	margin: 4px auto 2px;
}

.bundle-price {
	margin: 0;
	color: #4d382a;
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 0 18px rgba(200, 164, 93, 0.28);
}

.bundle-price del {
	margin-inline-end: 8px;
	color: rgba(77, 56, 42, 0.48);
	font-size: 0.72em;
}

.bundle-price ins {
	color: #4d382a;
	text-decoration: none;
}

.bundle-discount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid rgba(77, 56, 42, 0.2);
	border-radius: 999px;
	background: #c8a45d;
	color: #4d382a;
	font-size: clamp(12px, 1vw, 15px);
	font-weight: 950;
	line-height: 1;
	box-shadow: 0 0 24px rgba(200, 164, 93, 0.36), 0 12px 24px rgba(77, 56, 42, 0.1);
}

.bundle-add-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid #4d382a;
	border-radius: 999px;
	background: #4d382a;
	color: #ffffff;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 16px 32px rgba(77, 56, 42, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bundle-add-button:hover,
.bundle-add-button:focus-visible {
	background: #c8a45d;
	border-color: #c8a45d;
	color: #4d382a;
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(77, 56, 42, 0.2);
}

.bundle-add-button.is-loading {
	opacity: 0.78;
	cursor: wait;
}

@keyframes solene-bundle-kicker-glow {
	0%,
	100% {
		filter: brightness(1);
		transform: translateY(0);
		box-shadow:
			0 0 0 7px rgba(200, 164, 93, 0.12),
			0 0 30px rgba(200, 164, 93, 0.5),
			0 16px 30px rgba(77, 56, 42, 0.16),
			inset 0 1px 0 rgba(255, 255, 255, 0.72);
	}
	50% {
		filter: brightness(1.08);
		transform: translateY(-2px);
		box-shadow:
			0 0 0 10px rgba(200, 164, 93, 0.16),
			0 0 46px rgba(200, 164, 93, 0.72),
			0 20px 38px rgba(77, 56, 42, 0.2),
			inset 0 1px 0 rgba(255, 255, 255, 0.82);
	}
}

.bundle-visual {
	position: relative;
	display: block;
	min-height: clamp(330px, 34vw, 460px);
	padding: clamp(18px, 3vw, 34px);
	border: 1px solid rgba(200, 164, 93, 0.28);
	border-radius: 8px;
	background:
		linear-gradient(145deg, rgba(77, 56, 42, 0.95), rgba(77, 56, 42, 0.84)),
		#4d382a;
	box-shadow: 0 26px 62px rgba(77, 56, 42, 0.24);
}

.bundle-visual::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.22);
	filter: blur(14px);
}

.bundle-main-image {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: clamp(300px, 32vw, 430px);
	object-fit: cover;
	border: 1px solid rgba(244, 241, 235, 0.22);
	border-radius: 8px;
	background: #f4f1eb;
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
	transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.bundle-visual:hover .bundle-main-image {
	transform: scale(1.025);
	box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
}

@media (max-width: 900px) {
	.bundle-shell {
		grid-template-columns: 1fr;
	}

	.bundle-visual {
		min-height: 380px;
	}
}

@media (max-width: 767px) {
	.bundle-section {
		padding: 58px 18px 72px;
	}

	.bundle-section::before {
		display: none;
	}

	.bundle-kicker {
		min-height: 40px;
		padding-inline: 20px;
	}

	.bundle-kicker::before,
	.bundle-kicker::after {
		width: 24px;
	}

	.bundle-includes {
		grid-template-columns: 1fr;
	}

	.bundle-buy-row {
		align-items: stretch;
	}

	.bundle-add-button {
		width: 100%;
	}

	.bundle-visual {
		min-height: auto;
		padding: 16px;
	}

	.bundle-main-image,
	.bundle-visual:hover .bundle-main-image {
		min-height: 320px;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bundle-add-button,
	.bundle-kicker,
	.bundle-main-image {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}

/* ملاحظة تعديل: هذا الجزء يجعل عنوان ووصف المجموعة بنفس تأثير عنوان قسم المنتجات السابق. */
.bundle-copy h2 {
	color: #4d382a;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 900;
	line-height: 1.02;
	text-transform: uppercase;
	text-shadow:
		0 0 16px rgba(200, 164, 93, 0.42),
		0 5px 0 rgba(200, 164, 93, 0.18),
		0 18px 34px rgba(77, 56, 42, 0.16);
}

.bundle-copy > p {
	position: relative;
	width: fit-content;
	max-width: min(780px, 100%);
	padding: 14px 22px;
	border: 1px solid rgba(200, 164, 93, 0.54);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #4d382a;
	font-size: clamp(16px, 1.45vw, 20px);
	font-weight: 900;
	line-height: 1.4;
	box-shadow:
		0 0 0 7px rgba(200, 164, 93, 0.08),
		0 0 38px rgba(200, 164, 93, 0.28),
		0 18px 48px rgba(77, 56, 42, 0.1);
}

.bundle-copy > p::before {
	content: "";
	position: absolute;
	inset: -9px;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(circle, rgba(200, 164, 93, 0.22), transparent 68%);
	filter: blur(3px);
}

@media (max-width: 767px) {
	.bundle-copy h2 {
		font-size: clamp(30px, 8vw, 38px);
		text-shadow:
			0 0 14px rgba(200, 164, 93, 0.44),
			0 12px 28px rgba(77, 56, 42, 0.16);
	}

	.bundle-copy > p {
		width: 100%;
		padding: 13px 18px;
		font-size: clamp(15px, 3.8vw, 17px);
		line-height: 1.42;
	}
}
