/**
 * Ürün kategori arşivi — mzk-card (mzt-archive-card-item) görünümü.
 * Kaynak kurallar: assets/css/dokan-storefront-modern.css (o dosya yalnızca Dokan mağaza
 * sayfasında yüklendiği için kategori şablonu çıplak kalıyordu).
 *
 * Canlı: /var/www/mezatika.com/wp-content/themes/ibid-child copy 1/assets/css/
 */

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.list,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	column-gap: 2% !important;
	row-gap: 18px !important;
	align-items: stretch !important;
	list-style: none !important;
	float: none !important;
	width: 100% !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products::before,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products::after {
	content: none !important;
	display: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	float: none !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	display: block !important;
	clear: none !important;
	height: 100% !important;
	align-self: stretch !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product::before,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product::after {
	display: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
	background: #fff !important;
	border: 1px solid #e8e8e8 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	transition: box-shadow 0.15s ease, border-color 0.15s ease !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
	border-color: #d0d0d0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__thumb {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	aspect-ratio: 4 / 3 !important;
	overflow: hidden !important;
	background: #f5f5f5 !important;
	border-bottom: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	border-radius: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__badge {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	z-index: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 6px 10px !important;
	font-size: 11px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .02em !important;
	color: #fff !important;
	background: #4caf50 !important;
	border-radius: 9px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__badge:before {
	content: "" !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: #fff !important;
	display: inline-block !important;
	flex: 0 0 auto !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__timer-chip {
	position: absolute !important;
	top: 12px !important;
	right: 56px !important;
	z-index: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 30px !important;
	padding: 4px 9px !important;
	border-radius: 9px !important;
	border: 1px solid #e5e7eb !important;
	background: rgba(255, 255, 255, .95) !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__fav {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	z-index: 2 !important;
	width: 32px !important;
	height: 32px !important;
	border: none !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #999 !important;
	padding: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__fav svg {
	width: 16px !important;
	height: 16px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__body {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	padding: 12px 14px !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__tag {
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #4caf50 !important;
	padding: 0 !important;
	background: none !important;
	border-radius: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__meta-top {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 8px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__bids--top {
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #999 !important;
	white-space: nowrap !important;
	text-align: right !important;
	margin-left: auto !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__rating {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-height: 16px !important;
	margin-top: 0 !important;
	font-size: 12px !important;
	line-height: 1.2 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__rating-star {
	color: #ff6b00 !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__rating-value {
	color: #1f2937 !important;
	font-weight: 600 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__rating-count {
	color: #6b7280 !important;
	font-weight: 500 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__meta-spacer {
	display: block !important;
	margin-top: 0 !important;
	min-height: 34px !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product:not(.mzt-card-auction) .mzk-card__meta-spacer {
	display: none !important;
	min-height: 0 !important;
	height: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__meta-line {
	display: block !important;
	height: 34px !important;
	width: 100% !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__title {
	display: block !important;
	min-height: 0 !important;
	margin: 0 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__title a {
	color: #333 !important;
	text-decoration: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__price {
	display: flex !important;
	align-items: baseline !important;
	justify-content: space-between !important;
	gap: 6px !important;
	margin-top: auto !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__price-label {
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #999 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__price-label {
	font-size: 10px !important;
	line-height: 1.2 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__price-value {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #333 !important;
	white-space: nowrap !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__countdown-row {
	display: flex !important;
	align-items: baseline !important;
	justify-content: space-between !important;
	gap: 6px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__countdown-label {
	font-size: 12px !important;
	color: #999 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__countdown {
	display: inline !important;
	padding: 0 !important;
	font-size: clamp(10px, .72vw, 12px) !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: #f5a623 !important;
	background: none !important;
	border-radius: 0 !important;
	white-space: nowrap !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__bids-row {
	display: flex !important;
	align-items: center !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__bids {
	font-size: 12px !important;
	color: #999 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn:link,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn:visited,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn:focus,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn:active {
	margin-top: 3px !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 14px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	border: 1px solid #e0e0e0 !important;
	background: #fff !important;
	color: #333 !important;
	font-family: inherit !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__btn:hover {
	background: #f5f5f5 !important;
	color: #333 !important;
	border-color: #e0e0e0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn:link,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn:visited,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn:focus,
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn:active {
	color: #f5a623 !important;
	background: #fff !important;
	border: 1px solid #f5a623 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__btn:hover {
	color: #f5a623 !important;
	background: #fff8ec !important;
	border-color: #f5a623 !important;
}

/* iBid archive-product.php boş clearfix satırları */
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products > li.clearfix {
	display: none !important;
}

/* WooCommerce columns-N sınıfı */
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

/* ─── Mağaza sayfası (Dokan) ile görsel parite: beyaz zemin + kart yan panel ─── */
body.tax-product_cat.woocommerce:not(.dokan-store) {
	background: #fff !important;
	--mzt-brand: #f2a900;
	--mzt-ink: #111827;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .high-padding {
	background: transparent !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar {
	position: sticky !important;
	top: 16px !important;
	align-self: flex-start !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .ibid-shop-sidebar-content-inner {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	padding: 0 !important;
	box-shadow: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget {
	margin: 0 !important;
	padding: 12px 14px !important;
	border-bottom: 1px solid #f0f2f5 !important;
	background: transparent !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget:last-child {
	border-bottom: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget-title {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.01em !important;
	color: #374151 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	border: none !important;
}

/* Liste / sıralama / alt kategori — mağaza radyo satırı hissi */
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ol {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul li,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ol li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul li a,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ol li a {
	display: flex !important;
	align-items: center !important;
	padding: 8px 10px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	color: #374151 !important;
	text-decoration: none !important;
	transition: background 0.14s !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul li a:hover,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul li.chosen a,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget ul li.current-cat > a {
	background: #fff4e6 !important;
	color: #c2410c !important;
	font-weight: 600 !important;
}

/* WooCommerce layered nav / rating widget */
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .woocommerce-widget-layered-nav-list a {
	padding: 8px 10px !important;
	border-radius: 8px !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .select2-container .select2-choice,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar select {
	width: 100% !important;
	min-height: 40px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	padding: 0 12px !important;
	font-size: 13px !important;
	color: #111827 !important;
	background: #fff !important;
	box-sizing: border-box !important;
}

/* Fiyat filtresi */
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget_price_filter .price_label input {
	height: 34px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	padding: 0 10px !important;
	font-size: 13px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget_price_filter .button,
body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget_price_filter button[type="submit"] {
	width: 100% !important;
	margin-top: 10px !important;
	height: 40px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	background: linear-gradient(135deg, #f5a623 0%, #e89410 100%) !important;
	color: #1a1206 !important;
	border: none !important;
	cursor: pointer !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .ibid-shop-sidebar .widget_price_filter .price_slider_wrapper {
	margin: 8px 0 12px !important;
}

/* Ürün alanı üstü (sıralama çubuğu) beyaz şerit — mağaza sekmelerine yakın */
body.tax-product_cat.woocommerce:not(.dokan-store) .main-content > .ibid-shop-sort-group {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	padding: 10px 14px !important;
	margin-bottom: 14px !important;
}

/* Auction countdown: label kaldır, sayaç tek başına hizalı kalsın */
body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__countdown-label {
	display: none !important;
}

body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product.mzt-card-auction .mzk-card__countdown-row {
	justify-content: flex-end !important;
}

/* Mobilde ürün kartları her satır 2'li (cache/tema çakışmalarına karşı sert override) */
@media (max-width: 1024px) {
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.list,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.grid,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-1,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-2,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-3,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-4,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-5,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.columns-6 {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 12px !important;
		row-gap: 14px !important;
	}

	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products > li.product,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products > li.mzt-archive-card-item {
		float: none !important;
		clear: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		flex: 0 0 auto !important;
	}
}

@media (max-width: 767px) {
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.list,
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 10px !important;
		row-gap: 14px !important;
	}

	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__countdown {
		font-size: clamp(10px, 2.3vw, 11px) !important;
		line-height: 1.15 !important;
		font-weight: 700 !important;
	}
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__timer-chip {
		top: 8px !important;
		right: 42px !important;
		min-height: 26px !important;
		padding: 3px 8px !important;
		border-radius: 8px !important;
	}
	body.tax-product_cat.woocommerce:not(.dokan-store) .blog-posts ul.products li.product .mzk-card__badge {
		top: 8px !important;
		left: 8px !important;
		padding: 5px 8px !important;
		font-size: 10px !important;
		border-radius: 8px !important;
	}
}
