/* Quick Card V1 Styles - General Product Card Component */
/* Section Header */
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
	flex-wrap: wrap;
	gap: 20px;
}

.section-header .section-title {
	text-align: left;
	margin-bottom: 0;
}

.section-title h2 {
	font-size: 38px;
	color: var(--primary-title-color);
	margin-bottom: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.section-title h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: var(--primary-brand-color);
	margin: 15px auto 0;
}

.section-title p {
	font-size: 16px;
	color: var(--primary-text-color);
	opacity: 0.7;
	margin-top: 10px;
}

/* View All Button */
.view-all-desktop {
	display: inline-flex;
}

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

.view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: linear-gradient(135deg, var(--primary-brand-color), var(--secondary-brand-color));
	color: var(--primary-button-text-color);
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	letter-spacing: 0.5px;
}

.view-all-btn:hover {
	transform: translateY(-2px);
}

.view-all-btn i {
	transition: transform 0.3s ease;
	font-size: 14px;
}

.view-all-btn:hover i {
	transform: translateX(4px);
}

/* Quick Card V1 Section */
.quick-card-v1-section {
	padding: 70px 0;
	background: var(--primary-background-color);
}

/* Quick Card V1 Grid */
.quick-card-v1-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

/* Quick Card V1 */
.quick-card-v1 {
	position: relative;
	transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.quick-card-v1:hover {
		transform: translateY(-5px);
	}
}

.quick-card-v1-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Quick Card V1 Image */
.quick-card-v1-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 15px;
	background: var(--primary-background-color);
}

.quick-card-v1-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
	.quick-card-v1:hover .quick-card-v1-image img {
		transform: scale(1.1);
	}
}

/* Quick Card V1 Badge */
.quick-card-v1-badge {
	position: absolute;
	top: 15px;
	right: 5px;
	background: var(--tag-badge-background-color);
	color: var(--tag-badge-text-color);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 2;
}

/* Quick Card V1 Info */
.quick-card-v1-info {
	text-align: center;
	padding: 0 10px;
}

.quick-card-v1-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-text-color);
	margin-bottom: 8px;
	transition: color 0.3s ease;
}

.quick-card-v1:hover .quick-card-v1-name {
	color: var(--primary-brand-color);
}

.quick-card-v1-category {
	font-size: 14px;
	color: var(--secondary-text-color);
	opacity: 0.6;
	margin-bottom: 10px;
}

.quick-card-v1-short-description {
	font-size: 13px;
	color: var(--primary-text-color);
	opacity: 0.75;
	margin-bottom: 10px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Quick Card V1 Price */
.quick-card-v1-price {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.quick-card-v1-price .price {
	font-size: 20px;
	font-weight: 700;
	color: var(--original-price-color);
}

.quick-card-v1-price .price-original {
	font-size: 16px;
	font-weight: 500;
	color: var(--discount-price-color);
	opacity: 0.5;
	text-decoration: line-through;
}

.quick-card-v1-price .price-discounted {
	font-size: 20px;
	font-weight: 700;
	color: var(--original-price-color);
}

/* Responsive Design */
@media (max-width: 992px) {
	.quick-card-v1-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.quick-card-v1-section {
		padding: 60px 0;
	}

	.section-title h2 {
		font-size: 32px;
	}

	/* Hide desktop button, show mobile button */
	.view-all-desktop {
		display: none !important;
	}

	.view-all-mobile {
		display: flex !important;
	}

	/* Center section title on mobile */
	.section-header {
		justify-content: center;
	}

	.section-header .section-title {
		text-align: center;
		width: 100%;
	}
}

@media (max-width: 576px) {
	.quick-card-v1-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.quick-card-v1-section {
		padding: 50px 0;
	}

	.section-title h2 {
		font-size: 28px;
	}

	.quick-card-v1-name {
		font-size: 16px;
	}

	.quick-card-v1-category {
		font-size: 13px;
	}

	.quick-card-v1-price .price {
		font-size: 18px;
	}

	.quick-card-v1-price .price-original {
		font-size: 14px;
	}

	.quick-card-v1-price .price-discounted {
		font-size: 18px;
	}

	.quick-card-v1-badge {
		padding: 5px 12px;
		font-size: 11px;
		top: 10px;
		right: 10px;
	}
}

/* RTL Support */
[dir="rtl"] .section-header .section-title {
	text-align: right;
}

[dir="rtl"] .section-title h2::after {
	margin: 15px auto 0;
}

[dir="rtl"] .quick-card-v1-badge {
	right: auto;
	left: 5px;
}

[dir="rtl"] .quick-card-v1-info {
	text-align: center;
}

@media (max-width: 992px) {
	[dir="rtl"] .section-header .section-title {
		text-align: center;
	}
}

