/* =========================================
   QuickView Showcase - HIGH FASHION STYLE (STRICT FIXES)
   ========================================= */

/* UTILITY: Force Dashicons */
.dashicons,
.dashicons-before:before,
.qv-rating-stars span,
.qv-pill-btn span,
.qv-trust-badges i {
	font-family: 'dashicons' !important;
}

/* --- Grid Wrapper --- */
#qv-grid-container {
	display: grid !important;
	gap: 12px !important;
	/* STRICT: Tight gap */
	padding: 12px;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	/* STRICT: Mobile */
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	#qv-grid-container {
		gap: 20px !important;
		padding: 20px;
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		/* STRICT: Desktop */
	}
}

/* --- Product Card - Minimalist High Fashion --- */
.qv-product-card {
	position: relative;
	background: transparent;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s ease;
	cursor: pointer;
	border: none;
	box-shadow: none;
}

.qv-product-card:hover {
	transform: translateY(-5px);
}

/* Image Area */
.qv-card-image {
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	border-radius: 16px;
	background: #f5f5f5;
}

.qv-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.qv-product-card:hover .qv-card-image img {
	transform: scale(1.05);
}

/* Overlays & Badges - STRICT PLACEMENT */

/* 1. Brand Logo (Top-Right) */
.qv-badge-brand {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	bottom: auto !important;
	left: auto !important;
	width: 35px !important;
	height: auto;
	object-fit: contain;
	z-index: 20;
	opacity: 0.9;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* 2. Video Indicator (Top-Left) */
.qv-video-indicator {
	position: absolute !important;
	top: 10px !important;
	left: 10px !important;
	right: auto !important;
	bottom: auto !important;
	background: rgba(0, 0, 0, 0.6) !important;
	color: #fff;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	text-align: center;
	line-height: 24px;
	z-index: 20;
}

.qv-video-indicator .dashicons {
	font-size: 14px;
	line-height: 24px;
	width: 24px;
	height: 24px;
}

/* 3. Price & Discount Container */
.qv-price-container {
	position: absolute;
	bottom: 8px;
	/* STRICT */
	left: 8px;
	/* STRICT */
	display: flex;
	/* STRICT */
	align-items: center;
	gap: 6px;
	/* STRICT */
	z-index: 10;
}

/* Price Text */
.qv-price-text {
	background: rgba(255, 255, 255, 0.95);
	/* STRICT */
	color: #000;
	font-weight: 700;
	font-size: 13px;
	padding: 4px 8px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Strip HTML from price if needed, usually managed by PHP, but ensure styles reset */
.qv-price-text span,
.qv-price-text bdi {
	color: #000 !important;
	font-weight: 700 !important;
}

/* Discount Text */
.qv-discount-text {
	color: #e63946;
	/* STRICT: Red */
	font-weight: 700;
	font-size: 13px;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
	/* STRICT */
}


/* 4. Overlay Icon (Play/View) - Kept specific center style */
.qv-card-overlay-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 11;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qv-product-card:hover .qv-card-overlay-icon {
	opacity: 1;
}

.qv-card-overlay-icon .dashicons {
	font-size: 20px;
	color: #333;
}


/* Info Area - Model Name */
.qv-card-info {
	text-align: center;
	padding: 8px 0;
}

.qv-card-info h3 {
	margin: 8px 0 0 0;
	/* STRICT: Margin-top 8px */
	font-size: 14px;
	/* STRICT */
	font-weight: 600;
	/* Implicitly kept from general good practice */
	color: #333;
	/* STRICT */
	text-transform: uppercase;
	white-space: nowrap;
	/* STRICT */
	overflow: hidden;
	/* STRICT */
	text-overflow: ellipsis;
	/* STRICT */
	letter-spacing: 0.5px;
}


/* =========================================
   Modal & Overlay (PRESERVED)
   ========================================= */
#qv-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	display: none;
	backdrop-filter: blur(5px);
}

#qv-modal-overlay.qv-active {
	display: flex !important;
}

/* --- Modal Container Layout --- */
#qv-modal-container {
	display: flex;
	flex-direction: column;
	/* Mobile Default */
	height: 85vh;
	/* Mobile Default */
	width: 90%;
	max-width: 900px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	animation: qvSlideUp 0.3s ease-out;
}

/* Modal Media Section */
.qv-modal-media {
	width: 100%;
	height: 40%;
	/* Mobile Split */
	position: relative;
	background: #f0f0f0;
}

/* Modal Details Section */
.qv-modal-details {
	width: 100%;
	height: 60%;
	/* Mobile Split */
	padding: 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background: #fff;
	position: relative;
}

/* Desktop Layout Overrides */
@media (min-width: 768px) {
	#qv-modal-container {
		flex-direction: row;
		height: 500px;
	}

	.qv-modal-media {
		width: 55%;
		height: 100%;
	}

	.qv-modal-details {
		width: 45%;
		height: 100%;
	}
}

/* Animation */
@keyframes qvSlideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Close Button */
/* Close Button - Premium Circle */
#qv-modal-close {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 50;
	background: rgba(0, 0, 0, 0.05);
	/* Light grey */
	border: none;
	border-radius: 50%;
	width: 32px;
	/* Spec: 32px */
	height: 32px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: all 0.3s ease;
	/* Spec: properties */
	box-shadow: none;
	/* Clean start */
}

#qv-modal-close:hover {
	background: #e63946;
	color: #fff;
	transform: rotate(90deg);
	/* Subtle interaction */
}


/* =========================================
   Swiper & Media
   ========================================= */
.qv-swiper-container,
.swiper-wrapper,
.swiper-slide {
	width: 100%;
	height: 100%;
}

/* Fix Pagination Position */
.qv-swiper-container .swiper-pagination {
	bottom: 5px !important;
}

.swiper-slide img,
.swiper-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Story Buttons */
/* Story Buttons - Bottom Center Glassmorphism */
.qv-story-buttons {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
	gap: 10px;
	width: auto;
}

.qv-pill-btn {
	background: rgba(0, 0, 0, 0.4);
	/* Semi-transparent dark */
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	/* Subtle border */
	backdrop-filter: blur(8px);
	/* Glass effect */
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	transition: background 0.2s;
}

.qv-pill-btn:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: none;
}

.qv-pill-btn .dashicons {
	color: #fff;
	/* Ensure icon is white */
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
	margin-right: 5px;
}

/* =========================================
   Details Typography & Actions
   ========================================= */
.qv-details-content {
	padding-bottom: 80px;
	/* Buffer for actions/form */
}

#qv-modal-title {
	margin: 0 0 10px 0;
	font-size: 14px;
	color: #222;
	line-height: 1.3;
}

.qv-price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	margin-top: 10px;
}

#qv-modal-price {
	font-size: 1.8rem;
	font-weight: 800;
	color: #000;
	line-height: 1;
	margin-bottom: 0;
	/* Let row handle gap */
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
}

#qv-modal-price span.qv-price-amount {
	color: #000;
}

#qv-modal-price del {
	color: #999;
	font-size: 1rem;
	font-weight: 400;
	text-decoration: line-through;
	opacity: 0.8;
	order: 2;
	/* Render After Current Price */
	margin-left: 5px;
	/* Gap from Current logic */
}

#qv-modal-price ins,
#qv-modal-price span.amount {
	order: 1;
	/* Render First */
	text-decoration: none;
}

#qv-modal-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 24px;
}

/* Trust Badges */
.qv-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 15px;
	justify-content: flex-start;
	margin-top: -10px;
	padding-top: 15px;
	border-top: 1px solid #eee;
	margin-bottom: 10px;
}

.qv-trust-badges span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
}

/* Buy Now Button */
.qv-btn-primary {
	display: block;
	width: 100%;
	padding: 16px;
	background: #007bff;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	margin-bottom: 0px;
	transition: background 0.2s;
}

.qv-btn-primary:hover {
	background: #0056b3;
}


/* =========================================
   Form Overlay - STRICT Visibility
   ========================================= */
/* =========================================
   Form Overlay - STRICT Visibility
   ========================================= */
#qv-cod-form {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 200;
	padding: 25px 20px;
	box-sizing: border-box;
	box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);

	transform: translateY(110%);
	transition: transform 0.3s ease-in-out;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;

	display: flex;
	flex-direction: column;
}

#qv-cod-form.active {
	transform: translateY(0);
}

@media(max-width:767px) {
	#qv-cod-form {
		padding-bottom: 50px;
		/* Safe area for mobile keys */
		max-height: 80%;
		overflow-y: auto;
	}
}

#qv-cod-form h3 {
	margin: 0 0 10px 0;
	text-align: center;
	color: #333;
}

/* Order Summary */
.qv-form-summary {
	text-align: center;
	color: #555;
	font-size: 14px;
	margin-bottom: 15px;
}

.qv-form-summary strong {
	color: #000;
}

/* Zero Risk Box */
.qv-risk-free-box {
	background: #e3f2fd;
	/* Light Blue */
	border: 1px solid #bbdefb;
	color: #0d47a1;
	padding: 10px 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 1.4;
}

.qv-risk-free-box .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

#qv-cod-form input {
	display: block;
	width: 100%;
	padding: 12px 12px 12px 40px;
	/* Icon padding */
	margin-bottom: 0;
	/* Handled by group */
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background-color: #fff !important;
	color: #333 !important;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

#qv-cod-form input:focus {
	border-color: #000;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Form Grid System */
.qv-form-row {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.qv-input-icon-group {
	position: relative;
	flex: 1;
}

.qv-input-icon-group.full-width {
	width: 100%;
	margin-bottom: 15px;
}

.qv-input-icon-group .dashicons {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	font-size: 18px;
	pointer-events: none;
}

#qv-cod-form .qv-btn-confirm {
	width: 100%;
	padding: 12px;
	background: #27ae60;
	/* Strong Green */
	color: #fff;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 15px;
	margin-bottom: 10px;
	transition: background 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

#qv-cod-form .qv-btn-confirm:hover {
	background: #219150;
}

/* Cancel Link */
.qv-cancel-link {
	display: block;
	text-align: center;
	margin-top: 15px;
	color: #999;
	text-decoration: none;
	font-size: 13px;
	transition: color 0.3s;
	cursor: pointer;
}

.qv-cancel-link:hover {
	color: #333;
	text-decoration: underline;
}

/* =========================================
   Conversion Elements (Social Proof & Scarcity)
   ========================================= */

/* Social Proof */
.qv-rating-stars {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	/* Spacing */
}

.qv-rating-stars .dashicons {
	color: #FFD700;
	/* Gold */
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
}

.qv-rating-text {
	color: #777;
	font-size: 12px;
	font-weight: 500;
}

/* Scarcity Indicator */
.qv-scarcity-bar {
	margin-bottom: 20px;
	/* Confirm margin */
	width: 100%;
}

.qv-scarcity-bar p {
	color: #ff5722;
	/* Red/Orange */
	font-weight: 700;
	font-size: 13px;
	margin: 0 0 5px 0;
	animation: qvTextPulse 2s infinite;
}

.qv-progress-bg {
	width: 100%;
	height: 6px;
	background: #eee;
	border-radius: 3px;
	overflow: hidden;
}

.qv-progress-fill {
	width: 85%;
	height: 100%;
	background: linear-gradient(90deg, #ff5722, #ff9800);
	border-radius: 3px;
}

@keyframes qvTextPulse {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.8;
	}

	100% {
		opacity: 1;
	}
}

/* Buy Now Button Pulse */
@keyframes qvPulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
	}

	70% {
		transform: scale(1.02);
		box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
	}
}

#qv-buy-now {
	animation: qvPulse 2s infinite;
	box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
	font-size: 1.1rem;
	/* Larger */
	text-transform: uppercase;
	/* Uppercase */
	text-align: center;
	display: block;
	/* Ensure centering works */
	width: 100%;
	/* Full width as per previous design */
}

/* Video Facade (Lazy Loading) */
.qv-video-facade {
	position: relative;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background: #000;
	overflow: hidden;
}

.qv-facade-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.9);
	transition: transform 0.5s ease;
}

.qv-video-facade:hover .qv-facade-poster {
	transform: scale(1.05);
}

.qv-facade-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.25);
	/* Glassmorphism */
	backdrop-filter: blur(5px);
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	z-index: 10;
}

.qv-video-facade:hover .qv-facade-play-btn {
	background: #e63946;
	border-color: #e63946;
	transform: translate(-50%, -50%) scale(1.1);
}

.qv-facade-play-btn .dashicons {
	font-size: 30px;
	color: #fff;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-left: 4px;
	/* Visual adjustment */
}

/* =========================================
   Modal Footer Link ("See More Models")
   ========================================= */

/* Ensure space at bottom of content so sticky footer doesn't cover last item when scrolled to end */
.qv-details-content {
	padding-bottom: 60px !important;
}

.qv-modal-footer-link {
	position: -webkit-sticky;
	/* Safari */
	position: sticky;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid #eee;
	padding: 12px 0;
	z-index: 100;
	text-align: center;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
	font-size: 13px;
	color: #333;
	margin-top: auto;
	/* Push to bottom if content is short */
}

.qv-modal-footer-link a {
	color: #333;
	text-decoration: underline;
	cursor: pointer;
}

.qv-modal-footer-link .dashicons {
	font-size: 16px;
	margin-right: 5px;
	vertical-align: middle;
	animation: qvBounce 2s infinite;
}

@keyframes qvBounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-3px);
	}
}

/* =========================================
   Brand Logo Overlay (Modal)
   ========================================= */
.qv-modal-media {
	position: relative;
	/* Ensure context for absolute elements */
}

.qv-modal-brand-overlay {
	position: absolute;
	top: 15px;
	/* Aligned with close button roughly */
	right: 15px;
	width: 40px;
	/* Smaller, premium pill size */
	height: auto;
	z-index: 50;
	/* Above swiper slides */
	object-fit: contain;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(2px);
	border-radius: 4px;
	padding: 2px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
	pointer-events: none;
	/* Let clicks pass through to swiper */
}

/* Cleanup layout since Title is removed */
.qv-modal-details {
	padding-top: 10px !important;
	/* Pull content up */
}

/* =========================================
   Countdown Timer & Expiry
   ========================================= */

.qv-timer-badge {
	background: #fff5f5;
	border: 1px solid #ffcccc;
	color: #d32f2f;
	border-radius: 50px;
	padding: 4px 12px;
	font-size: 0.85rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	vertical-align: middle;
}

@media (max-width: 480px) {
	.qv-timer-badge {
		font-size: 0.85rem;
		margin-left: 10px;
		padding: 3px 6px;
	}
}

.qv-expiry-text {
	text-align: center;
	font-size: 13px;
	color: #666;
	margin-top: 8px;
	font-weight: 500;
}

/* =========================================
   Swipe Hint Overlay
   ========================================= */
#qv-swipe-hint {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 50;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
	/* Crucial */
	transition: opacity 0.5s ease;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px 25px;
	border-radius: 12px;
	backdrop-filter: blur(4px);
}

.qv-hint-hidden {
	opacity: 0;
	visibility: hidden;
}

.qv-hand-icon {
	margin-bottom: 8px;
	/* Removed animation from container */
	display: flex;
	justify-content: center;
}

.qv-hand-img {
	width: 48px;
	height: auto;
	margin-bottom: 12px;
	filter: invert(1) brightness(2);
	animation: qvSwipeAnim 1.5s infinite ease-in-out;
}

.qv-hint-text {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

@keyframes qvSwipeAnim {
	0% {
		transform: translateX(0);
		opacity: 0.8;
	}

	50% {
		transform: translateX(-15px);
		opacity: 1;
	}

	100% {
		transform: translateX(0);
		opacity: 0.8;
	}
}

/* Hide Default Theme Title */
.hero-section.is-width-constrained {
	display: none !important;
}

/* Hero Section */
.qv-hero-section {
	height: 250px;
	background-image: url('https://www.centredeluxe.com/wp-content/uploads/2026/01/hero-banner-lp.webp?q=80&w=2080&auto=format&fit=crop');
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	margin-bottom: 0;
    margin-top:-50px;
}

@media (min-width: 768px) {
	.qv-hero-section {
		height: 400px;
		border-radius: 12px;
		margin-bottom: 20px;
	}
}

.qv-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	border-radius: inherit;
}

.qv-hero-content {
	position: relative;
	z-index: 2;
	padding: 20px;
    top:  50px;
}

.qv-hero-content h1 {
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.qv-hero-content p {
	font-size: 1rem;
	color: #f0f0f0;
	margin: 0;
}

/* Trust Bar */
.qv-trust-bar {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	height: 40px;
	/* Fixed Height */
	display: flex;
	align-items: center;
	/* Center Vertically */
	justify-content: space-around;
	border-bottom: 1px solid #eee;
	margin-bottom: 0;
	/* Remove gap */
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
	.qv-trust-bar {
		position: relative !important;
		height: auto;
		padding: 10px 0; margin-bottom:20px;
	}
}

.qv-trust-item {
	font-size: 12px;
	font-weight: 600;
	color: #333;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

@media (min-width: 768px) {
	.qv-trust-item {
		flex-direction: row;
		font-size: 14px;
		gap: 8px;
	}
}

/* Filter Bar */
.qv-filter-bar-sticky {
	position: sticky;
	top: 40px;
	/* Below Trust Bar */
	z-index: 990;
	background: #fff;
	padding: 10px 0;
	border-bottom: 1px solid #f1f1f1;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
	margin-top: 0;
}

@media (max-width: 768px) {
	.qv-filter-bar-sticky {
		top: 0 !important;
	}
}

.qv-filter-scroll-container {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 0 15px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.qv-filter-scroll-container::-webkit-scrollbar {
	display: none;
}

.qv-filter-btn {
	border: 1px solid #eee;
	background: #fff;
	color: #555;
	padding: 8px 18px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.3s;
}

.qv-filter-btn:hover {
	background: #f9f9f9;
}

.qv-filter-btn.active {
	background: #000;
	color: #fff;
	border-color: #000;
}

/* Card Animation */
@keyframes qvFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.qv-fade-in {
	animation: qvFadeIn 0.4s ease forwards;
}

/* Fade Effect for Scroll */
.qv-scroll-fade-mask {
	position: relative;
	overflow: hidden;
}

.qv-fade-overlay {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 40px;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
	pointer-events: none;
	z-index: 5;
}

.qv-filter-scroll-container {
	padding-right: 20px;
	/* Ensure last item is visible */
}

/* =========================================
   Hero Deal Card (Daily / Weekly) - REFINED
   ========================================= */
/* =========================================
   Hero Deal Card (Daily / Weekly) - REFINED
   ========================================= */
/* =========================================
   Hero Deal Card (Daily / Weekly) - REFINED
   ========================================= */
/* =========================================
   Hero Deal Card (Daily / Weekly) - REFINED
   ========================================= */
.qv-hero-deal {
	grid-column: 1 / -1;
	/* Span full width */
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	/* Mobile First: Horizontal Forced */
	flex-direction: row !important;
	align-items: center;
	height: auto;
	min-height: 140px;
	/* Ensure height */
	overflow: hidden;
	margin-bottom: 25px;
	border: 1px solid #eee;
	/* Cleaner border */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.qv-hero-deal:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image Side */
.qv-hero-image {
	position: relative;
	width: 50% !important;
	/* Mobile: 1/3 */
	height: auto;
	aspect-ratio: 1/1;
	/* Square */
	overflow: hidden;
}

.qv-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Premium feel for mobile */
	display: block;
	transition: transform 0.6s ease; margin-top:30px;
}

.qv-hero-deal:hover .qv-hero-image img {
	transform: scale(1.05);
}


/* Badge specific: Overlay Style */
.qv-hero-discount {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #e63946;
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	padding: 5px 10px;
	border-radius: 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

.qv-hero-deal.qv-weekly-deal .qv-hero-discount {
	background: #27ae60;
}

/* Content Side */
.qv-hero-content-side {
	width: 65% !important;
	/* Mobile: 2/3 */
	height: 100%;
	/* Full height for centering */
	padding: 10px 15px 10px 5px;
	/* Adjusted padding */
	flex-direction: column;
	justify-content: center;
	/* Vertical Centering */
	align-items: center;
	/* Horizontal Centering */
	text-align: center;
	/* Text Centering */
	background: #fff;
	box-sizing: border-box;
}

/* Label Badge (Daily/Weekly) */
.qv-hero-badge {
	position: static;
	display: inline-block;
	color: #fff;
	background: #000;
	font-size: 10px;
	/* Mobile Small */
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 8px;
	/* Increased margin */
	text-transform: uppercase;
	letter-spacing: 1px;
	align-self: center;
	/* Center Badge */
}

/* Daily Deal Specifics */
.qv-hero-deal.qv-daily-deal .qv-hero-badge {
	background: #e63946;
}

/* Weekly Deal Specifics */
.qv-hero-deal.qv-weekly-deal .qv-hero-badge {
	background: #27ae60;
}

/* Pulse Animation for Daily Deal Border */
@keyframes qvBorderPulse {
	0% {
		border-color: #eee;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	}

	50% {
		border-color: #e63946;
		box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
	}

	100% {
		border-color: #eee;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	}
}

.qv-hero-deal.qv-daily-deal {
	animation: qvBorderPulse 3s infinite;
}


.qv-hero-title {
	font-size: 1.1rem;
	/* Increased Mobile Size */
	width: 100%;
	font-weight: 700;
	margin: 10px 0 6px 0;
	color: #222;
	line-height: 1.2;
}

.qv-hero-price {
	margin-bottom: 8px;
	display: flex;
	align-items: baseline;
	justify-content: center;
	/* Center Price */
	gap: 6px;
}

/* Current Price */
.qv-hero-price span.qv-price-amount {
	font-size: 1.4rem;
	font-weight: 900;
	color: #000;
	display: inline-block;
}

.qv-hero-price bdi {
	font-size: 1rem;
	font-weight: 900;
	color: #000;
	/* Explicit override check */
}


/* Old Price - Assuming it might be output by WC in a DEL tag or similar, let's style potential standard elements inside */
.qv-hero-price del,
.qv-hero-price strike {
	font-size: 0.9rem;
	color: #999;
	font-weight: 400;
	text-decoration: line-through;
	opacity: 0.8;
}

/* Countdown Urgent Styling */
.qv-hero-countdown {
	background-color: #ffebee;
	/* Light Red */
	color: #c62828;
	/* Dark Red */
	border: 1px solid #ffcdd2;
	font-weight: 700;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 12px;
	/* Increased margin */
	align-self: center;
	/* Center Timer */
}

.qv-hero-countdown .qv-countdown-timer {
	font-weight: 800;
	/* Bold numbers */
}

/* CTA Button */
.qv-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: #000;
	color: #fff;
	border: none;
	width: auto;
	/* Shrink to fit */
	min-width: 140px;
	/* Min width */
	padding: 8px 20px;
	/* Padding */
	font-size: 12px;
	/* Compact */
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.qv-hero-cta:hover {
	background: #333;
	transform: translateY(-2px);
}

.qv-hero-cta::after {
	content: '\f345';
	font-family: 'dashicons';
	font-size: 12px;
	display: inline-block;
}

.qv-hero-cta span.dashicons {
	display: none;
	/* Hide old icon span if present in HTML, prefer CSS pseudo */
}

/* Desktop Layout */
@media (min-width: 768px) {
	.qv-hero-deal {
		flex-direction: row;
		/* Horizontal */
	}

	.qv-hero-image {
		width: 50%;
		height: 300px;
		/* Fixed Desktop Height */
	}

	.qv-hero-image img {
		object-fit: cover;
		/* Cover on desktop */
	}

	.qv-hero-content-side {
		width: 50%;
		padding: 40px;
		align-items: flex-start;
		/* Left align */
		text-align: left;
	}

	.qv-hero-title {
		font-size: 1.8rem;
		margin-bottom: 10px;
	}

	.qv-hero-price {
		margin-bottom: 20px;
	}

	.qv-hero-price span.qv-price-amount,
	.qv-hero-price bdi {
		font-size: 1.6rem;
	}

	.qv-hero-cta {
		width: auto;
		padding: 14px 30px;
		font-size: 16px;
	}
}

/* =========================================
   MOBILE VIDEO BILLBOARD FIX (CORRECTED SELECTORS)
   ========================================= */
@media (max-width: 768px) {

	/* 1. Force the Main Card to Stack Vertically */
	div.qv-hero-deal.qv-video-layout {
		flex-direction: column !important;
		height: auto !important;
		min-height: auto !important;
		border: none !important;
		background: #fff !important;
		padding-bottom: 10px !important;
		/* Slight buffer at bottom */
	}

	/* 2. The Media Container (Video is inside .qv-hero-image) */
	div.qv-hero-deal.qv-video-layout .qv-hero-image {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		aspect-ratio: 16/9 !important;
		/* Cinematic Widescreen */
		flex: none !important;
		margin: 0 !important;
		border-radius: 0 !important;
		/* Sharp edges */
	}

	/* 3. The Video Element Itself */
	div.qv-hero-deal.qv-video-layout .qv-hero-video {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		border-radius: 0 !important;
	}

	/* 4. The Content Container (Correct Class: .qv-hero-content-side) */
	div.qv-hero-deal.qv-video-layout .qv-hero-content-side {
		width: 100% !important;
		padding: 20px 15px !important;
		text-align: center !important;
		align-items: center !important;
		display: flex !important;
		flex-direction: column !important;
	}

	/* 5. Float the Badge (OFFRE SEMAINE) over the Video */
	div.qv-hero-deal.qv-video-layout .qv-hero-badge {
		top: 15px !important;
		left: 15px !important;
		z-index: 20;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
		margin: 0 !important;
	}

	/* 6. Move the Discount Badge (-57%) to the Right */
	div.qv-hero-deal.qv-video-layout .qv-hero-discount {
		left: auto !important;
		right: 15px !important;
		top: 15px !important;
		z-index: 20;
	}
}

/* =========================================
   HERO SECTION CLEANUP (Remove Theme Injections)
   ========================================= */
/* 1. Hide any direct children that are NOT our Content or Overlay */
.qv-hero-section>*:not(.qv-hero-content):not(.qv-hero-overlay) {
	display: none !important;
}

/* 2. Kill Pseudo-elements on the main container */
.qv-hero-section::before,
.qv-hero-section::after {
	content: none !important;
	display: none !important;
	background: none !important;

	/* =========================================
   CRITICAL FIX: CONTAIN ESCAPING BADGES
   ========================================= */
	/* 1. Force Relative Positioning on ALL Cards */
	/* This acts as the anchor. Badges cannot escape this box. */
	.qv-product-card,
	.qv-hero-deal,
	div.qv-hero-deal.qv-video-layout {
		position: relative !important;
		z-index: 1;
		/* Establish a new stacking context */
		transform: translate3d(0, 0, 0);
		/* Hack to force hardware acceleration & containment */
	}

	/* 2. Force Overflow Hidden on Video Cards (Mobile) */
	/* This physically cuts off anything that tries to float outside */
	@media (max-width: 768px) {
		div.qv-hero-deal.qv-video-layout {
			overflow: hidden !important;
		}

		/* Ensure the badge stays INSIDE the video area */
		div.qv-hero-deal.qv-video-layout .qv-hero-badge,
		div.qv-hero-deal.qv-video-layout .qv-hero-discount {
			position: absolute !important;
			/* Ensure they don't have negative margins pulling them out */
			margin: 0 !important;
			/* Reset coordinates to be safe */
			top: 10px !important;
		}

		/* Fix the 'Hover Only' issue: Make badges always visible on mobile */
		div.qv-hero-deal.qv-video-layout .qv-hero-badge,
		div.qv-hero-deal.qv-video-layout .qv-hero-discount {
			opacity: 1 !important;
			visibility: visible !important;
			display: block !important;
		}
	}