
/* WMCT – Mobile Category Tabs Carousel */
.wmct-wrap { margin: 16px 0; }
.wmct-title { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }

/* Tabs pills with icons */
.wmct-tabs{
	display:flex !important;
	gap:10px;
	overflow-x:auto;
	-webkit-overflow-scrolling: touch;
	padding: 6px 4px 10px;
	scrollbar-width: none;
}
.wmct-tabs::-webkit-scrollbar{ display:none; }

.wmct-tab{
	display:inline-flex !important;
	align-items:center !important;
	gap:10px;
	flex:0 0 auto;
	border:1px solid rgba(0,0,0,.18);
	border-radius: 999px;
	background:#fff !important;
	padding:10px 14px;
	font-size:14px;
	line-height:1;
	white-space:nowrap;
	box-shadow:none !important;
	text-transform:none !important;
}
.wmct-tab-icon{
	width:22px !important;
	height:22px !important;
	object-fit:contain;
	display:inline-block !important;
}
.wmct-tab.is-active{
	background:#f6790c !important;
	color:#fff !important;
	border-color: rgba(0,0,0,.12) !important;
}
.wmct-tab.is-active .wmct-tab-icon{ filter: brightness(0) invert(1); }

/* Carousel */
.wmct-track{
	overflow-x:auto !important;
	overflow-y:hidden !important;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	padding: 0 2px 8px;
}
.wmct-track ul.products{
	display:grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: calc(50% - 6px) !important;
	grid-template-rows: auto !important;
	gap:10px !important;
	margin:0 !important;
	padding:0 !important;
}
.wmct-track ul.products li.product{
	scroll-snap-align: start;
	width:auto !important;
	margin:0 !important;
}

/* Force title visible (theme hover-only fix) */
.wmct-wrap .product-caption,
.wmct-wrap .product-caption *{
	opacity:1 !important;
	visibility:visible !important;
	transform:none !important;
}
.wmct-wrap .woocommerce-loop-product__title,
.wmct-wrap .woocommerce-loop-product__title *,
.wmct-wrap li.product h2,
.wmct-wrap li.product h3{
	display:block !important;
	opacity:1 !important;
	visibility:visible !important;
	height:auto !important;
	max-height:none !important;
	margin: 8px 0 6px !important;
	line-height:1.2 !important;
}

/* Loading/empty */
.wmct-empty{ padding: 10px 4px; opacity:.85; }
.wmct-content.is-loading{ opacity:.6; pointer-events:none; }

/* Hide on desktop */
@media (min-width: 769px){
	.wmct-wrap{ display:none !important; }
}

.wmct-tab-icon--empty{ width:22px; height:22px; display:inline-block; }
/* reduce extra padding inside theme cards */
.wmct-wrap li.product .product-block{ padding:0 !important; }


/* Strong overrides for theme spacing inside WMCT only */
.wmct-wrap ul.products{ margin-left:0 !important; margin-right:0 !important; }
.wmct-wrap ul.products li.product{ padding:0 !important; margin:0 !important; }
.wmct-wrap ul.products li.product > *{ margin:0 !important; }
.wmct-wrap .wmct-track{ padding:0 6px 10px !important; }

/* Tabs look like desktop pills with icons */
.wmct-tab{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px !important; border-radius:14px !important; }
.wmct-tab-icon{ width:22px; height:22px; display:block; }
.wmct-tab-text{ display:inline-block; line-height:1; }
