/*! Ebaza footer + floating contact buttons (replaces Elementor footer #6065). See ebaza-footer.php */

/* Neutralise Electro's own footer wrapper */
.site-footer.footer-v2,
.site-footer.footer-v1 { background: transparent; padding: 0; margin: 0; border: 0; }

.ebaza-footer { font-family: Inter, "Almarai", sans-serif; color: #fff; }
.ebaza-footer *, .ebaza-footer *::before, .ebaza-footer *::after { box-sizing: border-box; }
.ebaza-footer ul { list-style: none; margin: 0; padding: 0; }
.ebaza-footer a { color: inherit; text-decoration: none; }
.ebaza-footer a:hover { color: #fed700; }
.ebaza-footer p { margin: 0 0 12px; }

.ebaza-footer__main {
	background: #33538e;
	display: grid;
	grid-template-columns: 1.7fr 1fr 1.4fr 1.7fr;
	gap: 40px;
	padding: 84px 84px 34px;
	font-size: 16px;
	line-height: 24px;
}
.ebaza-footer__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.ebaza-footer__logo { width: 311px; max-width: 100%; height: auto; display: block; }
.ebaza-footer__text p:last-child { margin-bottom: 0; }

.ebaza-footer__h {
	font-family: "Almarai", Inter, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	text-transform: capitalize;
	color: #fff;
	margin: 0;
}
.ebaza-footer__h--big { font-size: 28px; line-height: 1.3; }

.ebaza-footer__links li a {
	display: block;
	padding: 10px 20px;
	font-weight: 500;
	text-transform: capitalize;
	line-height: 20px;
}
.ebaza-footer__links li a[lang="ar"] { font-family: "Almarai", sans-serif; }
.ebaza-footer__links li a[lang="en"] { font-family: Inter, sans-serif; }

.ebaza-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-family: "Almarai", Inter, sans-serif;
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 4px;
}
.ebaza-footer__contact li i { width: 16px; flex: 0 0 16px; font-size: 14px; line-height: 24px; text-align: center; color: #fff; }
.ebaza-footer__contact li a[dir="ltr"] { unicode-bidi: isolate; }

.ebaza-footer__news { gap: 15px; }
.ebaza-footer__form { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ebaza-footer__form input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
	height: 50px;
	padding: 6px 16px;
	border: 0;
	border-radius: 25px;
	background: #fff;
	color: #000;
	font: 400 16px/24px Inter, "Almarai", sans-serif;
}
.ebaza-footer__form button {
	height: 50px;
	padding: 15px 30px;
	border: 2px solid #fed700;
	border-radius: 40px;
	background: #fed700;
	color: #1f2a33;
	font: 500 16px/16px Inter, "Almarai", sans-serif;
	text-transform: capitalize;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s, color .2s;
}
.ebaza-footer__form button:hover { background: #fff; color: #33538e; }
.ebaza-footer__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ebaza-footer__msg { margin: 0; font-weight: 500; }
.ebaza-footer__msg--ok { color: #fed700; }
.ebaza-footer__msg--err { color: #ffd9d9; }

.ebaza-footer__bottom {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 36px;
	color: #000;
	font-size: 16px;
	line-height: 24px;
}
.ebaza-footer__social { display: flex; gap: 22px; }
.ebaza-footer__social a { color: #69727d; font-size: 22px; line-height: 22px; }
.ebaza-footer__social a:hover { color: #33538e; }
.ebaza-footer__payments { width: 335px; max-width: 40vw; height: auto; display: block; }
.ebaza-footer__copy { margin: 0; text-align: end; }

/* RTL specifics */
.ebaza-footer[dir="rtl"] { font-family: "Almarai", Inter, sans-serif; }
.ebaza-footer[dir="rtl"] .ebaza-footer__links li a { text-transform: none; }

/* Responsive */
@media (max-width: 1200px) {
	.ebaza-footer__main { grid-template-columns: 1fr 1fr; padding: 56px 40px 28px; }
}
@media (max-width: 767px) {
	.ebaza-footer__main { grid-template-columns: 1fr; padding: 40px 20px 24px; gap: 32px; }
	.ebaza-footer__links li a { padding: 8px 0; }
	.ebaza-footer__bottom { flex-direction: column; text-align: center; padding: 16px 20px; }
	.ebaza-footer__payments { max-width: 100%; }
	.ebaza-footer__copy { text-align: center; }
}

/* Floating contact buttons (desktop). Mobile bar comes from WPCode #13049. */
.ebaza-float {
	position: fixed;
	top: 242px;
	inset-inline-start: 0;
	z-index: 9000;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ebaza-float a {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 14px 0 12px;
	background: #cf204a;
	color: #fff;
	border-radius: 0 50px 50px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
	max-width: 46px;
	overflow: hidden;
	white-space: nowrap;
	text-decoration: none;
	font: 500 14px/1 Inter, "Almarai", sans-serif;
	transition: max-width .25s ease, background .2s;
}
.ebaza-float a i { font-size: 20px; flex: 0 0 auto; }
.ebaza-float a span { opacity: 0; transition: opacity .2s; }
.ebaza-float a:hover, .ebaza-float a:focus-visible { max-width: 200px; background: #a5163a; color: #fff; }
.ebaza-float a:hover span, .ebaza-float a:focus-visible span { opacity: 1; }
[dir="rtl"] .ebaza-float a, .rtl .ebaza-float a { border-radius: 50px 0 0 50px; padding: 0 12px 0 14px; }
@media (max-width: 767px) { .ebaza-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .ebaza-float a, .ebaza-float a span, .ebaza-footer__form button { transition: none; } }
