/** Footer responsive rules. */
@media (max-width: 1180px) {
	.brandina-footer-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
	.brandina-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.brandina-footer-services { gap: 8px; }
	.brandina-footer-service { flex-direction: column; gap: 7px; text-align: center; }
}

@media (max-width: 767px) {
	.brandina-footer-desktop { display: none; }
	.brandina-footer-mobile { display: block; }
	.brandina-footer-inner { width: min(calc(100% - 20px), var(--brandina-footer-width)); }

	.brandina-footer-mobile-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 12px;
		padding-bottom: 10px;
		border-bottom: 1px solid var(--brandina-footer-border);
	}
	.brandina-footer-mobile-top > a { display: inline-flex; align-items: center; gap: 4px; color: var(--brandina-footer-heading); text-decoration: none; }
	.brandina-footer-mobile-top .brandina-icon { width: 14px; height: 14px; transform: rotate(180deg); }

	.brandina-footer-mobile-contact { display: grid; gap: 8px; margin-bottom: 14px; }
	.brandina-footer-mobile-contact a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 11px 12px;
		color: var(--brandina-footer-text);
		background: #fafafa;
		border: 1px solid var(--brandina-footer-border);
		border-radius: 11px;
		text-decoration: none;
	}
	.brandina-footer-mobile-contact a > span { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
	.brandina-footer-mobile-contact a > span > span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
	.brandina-footer-mobile-contact a small { color: #9a9fab; line-height: 1.45; }
	.brandina-footer-mobile-contact .brandina-icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--brandina-footer-accent); }
	.brandina-footer-mobile-contact b { flex: 0 0 auto; color: var(--brandina-footer-heading); font-size: 10px; }

	.brandina-footer-mobile-accordions { display: grid; gap: var(--brandina-footer-mobile-gap); }
	.brandina-footer-accordion { overflow: hidden; background: #fff; border: 1px solid var(--brandina-footer-border); }
	.brandina-footer-accordion > button {
		width: 100%;
		min-height: 46px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		color: var(--brandina-footer-heading);
		background: transparent;
		border: 0;
		font-weight: 750;
		text-align: right;
		cursor: pointer;
	}
	.brandina-footer-accordion > button .brandina-icon { width: 16px; height: 16px; transition: transform .2s ease; }
	.brandina-footer-accordion.is-open > button .brandina-icon { transform: rotate(180deg); }
	.brandina-footer-accordion-content { padding: 0 12px 12px; }
	.brandina-footer-accordion-content[hidden] { display: none; }
	.brandina-footer-menu { gap: 7px; }

	.brandina-footer-newsletter { margin-top: 16px; }
	.brandina-newsletter-placeholder { grid-template-columns: minmax(0, 1fr) 58px; }
	.brandina-newsletter-placeholder input { min-height: 42px; }
	.brandina-footer-socials { margin-top: 18px; }
	.brandina-footer-socials > div { justify-content: center; }
	.brandina-footer-socials > strong { text-align: center; }
	.brandina-footer-socials a,
	.brandina-footer-socials .is-placeholder { width: 36px; height: 36px; }
	.brandina-footer-about-mobile { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--brandina-footer-border); }
	.brandina-footer-about-mobile p { margin: 6px 0 0; line-height: 2; }
	.brandina-footer-copyright { margin: 14px 0 0; text-align: center; }
	.brandina-back-to-top { left: 14px; bottom: 18px; width: 40px; height: 40px; }
}

/* Brandina v1.8 footer responsive corrections. */
@media (max-width: 1180px) and (min-width: 768px) {
	.brandina-footer-main {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 24px;
	}
	.brandina-footer-engagement {
		grid-template-columns: 1fr;
	}
}
