/* Showroom Locations page — scoped to avoid collisions with WooCommerce. */
.dr-locations-page {
	min-height: 70vh;
	padding-top: calc(var(--announce-height) + 88px);
	padding-bottom: 8px;
	background:
		radial-gradient(circle at 84% 6%, rgba(255, 255, 255, 0.65) 0, rgba(255, 255, 255, 0) 26%),
		linear-gradient(180deg, #faf6ed 0%, #f1e7d6 100%);
}

.dr-locations-page a {
	text-decoration: none;
}

.locations-container {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.locations-hero {
	padding: 56px 0 28px;
}

.locations-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--blue);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.locations-eyebrow-line {
	width: 22px;
	height: 1px;
	background: currentColor;
}

.locations-hero-title {
	margin: 0;
	color: var(--dark);
	font-family: var(--serif);
	font-size: clamp(46px, 8vw, 76px);
	font-weight: 300;
	line-height: 0.96;
	letter-spacing: -0.03em;
}

.locations-hero-title em {
	color: var(--blue);
	font-style: italic;
}

.locations-quick-links {
	padding: 8px 0 28px;
}

.locations-quick-links-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.locations-quick-chip {
	padding: 10px 16px;
	border: 1px solid rgba(138, 115, 75, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.44);
	color: rgba(47, 42, 34, 0.78);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.locations-quick-chip:hover {
	border-color: rgba(79, 114, 150, 0.34);
	background: rgba(255, 255, 255, 0.7);
	transform: translateY(-1px);
}

.locations-filter {
	padding-bottom: 24px;
}

.locations-filter-panel {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(184, 155, 104, 0.16);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.44);
	box-shadow: 0 16px 36px rgba(87, 69, 43, 0.06);
}

.locations-filter-label {
	display: block;
	margin-bottom: 8px;
	color: var(--blue);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.locations-filter-select-wrap {
	position: relative;
}

.locations-filter-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid rgba(47, 42, 34, 0.58);
	border-bottom: 1.5px solid rgba(47, 42, 34, 0.58);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.locations-select {
	width: 100%;
	min-height: 52px;
	padding: 0 48px 0 18px;
	border: 1px solid rgba(138, 115, 75, 0.22);
	border-radius: 999px;
	background: rgba(255, 252, 246, 0.78);
	color: rgba(47, 42, 34, 0.82);
	font-size: 13px;
	letter-spacing: 0.06em;
	appearance: none;
	-webkit-appearance: none;
}

.locations-select:focus-visible,
.locations-quick-chip:focus-visible,
.locations-map-button:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

.locations-count {
	display: flex;
	align-items: center;
	min-height: 24px;
	color: rgba(47, 42, 34, 0.58);
	font-size: 13px;
	line-height: 1.6;
}

.locations-results-summary {
	padding: 0 4px 14px;
	color: rgba(47, 42, 34, 0.58);
	font-size: 13px;
	line-height: 1.7;
}

.locations-empty-results {
	padding: 28px;
	border: 1px solid rgba(184, 155, 104, 0.16);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.44);
	color: rgba(47, 42, 34, 0.62);
	font-size: 14px;
	line-height: 1.8;
}

.locations-section-block {
	padding: 28px 0 8px;
	scroll-margin-top: 110px;
}

.locations-section-sub {
	max-width: 680px;
	margin: 0;
	color: rgba(47, 42, 34, 0.64);
	font-size: 14px;
	line-height: 1.8;
}

.locations-group-list {
	display: grid;
	gap: 20px;
}

.locations-group-card {
	overflow: hidden;
	border: 1px solid rgba(184, 155, 104, 0.16);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.44);
	box-shadow: 0 16px 36px rgba(87, 69, 43, 0.06);
}

.locations-group-head {
	padding: 22px 22px 18px;
	border-bottom: 1px solid rgba(184, 155, 104, 0.14);
}

.locations-group-label {
	margin-bottom: 8px;
	color: var(--blue);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.locations-group-name {
	margin: 0;
	color: var(--dark);
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 300;
}

.locations-store-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 20px;
}

.locations-store-card {
	overflow: hidden;
	border: 1px solid rgba(184, 155, 104, 0.14);
	border-radius: 22px;
	background: rgba(248, 246, 241, 0.86);
}

.locations-store-copy {
	padding: 18px 18px 14px;
}

.locations-store-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.locations-store-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid rgba(79, 114, 150, 0.14);
	border-radius: 999px;
	background: rgba(79, 114, 150, 0.1);
	color: var(--blue);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.locations-store-name {
	margin: 0;
	color: var(--dark);
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 300;
	line-height: 1.1;
}

.locations-store-region {
	margin-top: 8px;
	color: rgba(47, 42, 34, 0.58);
	font-size: 13px;
	letter-spacing: 0.06em;
}

.locations-store-map {
	display: block;
	width: 100%;
	height: 260px;
	border: 0;
	background: #e8ddc8;
}

.locations-store-map[aria-busy="true"] {
	background:
		linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%),
		#e8ddc8;
	background-size: 220% 100%;
	animation: locations-map-loading 1.8s linear infinite;
}

@keyframes locations-map-loading {
	to { background-position-x: -220%; }
}

.locations-store-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 14px 18px 18px;
}

.locations-map-button {
	display: block;
	padding: 16px 18px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.locations-map-button--primary {
	background: var(--blue);
	color: #fff;
	box-shadow: 0 10px 24px rgba(49, 95, 134, 0.16);
}

.locations-map-button--secondary {
	border: 1px solid rgba(138, 115, 75, 0.22);
	background: rgba(255, 255, 255, 0.36);
	color: rgba(47, 42, 34, 0.78);
}

@media (min-width: 900px) {
	.locations-container {
		width: min(1240px, calc(100% - 96px));
	}

	.locations-hero {
		padding: 72px 0 36px;
	}

	.locations-filter-panel {
		grid-template-columns: minmax(280px, 420px) 1fr;
		align-items: end;
	}

	.locations-group-list {
		gap: 28px;
	}

	.locations-store-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 520px) {
	.locations-container {
		width: min(100% - 28px, 1200px);
	}

	.locations-store-grid {
		padding: 14px;
	}

	.locations-store-actions {
		grid-template-columns: 1fr;
	}

	.locations-store-map {
		height: 230px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.locations-quick-chip,
	.locations-store-map[aria-busy="true"] {
		transition: none;
		animation: none;
	}
}
