/*
 * Bundle gallery v1 — extracted from bundle.css (unchanged rules).
 */

.bundle-gallery {
	position: relative;
}

.bundle-discount-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--discount-badge-background-color);
	color: var(--discount-badge-text-color);
	padding: 15px 25px;
	border-radius: 15px;
	text-align: center;
	z-index: 10;
	animation: bundle-gallery-bounce 2s ease-in-out infinite;
}

@keyframes bundle-gallery-bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.bundle-gallery .discount-value {
	display: block;
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 5px;
}

.bundle-gallery .discount-text {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.bundle-image-wrapper {
	position: relative;
	background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
	border-radius: 25px;
	height: 400px;
	width: 100%;
	object-fit: cover;
	overflow: hidden;
	box-shadow:
		0 15px 50px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(212, 175, 55, 0.3);
	aspect-ratio: 1;
}

.bundle-main-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.bundle-image-wrapper:hover .bundle-main-image {
	transform: scale(1.1) rotate(2deg);
}

.bundle-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.bundle-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 25px;
}

.bundle-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: linear-gradient(145deg, var(--primary-background-color), var(--secondary-background-color));
	padding: 20px 15px;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.bundle-feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px var(--primary-brand-color);
}

.bundle-feature i {
	font-size: 28px;
	color: var(--primary-brand-color);
}

.bundle-feature span {
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-text-color);
	text-align: center;
}

/* RTL: was in bundle-ar.css */
[dir="rtl"] .bundle-discount-badge,
html[dir="rtl"] .bundle-discount-badge {
	right: auto;
	left: 20px;
}

[dir="rtl"] .bundle-features,
html[dir="rtl"] .bundle-features {
	direction: rtl;
}

@media (max-width: 1024px) {
	.bundle-image-wrapper {
		height: 250px;
	}
}

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

	.bundle-image-wrapper {
		height: 250px;
	}
}
