/**
 * WPBakery Product Tabs Slider - Main Stylesheet
 * 
 * @package WPB_Product_Tabs_Slider
 * @version 1.0.0
 */

/* =============================================================================
   Tab Wrapper & Container
   ========================================================================== */

.wpb-product-tabs-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0; /* Remove left/right padding for alignment */
	box-sizing: border-box;
}

/* =============================================================================
   Tab Navigation
   ========================================================================== */

.wpb-tabs-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.wpb-tab-button {
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 600;
	background-color: #f3f4f6;
	color: #374151;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	outline: none;
	font-family: inherit;
	text-transform: capitalize;
}

.wpb-tab-button:hover {
	background-color: #e5e7eb;
	color: #1f2937;
	transform: translateY(-2px);
}

.wpb-tab-button.active {
	background-color: #111827;
	color: #ffffff;
	border-color: #111827;
}

.wpb-tab-button:focus {
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.2);
}

/* =============================================================================
   Tab Content & Panels
   ========================================================================== */

.wpb-tabs-content {
	position: relative;
	min-height: 400px;
}

.wpb-tab-panel {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wpb-tab-panel.active {
	display: block;
	opacity: 1;
	animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =============================================================================
   Products Wrapper
   ========================================================================== */

.wpb-products-wrapper {
	width: 100%;
	overflow: hidden;
	padding: 0 40px; /* Space for arrows on desktop */
}

@media (max-width: 768px) {
	.wpb-products-wrapper {
		padding: 0 10px; /* Less padding on mobile */
		overflow: visible !important;
	}

	.wpb-product-tabs-wrapper {
		padding: 15px 10px;
	}

	.wpb-tabs-content {
		min-height: auto;
	}
}

/* =============================================================================
   Product Item Styling - Compact Modern Card Design
   ========================================================================== */

.wpb-products-wrapper .woocommerce ul.products li.product {
	margin: 0;
	padding: 0 !important;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f0f0;
	text-align: center;
	position: relative;
	max-height: 340px !important;
	height: 340px !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Ensure all product content is visible */
.wpb-products-wrapper .woocommerce ul.products li.product * {
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Product Image Container - Fixed aspect ratio */
.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block !important;
	position: relative;
	overflow: hidden;
	background: #f9f9f9;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product a:first-child {
	display: block !important;
	position: relative;
	height: 220px;
	overflow: hidden;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product img {
	width: 100% !important;
	height: 220px !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.3s ease;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product:hover img {
	transform: scale(1.08);
}

/* Product Title */
.wpb-products-wrapper .woocommerce ul.products li.product h2,
.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	margin: 12px 12px 6px !important;
	padding: 0 !important;
	color: #2c2c2c !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	height: 36px !important;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Price Styling - Compact */
.wpb-products-wrapper .woocommerce ul.products li.product .price {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #2c2c2c !important;
	margin: 0 12px 15px !important;
	padding: 0 !important;
	display: block !important;
	line-height: 1.4 !important;
	height: auto !important;
	max-height: 50px !important;
	overflow: hidden !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .price del {
	font-size: 13px !important;
	color: #999 !important;
	font-weight: 400 !important;
	margin-right: 6px !important;
	text-decoration: line-through !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .price ins {
	text-decoration: none !important;
	color: #2c2c2c !important;
	font-weight: 700 !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .price .woocommerce-Price-amount {
	color: #2c2c2c !important;
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-block !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .price .amount {
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-block !important;
}

/* Hide extra text nodes but keep prices visible */
.wpb-products-wrapper .woocommerce ul.products li.product .price-info,
.wpb-products-wrapper .woocommerce ul.products li.product .availability {
	display: none !important;
}

/* Add to Cart Button - Circular Icon on Image */
.wpb-products-wrapper .woocommerce ul.products li.product .button,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button,
.wpb-products-wrapper .woocommerce ul.products li.product a.button,
.wpb-products-wrapper .woocommerce ul.products li.product .product_type_simple,
.wpb-products-wrapper .woocommerce ul.products li.product .product_type_variable,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_inline {
	position: absolute !important;
	top: 165px !important;
	right: 10px !important;
	bottom: auto !important;
	width: 45px !important;
	height: 45px !important;
	min-width: 45px !important;
	min-height: 45px !important;
	max-width: 45px !important;
	max-height: 45px !important;
	padding: 0 !important;
	margin: 0 !important;
	background-color: #fff !important;
	color: transparent !important;
	border: 2px solid #e0e0e0 !important;
	border-radius: 50% !important;
	display: block !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-decoration: none !important;
	text-indent: -9999px !important;
	white-space: nowrap !important;
	transition: all 0.3s ease !important;
	cursor: pointer !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
	z-index: 20 !important;
	overflow: hidden !important;
	text-align: center !important;
	vertical-align: middle !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .button:hover,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button:hover {
	background-color: #66BB6A !important;
	color: transparent !important;
	border-color: #66BB6A !important;
	transform: scale(1.1) !important;
	box-shadow: 0 5px 15px rgba(102, 187, 106, 0.4) !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .button::after,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button::after,
.wpb-products-wrapper .woocommerce ul.products li.product a.button::after {
	content: "+" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	font-size: 28px !important;
	font-weight: 300 !important;
	line-height: 1 !important;
	text-indent: 0 !important;
	color: #2c2c2c !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .button:hover::after,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button:hover::after {
	color: #fff !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .button.added::after {
	content: "✓" !important;
	font-size: 20px !important;
}

/* NUCLEAR OPTION: Hide ALL button text and children */
.wpb-products-wrapper .woocommerce ul.products li.product .button,
.wpb-products-wrapper .woocommerce ul.products li.product .button span,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button span,
.wpb-products-wrapper .woocommerce ul.products li.product a.button,
.wpb-products-wrapper .woocommerce ul.products li.product .product_type_variable {
	font-size: 0 !important;
	color: transparent !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product .button *,
.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button *,
.wpb-products-wrapper .woocommerce ul.products li.product a.button * {
	display: none !important;
	visibility: hidden !important;
	font-size: 0 !important;
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
	position: absolute !important;
	left: -9999px !important;
}

/* Completely hide any text node inside buttons */
.wpb-products-wrapper .woocommerce ul.products li.product .button::before {
	content: "" !important;
	display: none !important;
}

/* Sale Badge */
.wpb-products-wrapper .woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #EF4444;
	color: #fff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 15;
	letter-spacing: 0.5px;
	margin: 0 !important;
}

/* =============================================================================
   Slick Slider Styling - Desktop & Mobile
   ========================================================================== */

/* Always use slider layout (no grid) */
.wpb-products-wrapper .woocommerce ul.products {
	display: block !important;
	grid-template-columns: unset !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .woocommerce ul.products li.product {
	display: inline-block;
	vertical-align: top;
	margin: 0 10px;
	box-sizing: border-box;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Prevent Slick from hiding products during initialization */
.wpb-products-wrapper .slick-slide {
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .slick-track {
	opacity: 1 !important;
	visibility: visible !important;
}

.wpb-products-wrapper .slick-list {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Desktop Slider Styling */
@media (min-width: 769px) {
	.wpb-product-tabs-wrapper {
		padding: 20px 0 !important; /* No side padding for full alignment */
	}

	.wpb-products-wrapper .woocommerce ul.products {
		margin-left: 0 !important; /* Align to start */
		padding-left: 0 !important; /* Remove any left padding */
	}

	.wpb-products-wrapper .woocommerce ul.products li.product {
		width: calc(16.666% - 20px); /* 6 products per row */
		margin: 0 10px 20px;
	}

	/* Slick slider dots (desktop) */
	.wpb-products-wrapper .slick-dots {
		bottom: -50px;
		text-align: center;
		padding-left: 0 !important;
		margin-left: 0 !important;
	}
	
	/* Desktop Slick Slider - List alignment */
	.wpb-products-wrapper .slick-list {
		margin-left: 0 !important;
		padding-left: 0 !important;
	}
	
	/* Desktop Slick Slider - Track alignment */
	.wpb-products-wrapper .slick-track {
		margin-left: 0 !important;
		padding-left: 0 !important;
		display: flex !important;
		align-items: flex-start !important;
	}

	.wpb-products-wrapper .slick-dots li {
		margin: 0 5px;
	}

	.wpb-products-wrapper .slick-dots li button:before {
		font-size: 14px;
		color: #111827;
		opacity: 0.3;
	}

	.wpb-products-wrapper .slick-dots li.slick-active button:before {
		color: #111827;
		opacity: 1;
		font-size: 16px;
	}

	/* Slick arrows (desktop) */
	.wpb-products-wrapper .slick-prev,
	.wpb-products-wrapper .slick-next {
		width: 50px;
		height: 50px;
		z-index: 10;
		background: rgba(17, 24, 39, 0.8);
		border-radius: 50%;
	}

	.wpb-products-wrapper .slick-prev {
		left: -25px;
	}

	.wpb-products-wrapper .slick-next {
		right: -25px;
	}

	.wpb-products-wrapper .slick-prev:before,
	.wpb-products-wrapper .slick-next:before {
		font-size: 24px;
		color: #ffffff;
		opacity: 1;
	}

	.wpb-products-wrapper .slick-prev:hover,
	.wpb-products-wrapper .slick-next:hover {
		background: rgba(17, 24, 39, 1);
	}
}

/* Mobile Slider Styling */
@media (max-width: 768px) {
	
	.wpb-tabs-nav {
		gap: 8px;
		margin-bottom: 20px;
	}
	
	.wpb-tab-button {
		padding: 8px 15px;
		font-size: 13px;
	}

	/* NUCLEAR OPTION: Force EVERYTHING visible - no exceptions */
	.wpb-products-wrapper,
	.wpb-products-wrapper *,
	.wpb-products-wrapper .woocommerce,
	.wpb-products-wrapper .woocommerce *,
	.wpb-product-tabs-wrapper .wpb-products-wrapper *,
	.wpb-product-tabs-wrapper .woocommerce ul.products *,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product * {
		opacity: 1 !important;
		visibility: visible !important;
	}
	
	/* Override any WooCommerce or theme hiding */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product > *,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product a,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product img {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	/* Mobile: Simple scrollable list (NO SLIDER) */
	.wpb-products-wrapper .woocommerce ul.products {
		padding: 10px 0 !important;
		margin: 0 auto !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		max-width: 100% !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		white-space: nowrap !important;
		-webkit-overflow-scrolling: touch !important;
		scroll-snap-type: x mandatory !important;
		scroll-behavior: smooth !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product {
		width: 47% !important;
		max-width: 180px !important;
		min-width: 150px !important;
		height: auto !important;
		min-height: 280px !important;
		max-height: none !important;
		margin: 0 6px !important;
		padding: 0 0 15px !important;
		box-sizing: border-box !important;
		display: inline-block !important;
		white-space: normal !important;
		vertical-align: top !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: relative !important;
		scroll-snap-align: start !important;
		flex-shrink: 0 !important;
		border: 1px solid #f0f0f0 !important;
		border-radius: 10px !important;
		background: #fff !important;
		overflow: visible !important;
	}

	/* Force ALL child elements visible */
	.wpb-products-wrapper .woocommerce ul.products li.product *,
	.wpb-products-wrapper .woocommerce ul.products li.product a,
	.wpb-products-wrapper .woocommerce ul.products li.product img,
	.wpb-products-wrapper .woocommerce ul.products li.product h2,
	.wpb-products-wrapper .woocommerce ul.products li.product h3,
	.wpb-products-wrapper .woocommerce ul.products li.product .price,
	.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title {
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
	}
	
	/* Mobile product image - fixed height */
	.wpb-products-wrapper .woocommerce ul.products li.product a,
	.wpb-products-wrapper .woocommerce ul.products li.product a:first-child,
	.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__link {
		height: auto !important;
		min-height: 160px !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: relative !important;
		z-index: 1 !important;
	}
	
	.wpb-products-wrapper .woocommerce ul.products li.product img,
	.wpb-products-wrapper .woocommerce ul.products li.product a img,
	.wpb-products-wrapper .woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
		height: auto !important;
		min-height: 160px !important;
		max-height: 200px !important;
		width: 100% !important;
		object-fit: cover !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: relative !important;
		z-index: 1 !important;
	}
	
	/* Mobile product titles */
	.wpb-products-wrapper .woocommerce ul.products li.product h2,
	.wpb-products-wrapper .woocommerce ul.products li.product h3,
	.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title,
	.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-product__title {
		font-size: 12px !important;
		margin: 10px 8px 5px !important;
		padding: 0 !important;
		line-height: 1.3 !important;
		text-align: center !important;
		height: auto !important;
		min-height: 30px !important;
		letter-spacing: 0.2px !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		color: #2c2c2c !important;
		position: relative !important;
		z-index: 2 !important;
	}

	/* Mobile product prices */
	.wpb-products-wrapper .woocommerce ul.products li.product .price {
		font-size: 14px !important;
		margin: 0 8px 12px !important;
		padding: 0 !important;
		text-align: center !important;
		line-height: 1.4 !important;
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		color: #2c2c2c !important;
		position: relative !important;
		z-index: 2 !important;
	}
	
	/* Mobile price amounts */
	.wpb-products-wrapper .woocommerce ul.products li.product .price *,
	.wpb-products-wrapper .woocommerce ul.products li.product .price .amount,
	.wpb-products-wrapper .woocommerce ul.products li.product .price .woocommerce-Price-amount,
	.wpb-products-wrapper .woocommerce ul.products li.product .price del,
	.wpb-products-wrapper .woocommerce ul.products li.product .price ins {
		display: inline-block !important;
		opacity: 1 !important;
		visibility: visible !important;
		font-size: 14px !important;
		color: #2c2c2c !important;
	}
	
	.wpb-products-wrapper .woocommerce ul.products li.product .price del {
		color: #999 !important;
		font-size: 12px !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product .price del {
		font-size: 11px !important;
		display: block !important;
		margin-bottom: 2px !important;
	}
	
	.wpb-products-wrapper .woocommerce ul.products li.product .price ins {
		display: block !important;
	}

	/* Mobile add to cart button - on image */
	.wpb-products-wrapper .woocommerce ul.products li.product .button,
	.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button,
	.wpb-products-wrapper .woocommerce ul.products li.product a.button,
	.wpb-products-wrapper .woocommerce ul.products li.product .product_type_simple,
	.wpb-products-wrapper .woocommerce ul.products li.product .product_type_variable {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		min-height: 38px !important;
		max-width: 38px !important;
		max-height: 38px !important;
		top: 115px !important;
		bottom: auto !important;
		right: 8px !important;
		position: absolute !important;
		padding: 0 !important;
		font-size: 0 !important;
		border-width: 1.5px !important;
		color: transparent !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product .button::after,
	.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button::after,
	.wpb-products-wrapper .woocommerce ul.products li.product a.button::after {
		font-size: 24px !important;
		color: #2c2c2c !important;
	}
	
	.wpb-products-wrapper .woocommerce ul.products li.product .button:hover::after,
	.wpb-products-wrapper .woocommerce ul.products li.product .add_to_cart_button:hover::after {
		color: #fff !important;
	}

	/* Mobile: Hide Slick controls (we're not using Slick on mobile) */
	.wpb-products-wrapper .slick-dots,
	.wpb-products-wrapper .slick-arrows,
	.wpb-products-wrapper .slick-prev,
	.wpb-products-wrapper .slick-next {
		display: none !important;
	}
	
	/* Scroll indicator hint */
	.wpb-products-wrapper ul.products.mobile-no-slider {
		position: relative;
	}
	
	.wpb-products-wrapper ul.products.mobile-no-slider::after {
		content: "← Swipe →";
		position: absolute;
		bottom: -25px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 12px;
		color: #999;
		opacity: 0.7;
	}


	/* Star ratings - centered */
	.wpb-products-wrapper .woocommerce ul.products li.product .star-rating {
		font-size: 14px !important;
		margin: 0 auto 8px !important;
		display: block !important;
	}

	/* Hide arrows and dots on mobile */
	.wpb-products-wrapper .slick-prev,
	.wpb-products-wrapper .slick-next {
		display: none !important;
	}

	.wpb-products-wrapper .slick-dots {
		display: none !important;
	}

	/* Slick track */
	.wpb-products-wrapper .slick-track {
		display: flex !important;
		align-items: stretch !important;
	}

	/* Override any conflicting styles */
	.wpb-products-wrapper .woocommerce ul.products li.product {
		background: #fff !important;
		border: 1px solid #f0f0f0 !important;
		border-radius: 12px !important;
		overflow: hidden !important;
	}

	/* Onsale badge */
	.wpb-products-wrapper .woocommerce ul.products li.product .onsale {
		font-size: 10px !important;
		padding: 3px 6px !important;
		min-height: 0 !important;
		line-height: 1.2 !important;
	}

	/* Override any theme float styles on mobile */
	.wpb-products-wrapper .woocommerce ul.products li.product {
		float: none !important;
		clear: none !important;
	}

	/* Ensure proper WooCommerce compatibility */
	.wpb-products-wrapper .woocommerce ul.products::before,
	.wpb-products-wrapper .woocommerce ul.products::after {
		display: none !important;
	}

	/* Fix for some themes that set min-width */
	.wpb-products-wrapper .woocommerce ul.products li.product {
		min-width: 0 !important;
		max-width: 48% !important;
	}

	/* Ensure images don't overflow */
	.wpb-products-wrapper .woocommerce ul.products li.product a img {
		width: 100% !important;
		height: auto !important;
		max-height: 180px !important;
		object-fit: cover !important;
	}

	/* Product link wrapper */
	.wpb-products-wrapper .woocommerce ul.products li.product a {
		display: block !important;
		width: 100% !important;
	}

	/* Slick list container */
	.wpb-products-wrapper .slick-list {
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Mobile products - scrollable */
	.wpb-products-wrapper ul.products.mobile-no-slider {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 10px !important;
		padding: 10px 5px 40px !important;
	}
	
	/* Add small padding for first/last products */
	.wpb-products-wrapper ul.products.mobile-no-slider::before {
		content: "";
		width: 2.5%;
		flex-shrink: 0;
	}
	
	.wpb-products-wrapper ul.products.mobile-no-slider::after {
		content: "";
		width: 2.5%;
		flex-shrink: 0;
	}

	/* Slick track */
	.wpb-products-wrapper .slick-track {
		opacity: 1 !important;
		visibility: visible !important;
		display: flex !important;
	}

	/* Prevent products from hiding */
	.wpb-products-wrapper .slick-slide li.product {
		opacity: 1 !important;
		visibility: visible !important;
		display: inline-block !important;
	}

	/* Before anything initializes - show products */
	.wpb-products-wrapper ul.products:not(.slick-initialized):not(.mobile-no-slider) {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.wpb-products-wrapper ul.products:not(.slick-initialized):not(.mobile-no-slider) li.product {
		opacity: 1 !important;
		visibility: visible !important;
		width: 45% !important;
		max-width: 200px !important;
		flex-shrink: 0 !important;
		margin: 0 8px !important;
		display: inline-block !important;
	}

	/* Force wrapper and panel visible */
	.wpb-products-wrapper {
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
		min-height: 200px !important;
	}
	
	.wpb-tab-panel {
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
	}
	
	.wpb-tab-panel.active {
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
	}
	
	/* Force tabs content area visible */
	.wpb-tabs-content {
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
	}
	
	/* Hide Slick controls on mobile but show products */
	.wpb-products-wrapper .slick-dots,
	.wpb-products-wrapper .slick-arrows {
		display: none !important;
	}
	
	/* FORCE products list to be visible regardless of Slick */
	.wpb-products-wrapper .woocommerce ul.products,
	.wpb-products-wrapper ul.products.mobile-no-slider,
	.wpb-products-wrapper .slick-initialized,
	.wpb-products-wrapper .slick-slider,
	.wpb-products-wrapper .slick-list,
	.wpb-products-wrapper .slick-track {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
	
	/* Force products to show */
	.wpb-products-wrapper .woocommerce ul.products li.product,
	.wpb-products-wrapper .slick-slide,
	.wpb-products-wrapper .slick-slide > div,
	.wpb-products-wrapper .slick-slide li.product {
		display: inline-block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
}

/* Very small mobile phones */
@media (max-width: 380px) {
	.wpb-products-wrapper .woocommerce ul.products li.product {
		width: 95% !important;
		padding: 12px !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product img {
		max-height: 250px !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product .price {
		font-size: 16px !important;
	}

	.wpb-products-wrapper .woocommerce ul.products li.product .button {
		font-size: 13px !important;
		padding: 8px 15px !important;
	}
}

/* Extra small mobile adjustments */
@media (max-width: 420px) {
	.wpb-tab-button {
		padding: 8px 16px;
		font-size: 13px;
	}

	.wpb-tabs-nav {
		margin-bottom: 20px;
	}
}

/* =============================================================================
   Loading State
   ========================================================================== */

.wpb-tab-panel.loading {
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpb-tab-panel.loading:before {
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	border: 4px solid #f3f4f6;
	border-top-color: #111827;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Prevent hiding during initialization */
.wpb-products-wrapper {
	min-height: 200px;
}

.wpb-products-wrapper ul.products {
	min-height: 150px;
}

/* Mobile specific */
@media (max-width: 768px) {
	.wpb-products-wrapper {
		min-height: 250px;
	}
	
	.wpb-products-wrapper ul.products {
		min-height: 200px;
	}
}

/* =============================================================================
   WPBakery Container Compatibility
   ========================================================================== */

.vc_row .wpb-product-tabs-wrapper {
	width: 100%;
	max-width: 100%;
}

/* =============================================================================
   Accessibility
   ========================================================================== */

.wpb-tab-button:focus-visible {
	outline: 2px solid #111827;
	outline-offset: 2px;
}

/* Screen reader only text */
.wpb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* =============================================================================
   RTL Support
   ========================================================================== */

[dir="rtl"] .wpb-products-wrapper .slick-prev {
	left: auto;
	right: 10px;
}

[dir="rtl"] .wpb-products-wrapper .slick-next {
	right: auto;
	left: 10px;
}

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
	.wpb-tabs-nav {
		display: none;
	}
	
	.wpb-tab-panel {
		display: block !important;
		opacity: 1 !important;
		page-break-inside: avoid;
	}
}

/* =============================================================================
   Final Mobile Layout Override (clone reference design)
   ========================================================================== */

@media (max-width: 768px) {

	/* Compact 2-per-row cards inside our shortcode only */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product {
		width: 46% !important;
		max-width: 190px !important;
		min-width: 150px !important;
		height: auto !important;
		max-height: none !important;
		margin: 0 6px 12px !important;
		padding: 0 !important;
		display: inline-block !important;
		box-sizing: border-box !important;
	}

	/* Fixed-height image block like reference */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product a:first-child,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__link {
		display: block !important;
		position: relative;
		height: 170px !important;
		overflow: hidden;
		border-radius: 10px 10px 0 0;
	}

	.wpb-product-tabs-wrapper .woocommerce ul.products li.product img {
		width: 100% !important;
		height: 170px !important;
		object-fit: cover !important;
		display: block !important;
	}

	/* Hide all extra texts (variation messages, long descriptions, etc.) */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product > *:not(a):not(.woocommerce-loop-product__link):not(.price):not(.onsale):not(.tinvwl_add_to_wishlist_button):not(.yith-wcqv-button) {
		display: none !important;
	}

	/* Title directly under image */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product h2 {
		display: block !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		margin: 8px 6px 2px !important;
		line-height: 1.3 !important;
		height: 32px !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		text-align: left !important;
	}

	/* Price below title, single compact line (truncate long range text) */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .price {
		margin: 0 6px 10px !important;
		font-size: 13px !important;
		line-height: 1.3 !important;
		text-align: left !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		max-height: 20px !important;
	}

	/* Force price and inner amounts always visible (override any previous font-size:0) */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .price *,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .price .amount,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .price .woocommerce-Price-amount {
		font-size: 13px !important;
		line-height: 1.3 !important;
		display: inline-block !important;
		color: #2c2c2c !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .price del {
		font-size: 11px !important;
		margin-right: 4px !important;
	}

	/* Centered circular + button overlapping bottom of image */
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .button,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .add_to_cart_button,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product a.button,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .product_type_simple,
	.wpb-product-tabs-wrapper .woocommerce ul.products li.product .product_type_variable {
		top: 150px !important; /* just under image */
		bottom: auto !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%);
	}
}

