/**
 * ERŞE BREEZE — Spectra/UAG + Gutenberg (Özelleştirici Ek CSS taşıması).
 * page-id-XXXX yerine: body.lang-* + ersebreeze-context-* (Polylang çevirileri pll_get_post ile eşlenir).
 * TR referans ID’leri: ersebreeze_page_role_tr_reference_ids filtresi (varsayılan about: 2848, contact: 2969).
 * Özelleştiriciden bu kuralların kopyasını kaldırmanız önerilir (çift yükleme önlenir).
 */

/* ----------------------------------------
   1. GENEL YAZI RENGİ - TÜM SAYFALAR
   ---------------------------------------- */
.wp-block-uagb-container h1,
.wp-block-uagb-container h2,
.wp-block-uagb-container h3,
.wp-block-uagb-container h4,
.wp-block-uagb-container h5,
.wp-block-uagb-container h6,
.wp-block-uagb-container p,
.wp-block-uagb-container .uagb-heading-text,
.wp-block-uagb-container .uagb-desc-text,
.wp-block-uagb-container .uagb-ifb-title,
.wp-block-uagb-container .uagb-ifb-desc {
	color: #1a1a1a !important;
	text-shadow:
		-1px -1px 0 rgba(255, 255, 255, 0.9),
		1px -1px 0 rgba(255, 255, 255, 0.9),
		-1px 1px 0 rgba(255, 255, 255, 0.9),
		1px 1px 0 rgba(255, 255, 255, 0.9),
		0 0 12px rgba(255, 255, 255, 0.8) !important;
}

/* ----------------------------------------
   2. LOGO
   ---------------------------------------- */
.ast-site-identity {
	max-width: 80px !important;
	display: block !important;
}

.site-logo-img img,
.custom-logo-link img,
.ast-site-identity img {
	width: 100% !important;
	max-width: 80px !important;
	height: auto !important;
	display: block !important;
}

/* ----------------------------------------
   3. SEPET BADGE
   ---------------------------------------- */
.ast-header-woo-cart-badge {
	top: -4px !important;
	right: -8px !important;
	background-color: #c9a050 !important;
}

/* ----------------------------------------
   4. BUTONLAR (GENEL)
   ---------------------------------------- */
.uagb-ifb-button-wrapper a,
.wp-block-button__link,
.uagb-buttons-repeater,
.ast-button,
.ast-custom-button,
.button,
input[type="submit"],
input[type="button"],
button {
	background-color: #c9a050 !important;
	color: #ffffff !important;
	border: 1px solid #c9a050 !important;
	text-shadow: none !important;
}

.uagb-ifb-button-wrapper a:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.button:hover,
input[type="submit"]:hover,
button:hover {
	background-color: #b8914a !important;
	border-color: #b8914a !important;
	color: #ffffff !important;
}

/* ----------------------------------------
   5. BUTON ORTALAMA — ANA SAYFA (dil bağımsız bağlam)
   ---------------------------------------- */
body.ersebreeze-context-home.lang-tr .wp-block-button,
body.ersebreeze-context-home.lang-en .wp-block-button,
body.ersebreeze-context-home.lang-ru .wp-block-button,
body.ersebreeze-context-home.lang-ar .wp-block-button,
body.ersebreeze-context-about.lang-tr .wp-block-button,
body.ersebreeze-context-about.lang-en .wp-block-button,
body.ersebreeze-context-about.lang-ru .wp-block-button,
body.ersebreeze-context-about.lang-ar .wp-block-button {
	text-align: center !important;
	display: flex !important;
	justify-content: center !important;
}

body.ersebreeze-context-home.lang-tr .wp-block-button__link,
body.ersebreeze-context-home.lang-en .wp-block-button__link,
body.ersebreeze-context-home.lang-ru .wp-block-button__link,
body.ersebreeze-context-home.lang-ar .wp-block-button__link,
body.ersebreeze-context-about.lang-tr .wp-block-button__link,
body.ersebreeze-context-about.lang-en .wp-block-button__link,
body.ersebreeze-context-about.lang-ru .wp-block-button__link,
body.ersebreeze-context-about.lang-ar .wp-block-button__link {
	margin-left: auto !important;
	margin-right: auto !important;
	display: inline-block !important;
}

body.ersebreeze-context-home.lang-tr .wp-block-cover .wp-block-buttons,
body.ersebreeze-context-home.lang-en .wp-block-cover .wp-block-buttons,
body.ersebreeze-context-home.lang-ru .wp-block-cover .wp-block-buttons,
body.ersebreeze-context-home.lang-ar .wp-block-cover .wp-block-buttons {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
}

body.ersebreeze-context-home.lang-tr .wp-block-cover__inner-container,
body.ersebreeze-context-home.lang-en .wp-block-cover__inner-container,
body.ersebreeze-context-home.lang-ru .wp-block-cover__inner-container,
body.ersebreeze-context-home.lang-ar .wp-block-cover__inner-container {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}

body.ersebreeze-context-contact.lang-tr .wp-block-cover__inner-container,
body.ersebreeze-context-contact.lang-en .wp-block-cover__inner-container,
body.ersebreeze-context-contact.lang-ru .wp-block-cover__inner-container,
body.ersebreeze-context-contact.lang-ar .wp-block-cover__inner-container {
	display: block !important;
	text-align: center !important;
}

/* ----------------------------------------
   6. ARAPÇA RTL (ana sayfa + hakkımızda)
   ---------------------------------------- */
body.ersebreeze-context-home.lang-ar .uagb-ifb-button-wrapper,
body.ersebreeze-context-about.lang-ar .uagb-ifb-button-wrapper {
	display: flex !important;
	justify-content: center !important;
	flex-direction: row !important;
}

body.ersebreeze-context-home.lang-ar .main-navigation ul,
body.ersebreeze-context-about.lang-ar .main-navigation ul {
	direction: rtl !important;
}

/* ----------------------------------------
   7. SPECTRA BUTON — RU/AR ana sayfa + hakkımızda
   ---------------------------------------- */
body.ersebreeze-context-home.lang-ru .uagb-buttons__outer-wrap,
body.ersebreeze-context-home.lang-ar .uagb-buttons__outer-wrap,
body.ersebreeze-context-about.lang-ru .uagb-buttons__outer-wrap,
body.ersebreeze-context-about.lang-ar .uagb-buttons__outer-wrap {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
	left: auto !important;
	right: auto !important;
}

body.ersebreeze-context-home.lang-ru .uagb-buttons__wrap,
body.ersebreeze-context-home.lang-ar .uagb-buttons__wrap,
body.ersebreeze-context-about.lang-ru .uagb-buttons__wrap,
body.ersebreeze-context-about.lang-ar .uagb-buttons__wrap {
	justify-content: center !important;
}

body.ersebreeze-context-home.lang-ru .uagb-buttons-layout-wrap,
body.ersebreeze-context-home.lang-ar .uagb-buttons-layout-wrap,
body.ersebreeze-context-about.lang-ru .uagb-buttons-layout-wrap,
body.ersebreeze-context-about.lang-ar .uagb-buttons-layout-wrap {
	justify-content: center !important;
	display: flex !important;
	width: 100% !important;
}

body.ersebreeze-context-home.lang-ru .uagb-button__link,
body.ersebreeze-context-home.lang-ar .uagb-button__link,
body.ersebreeze-context-about.lang-ru .uagb-button__link,
body.ersebreeze-context-about.lang-ar .uagb-button__link {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ----------------------------------------
   8. RUSÇA — blok kaçması (Spectra blok sınıfları; düzen değişirse güncellenir)
   ---------------------------------------- */
body.ersebreeze-context-about.lang-ru .uagb-block-42099ff7,
body.ersebreeze-context-about.lang-ru .uagb-block-2e5d152a {
	left: auto !important;
	right: auto !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative !important;
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
}

/* ----------------------------------------
   9. İLETİŞİM — tüm diller (TR referans: pll ile eşlenen sayfalar)
   ---------------------------------------- */
body.ersebreeze-context-contact.lang-tr .wp-block-columns,
body.ersebreeze-context-contact.lang-en .wp-block-columns,
body.ersebreeze-context-contact.lang-ru .wp-block-columns,
body.ersebreeze-context-contact.lang-ar .wp-block-columns {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 4rem !important;
	align-items: flex-start !important;
	position: relative !important;
	z-index: 1 !important;
}

body.ersebreeze-context-contact.lang-tr .wp-block-column,
body.ersebreeze-context-contact.lang-en .wp-block-column,
body.ersebreeze-context-contact.lang-ru .wp-block-column,
body.ersebreeze-context-contact.lang-ar .wp-block-column {
	flex: 1 !important;
	min-width: 0 !important;
	position: relative !important;
	z-index: 1 !important;
	float: none !important;
}

body.ersebreeze-context-contact.lang-tr .wp-block-uagb-info-box,
body.ersebreeze-context-contact.lang-en .wp-block-uagb-info-box,
body.ersebreeze-context-contact.lang-ru .wp-block-uagb-info-box,
body.ersebreeze-context-contact.lang-ar .wp-block-uagb-info-box {
	position: relative !important;
	z-index: 1 !important;
}

body.ersebreeze-context-contact.lang-tr .wpcf7,
body.ersebreeze-context-contact.lang-en .wpcf7,
body.ersebreeze-context-contact.lang-ru .wpcf7,
body.ersebreeze-context-contact.lang-ar .wpcf7 {
	position: relative !important;
	z-index: 2 !important;
}

/* Arapça iletişim RTL */
body.ersebreeze-context-contact.lang-ar .wp-block-columns {
	flex-direction: row-reverse !important;
}

body.ersebreeze-context-contact.lang-ar .wpcf7 {
	direction: rtl !important;
	text-align: right !important;
}

body.ersebreeze-context-contact.lang-ar .wpcf7 label {
	display: block !important;
	text-align: right !important;
	direction: rtl !important;
	width: 100% !important;
}

body.ersebreeze-context-contact.lang-ar .wpcf7 input[type="text"],
body.ersebreeze-context-contact.lang-ar .wpcf7 input[type="email"],
body.ersebreeze-context-contact.lang-ar .wpcf7 input[type="tel"],
body.ersebreeze-context-contact.lang-ar .wpcf7 textarea {
	direction: rtl !important;
	text-align: right !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.ersebreeze-context-contact.lang-ar .wpcf7 input[type="submit"] {
	display: block !important;
	margin-right: 0 !important;
	margin-left: auto !important;
}

@media (max-width: 781px) {
	body.ersebreeze-context-contact.lang-tr .wp-block-columns,
	body.ersebreeze-context-contact.lang-en .wp-block-columns,
	body.ersebreeze-context-contact.lang-ru .wp-block-columns,
	body.ersebreeze-context-contact.lang-ar .wp-block-columns {
		flex-wrap: wrap !important;
	}
}
