/* Gradinari Google Reviews */
.gbgr {
	--gbgr-accent: #4c6c23;
	--gbgr-star: #fbbc04;
	--gbgr-bg: #fff;
	--gbgr-fg: #3a3f44;
	--gbgr-muted: #6b7177;
	--gbgr-line: rgba(58, 63, 68, .1);
	--gbgr-gap: 22px;
	color: var(--gbgr-fg);
	position: relative;
}
.gbgr--dark { --gbgr-bg: #2a2e32; --gbgr-fg: #f1f2f3; --gbgr-muted: #b4b9be; --gbgr-line: rgba(255, 255, 255, .12); }
.gbgr-title { margin: 0 0 18px; }
.gbgr-g { width: 22px; height: 22px; flex: 0 0 auto; }

/* звезди */
.gbgr-stars { position: relative; display: inline-block; line-height: 1; font-size: 17px; letter-spacing: 2px; white-space: nowrap; vertical-align: middle; }
.gbgr-stars-bg { color: rgba(128, 128, 128, .3); }
.gbgr-stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--gbgr-star); }

/* обобщение */
.gbgr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.gbgr-sum { display: inline-flex; align-items: center; gap: 14px; text-decoration: none !important; color: inherit !important; }
.gbgr-sum .gbgr-g { width: 40px; height: 40px; }
.gbgr-sum-txt { display: flex; flex-direction: column; gap: 3px; }
.gbgr-sum-top { display: flex; align-items: center; gap: 10px; }
.gbgr-sum-top strong { font-size: 30px; line-height: 1; font-weight: 800; }
.gbgr-sum-top .gbgr-stars { font-size: 20px; }
.gbgr-sum-sub { font-size: 14px; color: var(--gbgr-muted); }
.gbgr-write { display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 999px; background: var(--gbgr-accent); color: #fff !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important; transition: transform .25s, box-shadow .25s; }
.gbgr-write:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(76, 108, 35, .3); }

/* слайдер */
.gbgr-wrap { position: relative; }
.gbgr-track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--gbgr-cols) - 1) * var(--gbgr-gap)) / var(--gbgr-cols));
	gap: var(--gbgr-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 2px 18px; scrollbar-width: none; outline: none;
}
.gbgr-track::-webkit-scrollbar { display: none; }
.gbgr-card {
	scroll-snap-align: start; background: var(--gbgr-bg); border: 1px solid var(--gbgr-line); border-radius: 20px;
	padding: 22px 22px 20px; box-shadow: 0 10px 30px rgba(20, 24, 28, .06); display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.gbgr-card-head { display: flex; align-items: center; gap: 12px; }
.gbgr-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.gbgr-av--txt { display: inline-flex; align-items: center; justify-content: center; background: var(--gbgr-accent); color: #fff; font-weight: 700; font-size: 18px; }
.gbgr-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gbgr-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbgr-name a { color: inherit !important; text-decoration: none !important; }
.gbgr-when { font-size: 12.5px; color: var(--gbgr-muted); }
.gbgr-text p { margin: 0; font-size: 15px; line-height: 1.6; }
.gbgr-text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gbgr-card.is-open .gbgr-text { display: block; }
.gbgr-more { align-self: flex-start; background: none !important; border: 0 !important; padding: 0 !important; color: var(--gbgr-accent) !important; font-weight: 700; font-size: 14px; cursor: pointer; }
.gbgr--dark .gbgr-more { color: #a6d65a !important; }
.gbgr-nav { display: flex; justify-content: flex-end; gap: 10px; }
.gbgr-nav button {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gbgr-line) !important; background: var(--gbgr-bg) !important;
	color: var(--gbgr-fg) !important; font-size: 24px; line-height: 1; padding: 0 0 3px !important; cursor: pointer; transition: background .2s, color .2s;
}
.gbgr-nav button:hover { background: var(--gbgr-accent) !important; color: #fff !important; }
.gbgr-empty { padding: 14px 18px; border: 1px dashed #c33; border-radius: 10px; font-size: 14px; }

@media (max-width: 1024px) { .gbgr { --gbgr-cols: 2 !important; } }
@media (max-width: 680px) {
	.gbgr { --gbgr-gap: 14px; }
	.gbgr-track { grid-auto-columns: 86%; }
	.gbgr-head { margin-bottom: 18px; }
	.gbgr-sum-top strong { font-size: 26px; }
	.gbgr-write { width: 100%; justify-content: center; }
}

/* плаваща значка */
.gbgr-badge {
	position: fixed; bottom: 22px; z-index: 990; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
	background: #fff; color: #3a3f44 !important; border-radius: 999px; box-shadow: 0 10px 30px rgba(20, 24, 28, .18);
	text-decoration: none !important; font-size: 14px; line-height: 1.2; transition: transform .25s;
}
.gbgr-badge:hover { transform: translateY(-3px); }
.gbgr-badge--left { left: 22px; }
.gbgr-badge--right { right: 22px; }
.gbgr-badge .gbgr-g { width: 26px; height: 26px; }
.gbgr-badge strong { font-size: 17px; }
.gbgr-badge .gbgr-stars { font-size: 14px; }
.gbgr-badge small { display: block; font-size: 12px; color: #6b7177; }
@media (max-width: 767px) {
	.gbgr-badge--nomobile { display: none !important; }
	.gbgr-badge { bottom: 76px; } /* над мобилната лента за обаждане */
	.gbgr-badge--left { left: 12px; }
	.gbgr-badge--right { right: 12px; }
}

/* фикс: темата задава display на бутоните и обезсилва [hidden] */
.gbgr-more[hidden] { display: none !important; }
@media (max-width: 680px) { .gbgr-nav { justify-content: center; } }
