/* GMB Pro popups. Every rule is prefixed with .gmbp-pp and theme styles for
   buttons, inputs and images are reset so the popup looks the same on any site. */
.gmbp-pp, .gmbp-pp *, .gmbp-pp *::before, .gmbp-pp *::after { box-sizing: border-box; }
.gmbp-pp {
	--pp-w: 480px;
	position: fixed; inset: 0; z-index: 100001;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	pointer-events: none;
	font-family: inherit; font-size: 16px; line-height: 1.5;
	text-align: left;
}
.gmbp-pp[hidden] { display: none; }
.gmbp-pp.gmbp-pp-size-s { --pp-w: 360px; }
.gmbp-pp.gmbp-pp-size-l { --pp-w: 680px; }
html.gmbp-pp-lock, html.gmbp-pp-lock body { overflow: hidden; }

/* ---- Background ---- */
.gmbp-pp .gmbp-pp-overlay { position: absolute; inset: 0; display: none; background: #000; opacity: 0; transition: opacity .28s ease; }
.gmbp-pp.gmbp-pp-overlay-on.is-modal .gmbp-pp-overlay { display: block; pointer-events: auto; }
.gmbp-pp.gmbp-pp-overlay-on.is-modal.is-open .gmbp-pp-overlay { opacity: var(--pp-ov, .55); }

/* ---- Box ---- */
.gmbp-pp .gmbp-pp-box {
	position: relative;
	width: min(var(--pp-w), 100%);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	margin: 0; padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: var(--pp-r, 16px);
	background: var(--pp-bg, #fff);
	color: var(--pp-color, #1f2328);
	box-shadow: 0 24px 64px rgba(16, 24, 40, .30), 0 2px 8px rgba(16, 24, 40, .12);
	pointer-events: auto;
	outline: none;
	opacity: 0;
	transform: translateY(18px) scale(.98);
	transition: opacity .28s ease, transform .28s ease;
}
.gmbp-pp.is-open .gmbp-pp-box { opacity: 1; transform: none; }

@media (min-width: 768px) {
	/* ---- Positions (computers) ---- */
	.gmbp-pp.gmbp-pp-pos-bottom-left  { align-items: flex-end; justify-content: flex-start; padding: 24px; }
	.gmbp-pp.gmbp-pp-pos-bottom-right { align-items: flex-end; justify-content: flex-end; padding: 24px; }
	.gmbp-pp.gmbp-pp-pos-bottom-left,
	.gmbp-pp.gmbp-pp-pos-bottom-right { --pp-w: 380px; }
	.gmbp-pp.gmbp-pp-pos-top-bar    { align-items: flex-start; padding: 0; }
	.gmbp-pp.gmbp-pp-pos-bottom-bar { align-items: flex-end; padding: 0; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-box { width: 100%; max-width: none; border-radius: 0; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-box { transform: translateY(-100%); }
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-box { transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.gmbp-pp.gmbp-pp-pos-top-bar.is-open .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-pos-bottom-bar.is-open .gmbp-pp-box { transform: none; }

	/* ---- Bars: everything in one row ---- */
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-box { display: flex; align-items: center; justify-content: center; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-media,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-media { flex: 0 0 auto; padding: 10px 0 10px 16px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-media img,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-media img { width: 56px; height: 56px; border-radius: 8px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-body,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; max-width: 1200px; padding: 12px 60px 12px 20px; text-align: left; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-title,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-title { margin: 0; font-size: 17px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-text,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-text { margin: 0; font-size: 14px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-btn,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-btn { width: auto; min-height: 42px; padding: 9px 20px; font-size: 15px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-biz,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-biz { flex-direction: row; margin: 0; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-glogo,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-glogo { width: 30px; height: 30px; }
	.gmbp-pp.gmbp-pp-pos-top-bar img.gmbp-pp-logo,
	.gmbp-pp.gmbp-pp-pos-bottom-bar img.gmbp-pp-logo { width: 40px; height: 40px; padding: 3px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-form,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-field,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-field { flex: 1 1 170px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-field textarea,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-field textarea { min-height: 46px; height: 46px; }
	.gmbp-pp.gmbp-pp-pos-top-bar .gmbp-pp-close,
	.gmbp-pp.gmbp-pp-pos-bottom-bar .gmbp-pp-close { top: 50%; margin-top: -18px; background: rgba(127, 127, 127, .16); color: inherit; }
}

/* ---- Close (×) ---- */
.gmbp-pp .gmbp-pp-close {
	-webkit-appearance: none; appearance: none;
	position: absolute; top: 10px; right: 10px; z-index: 3;
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; min-width: 0; min-height: 0;
	margin: 0; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(127, 127, 127, .16);
	color: inherit;
	box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease;
}
.gmbp-pp .gmbp-pp-close:hover, .gmbp-pp .gmbp-pp-close:focus { background: rgba(127, 127, 127, .28); color: inherit; }
.gmbp-pp .gmbp-pp-close:focus-visible { outline: 2px solid var(--pp-btn, #1a73e8); outline-offset: 2px; }
.gmbp-pp .gmbp-pp-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
/* On top of an image */
.gmbp-pp.gmbp-pp-t-image .gmbp-pp-close,
.gmbp-pp.gmbp-pp-img-top .gmbp-pp-close { background: rgba(0, 0, 0, .55); color: #fff; }
.gmbp-pp.gmbp-pp-t-image .gmbp-pp-close:hover,
.gmbp-pp.gmbp-pp-img-top .gmbp-pp-close:hover { background: rgba(0, 0, 0, .75); color: #fff; }

/* ---- Content ---- */
.gmbp-pp .gmbp-pp-body { padding: 28px 28px 26px; }
.gmbp-pp .gmbp-pp-title { margin: 0 40px 8px 0; padding: 0; color: inherit; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.gmbp-pp .gmbp-pp-text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; opacity: .85; }
.gmbp-pp .gmbp-pp-text p { margin: 0 0 8px; }
.gmbp-pp .gmbp-pp-text p:last-child { margin-bottom: 0; }
.gmbp-pp .gmbp-pp-text a { color: inherit; text-decoration: underline; }

.gmbp-pp .gmbp-pp-btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: min(calc(var(--pp-r, 16px) * .75), 999px);
	background: var(--pp-btn, #1a73e8);
	color: var(--pp-btn-color, #fff);
	box-shadow: none;
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
	text-decoration: none; text-transform: none; letter-spacing: normal;
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.gmbp-pp .gmbp-pp-btn:hover, .gmbp-pp .gmbp-pp-btn:focus { background: var(--pp-btn, #1a73e8); color: var(--pp-btn-color, #fff); text-decoration: none; filter: brightness(1.08); }
.gmbp-pp .gmbp-pp-btn:active { transform: translateY(1px); }
.gmbp-pp .gmbp-pp-btn:focus-visible { outline: 3px solid var(--pp-btn, #1a73e8); outline-offset: 3px; }
.gmbp-pp .gmbp-pp-btn:disabled { opacity: .6; cursor: default; }

/* Image / poster */
.gmbp-pp.gmbp-pp-t-image .gmbp-pp-box { background: transparent; box-shadow: 0 24px 64px rgba(0, 0, 0, .45); overflow: hidden; }
.gmbp-pp .gmbp-pp-poster { display: block; margin: 0; padding: 0; line-height: 0; text-decoration: none; }
.gmbp-pp .gmbp-pp-poster img { display: block; width: 100%; height: auto; max-width: none; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.gmbp-pp a.gmbp-pp-poster:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Banner / form image */
.gmbp-pp .gmbp-pp-media { margin: 0; line-height: 0; }
.gmbp-pp .gmbp-pp-media img { display: block; width: 100%; height: auto; max-width: none; max-height: 260px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; }
@media (min-width: 768px) {
	.gmbp-pp.gmbp-pp-img-left:not(.gmbp-pp-pos-top-bar):not(.gmbp-pp-pos-bottom-bar) .gmbp-pp-box { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); --pp-w: 760px; }
	.gmbp-pp.gmbp-pp-img-left.gmbp-pp-size-s .gmbp-pp-box { --pp-w: 620px; }
	.gmbp-pp.gmbp-pp-img-left.gmbp-pp-size-l .gmbp-pp-box { --pp-w: 900px; }
	.gmbp-pp.gmbp-pp-img-left .gmbp-pp-media img { height: 100%; max-height: none; min-height: 100%; }
	.gmbp-pp.gmbp-pp-img-left .gmbp-pp-body { align-self: center; }
}

/* Google review */
.gmbp-pp .gmbp-pp-review { text-align: center; }
.gmbp-pp .gmbp-pp-review .gmbp-pp-title { margin: 0 0 8px; }
.gmbp-pp .gmbp-pp-review .gmbp-pp-btn { width: 100%; }
.gmbp-pp .gmbp-pp-biz { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 18px; }
.gmbp-pp .gmbp-pp-glogo { display: block; width: 52px; height: 52px; }
.gmbp-pp svg.gmbp-g { display: block; width: 100%; height: 100%; }
.gmbp-pp img.gmbp-pp-logo { display: block; width: 64px; height: 64px; max-width: none; margin: 0; padding: 5px; border: 1px solid rgba(127, 127, 127, .25); border-radius: 50%; background: #fff; box-shadow: none; object-fit: contain; }
.gmbp-pp .gmbp-pp-bizname { font-size: 15px; font-weight: 700; }
.gmbp-pp .gmbp-pp-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.gmbp-pp .gmbp-pp-rating strong { font-size: 18px; font-weight: 800; }
.gmbp-pp .gmbp-pp-rating .gmbp-stars { font-size: 18px; }
.gmbp-pp .gmbp-pp-rating > span:last-child { opacity: .65; }
.gmbp-pp .gmbp-pp-btn-g { display: flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #fff; }

/* Form */
.gmbp-pp .gmbp-pp-form { display: grid; gap: 12px; margin: 0; }
.gmbp-pp .gmbp-pp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gmbp-pp .gmbp-pp-field { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 13px; font-weight: 600; }
.gmbp-pp .gmbp-pp-field input,
.gmbp-pp .gmbp-pp-field textarea {
	-webkit-appearance: none; appearance: none;
	display: block; width: 100%; min-height: 46px; max-width: none;
	margin: 0; padding: 11px 13px;
	border: 1px solid rgba(127, 127, 127, .4);
	border-radius: min(calc(var(--pp-r, 16px) * .5), 12px);
	background: rgba(127, 127, 127, .06);
	color: inherit;
	box-shadow: none;
	font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gmbp-pp .gmbp-pp-field textarea { min-height: 90px; resize: vertical; }
.gmbp-pp .gmbp-pp-field input:focus,
.gmbp-pp .gmbp-pp-field textarea:focus { border-color: var(--pp-btn, #1a73e8); box-shadow: 0 0 0 3px rgba(26, 115, 232, .18); outline: none; }
.gmbp-pp .gmbp-pp-field [aria-invalid="true"] { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .15); }
.gmbp-pp .gmbp-pp-form .gmbp-pp-btn { width: 100%; margin-top: 4px; }
.gmbp-pp .gmbp-pp-msg { margin: 0; font-size: 14px; }
.gmbp-pp .gmbp-pp-msg:empty { display: none; }
.gmbp-pp .gmbp-pp-msg.is-error { color: #d92d20; font-weight: 600; }
.gmbp-pp .gmbp-pp-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0 4px; text-align: center; font-size: 16px; font-weight: 600; }
.gmbp-pp .gmbp-pp-done[hidden] { display: none; }
.gmbp-pp .gmbp-pp-done svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: #12b76a; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gmbp-pp .gmbp-pp-done p { margin: 0; }

/* ---- Phones ---- */
@media (max-width: 767px) {
	.gmbp-pp { padding: 16px; }
	.gmbp-pp .gmbp-pp-body { padding: 24px 20px 22px; }
	.gmbp-pp .gmbp-pp-title { font-size: 20px; }
	/* the left image sits on top on phones */
	.gmbp-pp.gmbp-pp-img-left .gmbp-pp-close { background: rgba(0, 0, 0, .55); color: #fff; }

	/* Slide up from the bottom */
	.gmbp-pp.gmbp-pp-m-sheet { align-items: flex-end; justify-content: center; padding: 0; }
	.gmbp-pp.gmbp-pp-m-sheet .gmbp-pp-box {
		width: 100%;
		max-height: 88vh; max-height: 88dvh;
		border-radius: var(--pp-r, 16px) var(--pp-r, 16px) 0 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		transform: translateY(100%);
	}
	.gmbp-pp.gmbp-pp-m-sheet.is-open .gmbp-pp-box { transform: none; }
	.gmbp-pp.gmbp-pp-m-sheet.gmbp-pp-t-image { padding: 0 12px; }
	.gmbp-pp.gmbp-pp-m-sheet.gmbp-pp-t-image .gmbp-pp-box { margin-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); border-radius: var(--pp-r, 16px); padding-bottom: 0; }

	.gmbp-pp.gmbp-pp-m-center { align-items: center; justify-content: center; padding: 16px; }
	.gmbp-pp.gmbp-pp-m-center .gmbp-pp-box { width: 100%; transform: translateY(18px) scale(.98); border-radius: var(--pp-r, 16px); }
	.gmbp-pp.gmbp-pp-m-center.is-open .gmbp-pp-box { transform: none; }

	.gmbp-pp.gmbp-pp-m-bottom-left,
	.gmbp-pp.gmbp-pp-m-bottom-right { align-items: flex-end; justify-content: center; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
	.gmbp-pp.gmbp-pp-m-bottom-left .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-m-bottom-right .gmbp-pp-box { width: 100%; }


	/* ---- Phone bars ---- */
	.gmbp-pp.gmbp-pp-m-top-bar    { align-items: flex-start; padding: 0; }
	.gmbp-pp.gmbp-pp-m-bottom-bar { align-items: flex-end; padding: 0; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-box { width: 100%; max-width: none; border-radius: 0; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-box { transform: translateY(-100%); }
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-box { transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.gmbp-pp.gmbp-pp-m-top-bar.is-open .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-m-bottom-bar.is-open .gmbp-pp-box { transform: none; }

	/* ---- Bars: everything in one row ---- */
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-box,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-box { display: flex; align-items: center; justify-content: center; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-media,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-media { flex: 0 0 auto; padding: 10px 0 10px 16px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-media img,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-media img { width: 56px; height: 56px; border-radius: 8px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-body,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; max-width: 1200px; padding: 12px 60px 12px 20px; text-align: left; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-title,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-title { margin: 0; font-size: 17px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-text,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-text { margin: 0; font-size: 14px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-btn,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-btn { width: auto; min-height: 42px; padding: 9px 20px; font-size: 15px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-biz,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-biz { flex-direction: row; margin: 0; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-glogo,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-glogo { width: 30px; height: 30px; }
	.gmbp-pp.gmbp-pp-m-top-bar img.gmbp-pp-logo,
	.gmbp-pp.gmbp-pp-m-bottom-bar img.gmbp-pp-logo { width: 40px; height: 40px; padding: 3px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-form,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-field,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-field { flex: 1 1 170px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-field textarea,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-field textarea { min-height: 46px; height: 46px; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-close,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-close { top: 50%; margin-top: -18px; background: rgba(127, 127, 127, .16); color: inherit; }

	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-body,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-body { padding: 12px 52px 12px 14px; justify-content: flex-start; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-media,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-media { display: none; }
	.gmbp-pp.gmbp-pp-m-top-bar .gmbp-pp-text,
	.gmbp-pp.gmbp-pp-m-bottom-bar .gmbp-pp-text { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.gmbp-pp .gmbp-pp-box, .gmbp-pp .gmbp-pp-overlay, .gmbp-pp .gmbp-pp-btn { transition: none; }
}
