.cdw-stockists-page {
	--stockist-ink: #282421;
	--stockist-muted: #6f6861;
	--stockist-paper: #fbf8f2;
	--stockist-line: #ded5c8;
	--stockist-wine: #941d24;
	--stockist-gold: #b88b4c;
	color: var(--stockist-ink);
}

.cdw-stockists-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--stockist-line);
}

.cdw-stockists-kicker {
	margin: 0 0 7px !important;
	color: var(--stockist-wine) !important;
	font-size: 10px !important;
	font-weight: 700;
	letter-spacing: .16em;
}

.cdw-stockists-heading h2 {
	margin: 0 0 4px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 500;
	line-height: 1.25;
}

.cdw-stockists-heading p {
	margin: 0;
	color: var(--stockist-muted);
	font-size: 13px;
}

.cdw-stockists-total {
	white-space: nowrap;
}

.cdw-stockists-total strong {
	margin-right: 4px;
	color: var(--stockist-wine);
	font-family: Georgia, serif;
	font-size: 26px;
	font-weight: 500;
}

.cdw-stockists-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	min-height: 590px;
	border: 1px solid var(--stockist-line);
	background: #fff;
}

.cdw-stockists-filters {
	padding: 22px 18px;
	border-right: 1px solid var(--stockist-line);
	background: #fff;
}

.cdw-stockists-filters label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
}

.cdw-stockists-filters input,
.cdw-stockists-filters select {
	width: 100%;
	height: 42px;
	margin-bottom: 18px;
	padding: 0 10px;
	border: 1px solid var(--stockist-line);
	border-radius: 0;
	background: var(--stockist-paper);
	color: var(--stockist-ink);
}

.cdw-stockists-reset {
	padding: 10px 0 0;
	border: 0;
	border-top: 1px solid #eee7dc;
	background: transparent;
	color: var(--stockist-wine);
	font-size: 12px;
	cursor: pointer;
}

.cdw-stockists-map-wrap {
	position: relative;
	min-width: 0;
	min-height: 590px;
	background: #eceae4;
}

#cdw-stockist-map {
	position: absolute;
	inset: 0;
}

.cdw-stockists-map-unavailable {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	padding: 30px;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(255,255,255,.95), rgba(242,235,223,.95)),
		var(--stockist-paper);
}

.cdw-stockists-map-unavailable p {
	margin: 6px 0 0;
	color: var(--stockist-muted);
	font-size: 13px;
}

.cdw-stockists-legend {
	position: absolute;
	z-index: 5;
	left: 14px;
	top: 14px;
	display: flex;
	gap: 13px;
	padding: 8px 11px;
	border: 1px solid var(--stockist-line);
	background: rgba(255,255,255,.95);
	font-size: 10px;
}

.cdw-stockists-legend span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.cdw-stockists-legend i {
	width: 9px;
	height: 9px;
	transform: rotate(45deg);
	border-radius: 50% 50% 50% 0;
}

.cdw-stockists-legend .restaurant { background: var(--stockist-wine); }
.cdw-stockists-legend .retail { background: var(--stockist-gold); }

.cdw-stockists-selected {
	position: absolute;
	z-index: 5;
	left: 18px;
	bottom: 18px;
	width: min(420px, calc(100% - 36px));
	padding: 17px 19px;
	border: 1px solid var(--stockist-line);
	background: rgba(255,255,255,.97);
	box-shadow: 0 16px 38px rgba(55, 38, 27, .14);
}

.cdw-stockists-selected-type,
.cdw-stockist-card-type {
	margin: 0 0 3px !important;
	color: var(--stockist-wine) !important;
	font-size: 10px !important;
	font-weight: 700;
	letter-spacing: .08em;
}

.cdw-stockists-selected h2 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 21px;
	font-weight: 600;
}

.cdw-stockists-selected-address {
	margin: 4px 0 10px !important;
	color: var(--stockist-muted) !important;
	font-size: 11px !important;
}

.cdw-stockists-detail-link,
.cdw-stockist-card-links a {
	color: var(--stockist-wine);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(148, 29, 36, .35);
}

.cdw-stockists-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.cdw-stockist-card {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	min-height: 170px;
	border: 1px solid var(--stockist-line);
	background: #fff;
}

.cdw-stockist-card[hidden] {
	display: none !important;
}

.cdw-stockist-card-image {
	display: grid;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(145deg, #951e25, #650c13);
	color: rgba(255,255,255,.8);
	font-family: Georgia, serif;
	font-size: 11px;
	letter-spacing: .12em;
	text-align: center;
}

.cdw-stockist-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdw-stockist-card-body {
	padding: 16px 17px 14px;
}

.cdw-stockist-card-body h2 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 18px;
	line-height: 1.35;
}

.cdw-stockist-card-address {
	margin: 4px 0 7px !important;
	color: var(--stockist-muted) !important;
	font-size: 11px !important;
}

.cdw-stockist-card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 11px;
}

.cdw-stockists-empty {
	margin: 20px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--stockist-line);
	color: var(--stockist-muted);
	font-size: 13px;
}

.cdw-stockist-registration {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	background: #fff;
}

.cdw-stockist-registration summary {
	cursor: pointer;
	font-weight: 700;
}

.cdw-stockist-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400 !important;
}

.cdw-stockist-consent input {
	width: auto !important;
	margin-top: 4px;
}

.cdw-stockist-status {
	padding: 9px 12px;
	border-left: 3px solid var(--vk-color-primary, #c00);
	background: #faf7f4;
}

@media (max-width: 900px) {
	.cdw-stockists-layout {
		grid-template-columns: 1fr;
	}
	.cdw-stockists-filters {
		border-right: 0;
		border-bottom: 1px solid var(--stockist-line);
	}
	.cdw-stockists-map-wrap {
		min-height: 440px;
	}
	.cdw-stockists-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.cdw-stockists-heading {
		align-items: start;
		flex-direction: column;
		gap: 8px;
	}
	.cdw-stockists-layout {
		border-left: 0;
		border-right: 0;
	}
	.cdw-stockists-map-wrap {
		min-height: 360px;
	}
	.cdw-stockists-selected {
		left: 9px;
		bottom: 9px;
		width: calc(100% - 18px);
	}
	.cdw-stockist-card {
		grid-template-columns: 92px minmax(0, 1fr);
	}
}
