/* ==========================================================================
   Blocksy Child Interactive - Modern WooCommerce & UI Stylesheet
   ========================================================================== */

:root {
	--bc-primary: #6366f1;
	--bc-primary-hover: #4f46e5;
	--bc-accent-green: #10b981;
	--bc-accent-orange: #f59e0b;
	--bc-accent-red: #ef4444;
	--bc-card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	--bc-hover-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.18);
	--bc-glass-bg: rgba(255, 255, 255, 0.85);
	--bc-dark-glass-bg: rgba(15, 23, 42, 0.94);
	--bc-radius: 14px;
	--bc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide generic in-stock badge to keep overlay clean for Sale & Stock Alerts */
.bc-badge-instock,
.ct-badge-instock {
	display: none !important;
}

/* ==========================================================================
   1. Edge-to-Edge Full Width Shop & Single Product Title Hero Banner
   ========================================================================== */

.bc-shop-main-layout *,
.woocommerce-products-header,
.woocommerce-products-header * {
	background-image: none !important;
}

/* Apply background image EXCLUSIVELY to top shop hero header */
[data-hero],
.ct-hero-section,
.ct-page-title,
[data-id="hero"],
[data-id="page-title"],
header.entry-header:not(.bc-card-header),
.hero-section {
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	width: 100vw !important;
	max-width: 100vw !important;
	background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.78)), url('https://gallecityonline.lk/wp-content/uploads/2026/07/dfgdf.webp') !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	color: #ffffff !important;
	padding: 42px 20px !important;
	min-height: 120px !important;
	text-align: center !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
	margin-top: 0 !important;
	margin-bottom: 24px !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

/* Single Product Page Hero Banner: Sleek Compact Height & Product Name */
.single-product [data-hero],
.single-product .ct-hero-section,
.single-product .ct-page-title,
.single-product [data-id="hero"],
.single-product [data-id="page-title"],
.single-product header.entry-header:not(.bc-card-header) {
	padding: 24px 20px !important;
	min-height: 80px !important;
	margin-bottom: 20px !important;
}

.single-product [data-hero] h1,
.single-product .ct-hero-section h1,
.single-product .ct-page-title h1,
.single-product [data-id="hero"] h1,
.single-product [data-id="page-title"] h1,
.single-product header.entry-header h1 {
	font-size: 1.8rem !important;
	margin: 0 !important;
}

[data-hero] h1,
.ct-hero-section h1,
.ct-page-title h1,
[data-id="hero"] h1,
[data-id="page-title"] h1,
header.entry-header h1,
.page-title {
	color: #ffffff !important;
	font-size: 2.4rem !important;
	font-weight: 800 !important;
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
	margin: 0 0 6px 0 !important;
	letter-spacing: -0.5px !important;
}

.ct-page-title .ct-breadcrumbs,
[data-id="page-title"] .ct-breadcrumbs,
.ct-breadcrumbs {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 0.88rem !important;
}

.ct-page-title .ct-breadcrumbs a,
[data-id="page-title"] .ct-breadcrumbs a,
.ct-breadcrumbs a {
	color: rgba(255, 255, 255, 0.95) !important;
	text-decoration: none !important;
}

/* Mobile View Hero Banner */
@media (max-width: 768px) {
	[data-hero],
	.ct-hero-section,
	.ct-page-title,
	[data-id="hero"],
	[data-id="page-title"],
	header.entry-header {
		left: 0 !important;
		right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 36px 16px !important;
		min-height: 130px !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 0 !important;
	}

	.single-product [data-hero],
	.single-product .ct-page-title,
	.single-product header.entry-header {
		padding: 20px 16px !important;
		min-height: 70px !important;
	}

	[data-hero] h1,
	.ct-page-title h1,
	header.entry-header h1 {
		font-size: 1.8rem !important;
	}
}

/* ==========================================================================
   2. Single Product Page: Interactive Swatches & Action Buttons (Add to Cart / View Cart / Buy Now)
   ========================================================================== */

form.cart,
.single-product form.cart {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
}

.bc-swatch-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 16px 0;
	width: 100%;
}

.bc-swatch-btn {
	min-width: 44px;
	padding: 9px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	background: #ffffff;
	color: #1e293b;
	cursor: pointer;
	transition: var(--bc-transition);
	outline: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.bc-swatch-btn:hover {
	border-color: var(--bc-primary);
	color: var(--bc-primary);
	transform: translateY(-1px);
}

.bc-swatch-btn.is-selected {
	border-color: var(--bc-primary);
	background: var(--bc-primary);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* Completely HIDE Add to Cart button ONLY when View Cart replaces it (item added to cart) or explicitly set bc-hidden */
body.bc-item-in-cart .single_add_to_cart_button,
form.cart:has(a.added_to_cart) .single_add_to_cart_button,
.single-product .cart:has(a.added_to_cart) .single_add_to_cart_button,
.product .cart:has(a.added_to_cart) .single_add_to_cart_button,
.single_add_to_cart_button.added,
.single_add_to_cart_button.is-added-cart,
.single_add_to_cart_button.bc-hidden {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Full Replacement Vibrant Blue View Cart Action Button & Add to Cart */
a.added_to_cart,
a.added_to_cart.wc-forward,
.single-product a.added_to_cart,
.single-product .cart a.button.wc-forward,
.single_add_to_cart_button,
button.single_add_to_cart_button,
.bc-primary-view-cart-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--bc-primary) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	padding: 13px 28px !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35) !important;
	transition: var(--bc-transition) !important;
	min-height: 46px !important;
	margin-left: 0 !important;
	border: none !important;
	cursor: pointer !important;
}

a.added_to_cart:hover,
a.added_to_cart.wc-forward:hover,
.single-product a.added_to_cart:hover,
.single-product .cart a.button.wc-forward:hover,
.single_add_to_cart_button:hover,
.bc-primary-view-cart-btn:hover {
	background: var(--bc-primary-hover) !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45) !important;
}

/* Disabled Add to Cart State */
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.wc-variation-is-unavailable {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
	background: #94a3b8 !important;
	transform: none !important;
}

/* Buy Now Instant Checkout Button (Vibrant Green) */
.bc-buy-now-btn,
button.bc-buy-now-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	background: var(--bc-accent-green) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	padding: 13px 28px !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
	transition: var(--bc-transition) !important;
	min-height: 46px !important;
	border: none !important;
	cursor: pointer !important;
}

.bc-buy-now-btn:hover,
button.bc-buy-now-btn:hover {
	background: #059669 !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45) !important;
}

/* Disabled Buy Now state */
.bc-buy-now-btn.disabled,
.bc-buy-now-btn:disabled,
button.bc-buy-now-btn:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
	background: #94a3b8 !important;
	transform: none !important;
}

.bc-buy-now-btn.bc-hidden {
	display: none !important;
}

/* Out of Stock Variation Swatches */
.bc-swatch-btn.is-out-of-stock,
.bc-swatch-btn.is-disabled {
	opacity: 0.45 !important;
	text-decoration: line-through !important;
	background: #f1f5f9 !important;
	color: #94a3b8 !important;
	border-color: #cbd5e1 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

/* WooCommerce Variation Table & Swatches Styling */
table.variations {
	width: 100% !important;
	border-collapse: collapse !important;
	border: none !important;
	margin-bottom: 16px !important;
}

table.variations tr {
	display: block !important;
	margin-bottom: 14px !important;
}

table.variations th.label {
	display: block !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	color: #0f172a !important;
	padding: 0 0 6px 0 !important;
	text-align: left !important;
}

table.variations td.value {
	display: block !important;
	padding: 0 !important;
}

.reset_variations {
	display: inline-block !important;
	margin-left: 10px !important;
	font-size: 0.82rem !important;
	color: #64748b !important;
	text-decoration: underline !important;
}

/* Related Products Section Styling (Forced Visible on Desktop, Tablet & Mobile) */
.related.products,
.single-product .related.products,
section.related.products,
div.related.products,
[data-products="related"] {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-top: 40px !important;
	padding-top: 30px !important;
	border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
	width: 100% !important;
	clear: both !important;
}

.related.products > h2,
.single-product .related.products > h2 {
	display: block !important;
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	margin-bottom: 24px !important;
	color: #0f172a !important;
	letter-spacing: -0.5px !important;
}

.related.products ul.products,
.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 20px !important;
}

@media (max-width: 768px) {
	.related.products,
	.single-product .related.products,
	section.related.products,
	div.related.products {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		margin-top: 24px !important;
		padding-top: 20px !important;
	}

	.related.products ul.products,
	.single-product .related.products ul.products {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}
}

@media (max-width: 480px) {
	.related.products ul.products,
	.single-product .related.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}

/* Large prominent product photo display */
.single-product .woocommerce-product-gallery__image:not(.zoomImg) img:not(.zoomImg),
.single-product .woocommerce-product-gallery figure img:not(.zoomImg),
.single-product .product .images img:not(.zoomImg),
.bc-quickview-main-image img {
	object-fit: contain !important;
	width: 100% !important;
	height: auto !important;
	max-height: 640px !important;
	display: block !important;
	margin: 0 auto !important;
	border-radius: 12px;
}

.single-product .woocommerce-product-gallery__image {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
}

/* WooCommerce Zoom JS overlay image (.zoomImg) */
.single-product .zoomImg {
	max-height: none !important;
	width: auto !important;
	height: auto !important;
	object-fit: unset !important;
	opacity: 0;
	transition: opacity 0.2s ease;
	cursor: crosshair !important;
}

.single-product .woocommerce-product-gallery__image:hover .zoomImg {
	opacity: 1;
}

.single-product .woocommerce-product-gallery__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100% !important;
}

/* Thumbnails */
.single-product .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery .thumbnails img {
	object-fit: contain !important;
	border-radius: 8px;
}

/* ==========================================================================
   3. Cart & Checkout / Billing Page Container Margins & Card Layout
   ========================================================================== */

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-cart .ct-container,
.woocommerce-checkout .ct-container,
.woocommerce-cart main,
.woocommerce-checkout main,
.woocommerce-cart article,
.woocommerce-checkout article {
	max-width: 1200px !important;
	margin: 30px auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box !important;
}

.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout form.checkout,
.woocommerce-checkout #order_review {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 18px !important;
	padding: 30px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
	margin-bottom: 30px !important;
	box-sizing: border-box !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
	border-radius: 10px !important;
	padding: 10px 14px !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: none !important;
	transition: var(--bc-transition) !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
	border-color: var(--bc-primary) !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

@media (max-width: 768px) {
	.woocommerce-cart .entry-content,
	.woocommerce-checkout .entry-content,
	.woocommerce-cart .ct-container,
	.woocommerce-checkout .ct-container,
	.woocommerce-cart main,
	.woocommerce-checkout main,
	.woocommerce-cart article,
	.woocommerce-checkout article {
		padding-left: 16px !important;
		padding-right: 16px !important;
		margin: 15px auto !important;
	}

	.woocommerce-cart form.woocommerce-cart-form,
	.woocommerce-cart .cart-collaterals,
	.woocommerce-checkout form.checkout {
		padding: 18px !important;
		border-radius: 14px !important;
	}
}

/* ==========================================================================
   4. Embedded Live Search Bar & Shop Interactive Header Controls
   ========================================================================== */

.bc-shop-interactive-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 10px 18px;
	border-radius: 14px;
	margin-bottom: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.bc-interactive-search-form {
	display: flex;
	align-items: center;
	position: relative;
	flex: 1 1 220px;
	max-width: 300px;
}

.bc-interactive-search-form svg {
	position: absolute;
	left: 12px;
	color: #64748b;
	pointer-events: none;
}

.bc-interactive-search-form input.bc-search-field {
	width: 100% !important;
	padding: 8px 14px 8px 36px !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	border-radius: 20px !important;
	font-size: 0.88rem !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	outline: none !important;
	transition: var(--bc-transition) !important;
}

.bc-interactive-search-form input.bc-search-field:focus {
	border-color: var(--bc-primary) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.bc-mobile-filter-icon-btn {
	display: none;
}

.bc-stock-pills-wrap {
	display: inline-flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.04);
	padding: 4px;
	border-radius: 24px;
	gap: 4px;
}

.bc-stock-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	background: transparent;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: var(--bc-transition);
}

.bc-stock-pill:hover {
	color: #0f172a;
}

.bc-stock-pill.is-active {
	background: var(--bc-primary);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.bc-view-switcher {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bc-view-btn {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 7px;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--bc-transition);
}

.bc-view-btn:hover,
.bc-view-btn.is-active {
	background: var(--bc-primary);
	color: #ffffff;
	border-color: var(--bc-primary);
}

@media (max-width: 768px) {
	.bc-shop-main-layout {
		display: block;
	}

	.bc-shop-interactive-bar {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 8px 12px !important;
		margin-bottom: 16px !important;
		height: auto !important;
		gap: 8px !important;
		border-radius: 18px !important;
	}

	.bc-interactive-search-form {
		order: 1 !important;
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}

	.bc-mobile-filter-icon-btn {
		order: 2 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #0f172a !important;
		color: #ffffff !important;
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		border-radius: 50% !important;
		border: none !important;
		cursor: pointer !important;
		box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2) !important;
		flex-shrink: 0 !important;
	}

	.bc-stock-pills-wrap {
		order: 3 !important;
		display: inline-flex !important;
		flex-wrap: nowrap !important;
		background: transparent !important;
		padding: 0 !important;
		gap: 4px !important;
	}

	.bc-stock-pill {
		padding: 6px 10px !important;
		font-size: 0.78rem !important;
		white-space: nowrap !important;
	}

	.bc-view-switcher {
		display: none !important;
	}
}

/* ==========================================================================
   5. Desktop Left Sidebar Layout & Shoe Size Filter Widget (36 to 48)
   ========================================================================== */

/* Hide default theme widget sidebar on shop and product archive pages to guarantee ONLY ONE filter sidebar */
body.post-type-archive-product .ct-sidebar:not(.bc-desktop-sidebar),
body.tax-product_cat .ct-sidebar:not(.bc-desktop-sidebar),
body.tax-product_tag .ct-sidebar:not(.bc-desktop-sidebar),
body.woocommerce-shop .ct-sidebar:not(.bc-desktop-sidebar),
body.archive .ct-sidebar:not(.bc-desktop-sidebar),
.bc-shop-main-layout ~ .ct-sidebar,
.bc-shop-main-layout ~ #secondary,
#secondary:not(.bc-desktop-sidebar),
aside.sidebar:not(.bc-desktop-sidebar) {
	display: none !important;
}

.bc-shop-main-layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	width: 100%;
}

.bc-shop-content {
	flex: 1 1 0%;
	min-width: 0;
}

.bc-desktop-sidebar {
	width: 280px;
	flex-shrink: 0;
	position: sticky;
	top: 100px;
	z-index: 10;
}

.bc-persistent-filter-sidebar {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.bc-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid rgba(0, 0, 0, 0.05);
	padding-bottom: 12px;
	margin-bottom: 18px;
}

.bc-sidebar-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #0f172a;
}

.bc-sidebar-close-btn {
	display: none;
	background: rgba(0, 0, 0, 0.06);
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 1.3rem;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.bc-sidebar-widget {
	margin-bottom: 22px;
}

.bc-widget-title {
	font-size: 0.88rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #64748b;
	margin-bottom: 12px;
}

/* Shoe Size Filter Grid (36 to 48) */
.bc-size-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bc-size-filter-pill {
	min-width: 38px;
	height: 34px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.82rem;
	background: #f8fafc;
	color: #1e293b;
	cursor: pointer;
	transition: var(--bc-transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
}

.bc-size-filter-pill:hover,
.bc-size-filter-pill.is-active {
	background: var(--bc-primary);
	color: #ffffff;
	border-color: var(--bc-primary);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28);
}

/* Price Range Slider Widget */
.bc-price-readout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bc-primary);
	margin-bottom: 10px;
	background: rgba(99, 102, 241, 0.06);
	padding: 8px 12px;
	border-radius: 8px;
}

.bc-range-inputs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.bc-range-inputs input[type="range"] {
	accent-color: var(--bc-primary);
	cursor: pointer;
	width: 100%;
}

.bc-price-filter-apply-btn {
	width: 100%;
	background: var(--bc-primary);
	color: #ffffff;
	border: none;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--bc-transition);
}

.bc-price-filter-apply-btn:hover {
	background: var(--bc-primary-hover);
}

/* Stock Options */
.bc-sidebar-stock-opts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bc-radio-opt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #1e293b;
	cursor: pointer;
}

.bc-radio-opt input {
	accent-color: var(--bc-primary);
}

/* Categories List */
.bc-sidebar-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-sidebar-cat-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-radius: 8px;
	color: #334155;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: var(--bc-transition);
}

.bc-sidebar-cat-list li:hover a,
.bc-sidebar-cat-list li.is-active a {
	background: rgba(99, 102, 241, 0.08);
	color: var(--bc-primary);
	font-weight: 600;
}

.bc-cat-count {
	background: rgba(0, 0, 0, 0.05);
	font-size: 0.78rem;
	padding: 2px 8px;
	border-radius: 12px;
	color: #64748b;
}

.bc-reset-btn {
	display: block;
	text-align: center;
	background: rgba(239, 68, 68, 0.08);
	color: var(--bc-accent-red);
	font-weight: 600;
	font-size: 0.88rem;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	transition: var(--bc-transition);
}

.bc-reset-btn:hover {
	background: var(--bc-accent-red);
	color: #ffffff;
}

@media (max-width: 768px) {
	.bc-desktop-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: 320px;
		height: 100vh;
		max-width: 85vw;
		background: #ffffff;
		z-index: 99999;
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
	}

	.bc-desktop-sidebar.is-open {
		transform: translateX(0);
	}

	.bc-sidebar-close-btn {
		display: inline-flex;
	}

	.bc-persistent-filter-sidebar {
		border: none;
		box-shadow: none;
		border-radius: 0;
		padding: 20px;
	}
}

/* ==========================================================================
   6. WooCommerce Off-Canvas Side Cart Drawer
   ========================================================================== */

body.bc-side-cart-glassmorphic .ct-off-canvas,
body.bc-side-cart-glassmorphic #offcanvas-cart,
.ct-off-canvas.is-active {
	background: var(--bc-dark-glass-bg) !important;
	backdrop-filter: blur(20px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
	color: #f8fafc !important;
	border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3) !important;
}

body.bc-side-cart-glassmorphic .ct-off-canvas a,
body.bc-side-cart-glassmorphic .ct-off-canvas .ct-cart-title {
	color: #ffffff !important;
}

.bc-shipping-bar-wrapper {
	background: rgba(99, 102, 241, 0.12);
	border: 1px solid rgba(99, 102, 241, 0.25);
	border-radius: 12px;
	padding: 12px 16px;
	margin: 12px 16px 16px 16px;
	transition: var(--bc-transition);
}

.bc-shipping-bar-message {
	font-size: 0.88rem;
	font-weight: 500;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bc-shipping-success {
	color: var(--bc-accent-green);
	animation: bcPulseGreen 2s infinite;
}

.bc-shipping-progress-track {
	height: 8px;
	width: 100%;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

.bc-shipping-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #6366f1 0%, #10b981 100%);
	border-radius: 10px;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-mini-cart-item {
	transition: transform 0.3s ease, opacity 0.3s ease;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
	padding-bottom: 14px !important;
	margin-bottom: 14px !important;
}

.bc-mini-cart-qty-ctrls {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 2px 6px;
	margin-top: 6px;
}

.bc-qty-btn {
	background: transparent;
	border: none;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	color: #ffffff;
	transition: var(--bc-transition);
}

.bc-qty-btn:hover {
	background: var(--bc-primary);
	color: #fff;
}

.bc-qty-val {
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0 8px;
	color: #ffffff;
}

/* ==========================================================================
   7. Stock Badges, Flame Sale Mark & Product Card Overlay
   ========================================================================== */

ul.products li.product,
.product.type-product,
.ct-media-container,
figure,
.woocommerce-LoopProduct-link {
	position: relative !important;
}

.bc-product-card-overlay {
	position: absolute !important;
	top: 10px !important;
	left: 10px !important;
	right: 10px !important;
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	pointer-events: none !important;
	z-index: 15 !important;
}

.bc-product-card-overlay * {
	pointer-events: auto;
}

.bc-badges-stack {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 6px !important;
}

/* Modern Flame Sale Badge for Product Cards & Quick View */
.bc-sale-badge,
.bc-js-sale-badge,
span.onsale.bc-sale-badge,
span.onsale {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 999 !important;
	background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 0.78rem !important;
	padding: 6px 14px !important;
	border-radius: 20px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45) !important;
	border: none !important;
	min-height: unset !important;
	line-height: 1 !important;
	margin: 0 !important;
	animation: bcPulseSale 2s infinite ease-in-out !important;
}

.bc-stock-badge {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bc-badge-lowstock {
	background: var(--bc-accent-orange);
	color: #ffffff;
	animation: bcPulse 1.5s infinite;
}

.bc-badge-outofstock {
	background: #64748b;
	color: #ffffff;
}

.bc-quick-view-btn {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #1e293b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	opacity: 0;
	transform: translateY(-8px);
	transition: var(--bc-transition);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product:hover .bc-quick-view-btn {
	opacity: 1;
	transform: translateY(0);
}

.bc-quick-view-btn:hover {
	background: var(--bc-primary);
	color: #ffffff;
	border-color: var(--bc-primary);
}

.product.outofstock figure img {
	filter: grayscale(80%) opacity(0.8);
}

/* ==========================================================================
   8. Quick View Modal Window
   ========================================================================== */

.bc-quickview-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: var(--bc-transition);
}

.bc-quickview-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.bc-quickview-dialog {
	background: #ffffff;
	border-radius: 20px;
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	position: relative;
	transform: scale(0.92);
	transition: var(--bc-transition);
}

.bc-quickview-backdrop.is-open .bc-quickview-dialog {
	transform: scale(1);
}

.bc-quickview-modal-content {
	padding: 30px;
	position: relative;
}

.bc-quickview-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: rgba(0, 0, 0, 0.05);
	border: none;
	font-size: 1.6rem;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--bc-transition);
	z-index: 10;
}

.bc-quickview-close:hover {
	background: var(--bc-accent-red);
	color: #fff;
	transform: rotate(90deg);
}

.bc-quickview-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

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

.bc-quickview-main-image img {
	width: 100%;
	border-radius: 14px;
	object-fit: contain !important;
}

.bc-quickview-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.bc-qv-thumb {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--bc-transition);
}

.bc-qv-thumb.is-active,
.bc-qv-thumb:hover {
	border-color: var(--bc-primary);
}

.bc-qv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
}

.bc-qv-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #0f172a;
}

.bc-qv-price {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--bc-primary);
	margin-bottom: 12px;
}

.bc-qv-description {
	font-size: 0.95rem;
	color: #475569;
	margin-bottom: 20px;
	line-height: 1.6;
}

/* Animations */
@keyframes bcPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes bcPulseSale {
	0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45); }
	50% { transform: scale(1.04); box-shadow: 0 6px 18px rgba(239, 68, 68, 0.6); }
}

@keyframes bcPulseGreen {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}
