.dc-deal-map {
	-webkit-text-size-adjust: 100%;
	--dc-map-red: #f33f3b;
	--dc-map-red-dark: #d72f2c;
	--dc-map-ink: #202124;
	--dc-map-muted: #6c7078;
	--dc-map-line: #e3e4e8;
	--dc-map-surface: #ffffff;
	--dc-map-soft: #f6f7f8;
	color: var(--dc-map-ink);
	font: 400 14px/1.4 Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	isolation: isolate;
	min-height: 660px;
	position: relative;
	text-size-adjust: 100%;
	touch-action: pan-x pan-y;
	width: 100%;
}

.dc-deal-map [hidden] {
	display: none !important;
}

.dc-deal-map button,
.dc-deal-map a {
	-webkit-tap-highlight-color: transparent;
}

.dc-deal-map__canvas {
	background: #eef0f3;
	border: 1px solid var(--dc-map-line);
	border-radius: 8px;
	height: clamp(660px, 76dvh, 820px);
	overflow: hidden;
	overscroll-behavior: contain;
	touch-action: none;
	width: 100%;
}

.dc-deal-map__toolbar {
	align-items: flex-start;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
	left: 16px;
	pointer-events: none;
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 8;
}

.dc-deal-map__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 2px;
	pointer-events: auto;
}

.dc-deal-map__filter-rail {
	min-width: 0;
	pointer-events: none;
	position: relative;
}

.dc-deal-map__filter-arrow {
	display: none;
}

.dc-deal-map-filter {
	background: rgb(255 255 255 / 0.96);
	border: 1px solid rgb(32 33 36 / 0.1);
	border-radius: 999px;
	box-shadow: 0 5px 16px rgb(32 33 36 / 0.1);
	color: var(--dc-map-ink);
	cursor: pointer;
	flex: 0 0 auto;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	min-height: 40px;
	padding: 8px 14px;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
	white-space: nowrap;
}

.dc-deal-map-filter:hover {
	border-color: rgb(243 63 59 / 0.42);
}

.dc-deal-map-filter:active,
.dc-deal-map-carousel button:active,
.dc-deal-map-list button:active {
	transform: translateY(1px);
}

.dc-deal-map-filter.is-active {
	background: var(--dc-map-ink);
	border-color: var(--dc-map-ink);
	color: #ffffff;
}

.dc-deal-map-filter--open-now {
	margin-right: 6px;
}

.dc-deal-map-filter--open-now.is-active {
	background: #18864b;
	border-color: #18864b;
	color: #ffffff;
}

.dc-deal-map-filter--open-now span {
	font-size: 16px;
	line-height: 0;
	margin-right: 3px;
}

.dc-deal-map__summary {
	background: rgb(255 255 255 / 0.94);
	border: 1px solid rgb(32 33 36 / 0.08);
	border-radius: 999px;
	box-shadow: 0 5px 16px rgb(32 33 36 / 0.08);
	color: var(--dc-map-muted);
	font-size: 12px;
	font-weight: 700;
	left: 18px;
	padding: 7px 11px;
	position: absolute;
	top: 64px;
	z-index: 7;
}

.dc-deal-map-pin {
	align-items: center;
	background: #ffffff;
	border: 2px solid var(--dc-map-red);
	border-radius: 12px;
	box-shadow: 0 5px 14px rgb(32 33 36 / 0.22);
	color: var(--dc-map-red);
	cursor: pointer;
	display: flex;
	font-size: 17px;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	padding: 5px;
	position: relative;
	touch-action: none;
	transition: box-shadow 150ms ease, transform 150ms ease;
	user-select: none;
	-webkit-user-select: none;
	width: 52px;
}

.dc-deal-map-pin::after {
	background: #ffffff;
	border-bottom: 2px solid var(--dc-map-red);
	border-right: 2px solid var(--dc-map-red);
	bottom: -6px;
	content: "";
	height: 10px;
	left: 18px;
	position: absolute;
	transform: rotate(45deg);
	width: 10px;
}

.dc-deal-map-pin:hover,
.dc-deal-map-pin.is-selected {
	box-shadow: 0 8px 22px rgb(32 33 36 / 0.3);
	transform: translateY(-2px) scale(1.05);
}

.dc-deal-map-pin img {
	border-radius: 8px;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.dc-deal-map-pin__badge {
	align-items: center;
	background: var(--dc-map-ink);
	border: 2px solid #ffffff;
	border-radius: 999px;
	color: #ffffff;
	display: flex;
	font-size: 10px;
	font-weight: 900;
	height: 20px;
	justify-content: center;
	min-width: 20px;
	padding: 0 4px;
	position: absolute;
	right: -8px;
	top: -8px;
	z-index: 2;
}

.dc-deal-map-cluster {
	align-items: center;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	position: relative;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}

.dc-deal-map-cluster__count {
	align-items: center;
	background: var(--dc-map-red);
	border: 3px solid #ffffff;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgb(32 33 36 / 0.3);
	display: flex;
	font-size: 16px;
	font-weight: 900;
	height: 54px;
	justify-content: center;
	min-width: 54px;
	padding: 0 8px;
}

.dc-deal-map-cluster__label {
	background: var(--dc-map-ink);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	margin-top: -3px;
	padding: 2px 7px;
}

.dc-deal-map-carousel {
	background: rgb(255 255 255 / 0.98);
	border: 1px solid rgb(32 33 36 / 0.1);
	border-radius: 8px;
	bottom: 18px;
	box-shadow: 0 16px 44px rgb(32 33 36 / 0.2);
	left: 18px;
	overflow: hidden;
	position: absolute;
	width: min(384px, calc(100% - 36px));
	z-index: 9;
}

.dc-deal-map-carousel__header,
.dc-deal-map-list__header {
	align-items: center;
	border-bottom: 1px solid var(--dc-map-line);
	display: flex;
	justify-content: space-between;
	min-height: 54px;
	padding: 8px 12px 8px 18px;
}

.dc-deal-map-carousel__header strong,
.dc-deal-map-list__header strong {
	display: block;
	font-size: 14px;
}

.dc-deal-map-carousel__header span,
.dc-deal-map-list__header span {
	color: var(--dc-map-muted);
	display: block;
	font-size: 11px;
}

.dc-deal-map-carousel__guidance--mobile {
	display: none !important;
}

.dc-deal-map-carousel__header .dc-deal-map-carousel__guidance--desktop {
	display: inline;
}

.dc-deal-map-carousel__meta {
	white-space: nowrap;
}

.dc-deal-map-carousel__controls {
	display: flex;
	gap: 6px;
	flex: 0 0 auto;
}

.dc-deal-map-carousel__controls button,
.dc-deal-map-list__header button,
.dc-deal-map-favorite {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--dc-map-line);
	border-radius: 999px;
	color: var(--dc-map-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 20px;
	height: 34px;
	justify-content: center;
	padding: 0;
	width: 34px;
}

.dc-deal-map-deal {
	padding: 12px 18px 16px;
}

.dc-deal-map-carousel__viewport {
	overflow: hidden;
}

.dc-deal-map-carousel__track {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
}

.dc-deal-map-carousel__track::-webkit-scrollbar {
	display: none;
}

.dc-deal-map-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.dc-deal-map-deal__heading {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 58px minmax(0, 1fr) max-content;
}

.dc-deal-map-deal__logo {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--dc-map-line);
	border-radius: 8px;
	display: flex;
	font-size: 18px;
	font-weight: 900;
	height: 58px;
	justify-content: center;
	object-fit: contain;
	padding: 5px;
	width: 58px;
}

.dc-deal-map-deal__business {
	color: var(--dc-map-muted);
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.dc-deal-map-deal h3 {
	font-size: 17px;
	line-height: 1.2;
	margin: 3px 0 0;
}

.dc-deal-map-deal h3 a {
	color: inherit;
	text-decoration: none;
}

.dc-deal-map-deal__business:hover,
.dc-deal-map-deal h3 a:hover {
	color: var(--dc-map-red);
	text-decoration: underline;
}

.dc-deal-map-favorite {
	gap: 2px;
	font-size: 22px;
	height: 40px;
	min-width: 40px;
	padding: 0 7px;
	width: auto;
}

.dc-deal-map-favorite.is-favorite {
	background: #fff3f3;
	border-color: rgb(243 63 59 / 0.32);
	color: var(--dc-map-red);
}

.dc-deal-map-favorite__count {
	font-size: 11px;
	font-weight: 800;
}

.dc-deal-map-favorite:disabled {
	cursor: wait;
	opacity: 0.55;
}

.dc-deal-map-deal__details {
	border-top: 1px solid var(--dc-map-line);
	margin-top: 12px;
	padding-top: 10px;
}

.dc-deal-map-deal__details p {
	color: var(--dc-map-muted);
	font-size: 12px;
	margin: 4px 0;
}

.dc-deal-map-deal__details strong {
	color: var(--dc-map-ink);
}

.dc-deal-map-hours--open strong {
	color: #138a3d;
}

.dc-deal-map-hours--closed strong {
	color: #c7252a;
}

.dc-deal-map-deal__ending {
	align-items: center;
	color: var(--dc-map-red) !important;
	display: flex;
	gap: 6px;
	font-weight: 700;
}

.dc-deal-map-clock {
	flex: 0 0 auto;
	height: 17px;
	width: 17px;
}

.dc-deal-map-directions {
	color: var(--dc-map-muted);
	font-size: 12px;
	position: relative;
}

.dc-deal-map-directions summary {
	cursor: pointer;
	list-style-position: outside;
	margin-left: 14px;
	text-decoration: underline;
	text-decoration-color: rgb(93 99 111 / 0.35);
	text-underline-offset: 2px;
}

.dc-deal-map-directions div {
	display: flex;
	gap: 8px;
	padding: 7px 0 2px;
}

.dc-deal-map-directions a {
	border: 1px solid var(--dc-map-line);
	border-radius: 999px;
	color: var(--dc-map-ink);
	font-size: 11px;
	font-weight: 700;
	padding: 5px 9px;
	text-decoration: none;
}

.dc-deal-map-user-location {
	background: #1a73e8;
	border: 3px solid #ffffff;
	border-radius: 999px;
	box-shadow: 0 1px 6px rgb(32 33 36 / 0.45), 0 0 0 10px rgb(26 115 232 / 0.18);
	height: 18px;
	pointer-events: none;
	width: 18px;
}

.dc-deal-map-deal__link {
	background: var(--dc-map-red);
	border-radius: 8px;
	color: #ffffff;
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-top: 12px;
	padding: 11px 16px;
	text-align: center;
	text-decoration: none;
	transition: background-color 150ms ease, transform 150ms ease;
}

.dc-deal-map-deal__link:hover {
	background: var(--dc-map-red-dark);
	color: #ffffff;
}

.dc-deal-map-carousel__count {
	align-items: center;
	border-top: 1px solid var(--dc-map-line);
	color: var(--dc-map-muted);
	display: flex;
	font-size: 11px;
	gap: 8px;
	justify-content: center;
	padding: 7px 12px;
	text-align: center;
}

.dc-deal-map-carousel__dots {
	align-items: center;
	display: flex;
	gap: 4px;
}

.dc-deal-map-carousel__dots i {
	background: #c6c9cf;
	border-radius: 999px;
	display: block;
	height: 5px;
	transition: background-color 150ms ease, width 150ms ease;
	width: 5px;
}

.dc-deal-map-carousel__dots i.is-active {
	background: var(--dc-map-red);
	width: 14px;
}

.dc-deal-map-list {
	background: rgb(255 255 255 / 0.98);
	border: 1px solid rgb(32 33 36 / 0.1);
	border-radius: 8px;
	bottom: 16px;
	box-shadow: 0 16px 48px rgb(32 33 36 / 0.22);
	overflow: hidden;
	position: absolute;
	right: 16px;
	top: 72px;
	width: min(420px, calc(100% - 32px));
	z-index: 10;
}

.dc-deal-map-list__items {
	max-height: calc(100% - 55px);
	overflow-y: auto;
	padding: 10px;
}

.dc-deal-map-list-card {
	align-items: start;
	border-bottom: 1px solid var(--dc-map-line);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 40px;
	padding: 12px 8px;
}

.dc-deal-map-list-card:last-child {
	border-bottom: 0;
}

.dc-deal-map-list-card span,
.dc-deal-map-list-card p {
	color: var(--dc-map-muted);
	font-size: 11px;
	margin: 0;
}

.dc-deal-map-list-card h3 {
	font-size: 14px;
	line-height: 1.25;
	margin: 3px 0;
}

.dc-deal-map-list-card h3 a {
	color: var(--dc-map-ink);
	text-decoration: none;
}

.dc-deal-map-list__empty,
.dc-deal-map__fallback {
	align-items: center;
	color: var(--dc-map-muted);
	display: flex;
	justify-content: center;
	min-height: 180px;
	padding: 24px;
	text-align: center;
}

@media (max-width: 720px) {
	.dc-deal-map {
		min-height: 680px;
	}

	.dc-deal-map__canvas {
		height: max(680px, calc(100dvh - 150px));
	}

	.dc-deal-map__toolbar {
		display: block;
		left: 10px;
		right: 10px;
		top: 10px;
	}

	.dc-deal-map__filter-rail {
		min-width: 0;
	}

	.dc-deal-map__filters {
		display: flex;
		flex-wrap: nowrap;
		gap: 6px;
		overflow-x: auto;
		padding: 0 38px 6px 2px;
		pointer-events: auto;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.dc-deal-map__filters::-webkit-scrollbar {
		display: none;
	}

	.dc-deal-map-filter {
		font-size: 12px;
		min-height: 38px;
		padding: 7px 12px;
		scroll-snap-align: start;
		white-space: nowrap;
	}

	.dc-deal-map__filter-arrow {
		align-items: center;
		background: rgb(32 33 36 / 0.94);
		border: 2px solid #ffffff;
		border-radius: 999px;
		box-shadow: 0 4px 12px rgb(32 33 36 / 0.26);
		color: #ffffff;
		cursor: pointer;
		display: flex;
		font: 700 26px/1 system-ui, sans-serif;
		height: 34px;
		justify-content: center;
		padding: 0 0 2px;
		pointer-events: auto;
		position: absolute;
		top: 2px;
		width: 34px;
		z-index: 2;
	}

	.dc-deal-map__filter-arrow[hidden] {
		display: none;
	}

	.dc-deal-map__filter-arrow--previous {
		left: 0;
	}

	.dc-deal-map__filter-arrow--next {
		right: 0;
	}

	.dc-deal-map__summary {
		left: 12px;
		top: 58px;
	}

	.dc-deal-map-carousel {
		bottom: 10px;
		left: 10px;
		width: calc(100% - 20px);
	}

	.dc-deal-map-carousel__header {
		padding-left: 14px;
	}

	.dc-deal-map-carousel__guidance--desktop {
		display: none !important;
	}

	.dc-deal-map-carousel__guidance--mobile {
		display: inline !important;
	}

	.dc-deal-map-carousel__controls .dc-deal-map-carousel__navigation {
		display: none;
	}

	.dc-deal-map-deal {
		padding: 10px 14px 14px;
	}

	.dc-deal-map-deal__heading {
		grid-template-columns: 50px minmax(0, 1fr) max-content;
	}

	.dc-deal-map-deal__logo {
		height: 50px;
		width: 50px;
	}

	.dc-deal-map-deal h3 {
		font-size: 15px;
	}

	.dc-deal-map-list {
		bottom: 10px;
		left: 10px;
		right: 10px;
		top: 106px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dc-deal-map *,
	.dc-deal-map *::before,
	.dc-deal-map *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
