/**
 * Front-end button and popup.
 */

.gbp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 100%;
	margin: 0;
	padding: 12px 18px 12px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--gbp-bg, #1a73e8) !important;
	color: var(--gbp-color, #fff) !important;
	box-shadow: 0 8px 24px rgba(32, 33, 36, 0.22);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: left;
	text-decoration: none !important;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gbp-btn:hover {
	color: var(--gbp-color, #fff) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(32, 33, 36, 0.28);
}

.gbp-btn:active {
	transform: translateY(0);
}

.gbp-btn:focus {
	outline: none;
}

.gbp-btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--gbp-bg, #1a73e8);
}

.gbp-btn .gbp-icon {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	fill: currentColor;
}

.gbp-btn__label {
	overflow: hidden;
	max-width: 46vw;
	text-overflow: ellipsis;
}

.gbp-btn--icon {
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
}

.gbp-g {
	display: none;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}

.gbp-fab {
	position: fixed;
	z-index: var(--gbp-z, 99999);
	bottom: calc(var(--gbp-bottom, 24) * 1px + env(safe-area-inset-bottom));
	max-width: calc(100vw - (var(--gbp-side, 24) * 2px) - 16px);
}

.gbp-fab.gbp-btn::before,
.gbp-fab.gbp-btn::after {
	content: none !important;
	display: none !important;
}

.gbp-fab--right {
	right: calc(var(--gbp-side, 24) * 1px + env(safe-area-inset-right));
}

.gbp-fab--left {
	left: calc(var(--gbp-side, 24) * 1px + env(safe-area-inset-left));
}

.gbp-fab--middle {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

.gbp-fab--middle.gbp-btn:hover {
	transform: translateY(calc(-50% - 2px));
}

.gbp-fab--middle.gbp-btn:active {
	transform: translateY(-50%);
}

.gbp-fab--free {
	touch-action: none;
	cursor: grab;
}

html.gbp-fab-hidden .gbp-fab--free {
	display: none !important;
}

html.gbp-fab-custom .gbp-fab--free {
	left: var(--gbp-x) !important;
	top: var(--gbp-y) !important;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
}

.gbp-fab--free.is-dragging {
	z-index: calc(var(--gbp-z, 99999) + 3);
	cursor: grabbing;
	transition: none !important;
	transform: none !important;
}

.gbp-fab--free.is-over-bin {
	transform: scale(0.82) !important;
}

.gbp-fab--free.is-discarding {
	opacity: 0 !important;
	transform: scale(0.2) !important;
	transition: left 0.18s ease, top 0.18s ease, transform 0.18s ease, opacity 0.18s ease !important;
}

.gbp-bin[hidden] {
	display: none !important;
}

.gbp-bin {
	position: fixed;
	z-index: calc(var(--gbp-z, 99999) + 2);
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
	background: rgba(32, 33, 36, 0.92);
	color: #fff;
	transform: translateY(110%);
	transition: transform 0.22s ease, background 0.15s ease;
}

.gbp-bin.is-in {
	transform: translateY(0);
}

.gbp-bin.is-hot {
	background: #d93025;
}

.gbp-bin__well {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	transition: transform 0.15s ease;
}

.gbp-bin.is-hot .gbp-bin__well {
	transform: scale(1.08);
}

.gbp-bin svg {
	display: block;
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.gbp-inline {
	position: relative;
	vertical-align: middle;
}

.gbp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gbp-modal[hidden] {
	display: none !important;
}

.gbp-modal {
	position: fixed;
	z-index: calc(var(--gbp-z, 99999) + 1);
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 16px;
}

.gbp-root--left .gbp-modal {
	justify-content: flex-start;
}

.gbp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(32, 33, 36, 0.48);
}

.gbp-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(calc(var(--gbp-width, 420) * 1px), calc(100vw - 32px));
	height: min(calc(var(--gbp-height, 640) * 1px), calc(100vh - 32px));
	height: min(calc(var(--gbp-height, 640) * 1px), calc(100dvh - 32px));
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(32, 33, 36, 0.32);
	animation: gbp-rise 0.18s ease;
}

.gbp-modal__header {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px 8px 8px 18px;
	border-bottom: 1px solid #e8eaed;
}

.gbp-modal__title {
	flex: 1;
	margin: 0;
	overflow: hidden;
	color: #202124;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

button.gbp-modal__close {
	all: unset;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: 0 1px 4px rgba(32, 33, 36, 0.28) !important;
	color: #202124 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

button.gbp-modal__close::before,
button.gbp-modal__close::after {
	content: none !important;
	display: none !important;
}

.gbp-modal__close svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	fill: none !important;
	stroke: none !important;
}

.gbp-modal__close svg path {
	fill: none !important;
	stroke: #202124 !important;
}

.gbp-modal__close:hover {
	background: #f1f3f4 !important;
}

.gbp-modal__close:focus-visible {
	outline: 2px solid var(--gbp-bg, #1a73e8);
	outline-offset: 2px;
}

.gbp-modal__body {
	position: relative;
	flex: 1;
	min-height: 0;
	background: #e8eaed;
}

.gbp-modal__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #e8eaed;
}

.gbp-modal__frame[hidden],
.gbp-modal__loading[hidden] {
	display: none !important;
}

.gbp-modal__loading {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #f8f9fa;
	color: #3c4043;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
}

.gbp-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid #dadce0;
	border-top-color: var(--gbp-bg, #1a73e8);
	border-radius: 50%;
	animation: gbp-spin 0.7s linear infinite;
}

.gbp-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 32px 24px;
	text-align: center;
	background: #fff;
}

.gbp-fallback__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--gbp-bg, #1a73e8);
	color: var(--gbp-color, #fff);
}

.gbp-fallback__mark .gbp-icon {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.gbp-fallback p {
	max-width: 280px;
	margin: 0 0 20px;
	color: #5f6368;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.gbp-open,
.gbp-modal__footer a {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.gbp-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--gbp-bg, #1a73e8);
	color: var(--gbp-color, #fff) !important;
}

.gbp-open:hover {
	color: var(--gbp-color, #fff) !important;
	filter: brightness(0.95);
}

.gbp-open:focus-visible,
.gbp-modal__footer a:focus-visible {
	outline: 2px solid var(--gbp-bg, #1a73e8);
	outline-offset: 3px;
}

.gbp-modal__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 12px 18px;
	border-top: 1px solid #e8eaed;
	background: #fff;
}

.gbp-modal__footer a {
	color: #1a73e8;
}

.gbp-modal__footer a:hover {
	text-decoration: underline;
}

html.gbp-lock,
html.gbp-lock body {
	overflow: hidden;
}

/* Business popup */

.gbp-card {
	--gbp-ink: #1f2328;
	--gbp-muted: #5f6368;
	--gbp-line: rgba(31, 35, 40, 0.1);
	height: auto;
	max-height: min(calc(var(--gbp-height, 640) * 1px), calc(100vh - 32px));
	max-height: min(calc(var(--gbp-height, 640) * 1px), calc(100dvh - 32px));
	color: var(--gbp-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
}

.gbp-card *,
.gbp-card *::before,
.gbp-card *::after {
	box-sizing: border-box;
}

.gbp-card__scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

button.gbp-card__close {
	position: absolute !important;
	z-index: 2 !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	bottom: auto !important;
}

.gbp-card__hero {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f1f3f4;
}

.gbp-card__hero img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.gbp-card__head {
	padding: 20px 22px 4px;
}

.gbp-card:not(.gbp-card--photo) .gbp-card__head {
	padding-top: 22px;
	padding-right: 56px;
}

.gbp-card__name {
	margin: 0 0 6px;
	padding: 0;
	color: var(--gbp-ink);
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: none;
}

.gbp-card__rating,
.gbp-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 0 4px;
	padding: 0;
	color: var(--gbp-muted);
	font-size: 14px;
}

.gbp-card__meta:empty {
	display: none;
}

.gbp-card__meta > span + span::before {
	content: "·";
	margin-right: 8px;
	color: var(--gbp-muted);
}

.gbp-card__score {
	color: var(--gbp-ink);
	font-weight: 600;
}

.gbp-stars {
	display: inline-block;
	background: linear-gradient(90deg, #fbbc04 var(--gbp-rating, 0%), #dadce0 var(--gbp-rating, 0%));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	font-family: Arial, sans-serif;
	font-size: 16px;
	letter-spacing: 1px;
	line-height: 1;
}

.gbp-card__count {
	color: var(--gbp-muted) !important;
	text-decoration: none !important;
}

a.gbp-card__count:hover {
	text-decoration: underline !important;
}

.gbp-status[hidden] {
	display: none !important;
}

.gbp-status__state {
	font-weight: 600;
}

.gbp-is-open {
	color: #188038;
}

.gbp-is-closed {
	color: #d93025;
}

.gbp-card__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
	gap: 4px;
	margin: 12px 14px 4px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--gbp-line);
}

.gbp-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 6px 2px;
	border-radius: 12px;
	color: var(--gbp-ink) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
}

.gbp-action__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gbp-bg, #1a73e8) 12%, #fff);
	color: var(--gbp-bg, #1a73e8);
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.gbp-action:first-child .gbp-action__icon {
	background: var(--gbp-bg, #1a73e8);
	color: var(--gbp-color, #fff);
}

.gbp-action:hover .gbp-action__icon {
	background: var(--gbp-bg, #1a73e8);
	color: var(--gbp-color, #fff);
	transform: translateY(-1px);
}

.gbp-action .gbp-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.gbp-action:focus-visible,
.gbp-card a:focus-visible,
.gbp-card summary:focus-visible {
	outline: 2px solid var(--gbp-bg, #1a73e8);
	outline-offset: 2px;
}

.gbp-card__info {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.gbp-card__info > li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 10px 22px;
	list-style: none;
}

.gbp-card__info > li::before,
.gbp-card__info > li::marker {
	content: none;
}

.gbp-card__info .gbp-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	fill: var(--gbp-bg, #1a73e8);
}

.gbp-card__info a,
.gbp-card__info > li > span {
	color: var(--gbp-ink) !important;
	text-decoration: none !important;
	overflow-wrap: anywhere;
}

.gbp-card__info a:hover {
	text-decoration: underline !important;
}

.gbp-hours {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.gbp-hours summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	padding-right: 22px;
	position: relative;
	cursor: pointer;
	list-style: none;
}

.gbp-hours summary::-webkit-details-marker {
	display: none;
}

.gbp-hours summary::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 4px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--gbp-muted);
	border-bottom: 2px solid var(--gbp-muted);
	transform: rotate(45deg);
	transition: transform 0.16s ease;
}

.gbp-hours[open] summary::after {
	top: 9px;
	transform: rotate(-135deg);
}

.gbp-hours summary .gbp-status:not([hidden]) + .gbp-hours__label {
	display: none;
}

.gbp-hours__table {
	width: 100%;
	margin: 10px 0 0;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.gbp-hours__table th,
.gbp-hours__table td {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--gbp-muted);
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.gbp-hours__table td {
	text-align: right;
}

.gbp-hours__table .gbp-today th,
.gbp-hours__table .gbp-today td {
	color: var(--gbp-ink);
	font-weight: 600;
}

.gbp-card__quotes {
	margin: 0;
	padding: 14px 22px 6px;
	border-top: 1px solid var(--gbp-line);
}

.gbp-card__subtitle {
	margin: 0 0 10px;
	padding: 0;
	color: var(--gbp-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

.gbp-quote {
	margin: 0 0 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f6f7f9;
}

.gbp-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	quotes: "\201C" "\201D";
}

.gbp-quote blockquote::before,
.gbp-quote blockquote::after {
	content: none;
}

.gbp-quote p {
	margin: 0;
	color: var(--gbp-ink);
	font-size: 14px;
	font-style: normal;
	line-height: 1.5;
}

.gbp-quote p::before {
	content: open-quote;
}

.gbp-quote p::after {
	content: close-quote;
}

.gbp-quote figcaption {
	margin-top: 6px;
	color: var(--gbp-muted);
	font-size: 13px;
}

.gbp-quote figcaption::before {
	content: "— ";
}

.gbp-card__map {
	margin: 8px 14px 0;
	overflow: hidden;
	border-radius: 14px;
	background: #e8eaed;
	aspect-ratio: 16 / 10;
}

.gbp-card__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.gbp-card__footer {
	margin: 0;
	padding: 14px 22px 18px;
	font-size: 14px;
	text-align: center;
}

.gbp-card__footer a {
	color: var(--gbp-bg, #1a73e8) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.gbp-card__footer a:hover {
	text-decoration: underline !important;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.gbp-action__icon {
		background: #eef3fd;
	}
}

@media (max-width: 767px) {
	.gbp-only-desktop {
		display: none !important;
	}

	.gbp-fab.gbp-btn {
		width: 56px !important;
		height: 56px !important;
		min-width: 56px !important;
		max-width: 56px !important;
		min-height: 56px !important;
		padding: 0 !important;
		gap: 0 !important;
		border-radius: 50% !important;
		background: #fff !important;
		background-image: none !important;
	}

	.gbp-fab .gbp-icon {
		display: none !important;
	}

	.gbp-fab .gbp-g {
		display: block !important;
	}

	.gbp-fab .gbp-btn__label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	.gbp-modal {
		padding: 0;
		align-items: stretch;
	}

	.gbp-modal__panel {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
		animation: none;
	}

	.gbp-modal__header {
		padding-top: calc(8px + env(safe-area-inset-top));
	}

	.gbp-modal__footer {
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
	}

	.gbp-modal--card {
		align-items: flex-end;
	}

	.gbp-modal--card .gbp-card {
		height: auto;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 20px 20px 0 0;
		animation: gbp-rise 0.2s ease;
	}

	.gbp-card__footer {
		padding-bottom: calc(18px + env(safe-area-inset-bottom));
	}
}

@media (min-width: 768px) {
	.gbp-only-mobile {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbp-btn,
	.gbp-modal__panel,
	.gbp-spinner {
		transition: none;
		animation: none;
	}
}

@media print {
	.gbp-fab,
	.gbp-modal {
		display: none !important;
	}
}

@keyframes gbp-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes gbp-spin {
	to {
		transform: rotate(360deg);
	}
}
