/**
 * American Fashion Jackets — footer.
 *
 * The layout, colours, spacing and content all come from the Elementor
 * containers in static block #288. This file only covers what Elementor
 * controls cannot express:
 *   - letting the footer break out of XStore's boxed .container wrapper
 *   - hover transitions on link lists and social buttons
 *   - the logo treatment on a dark background
 *   - horizontal-overflow guards
 *
 * Everything here is scoped to the footer.
 */

/* ------------------------------------------------------------------
 * Full-bleed: XStore wraps footer widgets in a 1350px .container.
 * Neutralise it so the Elementor container's background reaches the
 * viewport edges. The 1280px content band is handled inside Elementor.
 * ---------------------------------------------------------------- */
.et-footers-wrapper .footer {
	padding: 0;
	background: transparent;
	border: 0;
}

.et-footers-wrapper .footer > .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.et-footers-wrapper .footer > .container > .row {
	margin-left: 0;
	margin-right: 0;
}

.et-footers-wrapper .footer .footer-widgets {
	padding-left: 0;
	padding-right: 0;
	float: none;
	width: 100%;
}

.et-footers-wrapper .footer .footer-widget {
	margin: 0;
	padding: 0;
}

/* the prefooter widget area is empty — don't reserve space for it */
footer.prefooter:not(:has(.elementor)) {
	display: none;
}

/* ------------------------------------------------------------------
 * Overflow guards
 * ---------------------------------------------------------------- */
.aj-footer,
.aj-footer * {
	max-width: 100%;
}

.aj-footer img {
	height: auto;
}

/* ------------------------------------------------------------------
 * Brand column
 * ---------------------------------------------------------------- */

/* The brand mark is navy + red artwork, which disappears on a dark
   background — render it as a clean monochrome white lockup instead.
   Delete this rule (or remove the aj-footer-logo class in Elementor) if
   you upload a light version of the logo. */
.aj-footer .aj-footer-logo img {
	filter: brightness(0) invert(1);
	opacity: .95;
	transition: opacity .25s ease;
}

.aj-footer .aj-footer-logo img:hover {
	opacity: 1;
}

.aj-footer .aj-footer-about p {
	margin: 0;
}

/* ------------------------------------------------------------------
 * Column headings — subtle gold rule underneath
 * ---------------------------------------------------------------- */
.aj-footer .aj-footer-heading .elementor-heading-title {
	position: relative;
	padding-bottom: 12px;
}

.aj-footer .aj-footer-heading .elementor-heading-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 2px;
	border-radius: 2px;
	background: #C99A4E;
}

/* ------------------------------------------------------------------
 * Link lists
 * ---------------------------------------------------------------- */
.aj-footer .aj-footer-links .elementor-icon-list-item,
.aj-footer .aj-footer-contact .elementor-icon-list-item {
	transition: transform .25s ease;
}

.aj-footer .aj-footer-links .elementor-icon-list-item > a,
.aj-footer .aj-footer-contact .elementor-icon-list-item > a {
	transition: color .25s ease;
}

.aj-footer .aj-footer-links .elementor-icon-list-item:hover {
	transform: translateX(4px);
}

.aj-footer .aj-footer-contact .elementor-icon-list-icon {
	transition: transform .25s ease;
}

.aj-footer .aj-footer-contact .elementor-icon-list-item:hover .elementor-icon-list-icon {
	transform: scale(1.1);
}

/* keep long emails from pushing the column wider than its track */
.aj-footer .aj-footer-contact .elementor-icon-list-text {
	word-break: break-word;
}

/* ------------------------------------------------------------------
 * Social buttons — Elementor renders circles, this adds the polish
 * ---------------------------------------------------------------- */
.aj-footer .aj-footer-social .elementor-social-icon {
	border: 1px solid rgba(255, 255, 255, .14);
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.aj-footer .aj-footer-social .elementor-social-icon:hover {
	border-color: #C99A4E;
	transform: translateY(-3px);
}

/* ------------------------------------------------------------------
 * Bottom bar — 1fr / auto / 1fr so the copyright is centred on the page
 * regardless of how wide the payment block is.
 * ---------------------------------------------------------------- */
.aj-footer .aj-footer-bottom > .e-con-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.aj-footer .aj-footer-copyright p {
	margin: 0;
}

.aj-footer .aj-footer-payments .aj-pay-icon img {
	border-radius: 4px;
	opacity: .82;
	transition: opacity .25s ease, transform .25s ease;
	display: block;
}

.aj-footer .aj-footer-payments .aj-pay-icon img:hover {
	opacity: 1;
	transform: translateY(-2px);
}

/* ------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {

	.aj-footer .aj-footer-heading .elementor-heading-title {
		padding-bottom: 10px;
	}
}

@media only screen and (max-width: 767px) {

	/* stack the bottom bar: payment icons above, copyright below */
	.aj-footer .aj-footer-bottom > .e-con-inner {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.aj-footer .aj-footer-balance {
		display: none;
	}

	.aj-footer .aj-footer-payments {
		order: -1;
	}

	.aj-footer .aj-footer-bottom {
		text-align: center;
	}

	.aj-footer .aj-footer-copyright {
		width: 100%;
	}

	.aj-footer .aj-footer-links .elementor-icon-list-item:hover {
		transform: none;
	}
}

