/* QRS-270: compact site footer, the same design as the dashboard footer (QRS-269).
   Desktop: four columns above a slim bottom bar. Tablet (768-1023px): the brand row above
   three columns. Phone (767px and down): two sections that open from a button.
   The selectors start with .qr-footer and reset the theme's global h2, ul, button and img
   styles, so the theme cannot change the footer. */
/* The account pages make <body> a centred flex column (page 608 custom CSS), so the footer
   sets its own full width. */
.qr-footer {
	box-sizing: border-box;
	width: 100%;
	align-self: stretch;
	flex: none;
	margin: 0;
	background: #1c1c1c;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
}
.qr-footer *,
.qr-footer *::before,
.qr-footer *::after {
	box-sizing: border-box;
}
.qr-footer [hidden] {
	display: none !important;
}
.qr-footer a {
	color: inherit;
	text-decoration: none;
}
.qr-footer a:focus-visible,
.qr-footer button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 2px;
}
.qr-footer img {
	max-width: none;
}
.qr-footer .qr-footer__wrap {
	width: min(1160px, 90%);
	margin: 0 auto;
}
.qr-footer .qr-footer__top {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr auto;
	column-gap: 48px;
	padding: 56px 0 44px;
}
.qr-footer .qr-footer__logo {
	display: block;
	width: 84px;
	height: auto;
	margin: 0 0 22px;
}
.qr-footer .qr-footer__social {
	display: flex;
	gap: 12px;
}
.qr-footer .qr-footer__social a {
	display: block;
	line-height: 0;
}
.qr-footer .qr-footer__social img {
	display: block;
	width: 32px;
	height: auto;
}
.qr-footer .qr-footer__heading {
	margin: 0 0 16px;
	padding: 0;
	color: rgba(255, 255, 255, 0.5);
	font: 600 11px/16px Inter, sans-serif;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.qr-footer .qr-footer__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 52px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: rgba(255, 255, 255, 0.88);
	font: inherit;
	font-size: 12px;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}
.qr-footer .qr-footer__toggle:hover,
.qr-footer .qr-footer__toggle:focus {
	background: none;
	color: rgba(255, 255, 255, 0.88);
}
.qr-footer .qr-footer__toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}
.qr-footer .qr-footer__toggle[aria-expanded='true']::after {
	transform: translateY(2px) rotate(-135deg);
}
.qr-footer .qr-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font: 400 14px/20px Raleway, sans-serif;
	letter-spacing: 0.03em;
}
/* The store's custom CSS sets Inter on every element (* selector), so the list items and
   the links set the list font again. */
.qr-footer .qr-footer__list li {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	font: inherit;
}
.qr-footer .qr-footer__list a {
	color: rgba(255, 255, 255, 0.82);
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	overflow-wrap: anywhere;
}
/* The checkout page also has "* { font-family: inter ... !important }" (CheckoutWC custom
   CSS), so only !important keeps the footer links in Raleway there. */
.qr-footer .qr-footer__list,
.qr-footer .qr-footer__list li,
.qr-footer .qr-footer__list a {
	font-family: Raleway, sans-serif !important;
}
.qr-footer .qr-footer__list a:hover {
	color: #fff;
}
.qr-footer .qr-footer__badges {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qr-footer .qr-footer__apps a {
	display: block;
	width: 140px;
	line-height: 0;
}
.qr-footer .qr-footer__apps img {
	display: block;
	width: 100%;
	height: auto;
}
.qr-footer .qr-footer__bottom {
	background: #141414;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.qr-footer .qr-footer__bottom .qr-footer__wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
}
.qr-footer .qr-footer__copyright {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.6);
	font: 400 12px/18px Inter, sans-serif;
	letter-spacing: 0.08em;
}
.qr-footer .qr-footer__payment {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.qr-footer .qr-footer__payment svg {
	display: block;
	width: 36px;
	height: 24px;
	border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.qr-footer .qr-footer__toggle::after {
		transition: none;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.qr-footer .qr-footer__top {
		grid-template-columns: 1fr 1fr auto;
		row-gap: 32px;
		padding: 44px 0 36px;
	}
	.qr-footer .qr-footer__brand {
		grid-column: 1 / -1;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.qr-footer .qr-footer__logo {
		width: 72px;
		margin: 0;
	}
}
@media (max-width: 767px) {
	.qr-footer .qr-footer__top {
		display: block;
		padding: 24px 0 4px;
	}
	.qr-footer .qr-footer__brand {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 0 20px;
	}
	.qr-footer .qr-footer__logo {
		width: 56px;
		margin: 0;
	}
	.qr-footer .qr-footer__section,
	.qr-footer .qr-footer__apps {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
	.qr-footer .qr-footer__section .qr-footer__heading {
		margin: 0;
	}
	/* Without JavaScript the lists stay open, so give the plain heading the same height. */
	.qr-footer .qr-footer__section .qr-footer__title {
		display: flex;
		align-items: center;
		height: 52px;
	}
	.qr-footer .qr-footer__section .qr-footer__list {
		padding: 0 0 12px;
	}
	.qr-footer .qr-footer__apps {
		padding: 20px 0 24px;
	}
	.qr-footer .qr-footer__apps .qr-footer__heading {
		margin-bottom: 12px;
	}
	.qr-footer .qr-footer__badges {
		flex-direction: row;
		gap: 12px;
	}
	.qr-footer .qr-footer__apps a {
		width: calc(50% - 6px);
		max-width: 150px;
	}
	.qr-footer .qr-footer__bottom .qr-footer__wrap {
		flex-direction: column;
		gap: 12px;
		padding: 16px 0 20px;
		text-align: center;
	}
}
