/**
 * Bonyan Medica - Footer
 * نوار مزیت‌ها، فوتر اصلی، نوار پایانی
 */

/* ------------------------------------------------------------
   1) نوار مزیت‌ها (بالای فوتر)
------------------------------------------------------------ */
body .below-content {
	background: var(--bm-soft);
	border-top: 1px solid var(--bm-line);
	border-bottom: 1px solid var(--bm-line);
	padding-block: 34px;
}

body .below-content > .col-full {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

body .below-content .widget {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	position: relative;
	padding-inline-start: 62px;
	min-height: 54px;
	justify-content: center;
}

body .below-content .widget::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff var(--bm-ico, none) center/22px no-repeat;
	border: 1px solid var(--bm-line);
	box-shadow: var(--bm-sh-1);
}

body .below-content .widget:nth-child(1) { --bm-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d89a1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 3h15v13H1z'/><path d='M16 8h4l3 3v5h-7z'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>"); }
body .below-content .widget:nth-child(2) { --bm-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 1 0 9-9'/><path d='M3 3v6h6'/></svg>"); }
body .below-content .widget:nth-child(3) { --bm-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d89a1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='M9 12l2 2 4-4'/></svg>"); }
body .below-content .widget:nth-child(4) { --bm-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='5' width='20' height='14' rx='2'/><path d='M2 10h20'/></svg>"); }

body .below-content .widget .gamma.widget-title {
	font-size: var(--bm-fs-base);
	font-weight: 700;
	color: var(--bm-ink);
	margin: 0;
	line-height: 1.6;
	letter-spacing: 0;
}

body .below-content .widget .textwidget p {
	margin: 0;
	font-size: var(--bm-fs-sm);
	color: var(--bm-muted);
	line-height: 1.7;
}

body .below-content .widget .textwidget svg { display: none; }

/* ------------------------------------------------------------
   2) فوتر اصلی
------------------------------------------------------------ */
body .site-footer {
	background: var(--bm-dark);
	color: #9fb0bf;
	padding-block: 56px 40px;
	margin: 0;
}

body .site-footer > .col-full {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr;
	gap: 40px 32px;
	align-items: start;
}

body .site-footer .widget {
	margin: 0 0 28px;
	padding: 0;
	background: transparent;
	border: 0;
}

body .site-footer .gamma.widget-title,
body .site-footer .widget .widget-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 20px;
	padding: 0 0 12px;
	position: relative;
	letter-spacing: 0;
	line-height: 1.6;
}

body .site-footer .gamma.widget-title::after,
body .site-footer .widget .widget-title::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 34px;
	height: 2.5px;
	border-radius: 3px;
	background: var(--bm-gold);
}

body .site-footer,
body .site-footer p {
	font-size: 14px;
	line-height: 1.95;
	color: #9fb0bf;
}

body .site-footer .textwidget p { margin: 0 0 12px; }

body .site-footer .textwidget img {
	max-width: 132px;
	height: auto;
	margin-bottom: 18px;
	filter: none;
}

body .site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body .site-footer ul li {
	margin: 0 0 2px;
	padding: 0;
	border: 0;
}

body .site-footer ul li a,
body .site-footer .textwidget ul li a {
	display: inline-block;
	padding: 6px 0;
	color: #a9b8c6;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.7;
	transition: color var(--bm-tr), padding-inline-start var(--bm-tr);
}

body .site-footer ul li a:hover {
	color: var(--bm-gold);
	padding-inline-start: 4px;
}

body .site-footer ul li a::after,
body .site-footer li a:after { display: none; border: 0; }

/* ستون نماد اعتماد */
body .site-footer #custom_html-8 .textwidget {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

body .site-footer #custom_html-8 img {
	max-width: 104px;
	background: #fff;
	border-radius: var(--bm-r-sm);
	padding: 8px;
	box-sizing: content-box;
}

body .site-footer #custom_html-8 a {
	color: #a9b8c6;
	font-size: 13px;
}

body .site-footer #custom_html-8 a:hover { color: var(--bm-gold); }

/* ------------------------------------------------------------
   3) نوار پایانی
------------------------------------------------------------ */
body .bm-bottom-bar {
	background: var(--bm-dark-2);
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding-block: 16px;
	color: #8ea0b0;
	font-size: 13px;
}

body .bm-bottom-bar .col-full {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

body .bm-bottom-bar p { margin: 0; }

body .bm-bottom-bar .bm-pay {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #a9b8c6;
}

body .bm-bottom-bar .bm-pay svg { width: 18px; height: 18px; stroke: var(--bm-gold); }

/* ------------------------------------------------------------
   4) ریسپانسیو
------------------------------------------------------------ */
@media (max-width: 1100px) {
	body .site-footer > .col-full {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}
	body .site-footer > .col-full > .widget:first-child {
		grid-column: 1 / -1;
	}
	body .below-content > .col-full {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 24px;
	}
}

@media (max-width: 767px) {
	body .below-content { padding-block: 24px; }
	body .below-content > .col-full {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	body .site-footer { padding-block: 40px 28px; }
	body .site-footer > .col-full { grid-template-columns: 1fr; }
	body .bm-bottom-bar .col-full { justify-content: center; text-align: center; }
}
