/* Dikmen Site Iyilestirmeleri — tema uzerine UX/erisilebilirlik duzeltmeleri */

/* ---------- Genel (masaustu + mobil) ---------- */

/* Birincil eylem butonlari marka yesili (tema gri gosteriyordu) */
.btn-primary,
#button-payment-method,
#button-confirm,
#button-login,
#button-register,
#button-guest,
.buttons .pull-right .btn-primary {
	background-color: #116735 !important;
	border-color: #116735 !important;
	color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
#button-payment-method:hover,
#button-confirm:hover {
	background-color: #0a3b1e !important;
	border-color: #0a3b1e !important;
}
/* Ikincil eylem (Alisverise Devam Et) cerceveli */
.buttons .pull-left .btn-default {
	background: #fff !important;
	border: 1px solid #116735 !important;
	color: #116735 !important;
}

/* Urun sayfasinda tek birincil eylem: "Simdi Satin Alin" ikincil (cerceveli) */
#button-checkout {
	background: #fff !important;
	border: 2px solid #116735 !important;
	color: #116735 !important;
}
#button-checkout:hover,
#button-checkout:focus { background: #edf8f1 !important; }

/* Ustu cizili eski fiyat okunur kontrastta */
#price-old,
.price-old { color: #5b6660 !important; }

/* Urun adlari yazildigi gibi ("850 g" -> tema "850 G" yapiyordu) */
.title-product h1,
.right-block h4 a,
.breadcrumb li a,
.product-item-container h4 a { text-transform: none !important; }

/* "Vergiler Haric: ..." satiri fiyatlar KDV dahil oldugu icin kafa karistiriyordu */
.price-tax { display: none !important; }

/* Kullanilmayan abonelik odemeleri baglantisi */
a[href*="account/recurring"] { display: none !important; }

/* Yorumu olmayan urunlerde bos yildizlar (JS ile isaretlenir) */
.dk-no-rating { display: none !important; }

/* Guven satiri (Sepete Ekle altinda) */
.dk-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 14px 0 6px;
	padding: 12px 14px;
	border: 1px solid #e3eee7;
	border-radius: 8px;
	background: #f6faf7;
	color: #1f2a22;
	font-size: 14px;
	line-height: 1.4;
	list-style: none;
}
.dk-trust li { margin: 0; white-space: nowrap; }

/* Footer: sablondan kalan pasta/portakal fotografi */
.typefooter-1 { background-image: none !important; }

/* ---------- Mobil sablon (So Mobile) ---------- */
@media (max-width: 767px) {
	/* WhatsApp butonu fiyat ve butonlarin ustune biniyordu: saga, alt menunun ustune */
	a[href*="wa.me"][style*="fixed"] {
		left: auto !important;
		right: 12px !important;
		bottom: 64px !important;
	}
	a[href*="wa.me"][style*="fixed"] img { height: 44px !important; }
	body.dk-sticky-on a[href*="wa.me"][style*="fixed"] { bottom: 128px !important; }

	/* Icerigin son satiri alt menunun ve butonlarin altinda kalmasin */
	body[class*="mobilelayout"] .content { padding-bottom: 80px; }
	body.dk-sticky-on[class*="mobilelayout"] .content { padding-bottom: 150px; }

	/* Alt menu etiketleri okunur kontrastta (#929292 -> 5.9:1) */
	.bar-tab .tab-item .tab-label { color: #5b6660; }

	/* Mobil urun adi */
	.dk-product-title {
		margin: 4px 0 8px;
		color: #1f2a22;
		font-size: 22px;
		font-weight: 700;
		line-height: 1.25;
	}

	/* Sepet tablosu -> kart duzeni */
	#content form .table-responsive { border: 0; overflow: visible; }
	#content form .table-responsive > table.table-bordered { border: 0; }
	#content form .table-responsive > table.table-bordered thead { display: none; }
	#content form .table-responsive > table.table-bordered tbody tr {
		display: grid;
		grid-template-columns: 76px 1fr;
		grid-template-areas:
			"img name"
			"img qty"
			"img price";
		gap: 6px 12px;
		margin-bottom: 12px;
		padding: 12px;
		border: 1px solid #e5e5e5;
		border-radius: 10px;
	}
	#content form .table-responsive > table.table-bordered tbody td {
		display: block;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}
	#content form .table-responsive > table.table-bordered tbody td:nth-child(1) { grid-area: img; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(1) img { width: 76px; height: auto; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(2) { grid-area: name; font-weight: 700; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(3) { display: none; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(4) { grid-area: qty; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(4) .input-group { max-width: 220px; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(5) { display: none; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(6) { grid-area: price; font-size: 17px; font-weight: 700; color: #116735; }
	#content form .table-responsive > table.table-bordered tbody td:nth-child(6)::before { content: "Tutar: "; color: #5b6660; font-weight: 400; font-size: 14px; }

	/* Odeme ozet tablosu ekrana sigsin */
	.quickcheckout-cart { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

	/* Yapiskan "Sepete Ekle" cubugu (alt menunun ustunde) */
	.dk-sticky-cart {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 50px;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 14px;
		border-top: 1px solid #e3e3e3;
		background: #fff;
		box-shadow: 0 -4px 14px rgba(0, 0, 0, .08);
		transform: translateY(120%);
		transition: transform .2s ease;
	}
	.dk-sticky-cart.is-visible { transform: none; }
	.dk-sticky-cart__price { color: #116735; font-size: 20px; font-weight: 700; line-height: 1.1; }
	.dk-sticky-cart__old { display: block; color: #5b6660; font-size: 13px; font-weight: 400; text-decoration: line-through; }
	.dk-sticky-cart__btn {
		flex: 0 0 auto;
		min-height: 48px;
		padding: 0 22px;
		border: 0;
		border-radius: 8px;
		background: #116735;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
	}
	.dk-sticky-cart__btn:active { background: #0a3b1e; }
}

@media (prefers-reduced-motion: reduce) {
	.dk-sticky-cart { transition: none; }
}

/* ---------- Sosyal medya alani (ana sayfa, hero alti) ---------- */
.dk-social {
	margin: 0;
	padding: 28px 16px;
	background: linear-gradient(135deg, #fff8e6 0%, #faf7f0 55%, #eef7f1 100%);
	border-bottom: 1px solid #efe6cf;
}
.dk-social__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	max-width: 1170px;
	margin: 0 auto;
}
.dk-social__eyebrow {
	margin: 0 0 4px;
	color: #4a2c00;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
}
.dk-social__title {
	margin: 0 0 6px;
	color: #1f2a22;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.dk-social__desc { margin: 0; color: #3b4540; font-size: 15px; line-height: 1.5; }
.dk-social__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }
.dk-social__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 18px 8px 14px;
	border-radius: 12px;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(16, 40, 24, .12);
	transition: transform .15s ease, box-shadow .15s ease;
}
.dk-social__btn:hover,
.dk-social__btn:focus-visible { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16, 40, 24, .18); }
.dk-social__btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.dk-social__btn strong { font-size: 15px; font-weight: 700; }
.dk-social__btn small { font-size: 12px; opacity: .92; }
.dk-social__btn--instagram { background: linear-gradient(45deg, #c13584 0%, #b1227d 45%, #7a3fb0 100%); }
.dk-social__btn--facebook { background: #1864d6; }

@media (max-width: 767px) {
	.dk-social { padding: 20px 14px; }
	.dk-social__inner { flex-direction: column; align-items: stretch; text-align: center; }
	.dk-social__title { font-size: 20px; }
	.dk-social__desc { font-size: 14px; }
	.dk-social__actions { justify-content: center; }
	.dk-social__btn { flex: 1 1 150px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.dk-social__btn { transition: none; }
}
