/* v2.6.12 — wide footer aligned to the header 35px inset. Only when .jc612-footer-wide is on.
   Does not change logo artwork or #7EBDFD. Loaded only if v2612_footer_wide is enabled. */

/* WhatsApp QR 120px on all breakpoints when this module is on. Stays under the
   contact lines and left-aligned in the CONTACT column (v2.6.8+). */
.jc612-footer-wide .jc65-qr {
	flex: 0 0 120px;
	width: 120px;
	margin: 12px 0 0;
	text-align: left;
}
.jc612-footer-wide .jc65-qr img,
.jc612-footer-wide .jc65-qr__ph {
	display: block;
	width: 120px;
	height: 120px;
	aspect-ratio: 1;
	box-sizing: border-box;
	object-fit: contain;
}

/* Desktop header on this site appears at 922/923px (Astra header breakpoint 921).
   Match that inset (35px), not the 1240px footer wrap or the 1360px shop grid.
   Below this, keep the existing 24px footer padding — do not use 35px against the
   mobile header, whose logo sits at 15px. */
@media (min-width: 922px) {
	.jc612-footer-wide .jc65-wrap {
		width: 100%;
		max-width: none;
		padding-left: 35px;
		padding-right: 35px;
		box-sizing: border-box;
	}
	/* Lightly even out the four columns so Company / Products are not lost
	   in the wider row. minmax keeps the brand social row from wrapping at
	   1024px. CONTACT stays the widest but is no longer 1.75fr. The QR itself
	   is not right-aligned. */
	.jc612-footer-wide .jc65-grid {
		grid-template-columns: minmax(250px, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(240px, 1.3fr);
	}
}

/* 2-column tablet (existing v2.6.5 1023px breakpoint). From 922px the wrap
   already uses the 35px header inset; 768–921 keeps 24px. */
@media (min-width: 768px) and (max-width: 1023px) {
	.jc612-footer-wide .jc65-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

/* Mobile and narrow tablet with the mobile header: keep v2.6.5 24px inset. */
@media (max-width: 921px) {
	.jc612-footer-wide .jc65-wrap {
		width: 100%;
		max-width: none;
		padding-left: 24px;
		padding-right: 24px;
		box-sizing: border-box;
	}
}
