/* Kafkas Teklif Butonu — sade stil (yalnız WhatsApp butonu + kalan fiyat/sepet izleri) */

/* Kalan fiyat / sepet öğelerini gizle */
.ktb-active .price,
.ktb-active p.price,
.ktb-active span.price,
.ktb-active .woocommerce-Price-amount,
.ktb-active .add_to_cart_button,
.ktb-active .product_type_simple.button,
.ktb-active a.added_to_cart,
.ktb-active .cart-contents,
.ktb-active .site-header-cart,
.ktb-active li.wc-menu-item-cart,
.ktb-active .header-cart { display: none !important; }

/* Aksiyon sarmalayıcı */
.ktb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ktb-actions--single { margin: 4px 0 8px; }

/* Tekil üründe: özet sütununun flex 'order' kurallarına takılmadan, butonu
   başlığın/özetin ALTINA sabitle (tema başlığı order:1 kullanıyor). */
.ktb-active .summary .ktb-single-wrap { order: 100; margin: 18px 0 6px; width: 100%; }

/* Buton */
.ktb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: 8px;
	font-size: 13px; font-weight: 600; line-height: 1.1; letter-spacing: .01em;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.ktb-actions--single .ktb-btn { padding: 13px 24px; font-size: 14px; }

.ktb-btn--wa { background: #1f8f4e; color: #fff; }
.ktb-btn--wa:hover,
.ktb-btn--wa:focus { background: #17703c; color: #fff; }
.ktb-actions--loop .ktb-btn--wa { width: 100%; }

.ktb-btn--tel { background: #fff; color: #123a94; border-color: #cdd4dd; }
.ktb-btn--tel:hover,
.ktb-btn--tel:focus { border-color: #123a94; color: #0d2c72; }

/* =========================================================================
   Arşiv/kategori kartı — TÜM KARTLAR AYNI ÖLÇÜ, hizalı:
   görsel (sabit kutu, dikey+yatay ortalı) -> ürün adı (butonun hemen üstünde,
   alt hizalı, max 2 satır) -> WhatsApp butonu (kartın dibinde). Hepsi aynı konumda.
   Tema <a>'yı height:100% yapıp kartı doldurduğu için <li>'yi flex-column yapıyoruz.
   ========================================================================= */
.ktb-active ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
}
.ktb-active ul.products li.product > a.woocommerce-loop-product__link {
	height: auto !important;
	flex: 1 1 auto;               /* <a> <li>'yi doldurur; içeride boşluk esner */
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	text-align: center;
	min-width: 0;
}
/* Görsel: her kartta aynı boyut kutu, içerik tam görünür, iki eksende ortalı */
.ktb-active ul.products li.product a.woocommerce-loop-product__link img {
	order: 0 !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	height: 200px !important;
	object-fit: contain !important;
	object-position: center !important;
	margin: 0 0 10px !important;
	display: block;
}
/* Başlık: butonun hemen üstünde, alta yaslı (üstteki boşluk esner), max 2 satır */
.ktb-active ul.products li.product .woocommerce-loop-product__link .woocommerce-loop-product__title {
	order: 1 !important;
	flex-grow: 0 !important;
	margin: auto 0 8px !important;   /* margin-top:auto -> başlığı alta (butonun üstüne) yaslar */
	width: 100%;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ktb-active ul.products li.product .ktb-actions--loop {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0;
	justify-content: center;
	width: 100%;
}

/* İkon — tema svg kurallarına karşı sabit boyut */
.ktb-btn .ktb-ico,
.ktb-btn svg.ktb-ico {
	width: 17px !important; height: 17px !important; min-width: 17px; flex: 0 0 17px;
	display: inline-block; vertical-align: middle; fill: currentColor; margin: 0;
}
.ktb-btn .ktb-ico path { fill: currentColor; }
