/* AltCtrl footer — dark demo layout */
.site-footer.footer-v1 {
	background: #000;
	color: #d7dbe3;
	padding-top: 0;
}

.site-footer.footer-v1 .altctrl-footer {
	padding: clamp(0.875rem, 1.4vw, 1.125rem) 0 clamp(0.75rem, 1.2vw, 0.875rem);
	font-weight: 400;
	--altctrl-footer-heading-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
	--altctrl-footer-heading-weight: 400;
	--altctrl-footer-section-gap: clamp(0.75rem, 1.2vw, 0.875rem);
	--altctrl-footer-link-row-h: clamp(1.75rem, 1.65rem + 0.35vw, 1.875rem);
	--altctrl-footer-column-head-h: clamp(1.875rem, 1.75rem + 0.35vw, 2rem);
}

.site-footer.footer-v1 .altctrl-footer a,
.site-footer.footer-v1 .altctrl-footer a:hover,
.site-footer.footer-v1 .altctrl-footer a:focus,
.site-footer.footer-v1 .altctrl-footer a:active,
.site-footer.footer-v1 .altctrl-footer a:visited {
	text-decoration: none !important;
}

.site-footer.footer-v1 .altctrl-footer strong {
	font-weight: var(--altctrl-footer-heading-weight);
}

/* Shared footer heading typography (matches social labels) */
.altctrl-footer__social-label,
.altctrl-footer__column-title,
.altctrl-footer__trust-copy strong,
.altctrl-footer__payments-title {
	font-size: var(--altctrl-footer-heading-size);
	font-weight: var(--altctrl-footer-heading-weight);
	line-height: 1.2;
	color: #fff;
	text-transform: none;
	letter-spacing: normal;
}

/* Social */
.altctrl-footer__social {
	padding-bottom: var(--altctrl-footer-section-gap);
	border-bottom: 1px solid #1f1f1f;
}

.altctrl-footer__social-item,
.altctrl-footer__social-item:hover,
.altctrl-footer__social-item:focus {
	text-decoration: none !important;
}

.altctrl-footer__social-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(1rem, 2vw, 1.25rem) clamp(1.5rem, 3vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.altctrl-footer__social-item-wrap {
	display: flex;
	align-items: center;
}

.altctrl-footer__social-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 1.5rem;
	color: #fff;
	text-decoration: none;
	font-size: var(--altctrl-footer-heading-size);
	font-weight: 400;
	line-height: 1.2;
}

.altctrl-footer__social-item--placeholder {
	cursor: default;
}

.altctrl-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Columns */
.altctrl-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 0;
	padding: var(--altctrl-footer-section-gap) 0;
}

.altctrl-footer__column {
	display: flex;
	flex-direction: column;
	padding: 0 clamp(1.25rem, 2vw, 1.75rem);
	border-right: 1px solid #242424;
}

.altctrl-footer__column:first-child {
	padding-left: 0;
}

.altctrl-footer__column:last-child {
	padding-right: 0;
	border-right: 0;
}

.altctrl-footer__links a,
.altctrl-footer__links a span {
	font-weight: 400;
}

.altctrl-footer__column-head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--altctrl-footer-column-head-h);
	margin: 0 0 0.375rem;
	padding-bottom: 0;
}

.altctrl-footer__column-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(1.75rem, 1.6rem + 0.5vw, 1.875rem);
	height: clamp(1.75rem, 1.6rem + 0.5vw, 1.875rem);
	flex: 0 0 clamp(1.75rem, 1.6rem + 0.5vw, 1.875rem);
	border-radius: var(--ac-radius-sm, 0.375rem);
	background: rgba(0, 102, 204, 0.14);
	color: #4d9fff;
}

.altctrl-footer__column-title {
	display: inline-block;
	margin: 0;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none !important;
}

.altctrl-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.altctrl-footer__links li {
	min-height: 0 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
}

.altctrl-footer__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	min-height: var(--altctrl-footer-link-row-h);
	padding: 0.2rem 0;
	color: #b8bec8;
	text-decoration: none !important;
	border: 0 !important;
	font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
	font-weight: 400;
	line-height: 1.25;
	transition: color 0.2s ease;
}

.altctrl-footer__links a:hover,
.altctrl-footer__links a:focus,
.altctrl-footer__links a:active,
.altctrl-footer__links a:visited {
	text-decoration: none !important;
}

.altctrl-footer__links a > span:first-child {
	display: -webkit-box;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.altctrl-footer__links a:hover,
.altctrl-footer__links a:focus {
	color: #fff;
}

.altctrl-footer__link-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex: 0 0 auto;
	color: #7b8494;
}

/* Trust bar */
.altctrl-footer__trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-bottom: var(--altctrl-footer-section-gap);
	padding: 0.375rem 0;
	border: 1px solid #1f1f1f;
	border-radius: var(--ac-radius-sm, 0.5rem);
	background: #0b0b0b;
}

.altctrl-footer__trust-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	border-right: 1px solid #1f1f1f;
}

.altctrl-footer__trust-item:last-child {
	border-right: 0;
}

.altctrl-footer__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(1.75rem, 1.6rem + 0.5vw, 1.875rem);
	height: clamp(1.75rem, 1.6rem + 0.5vw, 1.875rem);
	border-radius: var(--ac-radius-sm, 0.375rem);
	background: rgba(0, 102, 204, 0.12);
	color: #4d9fff;
	flex-shrink: 0;
}

.altctrl-footer__trust-copy {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.altctrl-footer__trust-copy strong {
	display: block;
}

.altctrl-footer__trust-copy span {
	font-size: var(--ac-text-xs, clamp(0.625rem, 0.58rem + 0.2vw, 0.6875rem));
	font-weight: 400;
	line-height: 1.25;
	color: #8f98a8;
}

/* Bottom bar */
.altctrl-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #1f1f1f;
}

.altctrl-footer__copyright {
	font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
	font-weight: 400;
	line-height: 1.4;
	color: #9aa3b2;
}

.altctrl-footer__payments {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.875rem;
	padding: 0 clamp(1rem, 1.5vw, 1.125rem);
	border-left: 1px solid #242424;
	border-right: 1px solid #242424;
}

.altctrl-footer__payments-title {
	white-space: nowrap;
}

.altctrl-footer__payment-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.altctrl-footer__payment-icons li {
	display: flex;
	align-items: center;
	justify-content: center;
}

.altctrl-footer__payment-icons img {
	display: block;
	width: clamp(2rem, 1.8rem + 0.8vw, 2.125rem);
	height: auto;
	background: #fff;
	border-radius: 0.25rem;
}

.altctrl-footer__back-to-top {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(2.25rem, 2rem + 0.8vw, 2.5rem);
	height: clamp(2.25rem, 2rem + 0.8vw, 2.5rem);
	margin: 0;
	padding: 0;
	border: 1px solid #2a2a2a;
	border-radius: 50%;
	background: #111;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.altctrl-footer__back-to-top:hover,
.altctrl-footer__back-to-top:focus {
	background: #0066cc;
	border-color: #0066cc;
	outline: none;
}

.altctrl-footer__back-to-top.is-visible {
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 1199px) {
	.altctrl-footer__columns {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.altctrl-footer__column {
		padding: 0;
		border-right: 0;
		border-bottom: 1px solid #242424;
		padding-bottom: var(--altctrl-footer-section-gap);
	}

	.altctrl-footer__column:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.altctrl-footer__trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.altctrl-footer__trust-item:nth-child(2) {
		border-right: 0;
	}

	.altctrl-footer__trust-item:nth-child(1),
	.altctrl-footer__trust-item:nth-child(2) {
		border-bottom: 1px solid #1f1f1f;
	}
}

@media (max-width: 1024px) {
	.altctrl-footer__column--shop,
	.altctrl-footer__trust {
		display: none;
	}

	.altctrl-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 0 1rem;
		padding: var(--altctrl-footer-section-gap) 0;
	}

	.altctrl-footer__column--policies,
	.altctrl-footer__column--care {
		display: flex;
		flex-direction: column;
		min-height: 100%;
		padding: 0;
		border-right: 0;
		border-bottom: 0;
	}

	.altctrl-footer__column--policies {
		padding-right: 0.75rem;
		border-right: 1px solid #242424;
	}

	.altctrl-footer__column--care {
		padding-left: 0.75rem;
	}

	.altctrl-footer__column-head {
		min-height: var(--altctrl-footer-column-head-h);
		margin-bottom: 0.375rem;
		padding-bottom: 0;
	}

	.altctrl-footer__column-title {
		font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
	}

	.altctrl-footer__links a {
		font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
		min-height: var(--altctrl-footer-link-row-h);
	}

	.altctrl-footer__links li {
		min-height: var(--altctrl-footer-link-row-h);
	}
}

@media (max-width: 767px) {
	.site-footer.footer-v1 .altctrl-footer {
		padding-top: 0.875rem;
		--altctrl-footer-link-row-h: clamp(1.75rem, 1.65rem + 0.35vw, 1.875rem);
		--altctrl-footer-column-head-h: clamp(1.875rem, 1.75rem + 0.35vw, 2rem);
	}

	.altctrl-footer__social {
		padding-bottom: 0.75rem;
	}

	.altctrl-footer__social-list {
		gap: 1rem 1.5rem;
	}

	.altctrl-footer__columns {
		padding: 1rem 0;
	}

	.altctrl-footer__column-title {
		font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
	}

	.altctrl-footer__trust {
		grid-template-columns: 1fr;
	}

	.altctrl-footer__trust-item {
		border-right: 0;
		border-bottom: 1px solid #1f1f1f;
	}

	.altctrl-footer__trust-item:last-child {
		border-bottom: 0;
	}

	.altctrl-footer__bottom {
		grid-template-columns: 1fr;
		gap: 1rem;
		text-align: center;
	}

	.altctrl-footer__payments {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.75rem;
		border-left: 0;
		border-right: 0;
		padding: 0;
	}

	.altctrl-footer__payment-icons {
		justify-content: center;
		gap: 0.5rem;
	}

	.altctrl-footer__back-to-top {
		justify-self: center;
	}
}
