/* Ekiz Core — ürün kartları ([ekiz_alt_sayfalar]) */

.ekiz-kartlar {
	--ekiz-yesil: #3d9a35;
	--ekiz-yesil-koyu: #1b6b2a;
	--ekiz-kirmizi: #d71f26;
	list-style: none;
	margin: 0 0 3rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 24px;
}

/* Temanın clearfix ::before/::after'ı ızgarada boş hücre oluşturmasın */
.ekiz-kartlar::before,
.ekiz-kartlar::after,
.ekiz-cesit::before,
.ekiz-cesit::after,
.ekiz-cesit__gorseller::before,
.ekiz-cesit__gorseller::after,
.ekiz-ozellikler > div::before,
.ekiz-ozellikler > div::after {
	content: none;
	display: none;
}

.ekiz-kartlar__baslik {
	margin: 3rem 0 1.5rem;
	text-align: center;
}

.ekiz-kart {
	margin: 0;
	padding: 0;
}

.ekiz-kart__baglanti {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20, 60, 30, 0.08);
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ekiz-kart__baglanti:hover,
.ekiz-kart__baglanti:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(20, 60, 30, 0.18);
	text-decoration: none;
}

.ekiz-kart__cerceve {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eef5e9;
}

.ekiz-kart__cerceve .ekiz-kart__gorsel {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ekiz-kart__baglanti:hover .ekiz-kart__gorsel {
	transform: scale(1.06);
}

.ekiz-kart__ad {
	position: relative;
	display: block;
	padding: 14px 12px 16px;
	text-align: center;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ekiz-yesil-koyu);
}

.ekiz-kart__ad::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 2px;
	background: var(--ekiz-kirmizi);
	transition: width 0.25s ease;
}

.ekiz-kart__baglanti:hover .ekiz-kart__ad::after {
	width: 56px;
}

@media (max-width: 600px) {
	.ekiz-kartlar {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.ekiz-kart__ad {
		font-size: 0.85rem;
		padding: 10px 8px 12px;
	}
}

/* Çeşit kartları (ürün alt sayfaları) */
.ekiz-cesit {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 32px;
	align-items: start;
	margin: 0 0 28px;
	padding: 28px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(20, 60, 30, 0.07);
}

.ekiz-cesit--gorselsiz {
	grid-template-columns: 1fr;
}

.ekiz-cesit__gorseller {
	display: grid;
	gap: 12px;
}

.ekiz-cesit__gorseller img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 340px;
	object-fit: contain;
	margin: 0;
	border-radius: 8px;
	background: #f4f8f1;
}

.ekiz-cesit__ad {
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-size: 1.6rem;
	line-height: 1.25;
	color: #1b6b2a;
	border-bottom: 3px solid #d71f26;
	display: inline-block;
}

.ekiz-cesit__metin p {
	margin: 0 0 12px;
	line-height: 1.7;
}

.ekiz-ozellikler {
	margin: 16px 0 0;
	border-top: 1px solid #e3eee0;
}

.ekiz-ozellikler > div {
	display: grid;
	grid-template-columns: minmax(140px, 32%) 1fr;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid #e3eee0;
}

.ekiz-ozellikler dt {
	margin: 0;
	font-weight: 600;
	color: #1b6b2a;
}

.ekiz-ozellikler dd {
	margin: 0;
}

@media (max-width: 760px) {
	.ekiz-cesit {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 18px;
	}

	.ekiz-ozellikler > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* Giriş metni (Ürünlerimiz) */
.ekiz-giris {
	max-width: 820px;
	margin: 0 auto 2.5rem;
	text-align: center;
	font-size: 1.15rem;
	line-height: 1.7;
}

/* Gezinme yolu (breadcrumb) */
.ekiz-yol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 28px;
	font-size: 0.9rem;
	color: #6b7a70;
}

.ekiz-yol a {
	color: #1b6b2a;
	text-decoration: none;
}

.ekiz-yol a:hover {
	text-decoration: underline;
}

.ekiz-yol__ayrac {
	opacity: 0.5;
}

.ekiz-yol [aria-current="page"] {
	font-weight: 600;
	color: #2e3a31;
}

/* ===================== Çeşit detay sayfası (.ekiz-cd) ===================== */

.ekiz-cd__ust {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 48px;
}

.ekiz-cd__ust::before,
.ekiz-cd__ust::after,
.ekiz-cd__galeri::before,
.ekiz-cd__galeri::after,
.ekiz-cd__kucukler::before,
.ekiz-cd__kucukler::after,
.ekiz-cd__ikili::before,
.ekiz-cd__ikili::after {
	content: none;
	display: none;
}

/* Galeri: büyük görsel + küçükler */
.ekiz-cd__galeri figure {
	margin: 0;
}

.ekiz-cd__galeri img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 10px;
	background: #f4f8f1;
}

.ekiz-cd__ana img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 0 12px 30px rgba(20, 60, 30, 0.15);
}

.ekiz-cd__kucukler {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.ekiz-cd__kucukler img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ekiz-cd__galeri figcaption,
.ekiz-cd figcaption {
	margin-top: 6px;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #7a877e;
}

/* Özet ve künye */
.ekiz-cd__ozet {
	margin: 0 0 20px;
	font-size: 1.1rem;
	line-height: 1.75;
}

.ekiz-kunye {
	margin: 0;
	padding: 6px 22px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(20, 60, 30, 0.08);
}

.ekiz-kunye > div {
	display: grid;
	grid-template-columns: 42% 1fr;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid #e3eee0;
}

.ekiz-kunye > div:last-child {
	border-bottom: 0;
}

.ekiz-kunye > div::before,
.ekiz-kunye > div::after {
	content: none;
	display: none;
}

.ekiz-kunye dt {
	margin: 0;
	font-weight: 600;
	color: #1b6b2a;
}

.ekiz-kunye dd {
	margin: 0;
}

/* Bölümler */
.ekiz-cd__bolum {
	margin: 0 0 40px;
}

.ekiz-cd__bolum h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 1.5rem;
	color: #1b6b2a;
}

.ekiz-cd__bolum h2::before {
	content: "";
	flex: 0 0 6px;
	height: 26px;
	border-radius: 3px;
	background: #d71f26;
}

.ekiz-cd__bolum p {
	line-height: 1.75;
}

.ekiz-cd__ikili {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.ekiz-cd__kart {
	padding: 24px 26px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(20, 60, 30, 0.07);
}

.ekiz-cd__kart h3 {
	margin: 0 0 12px;
	font-size: 1.15rem;
	color: #1b6b2a;
}

.ekiz-cd__kart ul {
	margin: 0;
	padding-left: 1.1em;
}

.ekiz-cd__kart li {
	margin: 0 0 6px;
	line-height: 1.6;
}

/* Etiketler (ör. dölleyiciler) */
.ekiz-etiketler {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ekiz-etiketler li {
	margin: 0;
}

.ekiz-etiketler a,
.ekiz-etiketler span {
	display: inline-block;
	padding: 5px 13px;
	border-radius: 999px;
	background: #eef6e9;
	color: #1b6b2a;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none;
}

.ekiz-etiketler a:hover {
	background: #3d9a35;
	color: #fff;
}

/* Bilgi notu ve kaynaklar */
.ekiz-cd__not {
	margin: 0 0 32px;
	padding: 16px 20px;
	border-left: 4px solid #3d9a35;
	border-radius: 0 10px 10px 0;
	background: #eef6e9;
	font-size: 0.95rem;
	line-height: 1.6;
}

.ekiz-kaynaklar {
	margin: 0;
	padding-left: 1.4em;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #5d6b62;
}

.ekiz-kaynaklar li {
	margin: 0 0 4px;
	word-break: break-word;
}

.ekiz-kaynaklar a {
	color: #1b6b2a;
}

/* Karşılaştırma tablosu (ürün sayfası) */
.ekiz-tablo-kap {
	overflow-x: auto;
	margin: 0 0 40px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(20, 60, 30, 0.08);
}

.ekiz-tablo {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.92rem;
}

.ekiz-tablo th,
.ekiz-tablo td {
	padding: 11px 14px;
	border-bottom: 1px solid #e3eee0;
	text-align: left;
	vertical-align: top;
}

.ekiz-tablo thead th {
	background: #1b6b2a;
	color: #fff;
	font-weight: 600;
}

.ekiz-tablo tbody tr:nth-child(even) {
	background: #f7fbf5;
}

.ekiz-tablo td:first-child a {
	font-weight: 600;
	color: #1b6b2a;
}

@media (max-width: 900px) {
	.ekiz-cd__ust,
	.ekiz-cd__ikili {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ekiz-kunye > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* Ürün sayfası bölüm görselleri */
.ekiz-cd__sekil {
	margin: 0;
}

.ekiz-cd__sekil img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
}

.ekiz-cd__bolum .ekiz-cd__ikili {
	margin: 20px 0;
}

/* İletişim sayfası */
.ekiz-harita {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: #eef3ee;
}

.ekiz-harita iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ekiz-iletisim .ekiz-cd__kart h3 + ul + h3 {
	margin-top: 20px;
}

.ekiz-iletisim .wpcf7 input:not([type="submit"]),
.ekiz-iletisim .wpcf7 textarea {
	width: 100%;
	max-width: 640px;
}

/* Küçük (eski) fotoğraflar da ikili düzende sütunu doldursun. */
.ekiz-cd__ikili figure img {
	width: 100%;
	height: auto;
}
