/* GMB Reviews Pro – front end. Scoped to .gmbr-widget to avoid theme conflicts. */
.gmbr-widget{--gmbr-gap:24px;background:var(--gmbr-bg,#e6fdff);color:var(--gmbr-text,#333);padding:40px 24px 56px;box-sizing:border-box;width:100%;overflow:hidden;font-family:inherit;line-height:1.5}
.gmbr-widget *,.gmbr-widget *:before,.gmbr-widget *:after{box-sizing:border-box}

/* Full width: break out of boxed theme containers */
.gmbr-widget.gmbr-full{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:clamp(14px,3vw,56px);padding-right:clamp(14px,3vw,56px);position:relative}
.gmbr-widget.gmbr-full .gmbr-body{max-width:none}

/* Header */
.gmbr-widget .gmbr-head{text-align:center;max-width:760px;margin:0 auto 40px}
.gmbr-widget .gmbr-title{color:var(--gmbr-heading,#9b30d9);font-size:clamp(26px,3vw,38px);font-weight:500;margin:0 0 18px;line-height:1.2;padding:0;border:0;text-transform:none;letter-spacing:0}
.gmbr-widget .gmbr-sub{color:var(--gmbr-text,#333);font-size:clamp(24px,2.8vw,40px);font-weight:400;margin:0 0 22px;line-height:1.25;letter-spacing:.5px}
.gmbr-widget .gmbr-divider{display:flex;align-items:center;justify-content:center;gap:14px}
.gmbr-widget .gmbr-divider span{display:block;height:1.5px;background:#222;width:min(320px,34%)}
.gmbr-widget .gmbr-divider svg{fill:#5f6670;flex:0 0 auto}

/* Body: summary left, slider right */
.gmbr-widget .gmbr-body{display:grid;grid-template-columns:minmax(230px,19%) 1fr;gap:var(--gmbr-gap);align-items:center;max-width:1840px;margin:0 auto}
.gmbr-widget .gmbr-body.gmbr-no-summary{grid-template-columns:1fr}

/* Summary */
.gmbr-widget .gmbr-summary{position:relative;display:flex;justify-content:center;text-align:center;padding:60px 0 0}
.gmbr-widget .gmbr-summary.gmbr-dots:before{content:"";position:absolute;width:290px;height:290px;left:50%;top:-60px;transform:translateX(-72%);border-radius:50%;background-image:radial-gradient(#9fd9b4 1.6px,transparent 1.8px);background-size:19px 19px;-webkit-mask-image:radial-gradient(circle,#000 55%,transparent 72%);mask-image:radial-gradient(circle,#000 55%,transparent 72%);opacity:.9;pointer-events:none}
.gmbr-widget .gmbr-summary-inner{position:relative;z-index:1}
.gmbr-widget .gmbr-label{font-size:30px;font-weight:700;letter-spacing:.5px;color:#111;line-height:1.1;margin-bottom:6px}
.gmbr-widget .gmbr-big-stars{display:flex;justify-content:center;gap:0;margin-bottom:4px}
.gmbr-widget .gmbr-based{font-size:18px;color:#222;margin-bottom:4px}
.gmbr-widget .gmbr-based strong{font-weight:700}
.gmbr-widget .gmbr-glogo{display:inline-block;font-family:"Product Sans",Arial,Helvetica,sans-serif;font-size:44px;font-weight:500;letter-spacing:-1px;line-height:1.1}
.gmbr-widget .gmbr-glink{display:block;text-decoration:none!important;border:0;box-shadow:none;color:inherit!important}
.gmbr-widget a.gmbr-based:hover strong{text-decoration:underline}
.gmbr-widget .gmbr-glink .gmbr-glogo{transition:transform .2s}
.gmbr-widget .gmbr-glink:hover .gmbr-glogo{transform:scale(1.05)}
.gmbr-widget .gmbr-seeall{display:inline-block;margin-top:6px;font-size:16px;font-weight:500;color:#1a73e8!important;text-decoration:none!important}
.gmbr-widget .gmbr-seeall:hover{text-decoration:underline!important}

/* Stars */
.gmbr-widget .gmbr-star{fill:var(--gmbr-star,#fbbc04);flex:0 0 auto}
.gmbr-widget .gmbr-star.off{fill:#dadce0}

/* Slider */
.gmbr-widget .gmbr-slider{position:relative;min-width:0;padding:0 8px}
.gmbr-widget .gmbr-track{display:flex;align-items:stretch;gap:var(--gmbr-gap);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:6px 4px 12px;outline:none}
.gmbr-widget .gmbr-track::-webkit-scrollbar{display:none}

/* Card – compact, every card in the row has the same height */
.gmbr-widget .gmbr-card{flex:0 0 calc((100% - (var(--gmbr-per,4) - 1) * var(--gmbr-gap)) / var(--gmbr-per,4));scroll-snap-align:start;background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.07);padding:18px 18px 16px;display:flex;flex-direction:column;min-width:0}
.gmbr-widget .gmbr-card-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.gmbr-widget .gmbr-avatar{position:relative;flex:0 0 42px;width:42px;height:42px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font-size:19px;font-weight:400;text-transform:lowercase}
.gmbr-widget .gmbr-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;max-width:none;border-radius:0}
.gmbr-widget .gmbr-meta{flex:1;min-width:0}
.gmbr-widget .gmbr-name{font-weight:600;font-size:15px;color:#111;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmbr-widget .gmbr-time{font-size:13px;color:#777;line-height:1.4}
.gmbr-widget .gmbr-g{flex:0 0 auto;width:20px;height:20px;align-self:flex-start}
.gmbr-widget .gmbr-rating{display:flex;align-items:center;margin-bottom:8px}
.gmbr-widget .gmbr-rating .gmbr-star{width:18px;height:18px}
.gmbr-widget .gmbr-verified{margin-left:6px;width:16px;height:16px}
.gmbr-widget .gmbr-text{font-size:14.5px;line-height:1.55;color:#222;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:var(--gmbr-lines,4);overflow:hidden;word-break:break-word;min-height:calc(1.55em * var(--gmbr-lines,4))}
/* Expanded text scrolls inside the card so the row stays equal. */
.gmbr-widget .gmbr-card.is-open .gmbr-text{display:block!important;-webkit-line-clamp:unset;max-height:calc(1.55em * (var(--gmbr-lines,4) + 3));overflow-y:auto;padding-right:4px}
.gmbr-widget .gmbr-actions{margin-top:auto;padding-top:10px;min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.gmbr-widget .gmbr-more,.gmbr-widget .gmbr-reply-btn{background:none!important;border:0!important;padding:0!important;margin:0;color:#888!important;font-size:13.5px;line-height:1.4;cursor:pointer;box-shadow:none!important;text-transform:none;letter-spacing:0;font-family:inherit;font-weight:400;text-align:left}
.gmbr-widget .gmbr-reply-btn{margin-left:auto;color:#1a73e8!important}
.gmbr-widget .gmbr-more:hover,.gmbr-widget .gmbr-reply-btn:hover{text-decoration:underline}
.gmbr-widget .gmbr-reply{margin-top:8px;padding:8px 10px;border-left:3px solid #dadce0;background:#f8f9fa;font-size:13px;line-height:1.5;color:#555;max-height:8.5em;overflow-y:auto}
.gmbr-widget .gmbr-reply{display:none!important}
.gmbr-widget .gmbr-card.reply-open .gmbr-reply{display:block!important}
.gmbr-widget .gmbr-reply strong{display:block;color:#333;margin-bottom:2px}
.gmbr-widget .gmbr-empty{padding:40px;text-align:center;width:100%}

/* Arrows (desktop) */
.gmbr-widget .gmbr-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:38px;border-radius:50%;background:#fff!important;border:1px solid #ccc!important;box-shadow:0 1px 4px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0!important;color:#333}
.gmbr-widget .gmbr-nav[hidden],.gmbr-widget .gmbr-more[hidden]{display:none!important}
.gmbr-widget .gmbr-nav svg{fill:#333}
.gmbr-widget .gmbr-next{right:-12px}
.gmbr-widget .gmbr-prev{left:-12px}
.gmbr-widget .gmbr-nav:disabled{opacity:.35;cursor:default}

/* Responsive */
@media (max-width:1200px){
	.gmbr-widget .gmbr-body{grid-template-columns:minmax(200px,22%) 1fr}
	.gmbr-widget .gmbr-card{flex-basis:calc((100% - 2 * var(--gmbr-gap)) / 3)}
}
@media (max-width:900px){
	.gmbr-widget .gmbr-body{grid-template-columns:1fr}
	.gmbr-widget .gmbr-summary{padding-top:20px;margin-bottom:6px}
	.gmbr-widget .gmbr-summary.gmbr-dots:before{top:-30px;transform:translateX(-50%)}
	.gmbr-widget .gmbr-card{flex-basis:calc((100% - var(--gmbr-gap)) / 2)}
}
/* Mobile: 2 cards stacked in one column, swipe left / right for the next pair. */
@media (max-width:640px){
	.gmbr-widget{--gmbr-gap:12px;padding:28px 12px 32px}
	.gmbr-widget .gmbr-head{margin-bottom:24px}
	.gmbr-widget .gmbr-label{font-size:26px}
	.gmbr-widget .gmbr-based{font-size:17px}
	.gmbr-widget .gmbr-glogo{font-size:40px}
	.gmbr-widget .gmbr-slider{padding:0}
	.gmbr-widget .gmbr-track{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:90%;padding:6px 2px 12px}
	.gmbr-widget .gmbr-card{flex:none;width:auto}
	.gmbr-widget .gmbr-card:nth-child(odd){scroll-snap-align:start}
	.gmbr-widget .gmbr-card:nth-child(even){scroll-snap-align:none}
	.gmbr-widget .gmbr-nav{display:none!important}
	/* ~30% smaller cards on phones */
	.gmbr-widget .gmbr-track{grid-auto-columns:82%;grid-template-rows:repeat(2,1fr)}
	.gmbr-widget .gmbr-card{padding:12px 12px 10px;border-radius:10px}
	.gmbr-widget .gmbr-card-top{gap:9px;margin-bottom:6px}
	.gmbr-widget .gmbr-avatar{flex-basis:32px;width:32px;height:32px;font-size:15px}
	.gmbr-widget .gmbr-name{font-size:13.5px}
	.gmbr-widget .gmbr-time{font-size:11.5px}
	.gmbr-widget .gmbr-g{width:16px;height:16px}
	.gmbr-widget .gmbr-rating{margin-bottom:6px}
	.gmbr-widget .gmbr-rating .gmbr-star{width:14px;height:14px}
	.gmbr-widget .gmbr-verified{width:13px;height:13px;margin-left:4px}
	.gmbr-widget .gmbr-text{font-size:13px;line-height:1.5;-webkit-line-clamp:3;min-height:0}
	.gmbr-widget .gmbr-card.is-open .gmbr-text{max-height:9em}
	.gmbr-widget .gmbr-actions{padding-top:6px;min-height:22px}
	.gmbr-widget .gmbr-more,.gmbr-widget .gmbr-reply-btn{font-size:12px}
	.gmbr-widget .gmbr-reply{font-size:12px;padding:6px 8px;max-height:7em}
}
@media (prefers-reduced-motion:reduce){.gmbr-widget .gmbr-track{scroll-behavior:auto}}
