/* Etilsan – arayüz iyileştirmeleri */
:root {
	--es-red: #c8102e;
	--es-red-d: #a30d25;
	--es-wa: #168a44;
	--es-wa-d: #10703a;
	--es-ink: #1d2125;
	--es-muted: #6b7177;
	--es-line: #e8e6e2;
	--es-bg: #f5f4f1;
}
body { background-color: var(--es-bg) !important; -webkit-font-smoothing: antialiased; }
::selection { background: var(--es-red); color: #fff; }

/* Ortak buton davranışı */
body .elementor-button,
body a.button,
body button.button { transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease; }
body .elementor-button:active,
body a.button:active,
body button.button:active { transform: translateY(1px); }

/* WhatsApp butonları: tek renk, ikonlu */
body a.elementor-button[href*="whatsapp.com"],
body a.button[href*="whatsapp.com"],
body a.wa-shop-button,
body a.wa-order-button,
body .wa-order-button {
	background-color: var(--es-wa) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	box-shadow: 0 6px 14px -8px rgba(22, 138, 68, .7) !important;
}
body a.elementor-button[href*="whatsapp.com"]:hover,
body a.button[href*="whatsapp.com"]:hover,
body a.wa-shop-button:hover,
body a.wa-order-button:hover,
body .wa-order-button:hover { background-color: var(--es-wa-d) !important; color: #fff !important; }
body a.elementor-button[href*="whatsapp.com"] .elementor-button-text,
body a.elementor-button[href*="whatsapp.com"] .elementor-button-icon { color: #fff !important; fill: #fff !important; }
body a.button[href*="whatsapp.com"]:not(.elementor-button)::before,
body a.wa-shop-button::before {
	content: "\f232";
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
	font-size: 1.2em;
	line-height: 1;
	margin-right: 7px;
}

/* "Hemen satın al" butonları marka kırmızısı */
body a.elementor-button[href*="/urun/"] {
	background-color: var(--es-red) !important;
	color: #fff !important;
	border-radius: 10px !important;
	border: 0 !important;
	font-weight: 700 !important;
}
body a.elementor-button[href*="/urun/"]:hover { background-color: var(--es-red-d) !important; }

/* 96 derece rozeti */
body .elementor-element-9a904d1 img { width: 170px !important; max-width: 100% !important; height: auto !important; }
@media (max-width: 767px) { body .elementor-element-9a904d1 img { width: 130px !important; } }

/* Ürün kartları: eşit yükseklikte ızgara */
body ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px !important;
	margin: 0 !important;
}
body ul.products::before,
body ul.products::after { display: none !important; }
@media (min-width: 768px) {
	body ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	body ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
body ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
body ul.products li.product {
	background: #fff !important;
	border: 1px solid var(--es-line) !important;
	border-radius: 14px !important;
	padding: 12px 12px 14px !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important;
	transition: box-shadow .2s ease, transform .2s ease;
	display: flex !important;
	flex-direction: column;
}
body ul.products li.product:hover {
	box-shadow: 0 12px 26px -12px rgba(16, 24, 40, .22) !important;
	transform: translateY(-2px);
}
body ul.products li.product > a.woocommerce-LoopProduct-link { flex: 1 1 auto; display: block; }
body ul.products li.product a img { border-radius: 10px; margin-bottom: 10px !important; }
body ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	color: var(--es-ink) !important;
	padding: 0 !important;
	margin: 0 0 6px !important;
}
body ul.products li.product .price,
body .summary .price {
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}
body ul.products li.product .price { margin: 0 0 4px !important; }
body .price del,
body .price del .amount,
body .price del bdi { color: #9a9fa5 !important; font-size: 12.5px !important; font-weight: 500 !important; opacity: 1 !important; }
body .price ins,
body .price ins .amount,
body .price ins bdi {
	color: var(--es-red) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	background: none !important;
}
body ul.products li.product .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	margin: 8px 0 0 !important;
	padding: 10px 12px !important;
	font-size: 12.5px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	border-radius: 10px !important;
}
body ul.products li.product .add_to_cart_button:not(.wa-shop-button) {
	background-color: var(--es-ink) !important;
	color: #fff !important;
	border: 0 !important;
}
body ul.products li.product .add_to_cart_button:not(.wa-shop-button):hover { background-color: #000 !important; }
body ul.products li.product .added_to_cart {
	display: block;
	text-align: center;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--es-ink);
}

/* İndirim rozeti */
body span.onsale {
	background: var(--es-red) !important;
	color: #fff !important;
	border-radius: 999px !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	line-height: 1 !important;
	padding: 6px 10px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	margin: 0 !important;
}

/* Tek ürün sayfası */
body.single-product .summary .price ins,
body.single-product .summary .price ins .amount,
body.single-product .summary .price ins bdi { font-size: 30px !important; }
body.single-product .summary .price del,
body.single-product .summary .price del .amount,
body.single-product .summary .price del bdi { font-size: 16px !important; }
body.single-product .single_add_to_cart_button {
	border-radius: 10px !important;
	padding: 14px 22px !important;
	font-weight: 700 !important;
	border: 0 !important;
	min-height: 48px;
}
body.single-product .single_add_to_cart_button:not(.wa-order-button) { background-color: var(--es-ink) !important; color: #fff !important; }
body.single-product .single_add_to_cart_button:not(.wa-order-button):hover { background-color: #000 !important; }
body.single-product .quantity .qty {
	min-height: 48px;
	border: 1px solid var(--es-line);
	border-radius: 10px;
}
body.single-product .summary a.wa-order-class {
	display: block !important;
	width: 100%;
	max-width: 440px;
	margin: 14px 0 0 !important;
	float: none !important;
}
body.single-product .summary button.wa-order-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	margin: 0 !important;
	font-size: 15px !important;
	background-color: var(--es-wa) !important;
	color: #fff !important;
	box-shadow: 0 6px 14px -8px rgba(22, 138, 68, .7) !important;
}
body.single-product .summary button.wa-order-button:hover { background-color: var(--es-wa-d) !important; }

@media (max-width: 767px) {
	body ul.products li.product { padding: 10px 10px 12px !important; }
	body ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
	body .price ins, body .price ins .amount, body .price ins bdi { font-size: 16px !important; }
	body ul.products li.product .button { font-size: 12px !important; padding: 10px 6px !important; white-space: nowrap; }
	body a.wa-shop-button::before { margin-right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
	body ul.products li.product,
	body .elementor-button,
	body a.button { transition: none !important; }
	body ul.products li.product:hover { transform: none; }
}
