/* NURÉ — mağaza: ürün kartı, renk noktaları, "+" hızlı ekle, arşiv/kategori/arama sayfaları. */

/* =========================================================================
   Ürün kartı (.nure-product-card) — anasayfa, mağaza, ilgili ürünler
   ========================================================================= */

/*
 * Bilgi alanı kart genişliğiyle orantılı büyür (mockup: 181px kartta isim ~%27, "+" ~%11,
 * kenar boşluğu ~%2,8). cqi değerleri kartın içindeki öğelerde çözülür; dar kartta
 * okunabilirlik için alt sınırlar, geniş kartta üst sınırlar vardır.
 */
.nure-product-card {
	--nure-card-bg: #ede8e1;
	--nure-card-inset: clamp(2px, 2.8cqi, 10px);
	--nure-card-text: clamp(13px, 5.4cqi, 18px);
	container: nure-card / inline-size;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--wp--preset--color--ink);
}

.nure-product-card > * {
	margin-block: 0;
}

/* Görsel: 4:5, yüklenirken açık bej zemin */
.nure-product-card .wc-block-components-product-image {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background-color: var(--nure-card-bg);
}

.nure-product-card .wc-block-components-product-image > a {
	display: block;
	height: 100%;
	outline: none;
}

.nure-product-card .wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	color: transparent; /* kırık görselde alt metni göstermesin */
	transition: transform 700ms cubic-bezier(0.2, 0, 0, 1);
	transform-origin: 50% 40%;
}

/* Görseli olmayan ürün: logolu sakin yer tutucu */
.nure-product-card .wc-block-components-product-image img[data-image-id="0"] {
	opacity: 0;
}

.nure-product-card .wc-block-components-product-image:has(img[data-image-id="0"])::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/logo.png") center / 34% auto no-repeat;
	opacity: 0.22;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.nure-product-card:hover .wc-block-components-product-image img {
		transform: scale(1.035);
	}
}

/* Stokta yok rozeti */
.nure-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	padding: 5px 8px 4px;
	background: rgba(251, 249, 245, 0.92);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	pointer-events: none;
}

.wc-block-product.outofstock .nure-product-card .wc-block-components-product-image img:not([data-image-id="0"]) {
	opacity: 0.78;
}

/* Ürün adı */
.nure-product-card .nure-product-card__title {
	margin: clamp(10px, 5.2cqi, 17px) var(--nure-card-inset) 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--nure-card-text);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--wp--preset--color--ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.nure-product-card .nure-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.nure-product-card .nure-product-card__title a:hover,
.nure-product-card .nure-product-card__title a:focus {
	text-decoration: none;
}

/* Klavye odağı: başlık altı çizili + görsel çerçeveli (başlık satır kırpması odak çizgisini kesmesin) */
.nure-product-card .nure-product-card__title a:focus-visible {
	outline: none;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.nure-product-card:has(.nure-product-card__title a:focus-visible) .wc-block-components-product-image {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

/* Fiyat */
.nure-product-card .nure-product-card__price {
	margin: clamp(2px, 1.8cqi, 6px) var(--nure-card-inset) 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--nure-card-text);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--ink);
	text-align: left;
}

.nure-product-card .nure-product-card__price .wc-block-components-product-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 6px;
	margin: 0;
	font-size: inherit;
	text-align: left;
}

.nure-product-card .nure-product-card__price del {
	order: 0;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	text-decoration-thickness: 1px;
	opacity: 0.85;
}

.nure-product-card .nure-product-card__price ins {
	order: 1;
	margin: 0;
	background: none;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nure-product-card .nure-product-card__price a {
	text-decoration: none;
}

/* Renk noktaları + "+" satırı
   Ölçüler kart genişliğine göre üç kademe (tam piksel; çizgiler keskin kalsın). */
.nure-product-card .nure-product-card__actions {
	--nure-dot: 11px;
	--nure-qa-size: 28px;
	--nure-qa-border: 1px;
	--nure-qa-arm: 10px;
	--nure-qa-stroke: 1px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 32px;
	margin: auto var(--nure-card-inset) 0;
	padding-top: clamp(4px, 1.2cqi, 6px);
}

@container nure-card (min-width: 220px) {
	.nure-product-card .nure-product-card__actions {
		--nure-dot: 13px;
		--nure-qa-size: 32px;
		--nure-qa-arm: 12px;
	}
}

/* Masaüstü kartı (~325px): mockup oranı — 16px nokta, 36px kutu, kalın çerçeve */
@container nure-card (min-width: 290px) {
	.nure-product-card .nure-product-card__actions {
		--nure-dot: 16px;
		--nure-qa-size: 36px;
		--nure-qa-border: 2px;
		--nure-qa-arm: 14px;
		--nure-qa-stroke: 2px;
		--nure-qa-radius: 3px;
	}
}

/* =========================================================================
   Renk noktaları (nure/color-swatches)
   Her nokta 24px genişliğinde bir bağlantı (WCAG 2.5.8 alt sınırı); nokta ortada,
   ilk nokta metin hizasında başlar.
   ========================================================================= */

.nure-swatches {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Yerleşim kuralı (.is-layout-flex > *) kenar boşluğunu sıfırlar; kart içinde geri ver */
.nure-product-card__actions .nure-swatches {
	margin: 0 0 0 calc((var(--nure-dot, 11px) - 24px) / 2);
}

.nure-swatches__item {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nure-swatches__link,
.nure-swatches__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 32px;
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.nure-swatches__link {
	width: 24px;
}

.nure-swatches__dot {
	display: block;
	flex: none;
	box-sizing: border-box;
	width: var(--nure-dot, 11px);
	height: var(--nure-dot, 11px);
	border-radius: 50%;
	background: var(--nure-swatch, #a9a5a1);
	transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), box-shadow 180ms;
}

/* Açık renkler (fildişi vb.) zemine karışmasın: ince çerçeve */
.nure-swatches__dot.is-light {
	border: 1px solid var(--nure-swatch-edge, #d6ccc1);
}

@media (hover: hover) {
	.nure-swatches__link:hover .nure-swatches__dot {
		transform: scale(1.15);
	}
}

.nure-swatches__link:focus-visible,
.nure-swatches__more:focus-visible {
	outline: none;
}

.nure-swatches__link:focus-visible .nure-swatches__dot {
	box-shadow: 0 0 0 2px var(--wp--preset--color--base), 0 0 0 3px var(--wp--preset--color--ink);
}

.nure-swatches__more {
	padding: 0 4px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--muted);
}

@container nure-card (min-width: 290px) {
	.nure-swatches__more {
		font-size: 13px;
	}
}

.nure-swatches__more:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nure-swatches__more:focus-visible span[aria-hidden] {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* Çok renkli ürün + dar kart: 4. nokta yerine "+N" (sayı sunucuda hesaplanır) */
.nure-swatches__item--narrow {
	display: none;
}

@container nure-card (max-width: 164.98px) {
	.nure-swatches__item--wide {
		display: none;
	}

	.nure-swatches__item--narrow {
		display: flex;
	}
}

/* Editör önizlemesi */
.nure-swatches.is-sample .nure-swatches__link {
	cursor: default;
}

/* =========================================================================
   "+" hızlı ekle (woocommerce/product-button.nure-quick-add)
   ========================================================================= */

.nure-product-card .wp-block-button.nure-quick-add,
.wp-block-button.wc-block-components-product-button.nure-quick-add {
	position: relative;
	display: block;
	flex: none;
	margin: 0 0 0 auto;
	gap: 0;
	line-height: 0;
}

.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button,
.wp-block-button.wc-block-components-product-button.nure-quick-add .wc-block-components-product-button__button {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--nure-qa-size, 28px);
	height: var(--nure-qa-size, 28px);
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: var(--nure-qa-border, 1px) solid var(--wp--preset--color--ink);
	border-radius: var(--nure-qa-radius, 2px);
	background-color: transparent;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
	background-origin: border-box;
	background-position: center, center;
	background-repeat: no-repeat;
	background-size: var(--nure-qa-arm, 10px) var(--nure-qa-stroke, 1px), var(--nure-qa-stroke, 1px) var(--nure-qa-arm, 10px);
	color: var(--wp--preset--color--ink);
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 180ms cubic-bezier(0.2, 0, 0, 1), color 180ms cubic-bezier(0.2, 0, 0, 1), border-color 180ms;
}

/* En az 44x44px dokunma alanı (konum dolgu kutusuna göre: çerçeve düşülür) */
.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button::after,
.wp-block-button.wc-block-components-product-button.nure-quick-add .wc-block-components-product-button__button::after {
	content: "";
	position: absolute;
	inset: min(0px, calc((var(--nure-qa-size, 28px) - 2 * var(--nure-qa-border, 1px) - 44px) / 2));
}

/* Metin görsel olarak gizli; ekran okuyucu aria-label'ı okur */
.nure-quick-add .wc-block-components-product-button__button > span {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	animation: none !important;
}

/* "Sepeti görüntüle" bağlantısı kartta gösterilmez; başlıktaki sepet güncellenir */
.nure-quick-add > span,
.nure-quick-add .added_to_cart {
	display: none !important;
}

@media (hover: hover) {
	.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button:hover {
		background-color: var(--wp--preset--color--ink);
		color: var(--wp--preset--color--white);
	}
}

.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button:focus-visible {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button:active {
	transform: scale(0.94);
}

/* Stokta yok: soluk */
.nure-product-card .wp-block-button.nure-quick-add--view .nure-quick-add__button {
	border-color: var(--wp--preset--color--line);
	color: var(--wp--preset--color--muted);
}

/* Ekleniyor… */
.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button.is-loading {
	pointer-events: none;
	animation: nure-quick-add-pulse 800ms ease-in-out infinite alternate;
}

@keyframes nure-quick-add-pulse {
	from {
		opacity: 1;
	}

	to {
		opacity: 0.35;
	}
}

/* Eklendi: dolgu + ince onay işareti */
.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button.is-added {
	background-color: var(--wp--preset--color--ink);
	background-image: none;
	color: var(--wp--preset--color--white);
}

.nure-product-card .wp-block-button.nure-quick-add .nure-quick-add__button.is-added::before {
	content: "";
	width: calc(var(--nure-qa-arm, 10px) * 0.4);
	height: calc(var(--nure-qa-arm, 10px) * 0.8);
	margin-top: calc(var(--nure-qa-arm, 10px) * -0.25);
	border-right: var(--nure-qa-stroke, 1px) solid currentColor;
	border-bottom: var(--nure-qa-stroke, 1px) solid currentColor;
	transform: rotate(45deg);
}

/* =========================================================================
   Mağaza / kategori / arama sayfaları (.nure-shop)
   ========================================================================= */

.nure-shop {
	padding-top: 0;
	padding-bottom: var(--wp--preset--spacing--70);
}

.nure-shop > .alignwide {
	margin-top: 0;
}

/* Başlık alanı */
.nure-shop .nure-shop__head {
	position: relative;
	padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 3vw, 40px);
}

.nure-shop .nure-shop__head > * {
	margin-block: 0;
}

.nure-shop .nure-shop__breadcrumbs,
.nure-shop .nure-shop__breadcrumbs .woocommerce-breadcrumb {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--muted);
}

.nure-shop .nure-shop__breadcrumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 180ms;
}

.nure-shop .nure-shop__breadcrumbs a:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nure-shop .nure-shop__title {
	margin-top: clamp(14px, 1.6vw, 22px);
	font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.02;
	overflow-wrap: anywhere;
}

.nure-shop .nure-shop__intro,
.nure-shop .nure-shop__intro p {
	max-width: 36rem;
	font-size: 14px;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
}

.nure-shop .nure-shop__intro {
	margin-top: 12px;
}

.nure-shop .nure-shop__intro p {
	margin: 0;
}

/* Kategori görseli varsa: ince bant */
.nure-shop .nure-shop__head.has-banner {
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(180px, 18vw, 264px);
	margin-top: clamp(12px, 1.5vw, 20px);
	margin-bottom: clamp(20px, 2.5vw, 32px);
	padding: clamp(20px, 3vw, 40px);
	overflow: hidden;
	color: var(--wp--preset--color--white);
}

.nure-shop__banner {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: #ede8e1;
}

.nure-shop__banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.nure-shop__banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(35, 29, 25, 0.62) 0%, rgba(35, 29, 25, 0.22) 55%, rgba(35, 29, 25, 0.08) 100%);
}

.nure-shop .nure-shop__head.has-banner .nure-shop__breadcrumbs {
	position: absolute;
	top: clamp(16px, 2vw, 28px);
	left: clamp(20px, 3vw, 40px);
	right: clamp(20px, 3vw, 40px);
}

.nure-shop .nure-shop__head.has-banner .nure-shop__breadcrumbs,
.nure-shop .nure-shop__head.has-banner .nure-shop__breadcrumbs .woocommerce-breadcrumb,
.nure-shop .nure-shop__head.has-banner .nure-shop__title,
.nure-shop .nure-shop__head.has-banner .nure-shop__intro,
.nure-shop .nure-shop__head.has-banner .nure-shop__intro p {
	color: var(--wp--preset--color--white);
}

.nure-shop .nure-shop__head.has-banner .nure-shop__breadcrumbs a:hover {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nure-shop .nure-shop__head.has-banner .nure-shop__title {
	margin-top: 0;
}

.nure-shop .nure-shop__head.has-banner .nure-shop__intro p {
	opacity: 0.92;
}

.nure-shop .nure-shop__notices:not(:empty) {
	margin-bottom: 20px;
}

/* Yerleşim: mobilde [Filtrele | sıralama] / ızgara; masaüstünde sol kenar çubuğu */
.nure-shop .nure-shop__layout {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"filters toolbar"
		"grid grid";
	align-items: center;
	column-gap: 12px;
	row-gap: 20px;
}

.nure-shop .nure-shop__layout > * {
	margin-block: 0;
	min-width: 0;
}

.nure-shop .nure-shop__layout > .nure-shop__filters {
	grid-area: filters;
}

.nure-shop .nure-shop__layout > .nure-shop__toolbar {
	grid-area: toolbar;
}

.nure-shop .nure-shop__layout > .wp-block-woocommerce-product-collection {
	grid-area: grid;
	align-self: start;
}

/* Filtre uygulanırken: eski sonuçlar soluk kalır, üstte ince yükleme çizgisi (boş ekran yok) */
.nure-shop .nure-shop__layout {
	position: relative;
}

.nure-shop .nure-shop__layout > .wp-block-woocommerce-product-collection .wc-block-product-template {
	transition: opacity 200ms ease;
}

.nure-shop .nure-shop__layout.nure-is-loading > .wp-block-woocommerce-product-collection .wc-block-product-template {
	opacity: 0.45;
	pointer-events: none;
	transition-delay: 120ms;
}

.nure-shop .nure-shop__layout::before {
	content: "";
	position: absolute;
	grid-area: grid;
	top: -11px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--wp--preset--color--ink), transparent) 0 0 / 40% 100% no-repeat, var(--wp--preset--color--line);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.nure-shop .nure-shop__layout.nure-is-loading::before {
	opacity: 1;
	visibility: visible;
	transition: opacity 200ms ease 120ms;
	animation: nure-shop-loading 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes nure-shop-loading {
	from {
		background-position: -70% 0, 0 0;
	}

	to {
		background-position: 170% 0, 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nure-shop .nure-shop__layout.nure-is-loading::before {
		animation: none;
		background: var(--wp--preset--color--muted);
	}
}

/* Araç çubuğu: sonuç sayısı + sıralama */
.nure-shop .nure-shop__toolbar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-height: 44px;
}

.nure-shop .nure-shop__toolbar > * {
	margin: 0;
}

/* Sonuç sayısı hiç ezilmez; dar ekranda sıralama kutusu daralır (üst üste binme yok) */
.nure-shop .nure-shop__toolbar > .wc-block-product-results-count {
	flex: none;
}

.nure-shop .wc-block-product-results-count,
.nure-shop .woocommerce-result-count {
	margin: 0 auto 0 0;
	font-size: 12px;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

.nure-shop .wc-block-catalog-sorting {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
}

.nure-shop .wc-block-catalog-sorting .woocommerce-ordering {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	float: none;
	min-width: 0;
	max-width: 100%;
	margin: 0;
}

.nure-shop .wc-block-catalog-sorting label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nure-shop .wc-block-catalog-sorting form.woocommerce-ordering select.orderby {
	-webkit-appearance: none;
	appearance: none;
	field-sizing: content; /* seçili seçenek kadar geniş (destekleyen tarayıcılarda) */
	min-width: 0;
	max-width: 100%;
	min-height: 44px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0;
	padding: 0 22px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23231D19' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 10px 6px no-repeat;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: right;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
}

.nure-shop .wc-block-catalog-sorting form.woocommerce-ordering select.orderby:hover,
.nure-shop .wc-block-catalog-sorting form.woocommerce-ordering select.orderby:focus {
	border: 0;
	outline: none;
}

.nure-shop .wc-block-catalog-sorting form.woocommerce-ordering select.orderby:focus-visible {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* Ürün ızgarası: mobil 2, tablet 3, masaüstü 3 (kenar çubuğuyla), geniş ekran 4 sütun */
.nure-shop .nure-products--grid .wc-block-product-template.wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 12px;
	row-gap: 32px;
	margin: 0;
	padding: 0;
}

.nure-shop .nure-products--grid .wc-block-product-template > li.wc-block-product {
	width: auto;
	margin: 0;
}

@media (min-width: 768px) {
	.nure-shop .nure-products--grid .wc-block-product-template.wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 16px;
		row-gap: 44px;
	}
}

@media (min-width: 1600px) {
	.nure-shop .nure-products--grid .wc-block-product-template.wc-block-product-template {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Sayfalama */
.nure-shop .nure-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: clamp(40px, 5vw, 64px) 0 0;
	font-size: 13px;
	letter-spacing: 0.04em;
}

.nure-shop .nure-pagination .page-numbers,
.nure-shop .nure-pagination .wp-block-query-pagination-previous,
.nure-shop .nure-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 6px;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	transition: color 180ms;
}

.nure-shop .nure-pagination a:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nure-shop .nure-pagination .page-numbers.current {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}

.nure-shop .nure-pagination .wp-block-query-pagination-previous-arrow,
.nure-shop .nure-pagination .wp-block-query-pagination-next-arrow {
	margin: 0;
	font-size: 16px;
	color: var(--wp--preset--color--ink);
}

/* =========================================================================
   Boş durumlar (sonuç yok / "Yakında")
   ========================================================================= */

.nure-shop .nure-empty {
	grid-column: 1 / -1;
	padding: clamp(48px, 8vw, 112px) 20px;
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: center;
}

.nure-shop .nure-empty.is-filtered .nure-empty__catalog,
.nure-shop .nure-empty.is-catalog-empty .nure-empty__filtered,
.nure-shop .nure-empty:not(.is-filtered):not(.is-catalog-empty) .nure-empty__filtered {
	display: none;
}

.nure-shop .nure-empty .wp-block-group > * {
	margin-left: auto;
	margin-right: auto;
}

.nure-shop .nure-empty__eyebrow {
	margin: 0 0 18px;
	color: var(--wp--preset--color--muted);
}

.nure-shop .nure-empty__title {
	margin: 0 auto;
	max-width: 22ch;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.nure-shop .nure-empty__text {
	max-width: 30rem;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
}

.nure-shop .nure-empty__text a {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.nure-shop .nure-empty__actions {
	justify-content: center;
	margin-top: 28px;
}

.nure-shop .nure-empty__button .wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Arama sonuç yok: arama kutusu */
.nure-shop .nure-empty__search {
	max-width: 26rem;
	margin: 24px auto 0;
}

.nure-shop .nure-empty__search .wp-block-search__inside-wrapper {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--ink);
	padding: 0;
}

.nure-shop .nure-empty__search .wp-block-search__input {
	min-height: 44px;
	border: 0;
	background: transparent;
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	padding: 0 4px;
}

.nure-shop .nure-empty__search .wp-block-search__button {
	margin: 0;
	padding: 0 14px;
	border: 0;
	min-height: 44px;
}

/* =========================================================================
   Filtreler (woocommerce/product-filters.nure-shop__filters)
   ========================================================================= */

.nure-shop__filters {
	color: var(--wp--preset--color--ink);
	font-size: 13px;
}

.nure-shop__filters .wc-block-product-filters__overlay-content,
.nure-shop__filters .wc-block-product-filters__content {
	gap: 0;
}

.nure-shop__filters .nure-filter {
	margin: 0;
	padding: 20px 0 22px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.nure-shop__filters .nure-filter[hidden],
.nure-shop__filters .wc-block-product-filter--hidden {
	display: none;
}

.nure-shop__filters .nure-filter__title {
	margin: 0 0 14px !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}

/* Onay kutusu listesi */
.nure-shop__filters .wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 32px;
	margin: 0;
	cursor: pointer;
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__input-wrapper {
	display: block;
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__input-wrapper::before {
	display: none;
}

.nure-shop__filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	width: 14px;
	height: 14px;
	margin: 0;
	border: 1px solid var(--wp--preset--color--taupe);
	border-radius: 0;
	background: transparent;
	transition: background-color 150ms, border-color 150ms;
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__label:hover input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	border-color: var(--wp--preset--color--ink);
}

.nure-shop__filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input:checked {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
}

.nure-shop__filters input[type="checkbox"].wc-block-product-filter-checkbox-list__input:focus-visible {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

.nure-shop__filters svg.wc-block-product-filter-checkbox-list__mark {
	width: 14px;
	height: 14px;
	padding: 3px;
	color: var(--wp--preset--color--white);
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__text-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__count {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
}

.nure-shop__filters .wc-block-product-filter-checkbox-list__show-more-button {
	margin-top: 8px;
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--muted);
	text-underline-offset: 3px;
}

/* Renk filtresi: seçenek adının önünde renk noktası (hex'ler PHP satır içi CSS'ten) */
.nure-shop__filters .nure-filter--renk .wc-block-product-filter-checkbox-list__text-wrapper::before {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--nure-swatch, #a9a5a1);
	border: 1px solid var(--nure-swatch-border, transparent);
}

/* Beden: küçük kare çipler */
.nure-shop__filters .wc-block-product-filter-chips__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
	gap: 5px;
	max-width: 320px;
}

.nure-shop__filters .wc-block-product-filter-chips__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 40px;
	padding: 0 6px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.06em;
	transition: border-color 150ms, background-color 150ms, color 150ms;
}

.nure-shop__filters .wc-block-product-filter-chips__item:hover {
	border-color: var(--wp--preset--color--ink);
}

.nure-shop__filters .wc-block-product-filter-chips__item[aria-checked="true"] {
	border-color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.nure-shop__filters .wc-block-product-filter-chips__item:focus-visible {
	outline: 1px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* Fiyat */
.nure-shop__filters .wc-block-product-filter-price-slider {
	--wc-product-filter-price-slider: var(--wp--preset--color--ink);
	--wc-product-filter-price-slider-handle: var(--wp--preset--color--base);
	--wc-product-filter-price-slider-handle-border: var(--wp--preset--color--ink);
}

.nure-shop__filters .wc-block-product-filter-price-slider__range {
	height: 2px;
	margin: 14px 0 18px;
}

.nure-shop__filters .wc-block-product-filter-price-slider__range::before {
	opacity: 0.18;
}

.nure-shop__filters .wc-block-product-filter-price-slider__range .range-bar {
	height: 2px;
}

.nure-shop__filters .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-width: 1px;
}

.nure-shop__filters .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border-width: 1px;
}

.nure-shop__filters .wc-block-product-filter-price-slider .text input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 96px;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 13px;
}

.nure-shop__filters .wc-block-product-filter-price-slider .text input[type="text"]:focus {
	border-color: var(--wp--preset--color--ink);
	outline: none;
}

/* Etkin filtreler + temizle */
.nure-shop__filters .nure-filter--active {
	padding-top: 0;
	border-top: 0;
}

.nure-shop__filters .wc-block-product-filter-removable-chips__items {
	gap: 6px;
}

.nure-shop__filters .wc-block-product-filter-removable-chips__items .wc-block-product-filter-removable-chips__item {
	min-height: 32px;
	padding: 0 8px 0 10px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
	background: var(--wp--preset--color--surface);
	font-size: 12px;
}

.nure-shop__filters .wc-block-product-filter-removable-chips__remove {
	min-width: 24px;
	min-height: 24px;
	justify-content: center;
}

.nure-shop__filters .nure-filter__clear {
	margin-top: 12px;
}

.nure-shop__filters .nure-filter__clear .wp-block-button__link {
	min-height: 0;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--ink);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.nure-shop__filters .nure-filter__clear .wp-block-button__link:hover {
	background: none;
	color: var(--wp--preset--color--muted);
}

/* Açma butonu ve panel başlığı */
.nure-shop__filters .wc-block-product-filters__open-overlay {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 180ms, color 180ms;
}

.nure-shop__filters .wc-block-product-filters__open-overlay span {
	padding: 0;
}

.nure-shop__filters .wc-block-product-filters__open-overlay svg.nure-filters__icon {
	width: 18px;
	height: 18px;
	fill: none;
}

.nure-shop__filters .nure-filters__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px !important;
	border-radius: 9px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	font-size: 10px;
	letter-spacing: 0;
}

.nure-shop__filters .nure-filters__count[hidden] {
	display: none;
}

@media (hover: hover) {
	.nure-shop__filters .wc-block-product-filters__open-overlay:hover {
		background: var(--wp--preset--color--ink);
		color: var(--wp--preset--color--white);
	}

	.nure-shop__filters .wc-block-product-filters__open-overlay:hover .nure-filters__count {
		background: var(--wp--preset--color--white);
		color: var(--wp--preset--color--ink);
	}
}

.nure-filters__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Masaüstü: sol kenar çubuğu */
@media (min-width: 1024px) {
	.nure-shop .nure-shop__layout {
		grid-template-columns: 216px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"filters toolbar"
			"filters grid";
		align-items: start;
		column-gap: clamp(32px, 4vw, 64px);
		row-gap: 12px;
	}

	.nure-shop .nure-shop__layout > .nure-shop__filters {
		display: block;
		align-self: start;
	}

	.nure-shop .nure-shop__toolbar {
		justify-content: space-between;
		border-bottom: 1px solid var(--wp--preset--color--line);
		margin-bottom: 12px;
	}

	/* Sonuç yoksa boş araç çubuğu çizgisi gösterilmez */
	.nure-shop .nure-shop__layout:has(.nure-empty) > .nure-shop__toolbar {
		visibility: hidden;
	}

	.nure-shop__filters .nure-filter:first-of-type,
	.nure-shop__filters .nure-filter--active + .nure-filter {
		border-top: 0;
		padding-top: 12px;
	}

	.nure-shop__filters .nure-filter--active:not([hidden]) {
		padding-top: 12px;
	}

	.nure-shop__filters .nure-filter--active:not([hidden]) + .nure-filter {
		border-top: 1px solid var(--wp--preset--color--line);
		padding-top: 20px;
	}

}

/* Mobil ve tablet: "Filtrele" butonu tam ekran panel açar */
@media (max-width: 1023px) {
	.nure-shop .nure-shop__layout > .nure-shop__filters {
		display: block;
	}

	.nure-shop__filters .wc-block-product-filters__open-overlay {
		display: inline-flex;
	}

	.nure-shop__filters .wc-block-product-filters__overlay {
		position: fixed;
		inset: 0;
		top: var(--top-padding, 0);
		z-index: 100000;
		display: block;
		background-color: transparent;
		pointer-events: none;
		visibility: hidden;
		transition: background-color 300ms, visibility 0s linear 320ms;
	}

	.nure-shop__filters.is-overlay-opened .wc-block-product-filters__overlay {
		background-color: rgba(35, 29, 25, 0.35);
		pointer-events: auto;
		visibility: visible;
		transition: background-color 300ms, visibility 0s;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-wrapper {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-dialog {
		position: absolute;
		inset: 0 0 0 auto;
		display: flex !important;
		flex-direction: column;
		width: min(100%, 440px);
		max-height: 100%;
		background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--ink);
		transform: translateX(100%);
		transition: transform 320ms cubic-bezier(0.2, 0, 0, 1);
	}

	.nure-shop__filters.is-overlay-opened .wc-block-product-filters__overlay-dialog {
		transform: none;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-header {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		justify-content: space-between;
		min-height: 60px;
		padding: 0 8px 0 20px;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}

	.nure-shop__filters .wc-block-product-filters__close-overlay {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--wp--preset--color--ink);
		cursor: pointer;
	}

	.nure-shop__filters .wc-block-product-filters__close-overlay span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.nure-shop__filters .wc-block-product-filters__close-overlay svg {
		width: 24px;
		height: 24px;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-content {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 4px 20px 24px;
		-webkit-overflow-scrolling: touch;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-content .nure-filter:first-of-type,
	.nure-shop__filters .wc-block-product-filters__overlay-content .nure-filter--active + .nure-filter {
		border-top: 0;
	}

	.nure-shop__filters .wc-block-product-filters__overlay-footer {
		display: block;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--wp--preset--color--line);
		box-shadow: none;
	}

	.nure-shop__filters .wc-block-product-filters__apply {
		width: 100%;
		min-height: 48px;
		border: 1px solid var(--wp--preset--color--ink);
		background: var(--wp--preset--color--ink);
		color: var(--wp--preset--color--white);
	}

	.nure-shop__filters .wc-block-product-filters__apply:hover {
		background: var(--wp--preset--color--espresso);
		border-color: var(--wp--preset--color--espresso);
	}

	/* WooCommerce'in 600px altı grup kuralı panel içinde boşluk bozmasın */
	.nure-shop__filters .wc-block-product-filters__overlay-content .wp-block-group > div {
		margin: 0;
	}
}

@media (max-width: 599px) {
	.nure-shop .nure-shop__toolbar {
		gap: 8px;
	}

	.nure-shop .wc-block-catalog-sorting form.woocommerce-ordering select.orderby {
		max-width: min(44vw, 100%);
		letter-spacing: 0.04em;
	}
}

/* Kaydırma kilidi (filtre paneli açıkken) */
html.nure-scroll-lock,
html.nure-scroll-lock body {
	overflow: hidden;
}

/* Boş katalog (ürün yok, filtre yok): filtreler ve araç çubuğu gizli, boş durum tam genişlik */
body.nure-shop-empty .nure-shop .nure-shop__layout > .nure-shop__filters,
body.nure-shop-empty .nure-shop .nure-shop__layout > .nure-shop__toolbar {
	display: none;
}

body.nure-shop-empty .nure-shop .nure-shop__layout {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "grid";
}
