/* PJ Digital — Google reviews widget. Uses pjd.css variables; safe standalone via fallbacks. */
.gr{--gr-ink:var(--ink,#0E0C1A);--gr-ink2:var(--ink2,#2D2B3D);--gr-body:var(--body,#5A5870);--gr-muted:var(--muted,#9896A8);
    --gr-border:var(--border,#E8E6F0);--gr-white:var(--white,#fff);--gr-v:var(--v,#5B3FE8);--gr-vl:var(--v-l,#F0EDFF);
    --gr-r:var(--r,16px);--gr-sans:var(--sans,'Outfit',system-ui,sans-serif);--gr-font:var(--font,'Nunito',system-ui,sans-serif);
    font-family:var(--gr-font);color:var(--gr-body);position:relative;}
.gr.gr-loading{min-height:120px;}
.gr.gr-loading::after{content:'';position:absolute;inset:0;border-radius:var(--gr-r);background:linear-gradient(90deg,var(--gr-vl),#fff,var(--gr-vl));background-size:200% 100%;animation:gr-sh 1.2s linear infinite;}
@keyframes gr-sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.gr.gr-loading::after{animation:none}}

.gr-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.5rem;margin-bottom:1.3rem;}
.gr-title{font-family:var(--gr-sans);font-weight:800;font-size:1.35rem;color:var(--gr-ink);letter-spacing:-.01em;margin-bottom:.35rem;}
.gr-score{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;}
.gr-score b{font-family:var(--gr-sans);font-size:1.5rem;font-weight:800;color:var(--gr-ink);line-height:1;}
.gr-count{font-size:.88rem;color:var(--gr-body);text-decoration:underline;text-underline-offset:3px;}
.gr-count:hover{color:var(--gr-v);}
.gr-g{width:18px;height:18px;flex:none;}
.gr-write{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--gr-sans);font-weight:700;font-size:.9rem;color:var(--gr-ink);
    background:var(--gr-white);border:1.5px solid var(--gr-border);border-radius:999px;padding:.6rem 1.1rem;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;}
.gr-write:hover{border-color:var(--gr-v);box-shadow:0 8px 24px rgba(91,63,232,.14);transform:translateY(-1px);}

/* stars: partial fill via --f */
.gr-stars{display:inline-flex;gap:2px;}
.gr-stars i{display:inline-block;width:var(--gr-star,16px);height:var(--gr-star,16px);
    background:linear-gradient(90deg,#F5B301 calc(var(--f,1)*100%),#E3E1EC calc(var(--f,1)*100%));
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") center/contain no-repeat;}

/* scroll-snap track */
.gr-track{display:grid;grid-auto-flow:column;grid-auto-columns:min(340px,85%);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;
    padding:.25rem .25rem 1rem;margin:0 -.25rem;scrollbar-width:thin;scrollbar-color:var(--gr-border) transparent;}
.gr-track:focus-visible{outline:2px solid var(--gr-v);outline-offset:4px;border-radius:var(--gr-r);}
.gr-card{scroll-snap-align:start;background:var(--gr-white);border:1.5px solid var(--gr-border);border-radius:var(--gr-r);padding:1.3rem;display:flex;flex-direction:column;gap:.6rem;}
.gr-card-top{display:flex;align-items:center;gap:.7rem;}
.gr-card-top .gr-g{margin-left:auto;opacity:.9;}
.gr-ava{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;}
.gr-ava-txt{display:inline-flex;align-items:center;justify-content:center;background:var(--gr-vl);color:var(--gr-v);font-family:var(--gr-sans);font-weight:800;font-size:.85rem;}
.gr-name{font-family:var(--gr-sans);font-weight:700;font-size:.95rem;color:var(--gr-ink);}
.gr-when{font-size:.78rem;color:var(--gr-muted);}
.gr-text{margin:0;font-size:.92rem;line-height:1.7;color:var(--gr-body);}
.gr-text.clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;}
.gr-more{align-self:flex-start;background:none;border:0;padding:0;font:inherit;font-size:.82rem;font-weight:700;color:var(--gr-v);cursor:pointer;}
.gr-nav{display:flex;gap:.4rem;}
.gr-btn{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--gr-border);background:var(--gr-white);color:var(--gr-ink);font-size:1rem;cursor:pointer;transition:border-color .2s,color .2s;}
.gr-btn:hover{border-color:var(--gr-v);color:var(--gr-v);}
@media (max-width:640px){.gr-nav{display:none}.gr-title{font-size:1.15rem}}
