/* ===========================================================
   WhatsApp Ürün Kataloğu - Ön Yüz Stilleri
   (Elementor stil kontrolleri bu değerleri geçersiz kılabilir)
   =========================================================== */

.wuk-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

/* --- Izgara --- */
.wuk-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}

.wuk-cols-1 { grid-template-columns: repeat(1, 1fr); }
.wuk-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wuk-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wuk-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wuk-cols-5 { grid-template-columns: repeat(5, 1fr); }
.wuk-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
	.wuk-cols-3,
	.wuk-cols-4,
	.wuk-cols-5,
	.wuk-cols-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.wuk-cols-2,
	.wuk-cols-3,
	.wuk-cols-4,
	.wuk-cols-5,
	.wuk-cols-6 { grid-template-columns: repeat(1, 1fr); }
}

/* --- Kart --- */
.wuk-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}

.wuk-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.wuk-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

.wuk-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	height: auto;
	overflow: hidden;
	background: #f5f5f5;
}

.wuk-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.wuk-fit-contain .wuk-card-image img {
	object-fit: contain;
}

.wuk-fit-cover .wuk-card-image img {
	object-fit: cover;
}

.wuk-card-noimage {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e9e9e9 10px, #e9e9e9 20px);
}

.wuk-card-body {
	padding: 16px 16px 8px;
}

.wuk-card-cat {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
	margin-bottom: 6px;
}

.wuk-card-title {
	font-size: 17px;
	line-height: 1.35;
	margin: 0 0 10px;
	color: #1a1a1a;
	transition: color .2s ease;
}

/* --- Fiyat --- */
.wuk-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.wuk-price-old {
	color: #9a9a9a;
	text-decoration: line-through;
	font-size: 14px;
}

.wuk-price-sale {
	color: #111;
	font-weight: 700;
	font-size: 18px;
}

/* --- Kart alt / buton --- */
.wuk-card-footer {
	padding: 8px 16px 16px;
	margin-top: auto;
}

/* --- WhatsApp buton --- */
.wuk-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 18px;
	background: #25D366;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	border: 1px solid #25D366;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
}

.wuk-whatsapp-btn,
.wuk-whatsapp-btn:link,
.wuk-whatsapp-btn:visited {
	color: #fff;
}

.wuk-whatsapp-btn:hover,
.wuk-whatsapp-btn:focus {
	background: #000;
	color: #fff;
	border-color: #000;
}

.wuk-whatsapp-btn .wuk-wa-text {
	color: inherit;
}

.wuk-whatsapp-btn:active {
	transform: scale(.98);
}

.wuk-wa-icon {
	flex: 0 0 auto;
}

.wuk-empty {
	padding: 24px;
	text-align: center;
	color: #888;
	background: #fafafa;
	border-radius: 8px;
}

/* --- Tekil ürün sayfası --- */
.wuk-single-wrap,
.wuk-archive-wrap {
	padding: 40px 0;
}

.wuk-single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

@media (max-width: 768px) {
	.wuk-single-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.wuk-single-grid {
	grid-template-columns: 4fr 8fr;
}

.wuk-single-image {
	max-width: 100%;
}

.wuk-single-image .wuk-zoomable {
	position: relative;
	display: block;
	width: 100%;
	cursor: zoom-in;
	line-height: 0;
}

.wuk-single-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.wuk-zoom-hint {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	pointer-events: none;
	opacity: 0;
	transition: opacity .2s ease;
}

.wuk-zoom-hint::before,
.wuk-zoom-hint::after {
	content: "";
	position: absolute;
	background: #fff;
}

.wuk-zoom-hint::before {
	top: 16px;
	left: 9px;
	width: 16px;
	height: 2px;
}

.wuk-zoom-hint::after {
	top: 9px;
	left: 16px;
	width: 2px;
	height: 16px;
}

.wuk-single-image .wuk-zoomable:hover .wuk-zoom-hint {
	opacity: 1;
}

@media (max-width: 768px) {
	.wuk-single-grid {
		grid-template-columns: 1fr;
	}
	.wuk-single-image {
		max-width: 360px;
		margin: 0 auto;
	}
}

/* --- Lightbox --- */
.wuk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, .85);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
	cursor: zoom-out;
}

.wuk-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wuk-lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	transform: scale(.94);
	transition: transform .25s ease;
}

.wuk-lightbox.is-open img {
	transform: scale(1);
}

.wuk-lightbox-close {
	position: absolute;
	top: 18px;
	right: 22px;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 26px;
	line-height: 42px;
	text-align: center;
	cursor: pointer;
	transition: background .2s ease;
}

.wuk-lightbox-close:hover {
	background: rgba(255, 255, 255, .3);
}

.wuk-single-cat {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
	margin-bottom: 8px;
}

.wuk-single-cat a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.wuk-single-cat a:hover {
	color: #111;
	text-decoration: underline;
}

.wuk-single-title {
	margin: 0 0 16px;
	font-size: 30px;
	line-height: 1.2;
}

.wuk-single-meta {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.wuk-single-meta .wuk-price-sale {
	font-size: 26px;
}

.wuk-single-meta .wuk-whatsapp-btn {
	width: auto;
	min-width: 260px;
	padding: 14px 28px;
	font-size: 16px;
}

.wuk-single-meta .wuk-whatsapp-btn,
.wuk-single-meta .wuk-whatsapp-btn:link,
.wuk-single-meta .wuk-whatsapp-btn:visited,
.wuk-single-meta .wuk-whatsapp-btn:hover,
.wuk-single-meta .wuk-whatsapp-btn:focus,
.wuk-single-meta .wuk-whatsapp-btn .wuk-wa-text {
	color: #fff !important;
}

.wuk-archive-header {
	margin-bottom: 24px;
	text-align: center;
}

.wuk-archive-title {
	margin: 0 0 8px;
}

/* --- Kategori filtre çubuğu --- */
.wuk-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 32px;
}

.wuk-filter-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.wuk-filter-item:hover {
	border-color: #111;
	color: #111;
}

.wuk-filter-item.is-active {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* --- Ürün adı arama filtresi --- */
.wuk-search-filter {
	display: flex;
	justify-content: center;
	margin: 0 0 28px;
}

.wuk-product-search {
	width: 100%;
	max-width: 420px;
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	line-height: 1.3;
	color: #222;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.wuk-product-search:focus {
	outline: none;
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.wuk-product-search::placeholder {
	color: #999;
}

.wuk-card[hidden] {
	display: none !important;
}

@media (max-width: 600px) {
	.wuk-filter {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.wuk-filter-item {
		flex: 0 0 auto;
	}
}

.wuk-pagination {
	margin-top: 32px;
	text-align: center;
}
