/* Footer "Locations" link: pop-up (option 1) and in-footer expand (option 2) */
.footer-locations-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.footer-locations-toggle:hover,
.footer-locations-toggle:focus-visible { color: #fff; }
.footer-locations-chevron { transition: transform .2s ease; }
.footer-locations-toggle[aria-expanded="true"] .footer-locations-chevron { transform: rotate(180deg); }

.footer-locations-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) {
	.footer-locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Option 1: pop-up */
.footer-locations-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.footer-locations-modal.is-open { display: flex; }
.footer-locations-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .65);
}
.footer-locations-card {
	position: relative;
	width: 100%;
	max-width: 1040px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 40px 40px 44px;
	background: #fff;
	border-radius: 12px;
	color: #0f1011;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.footer-locations-close {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px;
	background: none;
	border: 0;
	color: #d22630;
	line-height: 0;
	cursor: pointer;
}
.footer-locations-close:hover { color: #a81d26; }
.footer-locations-title {
	margin: 0 40px 8px 0;
	font-size: 30px;
	line-height: 1.2;
}
.footer-locations-intro {
	margin: 0 0 32px;
	font-size: 18px;
	color: #3a3b3d;
}
.footer-locations-card .footer-locations-grid a { color: #0f1011; font-size: 17px; }
.footer-locations-card .footer-locations-grid a:hover,
.footer-locations-card .footer-locations-grid a:focus-visible { color: #d22630; }
body.footer-locations-locked { overflow: hidden; }
@media (max-width: 767px) {
	.footer-locations-card { padding: 28px 20px 32px; }
	.footer-locations-title { font-size: 24px; }
	.footer-locations-intro { font-size: 16px; margin-bottom: 24px; }
	.footer-locations-card .footer-locations-grid a { font-size: 16px; }
}

/* Option 2: expands inside the footer */
.footer-locations-panel {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows .3s ease, visibility .3s;
}
.footer-locations-panel.is-open {
	grid-template-rows: 1fr;
	visibility: visible;
}
.footer-locations-panel-inner { overflow: hidden; }
.footer-locations-panel-body {
	margin-bottom: 40px;
	padding-top: 32px;
	border-top: 1px solid rgba(168, 162, 158, .3);
}
.footer-locations-panel .footer-locations-grid a:hover,
.footer-locations-panel .footer-locations-grid a:focus-visible { color: #fff; }
@media (min-width: 1024px) {
	.footer-locations-panel .footer-locations-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.footer-locations-panel, .footer-locations-chevron { transition: none; }
}

/* Theme .logo has z-index:100 for the header logo; in the footer that put the
   logo above the fixed header (z-index:20) while scrolling. */
footer .logo { z-index: auto; }
