/* =========================================================
   Theme4 Modern Footer V2 — safe isolated overrides
   ========================================================= */
.t4-service-bar--modern {
	background: #fff;
	color: var(--text);
	padding: 24px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.t4-service-bar--modern .t4-service-bar__row { align-items: stretch; }
.t4-service-bar--modern .t4-service-bar__item {
	height: 100%;
	gap: 12px;
	padding: 10px 4px;
}
.t4-service-bar--modern .t4-service-bar__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f1f3f5;
	color: var(--text);
}
.t4-service-bar--modern .t4-service-bar__text strong {
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--text);
}
.t4-service-bar--modern .t4-service-bar__text span {
	font-size: .78rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--text-muted);
	opacity: 1;
}

.t4-footer--modern-v2 {
	background: #f7f7f7;
	padding: 46px 0 20px;
	border-top: 0;
}
.t4-footer-v2__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.6fr) repeat(4, minmax(135px, 1fr));
	gap: 42px;
	align-items: start;
}
.t4-footer-v2__heading,
.t4-footer-v2__panel-title {
	margin: 0 0 16px;
	font-size: .94rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--text);
}
.t4-footer-v2__intro {
	margin: 0 0 12px;
	max-width: 390px;
	font-size: .82rem;
	line-height: 1.6;
	color: var(--text-muted);
}
.t4-footer-v2__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.t4-footer-v2__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	color: var(--text);
	font-size: .78rem;
	font-weight: 500;
	text-decoration: none;
	transition: .2s ease;
}
.t4-footer-v2__btn:hover { border-color: var(--primary); color: var(--primary); }
.t4-footer-v2__btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.t4-footer-v2__btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.t4-footer-v2__privacy {
	max-width: 390px;
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px dashed var(--border);
	font-size: .69rem;
	line-height: 1.5;
	color: var(--text-muted);
}
.t4-footer-v2__contact-card {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-bottom: 14px;
	margin-bottom: 12px;
	border-bottom: 1px dashed var(--border);
	font-size: .78rem;
	line-height: 1.45;
	color: var(--text-muted);
}
.t4-footer-v2__contact-card a { color: inherit; text-decoration: none; }
.t4-footer-v2__contact-card a:hover { color: var(--primary); }
.t4-footer-v2__logo { display: inline-flex; width: fit-content; margin-bottom: 5px; }
.t4-footer-v2__logo img { display: block; max-height: 42px; width: auto; }
.t4-footer-v2__payment-text { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; color: var(--text-muted); }
.t4-footer-v2__payment-text strong { font-weight: 500; color: var(--text); text-transform: uppercase; }

.t4-footer-v2__panel-title {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: default;
}
.t4-footer-v2__plus { display: none; font-size: 1.25rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.t4-footer-v2__panel-body { display: block; }
.t4-footer-v2__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.t4-footer-v2__list a {
	display: inline-block;
	color: var(--text-muted);
	font-size: .81rem;
	line-height: 1.45;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}
.t4-footer-v2__list a:hover { color: var(--primary); transform: translateX(2px); }
.t4-footer-v2__service-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.t4-footer-v2__service-contact a { color: var(--text); font-size: .8rem; font-weight: 500; text-decoration: none; }

.t4-footer-v2__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
	padding: 18px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.t4-footer-v2__social { display: flex; flex-wrap: wrap; gap: 8px; }
.t4-footer-v2__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #e4e9ed;
	color: var(--text);
	font-size: .76rem;
	font-weight: 500;
	text-decoration: none;
	transition: .2s ease;
}
.t4-footer-v2__social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.t4-footer-v2__security { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.t4-footer-v2__security-text {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 9px;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: #fff;
	font-size: .68rem;
	font-weight: 500;
	color: var(--text-muted);
}
.t4-footer-v2__quick {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 16px;
	padding-top: 16px;
}
.t4-footer-v2__quick a { color: var(--text-muted); font-size: .72rem; text-decoration: none; }
.t4-footer-v2__quick a:hover { color: var(--primary); }
.t4-footer-v2__bottom {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
	padding-top: 14px;
	border-top: 0;
	font-size: .72rem;
}

@media (max-width: 1199.98px) {
	.t4-footer-v2__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
	.t4-footer-v2__customer { grid-column: 1 / -1; }
	.t4-footer-v2__intro, .t4-footer-v2__privacy { max-width: 560px; }
}
@media (max-width: 767.98px) {
	.t4-service-bar--modern { padding: 16px 0; }
	.t4-service-bar--modern .t4-service-bar__item { align-items: flex-start; }
	.t4-service-bar--modern .t4-service-bar__icon { width: 42px; height: 42px; flex-basis: 42px; }
	.t4-footer--modern-v2 { padding: 32px 0 18px; }
	.t4-footer-v2__grid { display: block; }
	.t4-footer-v2__customer { padding-bottom: 22px; }
	.t4-footer-v2__panel { border-top: 1px solid var(--border); }
	.t4-footer-v2__panel:last-child { border-bottom: 1px solid var(--border); }
	.t4-footer-v2__panel-title { margin: 0; padding: 15px 0; cursor: pointer; }
	.t4-footer-v2__plus { display: inline-block; }
	.t4-footer-v2__panel-body { display: none; padding: 0 0 16px; }
	.t4-footer-v2__panel.is-open .t4-footer-v2__panel-body { display: block; }
	.t4-footer-v2__panel.is-open .t4-footer-v2__plus { transform: rotate(45deg); }
	.t4-footer-v2__meta { flex-direction: column; align-items: flex-start; margin-top: 24px; }
	.t4-footer-v2__security { justify-content: flex-start; }
	.t4-footer-v2__quick { justify-content: flex-start; }
	.t4-footer-v2__bottom { justify-content: flex-start; }
}
@media (min-width: 768px) {
	.t4-footer-v2__panel-body { display: block !important; }
	.t4-footer-v2__panel-title { pointer-events: none; }
}


/* Admin-connected footer text blocks */
.t4-footer-v2__newsletter {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 14px;
	padding: 11px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--background);
}

.t4-footer-v2__newsletter strong {
	font-size: .78rem;
	font-weight: 500;
	color: var(--text);
}

.t4-footer-v2__newsletter span {
	font-size: .72rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.t4-footer-v2__service-text {
	margin: 0 0 13px;
	font-size: .76rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.t4-footer-v2__service-text {
	display: block;
	text-decoration: none;
}

a.t4-footer-v2__service-text:hover {
	color: var(--primary);
}
