/* ===== Footer background (applied via .elm-ft-bg on the footer's outer container) ===== */
.elm-ft-bg {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(239, 206, 201, .16) 0%, rgba(239, 206, 201, 0) 60%),
		radial-gradient(45% 70% at 0% 100%, rgba(145, 20, 57, .55) 0%, rgba(145, 20, 57, 0) 70%),
		linear-gradient(160deg, #3a1420 0%, #2F2B2C 55%, #241f21 100%) !important;
	border-top: 2px solid transparent;
	border-image: linear-gradient(90deg, rgba(200, 154, 108, 0), #c89a6c 30%, #e6c39a 50%, #c89a6c 70%, rgba(200, 154, 108, 0)) 1;
}
.elm-ft-bg::before { /* faint floral line pattern */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23EFCEC9' stroke-width='1.2'%3E%3Cpath d='M60 30c8 10 8 20 0 30-8-10-8-20 0-30z'/%3E%3Cpath d='M60 60c10-8 20-8 30 0-10 8-20 8-30 0zM60 60c-10-8-20-8-30 0 10 8 20 8 30 0z'/%3E%3Cpath d='M60 60c8 10 8 20 0 30-8-10-8-20 0-30z'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Cpath d='M0 0c10 6 14 14 12 24M120 120c-10-6-14-14-12-24'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 120px 120px;
}
.elm-ft-bg::after { /* soft blush blob */
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	width: 520px;
	height: 520px;
	inset-inline-start: -160px;
	top: -220px;
	border-radius: 50%;
	background: #EFCEC9;
	opacity: .10;
	filter: blur(90px);
}

/* ===== Mobile bottom nav ===== */
.elm-bnav {
	--bn-bg: #ffffff;
	--bn-color: #6b5e62;
	--bn-active: #911439;
	--bn-accent: #911439;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	direction: rtl;
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	height: calc(64px + env(safe-area-inset-bottom, 0px));
	padding: 0 8px env(safe-area-inset-bottom, 0px);
	background: var(--bn-bg);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -8px 28px -12px rgba(30, 26, 28, .28);
	font-family: 'Vazirmatn', 'Vazirmatn FD', system-ui, sans-serif;
}
.elm-bnav__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 64px;
	color: var(--bn-color);
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	transition: color .25s ease;
	-webkit-tap-highlight-color: transparent;
}
.elm-bnav__ico { display: grid; place-items: center; width: 24px; height: 24px; font-size: 20px; }
.elm-bnav__ico svg { width: 22px; height: 22px; fill: currentColor; }
.elm-bnav__item.is-active { color: var(--bn-active); }
.elm-bnav__item.is-active .elm-bnav__ico { position: relative; }
.elm-bnav__item.is-active .elm-bnav__ico::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.elm-bnav__item--center { position: relative; }
.elm-bnav__item--center .elm-bnav__ico {
	width: 56px;
	height: 56px;
	margin-top: -30px;
	border-radius: 50%;
	background: var(--bn-accent);
	color: #fff;
	box-shadow: 0 10px 22px -8px rgba(145, 20, 57, .7), 0 0 0 5px var(--bn-bg);
}
.elm-bnav__item--center .elm-bnav__ico::after { display: none; }
.elm-bnav__item--center { color: var(--bn-accent); font-weight: 700; }
.elementor-widget-elmira-bottom-nav { position: static !important; }
@media (min-width: 1025px) {
	.elm-bnav, .elementor-widget-elmira-bottom-nav, .elm-bnav-holder { display: none !important; }
}
@media (max-width: 1024px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
	.elm-bnav-holder { padding: 0 !important; min-height: 0 !important; }
}
.elementor-editor-active .elm-bnav { position: relative; }

/* Footer mobile: wrap long lines (address/email) instead of overflowing. */
@media (max-width: 767px) {
	.elm-ft-bg, .elm-ft-bg .e-con, .elm-ft-bg .e-con-inner, .elm-ft-bg .elementor-widget { min-width: 0; max-width: 100%; }
	.elm-ft-bg .e-con { width: 100%; }
	.elm-ft-bg .elementor-icon-list-item, .elm-ft-bg .elementor-icon-box-wrapper { min-width: 0; }
	.elm-ft-bg .elementor-icon-list-text, .elm-ft-bg .elementor-heading-title, .elm-ft-bg p, .elm-ft-bg a, .elm-ft-bg span { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
}
