/*
Theme Name: Queenstal FlipMe
Theme URI: https://sathishkaruppaiyan.in
Author: Sathish Karuppaiyan
Description: Mobile-first Meesho-inspired WooCommerce theme
Version: 1.0.0
*/

/* ========== VARIABLES ========== */
:root {
	--primary: #9333ea;
	--secondary: #f59e0b;
	--accent: #ef4444;
	--dark: #1f2937;
	--gray: #6b7280;
	--light-gray: #f3f4f6;
	--border: #e5e7eb;
	--white: #ffffff;
	--success: #10b981;
}

/* ========== TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap');

/* ========== RESET ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--light-gray);
	color: var(--dark);
	line-height: 1.6;
	padding-bottom: 60px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 400;
}

/* Ensure proper spacing for floating action bar */
.qf-single-product-flipkart {
	padding-bottom: 80px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Inter', 'Roboto', sans-serif;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Typography Utility Classes */
.text-hero {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.25;
}

@media (min-width: 768px) {
	.text-hero {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.text-hero {
		font-size: 3.75rem;
	}
}

.text-subtitle {
	font-size: 1.125rem;
	color: #6b7280;
}

@media (min-width: 768px) {
	.text-subtitle {
		font-size: 1.25rem;
	}
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: inherit;
}

/* Lucide Icons Global Styling */
svg[data-lucide],
i[data-lucide] {
	display: inline-block;
	vertical-align: middle;
}

/* Hide WordPress emoji images */
img.emoji {
	display: none !important;
}

/* WooCommerce added to cart link */
.woocommerce a.added_to_cart {
	padding-top: .5em;
	display: none;
}

/* Remove bold from all elements */
* {
	font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6, strong, b {
	font-weight: 500 !important;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ========== HEADER ========== */
.qf-header {
	background: #e8edef;
	color: #000000;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qf-header-container {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	max-width: 1200px;
	margin: 0 auto;
}

/* Desktop layout - icons left, search center */
@media (min-width: 769px) {
	.qf-header-container {
		justify-content: center;
		position: relative;
	}

	.qf-logo {
		position: absolute;
		left: 16px;
	}

	.qf-search {
		margin: 0 auto;
	}

	.qf-header-icons {
		position: absolute;
		right: 16px;
	}
}

.qf-logo {
	flex-shrink: 0;
}

.qf-logo-text {
	font-size: 20px;
	font-weight: 700;
	color: #000000;
}

.qf-logo img {
	max-height: 40px;
	width: auto;
}

.qf-search {
	flex: 1;
	max-width: 600px;
}

.qf-search form {
	display: flex;
	background: var(--white);
	border-radius: 8px;
	overflow: hidden;
}

.qf-search input[type="search"] {
	flex: 1;
	border: none;
	padding: 10px 12px;
	font-size: 14px;
	outline: none;
}

.qf-search button {
	background: var(--white);
	border: none;
	padding: 0 16px;
	cursor: pointer;
	color: var(--gray);
}

.qf-header-icons {
	display: flex;
	gap: 20px;
	align-items: center;
}

.qf-icon-link {
	position: relative;
	color: #000000;
	font-size: 20px;
}

.qf-icon-link svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.qf-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--accent);
	color: var(--white);
	font-size: 10px;
	padding: 2px 5px;
	border-radius: 10px;
	font-weight: 600;
}

/* ========== BOTTOM NAV ========== */
.qf-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--white);
	display: flex;
	justify-content: space-around;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	z-index: 999;
	padding: 8px 0;
}

.qf-bottom-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--gray);
	font-size: 11px;
	position: relative;
	flex: 1;
	padding: 4px;
}

.qf-bottom-nav-item i,
.qf-bottom-nav-item svg {
	font-size: 20px;
	margin-bottom: 2px;
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.qf-bottom-nav-item.active {
	color: var(--primary);
}

.qf-badge-mini {
	position: absolute;
	top: 0;
	right: 20%;
	background: var(--accent);
	color: var(--white);
	font-size: 9px;
	padding: 1px 4px;
	border-radius: 8px;
}

/* ========== MAIN CONTENT ========== */
.qf-main {
	min-height: calc(100vh - 200px);
}

.qf-section {
	background: var(--white);
	margin-bottom: 8px;
	padding: 16px 0;
}

.qf-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding: 0 16px;
}

.qf-section-header h2 {
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.qf-section-header h2 {
		font-size: 24px;
	}
}

@media (min-width: 1024px) {
	.qf-section-header h2 {
		font-size: 28px;
	}
}

.qf-view-all {
	color: var(--primary);
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s;
}

/* ========== CATEGORY SLIDER ========== */
.qf-category-slider {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0 16px;
	scrollbar-width: none;
}

.qf-category-slider::-webkit-scrollbar {
	display: none;
}

.qf-category-item {
	flex-shrink: 0;
	text-align: center;
	width: 80px;
}

.qf-category-img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 8px;
	border: 2px solid var(--border);
}

.qf-category-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qf-category-name {
	font-size: 12px;
	color: var(--dark);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ========== BANNER SLIDER ========== */
.qf-banner-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 12px;
	padding: 0 16px;
	scrollbar-width: none;
}

.qf-banner-slider::-webkit-scrollbar {
	display: none;
}

.qf-banner-slide {
	flex-shrink: 0;
	width: 100%;
	scroll-snap-align: start;
	border-radius: 12px;
	overflow: hidden;
}

.qf-banner-slide img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

/* ========== PRODUCTS GRID ========== */
.qf-products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	list-style: none;
	padding: 0 16px;
}

/* Responsive Grid Columns - Meesho Style */
@media (min-width: 768px) {
	.qf-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.qf-products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1280px) {
	.qf-products-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.qf-product-card {
	position: relative;
	background: var(--white);
	border: 1px solid #f3f4f6;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.qf-product-card:hover {
	transform: translateY(-2px);
	border-color: #fce7f3;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.qf-wishlist-btn {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--white);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qf-wishlist-btn i,
.qf-wishlist-btn svg {
	color: var(--accent);
	stroke: var(--accent);
	font-size: 16px;
	width: 18px;
	height: 18px;
}

.qf-wishlist-btn.active i.filled,
.qf-wishlist-btn.active svg.filled {
	fill: var(--accent);
}

.qf-product-link {
	display: block;
}

.qf-product-image {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--light-gray);
}

.qf-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.qf-product-card:hover .qf-product-image img {
	transform: scale(1.05);
}

.qf-badge-sale {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--accent);
	color: var(--white);
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.qf-product-info {
	padding: 12px;
}

.qf-product-title {
	font-size: 14px;
	font-weight: 500;
	color: #1f2937;
	margin-bottom: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.25;
	color: var(--dark);
}

.qf-product-price-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.qf-product-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.qf-price-current {
	font-size: 12px;
	font-weight: 400;
	color: var(--dark);
}

.qf-price-original {
	font-size: 11px;
	font-weight: 400;
	color: var(--gray);
	text-decoration: line-through;
}

.qf-offer-badge {
	background: #10b981;
	color: var(--white);
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: 600;
	white-space: nowrap;
	display: inline-block;
	margin-top: 4px;
}

.qf-product-price .amount {
	font-size: 12px;
	font-weight: 700;
}

/* Original Price (Strikethrough) */
.qf-product-price del {
	font-size: 14px;
	font-weight: 400;
	color: #6b7280;
	margin-left: 6px;
}

.qf-product-price del .amount {
	font-size: 14px;
	font-weight: 400;
}

/* Discount Badge */
.qf-discount-badge {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: #ec4899;
	margin-left: 6px;
}

.qf-product-rating {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #6b7280;
}

.qf-rating-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: var(--success);
	color: var(--white);
	padding: 3px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

.qf-rating-badge .qf-star-icon {
	width: 11px;
	height: 11px;
	fill: var(--white);
	stroke: none;
}

.qf-rating-value {
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.qf-stars {
	--rating: 0;
	position: relative;
	display: inline-block;
	width: 60px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5e7eb'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 12px 12px;
}

.qf-stars::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: calc(var(--rating) / 5 * 100%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 12px 12px;
}

.qf-rating-count {
	font-size: 12px;
	color: #6b7280;
	font-weight: 400;
}

.qf-delivery {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--success);
	font-weight: 500;
	margin-bottom: 8px;
}

.qf-delivery svg,
.qf-delivery i {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex-shrink: 0;
}

/* Product Info Footer */
.qf-product-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	margin-top: 8px;
	border-top: 1px solid #f3f4f6;
}

.qf-product-footer .qf-delivery {
	font-size: 12px;
}

.qf-product-footer .qf-product-rating {
	margin-bottom: 0;
}

/* Product Meta Badges (Meesho Style) */
.qf-product-meta-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.qf-meta-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: 500;
}

.qf-badge-cod {
	background: #fef3c7;
	color: #92400e;
}

.qf-badge-lowest {
	background: #dbeafe;
	color: #1e40af;
}

.qf-meta-badge i,
.qf-meta-badge svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
}

/* ========== REELS SLIDER ========== */
.qf-reels-slider {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0 16px;
	scrollbar-width: none;
}

.qf-reels-slider::-webkit-scrollbar {
	display: none;
}

.qf-reel-item {
	flex-shrink: 0;
	width: 280px;
	border-radius: 12px;
	overflow: hidden;
}

.qf-reel-item iframe {
	width: 100%;
	height: 480px;
	border: 0;
}

/* ========== FOOTER ========== */
.qf-footer {
	background: var(--dark);
	color: var(--white);
	padding-top: 32px;
	margin-top: 16px;
}

.qf-social-section {
	text-align: center;
	padding: 24px 16px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.qf-social-section h3 {
	font-size: 18px;
	margin-bottom: 16px;
}

.qf-social-icons {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.qf-social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: var(--white);
	font-size: 18px;
	transition: background 0.3s;
}

.qf-social-icons a:hover {
	background: var(--primary);
}

.qf-footer-bottom {
	text-align: center;
	padding: 20px 16px;
	font-size: 13px;
	color: rgba(255,255,255,0.7);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
	body {
		padding-bottom: 0;
	}

	.qf-bottom-nav {
		display: none;
	}

	.qf-products-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}

	.qf-banner-slide img {
		height: 300px;
	}

	.qf-search {
		display: block;
	}
}

@media (min-width: 1024px) {
	.qf-products-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (min-width: 1200px) {
	.qf-products-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* ========== SHOP PAGE & FILTER TOOLBAR ========== */
.qf-shop-page {
	min-height: 100vh;
}

.qf-filter-toolbar {
	background: var(--white);
	position: sticky;
	top: 60px;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	padding: 12px 0;
}

.qf-toolbar-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.qf-toolbar-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
	color: var(--dark);
	transition: all 0.2s;
}

.qf-toolbar-btn:hover {
	background: var(--light-gray);
	border-color: var(--primary);
}

.qf-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

/* ========== FILTER PANELS ========== */
.qf-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 85%;
	max-width: 350px;
	background: var(--white);
	z-index: 1001;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.qf-filter-panel {
	left: 0;
}

.qf-category-panel {
	left: 0;
}

.qf-sort-panel {
	right: 0;
	left: auto;
	transform: translateX(100%);
}

.qf-panel.active {
	transform: translateX(0);
}

.qf-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	background: var(--white);
	z-index: 10;
}

.qf-panel-header h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}

.qf-panel-close {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--gray);
}

.qf-panel-content {
	padding: 16px;
}

/* Filter Groups */
.qf-filter-group {
	margin-bottom: 24px;
}

.qf-filter-group h4 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 12px;
}

.qf-price-inputs {
	display: flex;
	align-items: center;
	gap: 8px;
}

.qf-price-inputs input {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-size: 14px;
}

.qf-filter-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.qf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}

.qf-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* Category List */
.qf-category-list {
	display: flex;
	flex-direction: column;
}

.qf-category-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
	color: var(--dark);
	font-size: 14px;
	transition: color 0.2s;
}

.qf-category-link:hover,
.qf-category-link.active {
	color: var(--primary);
}

.qf-count {
	color: var(--gray);
	font-size: 13px;
}

/* Sort List */
.qf-sort-list {
	display: flex;
	flex-direction: column;
}

.qf-sort-link {
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
	color: var(--dark);
	font-size: 14px;
	transition: color 0.2s;
}

.qf-sort-link:hover {
	color: var(--primary);
}

/* Overlay */
.qf-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.qf-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Shop Content */
.qf-shop-content {
	padding: 16px 0;
	min-height: 50vh;
}

/* Apply Filters Button */
.qf-apply-filters {
	width: 100%;
	margin-top: 16px;
}

.qf-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.qf-btn-primary {
	background: var(--primary);
	color: var(--white);
}

.qf-btn-primary:hover {
	background: #7c3aed;
}

.qf-btn-secondary {
	background: var(--light-gray);
	color: var(--dark);
	border: 1px solid var(--border);
}

.qf-btn-secondary:hover {
	background: var(--border);
}

/* Filter Actions */
.qf-filter-actions {
	display: flex;
	gap: 12px;
	padding-top: 16px;
	margin-top: 16px;
	border-top: 1px solid var(--border);
}

.qf-filter-actions .qf-btn {
	flex: 1;
}

/* Button Icons */
.qf-btn svg,
.qf-btn i {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

/* ========== SINGLE PRODUCT PAGE ========== */
.qf-single-product {
	background: var(--light-gray);
	padding-bottom: 80px;
}

/* ========== FLIPKART STYLE SINGLE PRODUCT ========== */
.qf-single-product-flipkart {
	background: #f5f5f5;
	min-height: 100vh;
	padding-bottom: 80px;
}

/* Product Gallery */
.qf-product-gallery-flipkart {
	position: relative;
	background: #fff;
	margin-bottom: 0;
}

.qf-product-gallery-flipkart .woocommerce-product-gallery {
	margin: 0;
}

.qf-product-gallery-flipkart .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.qf-product-gallery-flipkart .woocommerce-product-gallery__image {
	margin: 0;
}

.qf-product-gallery-flipkart img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	display: block;
}

/* Rating Overlay */
.qf-rating-overlay {
	position: absolute;
	bottom: 16px;
	left: 16px;
	z-index: 10;
}

.qf-rating-badge-overlay {
	background: rgba(255, 255, 255, 0.95);
	padding: 8px 12px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qf-rating-star {
	color: #4CAF50;
	font-size: 16px;
}

.qf-rating-value {
	color: #333;
	font-weight: 700;
}

.qf-rating-separator {
	color: #999;
	margin: 0 4px;
}

.qf-rating-count {
	color: #666;
}

/* Image Actions */
.qf-image-actions {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 10;
}

.qf-wishlist-image-btn,
.qf-share-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.2s;
}

.qf-wishlist-image-btn:hover,
.qf-share-btn:hover {
	background: #fff;
	transform: scale(1.05);
}

.qf-wishlist-image-btn.active {
	background: #ff6b6b;
	color: #fff;
}

.qf-wishlist-image-btn i,
.qf-share-btn i {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

/* Product Details */
.qf-product-details-flipkart {
	background: #fff;
	padding: 16px;
	margin-bottom: 0;
}

/* Selected Color */
.qf-selected-color {
	margin-bottom: 12px;
	font-size: 14px;
	color: #333;
}

.qf-color-label {
	font-weight: 500;
}

.qf-color-name {
	font-weight: 600;
	color: #2874f0;
}

/* Color Swatches */
.qf-color-swatches {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.qf-color-swatch {
	width: 50px;
	height: 50px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s;
}

.qf-color-swatch.active {
	border-color: #000;
	box-shadow: 0 0 0 1px #000;
}

.qf-color-swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Size Selection */
.qf-size-selection {
	margin-bottom: 20px;
}

.qf-size-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.qf-size-label {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.qf-size-chart-link {
	color: #2874f0;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.qf-size-options {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.qf-size-btn {
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	background: #fff;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: all 0.2s;
	min-width: 40px;
	text-align: center;
}

.qf-size-btn:hover {
	border-color: #2874f0;
	color: #2874f0;
}

.qf-size-btn.selected {
	background: #2874f0;
	color: #fff;
	border-color: #2874f0;
}

/* Product Title */
.qf-product-title-flipkart {
	font-size: 18px;
	font-weight: 500;
	color: #333;
	margin: 0 0 16px 0;
	line-height: 1.4;
}

/* Price Section */
.qf-price-section-flipkart {
	margin-bottom: 20px;
}

.qf-discount-badge-flipkart {
	background: #8e24aa;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	margin-bottom: 8px;
}

.qf-price-group-flipkart {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.qf-discount-arrow {
	font-size: 20px;
	color: #4CAF50;
	font-weight: bold;
}

.qf-discount-percentage {
	font-size: 18px;
	font-weight: 700;
	color: #4CAF50;
}

.qf-original-price {
	font-size: 16px;
	color: #999;
	text-decoration: line-through;
}

.qf-current-price {
	font-size: 24px;
	font-weight: 700;
	color: #333;
}

/* Offers Section */
.qf-offers-section-flipkart {
	background: #2874f0;
	border-radius: 8px 8px 0 0;
	margin-bottom: 20px;
	overflow: hidden;
}

.qf-offer-banner {
	background: #2874f0;
	color: #fff;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.qf-offer-logo {
	font-size: 16px;
	font-weight: 700;
}

.qf-offer-text {
	font-size: 14px;
	font-weight: 500;
}

.qf-offer-arrow {
	font-size: 18px;
	cursor: pointer;
}

.qf-offer-content {
	background: #e3f2fd;
	padding: 16px;
}

.qf-offer-price {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
}

.qf-supercoin-offer {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.qf-supercoin-amount {
	background: #ffd700;
	color: #333;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.qf-supercoin-text {
	font-size: 14px;
	color: #333;
	flex: 1;
}

.qf-apply-btn {
	background: #2874f0;
	color: #fff;
	border: none;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

/* Pincode Check */
.qf-pincode-check {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.qf-pincode-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
}

.qf-check-pincode-btn {
	background: #2874f0;
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.qf-delivery-result {
	margin-top: 8px;
}

/* Delivery Details */
.qf-delivery-details {
	margin-bottom: 20px;
}

.qf-delivery-title {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0 0 12px 0;
}

.qf-delivery-address,
.qf-delivery-time {
	background: #f0f8ff;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.qf-address-icon,
.qf-truck-icon {
	font-size: 18px;
}

.qf-address-text,
.qf-delivery-text {
	flex: 1;
	font-size: 14px;
	color: #333;
}

.qf-address-arrow {
	font-size: 16px;
	color: #666;
	cursor: pointer;
}

/* Floating Action Bar */
.qf-floating-action-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	padding: 12px 16px;
	display: flex;
	gap: 12px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	border-top: 1px solid #e0e0e0;
}

.qf-add-to-cart-btn,
.qf-buy-now-btn {
	flex: 1;
	padding: 14px 20px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
	text-transform: none;
	letter-spacing: 0;
}

.qf-add-to-cart-btn {
	background: #fff;
	color: #333;
	border: 1px solid #e0e0e0;
}

.qf-add-to-cart-btn:hover {
	background: #f5f5f5;
	border-color: #2874f0;
	color: #2874f0;
}

.qf-add-to-cart-btn:active {
	transform: translateY(1px);
}

.qf-buy-now-btn {
	background: #ffd700;
	color: #333;
	font-weight: 700;
}

.qf-buy-now-btn:hover {
	background: #ffcc02;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 204, 2, 0.3);
}

.qf-buy-now-btn:active {
	transform: translateY(0);
}

.qf-add-to-cart-btn:disabled,
.qf-buy-now-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.qf-add-to-cart-btn.view-cart-mode {
	background: #ffd700;
	color: #333;
	font-weight: 700;
}

.qf-add-to-cart-btn.view-cart-mode:hover {
	background: #ffcc02;
}

/* Reviews Section */
.qf-reviews-section-flipkart {
	background: #fff;
	padding: 16px;
	margin-bottom: 12px;
}

.qf-reviews-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0 0 16px 0;
}

.qf-reviews-summary {
	background: #f8f9fa;
	padding: 16px;
	border-radius: 8px;
	margin-bottom: 16px;
}

.qf-rating-overview {
	display: flex;
	align-items: center;
	gap: 12px;
}

.qf-avg-rating {
	font-size: 32px;
	font-weight: 700;
	color: #333;
}

.qf-rating-stars {
	display: flex;
	gap: 2px;
}

.qf-star {
	font-size: 18px;
	color: #ddd;
}

.qf-star.filled {
	color: #ffd700;
}

.qf-total-reviews {
	font-size: 14px;
	color: #666;
}

.qf-review-item {
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
}

.qf-review-item:last-child {
	border-bottom: none;
}

.qf-review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;
}

.qf-reviewer-info {
	display: flex;
	gap: 12px;
	align-items: center;
}

.qf-reviewer-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.qf-reviewer-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	display: block;
	margin-bottom: 4px;
}

.qf-review-rating {
	display: flex;
	gap: 2px;
}

.qf-star-small {
	font-size: 12px;
	color: #ddd;
}

.qf-star-small.filled {
	color: #ffd700;
}

.qf-review-date {
	font-size: 12px;
	color: #999;
}

.qf-review-content {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.qf-review-form-section {
	margin-top: 20px;
}

.qf-write-review-btn {
	width: 100%;
	padding: 12px;
	background: #2874f0;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 16px;
}

.qf-review-form-container {
	background: #f8f9fa;
	padding: 16px;
	border-radius: 8px;
}

.qf-form-group {
	margin-bottom: 16px;
}

.qf-form-group input,
.qf-form-group textarea,
.qf-form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
}

.qf-form-group input:focus,
.qf-form-group textarea:focus,
.qf-form-group select:focus {
	outline: none;
	border-color: #2874f0;
}

.qf-rating-input label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.qf-submit-review {
	background: #ffd700;
	color: #333;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* Related Products */
.qf-related-products {
	background: #fff;
	padding: 16px;
	margin-bottom: 80px;
}

.qf-related-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0 0 16px 0;
}

/* Size Chart Modal */
.qf-size-chart-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.qf-size-chart-content {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	max-width: 500px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
}

.qf-size-chart-close {
	background: #f0f0f0;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: auto;
	margin-bottom: 16px;
}

/* Modern Cart Page */
.qf-cart-page {
	background: #f8f9fa;
	min-height: 100vh;
	padding-bottom: 80px;
}

.qf-cart-header {
	background: #fff;
	padding: 16px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.qf-cart-header-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.qf-back-btn {
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qf-back-btn:hover {
	background: #f0f0f0;
}

.qf-cart-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.qf-free-delivery-banner {
	background: #e8f5e8;
	color: #2e7d32;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
}

.qf-empty-cart {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	margin: 16px;
	border-radius: 12px;
}

.qf-empty-cart-icon {
	font-size: 64px;
	color: #ddd;
	margin-bottom: 16px;
}

.qf-empty-cart h2 {
	font-size: 24px;
	color: #333;
	margin: 0 0 8px 0;
}

.qf-empty-cart p {
	color: #666;
	margin: 0 0 24px 0;
}

.qf-cart-items {
	background: #fff;
	margin: 16px;
	border-radius: 12px;
	overflow: hidden;
}

.qf-cart-item {
	padding: 16px;
	border-bottom: 1px solid #f0f0f0;
}

.qf-cart-item:last-child {
	border-bottom: none;
}

.qf-seller-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.qf-seller-name {
	font-size: 14px;
	color: #666;
}

.qf-verified-badge {
	background: #e8f5e8;
	color: #2e7d32;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.qf-cart-item-content {
	display: flex;
	gap: 12px;
}

.qf-cart-item-image {
	position: relative;
	flex-shrink: 0;
}

.qf-cart-item-image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
}

.qf-wishlist-item-btn {
	position: absolute;
	top: 4px;
	right: 4px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.qf-cart-item-details {
	flex: 1;
}

.qf-cart-item-name {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.qf-cart-item-name a {
	color: inherit;
	text-decoration: none;
}

.qf-cart-item-attributes {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.qf-attribute-tag {
	background: #f0f0f0;
	color: #666;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 12px;
}

.qf-cart-item-price {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.qf-current-price {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.qf-original-price {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
}

.qf-discount-badge {
	background: #e8f5e8;
	color: #2e7d32;
	padding: 2px 6px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
}

.qf-delivery-info {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #666;
	font-size: 12px;
	margin-bottom: 12px;
}

.qf-quantity-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.qf-quantity-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 4px;
}

.qf-qty-btn {
	background: #fff;
	border: 1px solid #e0e0e0;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.qf-qty-btn:hover {
	background: #f0f0f0;
}

.qf-qty-value {
	font-size: 14px;
	font-weight: 500;
	min-width: 20px;
	text-align: center;
}

.qf-cart-item-actions {
	display: flex;
	gap: 12px;
}

.qf-save-later-btn,
.qf-remove-btn {
	background: none;
	border: none;
	color: #666;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	padding: 4px 0;
}

.qf-save-later-btn:hover,
.qf-remove-btn:hover {
	color: #333;
}

.qf-saved-for-later {
	background: #fff;
	margin: 16px;
	padding: 16px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 14px;
}

/* Cart feature guarantees */
.qf-cart-features {
	background: #fff;
	margin: 0 16px 16px 16px;
	padding: 12px;
	border-radius: 12px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.qf-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f9fafb;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px;
}

.qf-feature-item i,
.qf-feature-item svg { width: 20px; height: 20px; stroke: #10b981; }

.qf-feature-text { display: flex; flex-direction: column; line-height: 1.1; }
.qf-feature-text strong { font-size: 13px; color: #111827; }
.qf-feature-text span { font-size: 11px; color: #6b7280; }

.qf-price-summary {
	background: #fff;
	margin: 16px;
	border-radius: 12px;
	padding: 16px;
}

.qf-price-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.qf-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #666;
}

.qf-free {
	color: #2e7d32;
	font-weight: 500;
}

.qf-price-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.qf-savings {
	color: #2e7d32;
	font-size: 14px;
	font-weight: 500;
}

.qf-place-order-section {
	padding: 16px;
	background: #fff;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.qf-place-order-btn {
	display: block;
	width: 100%;
	background: #ff6b35;
	color: #fff;
	text-align: center;
	padding: 16px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.qf-place-order-btn:hover {
	background: #e55a2b;
	color: #fff;
}

/* Hide bottom navbar on cart and checkout pages */
body.woocommerce-cart .qf-bottom-nav,
body.woocommerce-checkout .qf-bottom-nav {
	display: none;
}

/* Show place order button with higher z-index to stay above other elements */
body.woocommerce-cart .qf-place-order-section,
body.woocommerce-checkout .qf-place-order-section {
	z-index: 1000;
}

/* Hide checkout step indicators on cart and checkout pages */
.qf-cart-steps,
.qf-breadcrumb-steps {
	display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.qf-product-gallery-flipkart img {
		height: 400px;
	}
	
	.qf-floating-action-bar {
		padding: 10px 12px;
	}
	
	.qf-add-to-cart-btn,
	.qf-buy-now-btn {
		padding: 12px 16px;
		font-size: 14px;
	}
	
	.qf-reviews-summary {
		padding: 12px;
	}
	
	.qf-avg-rating {
		font-size: 24px;
	}
	
	.qf-cart-item-content {
		flex-direction: column;
	}
	
	.qf-cart-item-image {
		align-self: flex-start;
	}
	
	.qf-cart-item-image img {
		width: 100px;
		height: 100px;
	}
	
	.qf-quantity-section {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.qf-cart-item-actions {
		width: 100%;
		justify-content: space-between;
	}
}

.qf-product-gallery {
	background: var(--white);
	margin-bottom: 0;
	padding-bottom: 16px;
}

.qf-product-details {
	background: var(--white);
	padding: 16px;
	margin-bottom: 12px;
}

/* Category Badge */
.qf-category-badge {
	display: inline-block;
	background: #f3e8ff;
	color: #7c3aed;
	font-size: 10px;
	padding: 5px 12px;
	border-radius: 14px;
	font-weight: 700;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.qf-product-name {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 14px;
	line-height: 1.3;
	color: var(--dark);
}

.qf-single-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border);
}

.qf-rating-badge-large {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: var(--white);
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.qf-rating-badge-large .qf-star-icon {
	width: 15px;
	height: 15px;
	fill: var(--white);
	stroke: none;
}

.qf-rating-text {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.qf-rating-count {
	font-size: 13px;
	color: var(--gray);
	font-weight: 500;
}

/* Price Section (Meesho Style) */
.qf-price-section {
	background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
	padding: 20px;
	border-radius: 12px;
	margin-bottom: 12px;
	border: 1px solid #fed7aa;
}

.qf-price-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.qf-single-price-current {
	font-size: 32px;
	font-weight: 700;
	color: var(--dark);
	letter-spacing: -0.5px;
}

.qf-single-price-original {
	font-size: 20px;
	font-weight: 400;
	color: var(--gray);
	text-decoration: line-through;
}

.qf-discount-badge {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: var(--white);
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.qf-price-inclusive {
	font-size: 12px;
	color: #92400e;
	margin: 0;
	font-weight: 500;
}

.qf-single-price {
	font-size: 24px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 16px;
}

/* Offers Section */
.qf-offers-section { background: #fff; padding: 16px; margin: 16px; border-radius: 12px; }
.qf-offers-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.qf-offers-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #111827; }
.qf-offers-title i, .qf-offers-title svg { width: 20px; height: 20px; stroke: var(--primary); }
.qf-coupon-inputs { display: flex; gap: 10px; }
.qf-coupon-inputs input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.qf-apply-coupon-btn { padding: 10px 16px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }

.qf-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 14px;
}

.qf-section-title i,
.qf-section-title svg {
	width: 20px;
	height: 20px;
	stroke: var(--primary);
	flex-shrink: 0;
}

.qf-offer-cards { display: grid; gap: 10px; }

.qf-offer-card { display: flex; align-items: center; gap: 12px; background: #f8fafc; padding: 14px; border-radius: 10px; border: 1px solid var(--border); transition: transform 0.2s ease; }

.qf-offer-card:hover {
	transform: translateY(-2px);
}

.qf-offer-card i, .qf-offer-card svg { width: 28px; height: 28px; stroke: #0ea5e9; flex-shrink: 0; }

.qf-offer-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.qf-offer-content strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
}

.qf-offer-line { display: flex; align-items: center; gap: 8px; }
.qf-offer-code { background: #e0f2fe; color: #0369a1; border: 1px dashed #93c5fd; font-size: 11px; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.qf-offer-title { font-size: 14px; color: #0f172a; }
.qf-offer-content span { font-size: 12px; color: #0369a1; font-weight: 500; }
.qf-apply-chip { margin-left: auto; background: #e0f2fe; color: #0369a1; border: 1px solid #93c5fd; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* Delivery Section */
.qf-delivery-section {
	background: var(--white);
	padding: 16px;
	margin-bottom: 12px;
	border-radius: 12px;
}

.qf-delivery-info {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}

.qf-pincode-input {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s;
}

.qf-pincode-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.qf-check-btn {
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	color: var(--white);
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(147, 51, 234, 0.3);
}

.qf-check-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

.qf-delivery-estimate {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--dark);
	margin: 0;
	padding: 10px;
	background: #fef3c7;
	border-radius: 8px;
	font-weight: 500;
}

.qf-delivery-estimate i,
.qf-delivery-estimate svg {
	width: 18px;
	height: 18px;
	stroke: #f59e0b;
	flex-shrink: 0;
}

/* Product Details Section */
.qf-details-section {
	background: var(--white);
	padding: 16px;
	margin-bottom: 12px;
	border-radius: 12px;
}

.qf-product-description {
	font-size: 14px;
	line-height: 1.7;
	color: var(--dark);
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.qf-product-specifications {
	background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
	padding: 16px;
	border-radius: 10px;
	border: 1px solid var(--border);
}

.qf-spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	font-size: 14px;
	border-bottom: 1px solid #e5e7eb;
}

.qf-spec-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.qf-spec-row:first-child {
	padding-top: 0;
}

.qf-spec-label {
	color: var(--gray);
	font-weight: 500;
}

.qf-spec-value {
	color: var(--dark);
	font-weight: 600;
	text-align: right;
}

.qf-spec-value.qf-in-stock {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--success);
	background: #dcfce7;
	padding: 4px 10px;
	border-radius: 6px;
}

.qf-spec-value.qf-in-stock i,
.qf-spec-value.qf-in-stock svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	flex-shrink: 0;
}

.qf-short-description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--gray);
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.qf-product-meta {
	margin-bottom: 20px;
}

.qf-meta-row {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
}

.qf-meta-label {
	color: var(--gray);
	min-width: 80px;
}

.qf-meta-value {
	color: var(--dark);
}

/* Description Section */
.qf-description-section {
	background: var(--white);
	padding: 16px;
	margin-bottom: 12px;
	border-radius: 12px;
}

.qf-description-content {
	font-size: 14px;
	line-height: 1.7;
	color: var(--dark);
}

.qf-description-content p {
	margin-bottom: 12px;
}

/* Reviews Section (Meesho Style) */
.qf-reviews-section {
	background: var(--white);
	padding: 16px;
	margin-bottom: 12px;
	border-radius: 12px;
}

.qf-reviews-header {
	margin-bottom: 16px;
}

.qf-reviews-summary {
	margin-top: 12px;
	padding: 16px;
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border-radius: 10px;
	border: 1px solid #fbbf24;
}

.qf-rating-overview {
	display: flex;
	align-items: center;
	gap: 12px;
}

.qf-avg-rating {
	font-size: 36px;
	font-weight: 700;
	color: var(--dark);
	line-height: 1;
}

.qf-total-reviews {
	font-size: 14px;
	color: var(--gray);
	font-weight: 500;
}

/* Write Review Button */
.qf-write-review-btn {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	color: var(--white);
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(147, 51, 234, 0.3);
	transition: all 0.2s;
}

.qf-write-review-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

.qf-write-review-btn i,
.qf-write-review-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

/* Review Form */
.qf-review-form-container {
	background: #f9fafb;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	border: 1px solid var(--border);
}

.qf-rating-input {
	margin-bottom: 16px;
}

.qf-rating-input label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 8px;
}

.qf-rating-input select {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
}

.qf-form-group {
	margin-bottom: 16px;
}

.qf-form-group input,
.qf-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s;
}

.qf-form-group input:focus,
.qf-form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.qf-submit-review {
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	color: var(--white);
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.qf-submit-review:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

/* Reviews List */
.qf-reviews-list {
	margin-top: 20px;
}

.qf-review-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.qf-review-item:last-child {
	border-bottom: none;
}

.qf-review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.qf-reviewer-info {
	display: flex;
	gap: 12px;
	align-items: center;
}

.qf-reviewer-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.qf-reviewer-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
	display: block;
	margin-bottom: 4px;
}

.qf-review-rating {
	display: flex;
	gap: 2px;
}

.qf-star-small {
	width: 14px;
	height: 14px;
	stroke: #fbbf24;
	fill: none;
}

.qf-star-small.filled {
	fill: #fbbf24;
	stroke: #fbbf24;
}

.qf-review-date {
	font-size: 12px;
	color: var(--gray);
}

.qf-review-content {
	font-size: 14px;
	line-height: 1.6;
	color: var(--dark);
	margin-bottom: 12px;
}

.qf-review-content p {
	margin-bottom: 8px;
}

/* Review Actions */
.qf-review-actions {
	display: flex;
	gap: 10px;
}

.qf-helpful-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f3f4f6;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-size: 13px;
	color: var(--gray);
	cursor: pointer;
	transition: all 0.2s;
}

.qf-helpful-btn:hover {
	background: #e5e7eb;
	color: var(--dark);
}

.qf-helpful-btn.active {
	background: #dbeafe;
	border-color: #3b82f6;
	color: #3b82f6;
}

.qf-helpful-btn i,
.qf-helpful-btn svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

.qf-helpful-count {
	font-weight: 600;
}

/* No Reviews */
.qf-no-reviews {
	text-align: center;
	padding: 40px 20px;
	color: var(--gray);
}

.qf-no-reviews i,
.qf-no-reviews svg {
	width: 48px;
	height: 48px;
	stroke: var(--gray);
	margin-bottom: 12px;
}

.qf-no-reviews p {
	font-size: 14px;
	margin: 0;
}

/* Floating Action Bar */
.qf-floating-bar {
	position: fixed;
	bottom: 60px;
	left: 0;
	right: 0;
	background: var(--white);
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	padding: 12px 16px;
	display: flex;
	gap: 12px;
	align-items: center;
	z-index: 998;
}

.qf-wishlist-floating {
	background: var(--light-gray);
	border: 1px solid var(--border);
	width: 48px;
	height: 48px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	color: var(--accent);
}

.qf-wishlist-floating svg,
.qf-wishlist-floating i {
	width: 24px;
	height: 24px;
	stroke: var(--accent);
}

.qf-wishlist-floating.active {
	background: #fee2e2;
	border-color: var(--accent);
}

.qf-wishlist-floating.active svg.filled,
.qf-wishlist-floating.active i.filled {
	fill: var(--accent);
}

.qf-action-buttons {
	display: flex;
	gap: 8px;
	flex: 1;
}

.qf-btn-cart {
	flex: 1;
	background: var(--white);
	border: 2px solid var(--primary);
	color: var(--primary);
}

.qf-btn-buy {
	flex: 1;
	background: var(--primary);
	color: var(--white);
}

.qf-btn-cart:hover {
	background: #f3e8ff;
}

.qf-btn-buy:hover {
	background: #7c3aed;
}

/* Mobile: Hide search on very small screens */
@media (max-width: 480px) {
	.qf-header-container {
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 8px;
		padding: 8px 12px;
	}

	.qf-search {
		order: 3;
		width: 100%;
		max-width: 100%;
		margin-top: 4px;
	}
}

/* ========== SIDEBAR CART ========== */
.qf-cart-sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	width: 90%;
	max-width: 420px;
	height: 100vh;
	background: var(--white);
	box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.qf-cart-sidebar.active {
	right: 0;
}

.qf-cart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 2px solid var(--border);
	background: var(--primary);
	color: var(--white);
}

.qf-cart-header h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: var(--white);
}

.qf-cart-header i,
.qf-cart-header svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}

.qf-cart-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.qf-cart-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.qf-cart-close i,
.qf-cart-close svg {
	width: 20px;
	height: 20px;
	stroke: var(--white);
}

.qf-cart-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
}

.qf-cart-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.qf-cart-item {
	display: flex;
	gap: 12px;
	padding: 12px;
	background: var(--light-gray);
	border-radius: 10px;
	border: 1px solid var(--border);
}

.qf-cart-item-image {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--white);
}

.qf-cart-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qf-cart-item-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.qf-cart-item-name {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
	color: var(--dark);
}

.qf-cart-item-name a {
	color: var(--dark);
	text-decoration: none;
}

.qf-cart-item-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
}

.qf-cart-item-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 4px;
}

.qf-quantity-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 4px 8px;
}

.qf-qty-btn {
	background: none;
	border: none;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--dark);
	transition: all 0.2s;
}

.qf-qty-btn:hover {
	color: var(--primary);
}

.qf-qty-btn i,
.qf-qty-btn svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

.qf-qty-value {
	font-size: 14px;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
}

.qf-cart-remove {
	background: #fee2e2;
	border: 1px solid #fecaca;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.qf-cart-remove:hover {
	background: #fecaca;
}

.qf-cart-remove i,
.qf-cart-remove svg {
	width: 16px;
	height: 16px;
	stroke: #dc2626;
}

.qf-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	text-align: center;
	color: var(--gray);
}

.qf-cart-empty i,
.qf-cart-empty svg {
	width: 64px;
	height: 64px;
	stroke: var(--gray);
	margin-bottom: 16px;
}

.qf-cart-empty p {
	font-size: 16px;
	margin: 0 0 20px 0;
}

.qf-cart-footer {
	padding: 16px 20px;
	border-top: 2px solid var(--border);
	background: var(--light-gray);
}

.qf-cart-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	margin-bottom: 12px;
	font-size: 16px;
}

.qf-cart-total strong {
	font-size: 20px;
	color: var(--primary);
}

.qf-btn-checkout {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	color: var(--white);
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	margin-bottom: 10px;
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
	transition: all 0.2s;
	text-decoration: none;
}

.qf-btn-checkout:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(147, 51, 234, 0.4);
}

.qf-btn-checkout i,
.qf-btn-checkout svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.qf-btn-view-cart {
	width: 100%;
	padding: 12px;
	background: var(--white);
	color: var(--primary);
	border: 2px solid var(--primary);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	display: block;
}

.qf-btn-view-cart:hover {
	background: var(--primary);
	color: var(--white);
}

.qf-cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.qf-cart-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* ========== MEESHO-STYLE CHECKOUT ========== */
.qf-checkout-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 16px;
	background: var(--light-gray);
}

/* Address card */
.qf-address-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:14px; margin-bottom:14px; }
.qf-address-card-header { display:flex; align-items:center; gap:10px; }
.qf-address-card-header strong { font-size:16px; color:#111827; }
.qf-address-badge { background:#e9fce9; color:#15803d; font-size:11px; padding:2px 8px; border-radius:9999px; font-weight:700; }
.qf-address-actions { margin-left:auto; display:flex; gap:8px; }
.qf-address-actions button { background:#f3f4f6; border:1px solid var(--border); width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.qf-address-card-body { margin-top:8px; color:#374151; font-size:14px; display:flex; flex-direction:column; gap:4px; }
.qf-address-form-actions { display:flex; gap:10px; margin-top:10px; }

/* Progress Steps */
.qf-checkout-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	padding: 24px 16px;
	border-radius: 12px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qf-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 1;
	position: relative;
}

.qf-step-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--light-gray);
	border: 2px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.3s;
}

.qf-step-circle i,
.qf-step-circle svg {
	width: 20px;
	height: 20px;
	stroke: var(--gray);
	display: block;
}

.qf-step-number {
	display: none;
	font-size: 18px;
	font-weight: 700;
	color: var(--gray);
}

.qf-step.active .qf-step-circle {
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.qf-step.active .qf-step-circle i,
.qf-step.active .qf-step-circle svg {
	stroke: var(--white);
}

.qf-step.completed .qf-step-circle {
	background: var(--success);
	border-color: var(--success);
}

.qf-step.completed .qf-step-circle i,
.qf-step.completed .qf-step-circle svg {
	display: none;
}

.qf-step.completed .qf-step-number {
	display: block;
	color: var(--white);
}

.qf-step-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--gray);
	text-align: center;
}

.qf-step.active .qf-step-label {
	color: var(--primary);
}

.qf-step-line {
	flex: 1;
	height: 2px;
	background: var(--border);
	margin: 0 8px;
	max-width: 80px;
}

.qf-step.active ~ .qf-step-line,
.qf-step.completed ~ .qf-step-line {
	background: var(--primary);
}

/* Checkout Steps */
.qf-checkout-step {
	display: none;
	background: var(--white);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qf-checkout-step.active {
	display: block;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.qf-step-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--border);
}

.qf-step-header h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--dark);
}

.qf-step-header h2 i,
.qf-step-header h2 svg {
	width: 24px;
	height: 24px;
	stroke: var(--primary);
}

.qf-step-header p {
	margin: 0;
	color: var(--gray);
	font-size: 14px;
}

.qf-step-content {
	margin-top: 20px;
}

/* Form Fields */
.qf-billing-fields .form-row,
.qf-shipping-fields .form-row {
	margin-bottom: 16px;
}

.qf-billing-fields label,
.qf-shipping-fields label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--dark);
	margin-bottom: 8px;
}

.qf-billing-fields input[type="text"],
.qf-billing-fields input[type="email"],
.qf-billing-fields input[type="tel"],
.qf-billing-fields select,
.qf-billing-fields textarea,
.qf-shipping-fields input[type="text"],
.qf-shipping-fields input[type="email"],
.qf-shipping-fields input[type="tel"],
.qf-shipping-fields select,
.qf-shipping-fields textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s;
}

.qf-billing-fields input:focus,
.qf-billing-fields select:focus,
.qf-billing-fields textarea:focus,
.qf-shipping-fields input:focus,
.qf-shipping-fields select:focus,
.qf-shipping-fields textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

/* Payment Methods */
.qf-payment-methods {
	margin-bottom: 24px;
}

.qf-payment-methods .wc_payment_methods {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.qf-payment-methods .wc_payment_method {
	background: var(--light-gray);
	border: 2px solid var(--border);
	border-radius: 10px;
	padding: 16px;
	cursor: pointer;
	transition: all 0.2s;
}

.qf-payment-methods .wc_payment_method:hover {
	border-color: var(--primary);
	background: #f3e8ff;
}

.qf-payment-methods .wc_payment_method input[type="radio"] {
	margin-right: 10px;
}

.qf-payment-methods label {
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
	cursor: pointer;
}

/* Order Summary Card */
.qf-order-summary-card {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 2px solid #fbbf24;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}

.qf-order-summary-card h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px 0;
	color: var(--dark);
}

.qf-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	font-size: 14px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.qf-summary-row:last-of-type {
	border-bottom: none;
}

.qf-summary-row.qf-discount {
	color: var(--success);
}

.qf-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0 0 0;
	margin-top: 16px;
	border-top: 2px solid rgba(0, 0, 0, 0.2);
	font-size: 18px;
}

.qf-summary-total strong {
	font-size: 24px;
	color: var(--primary);
	font-weight: 700;
}

/* Step Buttons */
.qf-step-buttons {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.qf-btn-next,
.qf-btn-place-order {
	flex: 1;
	padding: 14px 24px;
	background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
	color: var(--white);
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
	transition: all 0.2s;
}

.qf-btn-next:hover,
.qf-btn-place-order:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(147, 51, 234, 0.4);
}

.qf-btn-next i,
.qf-btn-next svg,
.qf-btn-place-order i,
.qf-btn-place-order svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.qf-btn-secondary.qf-prev-step {
	padding: 14px 24px;
	background: var(--white);
	color: var(--primary);
	border: 2px solid var(--primary);
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s;
}

.qf-btn-secondary.qf-prev-step:hover {
	background: var(--primary);
	color: var(--white);
}

.qf-btn-secondary.qf-prev-step i,
.qf-btn-secondary.qf-prev-step svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

/* Order Review Table */
.qf-order-review table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
}

.qf-order-review th,
.qf-order-review td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.qf-order-review th {
	font-weight: 600;
	color: var(--dark);
	background: var(--light-gray);
}

@media (min-width: 768px) {
	.qf-floating-bar {
		bottom: 0;
	}

	.qf-filter-toolbar {
		top: 70px;
	}

	.qf-panel {
		max-width: 400px;
	}

	.qf-checkout-progress {
		padding: 32px 40px;
	}

	.qf-step-label {
		font-size: 14px;
	}

	.qf-step-circle {
		width: 56px;
		height: 56px;
	}

	.qf-checkout-step {
		padding: 32px;
	}
}
