/* Opinie Google i Facebook (zamiast Elfsight). Kolory i kroje z arkusza Webflow strony. */
/* Klasy niżej ustawiają display, co bez tej reguły nadpisuje atrybut hidden. */
.sp-rbadge[hidden],.sp-rpanel[hidden],.sp-rp-pane[hidden]{display:none!important}
.sp-review .user-data{position:relative}
.sp-avatar{display:grid;place-items:center;flex:none;font-family:Inter,sans-serif;font-weight:700;
  font-size:1.25rem;color:#fff;background:linear-gradient(135deg,#23427d,#e81b70)}
.sp-avatar-facebook{background:linear-gradient(135deg,#1877f2,#23427d)}
.sp-src{display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;margin-left:auto;flex:none;
  align-self:flex-start}
.sp-src svg{width:100%;height:100%}
.sp-review .review-text{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.sp-recommends{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .6rem;border-radius:999px;
  background:rgba(24,119,242,.1);color:#1877f2;font:600 .8125rem/1.4 Inter,sans-serif}
.sp-recommends::before{content:"👍"}

.sp-reviews-summary{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin:-1.5rem auto 2rem;
  width:min(100%,46rem);padding:0 1rem;box-sizing:border-box}
.sp-rsum{flex:1 1 17rem;display:flex;gap:.9rem;align-items:flex-start;padding:1.1rem 1.25rem;border-radius:1.25rem;
  background:#fff;border:1px solid rgba(35,66,125,.12);box-shadow:0 10px 30px rgba(35,66,125,.08);text-align:left}
.sp-rsum .sp-src{width:2.25rem;height:2.25rem;margin:0}
.sp-rsum-body{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.sp-rsum-score{display:flex;align-items:baseline;gap:.5rem;font-family:Inter,sans-serif}
.sp-rsum-score b{font-size:1.75rem;line-height:1;color:#23427d}
.sp-rsum-stars{color:#fbbc05;letter-spacing:.05em;font-size:1rem}
.sp-rsum-label{font-weight:600;color:#23427d}
.sp-rsum-meta{color:#6b7280;font:400 .875rem/1.4 Inter,sans-serif}
.sp-rsum-links{display:flex;flex-wrap:wrap;gap:.35rem 1rem;margin-top:.35rem}
.sp-rsum-links a{font:600 .875rem/1.4 Inter,sans-serif;color:#e81b70;text-decoration:none}
.sp-rsum-links a:hover{text-decoration:underline}

.sp-rbadge{position:fixed;left:1rem;bottom:1rem;z-index:990;display:flex;align-items:center;
  background:#fff;border-radius:999px;box-shadow:0 8px 28px rgba(15,23,42,.18);border:1px solid rgba(35,66,125,.12);
  font-family:Inter,sans-serif}
.sp-rbadge-open{display:flex;align-items:center;gap:.6rem;padding:.55rem .5rem .55rem 1rem;border:0;background:none;
  cursor:pointer;color:#111827;font:inherit}
.sp-rbadge-title{font-size:.8125rem;font-weight:600;color:#23427d}
.sp-rbadge-chip{display:inline-flex;align-items:center;gap:.25rem;font-size:.875rem;color:#374151}
.sp-rbadge-chip .sp-src{width:1.1rem;height:1.1rem;margin:0}
.sp-rbadge-chip b{color:#111827}
.sp-rbadge-chip small{color:#6b7280;font-size:.75rem}
.sp-rbadge-close{width:2rem;height:2rem;margin-right:.25rem;border:0;border-radius:50%;background:none;color:#9ca3af;
  font-size:1.25rem;line-height:1;cursor:pointer}
.sp-rbadge-close:hover{background:#f3f4f6;color:#374151}

.sp-rpanel{position:fixed;inset:0;z-index:995;display:flex;align-items:flex-end;justify-content:flex-start;
  padding:1rem;background:rgba(15,23,42,.35)}
.sp-rpanel-card{width:min(26rem,100%);max-height:min(40rem,85vh);display:flex;flex-direction:column;background:#fff;
  border-radius:1.25rem;box-shadow:0 24px 60px rgba(15,23,42,.3);overflow:hidden;font-family:Inter,sans-serif}
.sp-rpanel-top{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.1rem .5rem;color:#23427d}
.sp-rpanel-top button{width:2rem;height:2rem;border:0;border-radius:50%;background:#f3f4f6;font-size:1.2rem;cursor:pointer}
.sp-rp-tabs{display:flex;gap:.4rem;padding:0 1.1rem .75rem;border-bottom:1px solid #eef0f4}
.sp-rp-tabs button{padding:.4rem .9rem;border:1px solid #e5e7eb;border-radius:999px;background:#fff;font:600 .8125rem Inter,sans-serif;
  color:#374151;cursor:pointer}
.sp-rp-tabs button.on{background:#23427d;border-color:#23427d;color:#fff}
.sp-rp-pane{display:flex;flex-direction:column;min-height:0;flex:1}
.sp-rp-sum{display:flex;align-items:center;gap:.45rem;padding:.8rem 1.1rem;background:#f8f9fc;
  border-bottom:1px solid #eef0f4;font-size:.875rem;color:#4b5563}
.sp-rp-sum .sp-src{width:1.4rem;height:1.4rem;margin:0}
.sp-rp-sum b{font-size:1.5rem;line-height:1;color:#23427d}
.sp-rp-sum-stars{color:#fbbc05;letter-spacing:.04em}
.sp-rp-pane ul{list-style:none;margin:0;padding:.25rem 1.1rem;overflow:auto;flex:1}
.sp-rp-pane li{padding:.85rem 0;border-bottom:1px solid #f1f2f5}
.sp-rp-pane li:last-child{border-bottom:0}
.sp-rp-head{display:flex;align-items:center;gap:.6rem;font-size:.875rem;color:#111827}
.sp-rp-who{display:flex;flex-direction:column;min-width:0}
.sp-rp-who span{color:#9ca3af;font-size:.75rem;white-space:nowrap}
.sp-rp-avatar{width:2.25rem;height:2.25rem;border-radius:50%;flex:none;object-fit:cover;font-size:.8rem}
img.sp-avatar{object-fit:cover;background:#eef0f4}
.sp-rp-stars{color:#fbbc05;font-size:.875rem;margin:.15rem 0}
.sp-rp-rec{color:#1877f2;font-size:.75rem;font-weight:600;margin:.15rem 0}
.sp-rp-pane p{margin:.25rem 0 0;font-size:.875rem;line-height:1.5;color:#374151}
.sp-rp-actions{display:flex;flex-wrap:wrap;gap:.5rem;padding:.8rem 1.1rem 1rem;border-top:1px solid #eef0f4}
.sp-rp-actions a{flex:1 1 auto;text-align:center;padding:.6rem .9rem;border-radius:999px;background:#e81b70;color:#fff;
  font:600 .8125rem Inter,sans-serif;text-decoration:none}
.sp-rp-actions a.alt{background:#fff;color:#23427d;border:1px solid #d1d5db}

@media (max-width:479px){
  .sp-rbadge{left:.6rem;bottom:.6rem}
  .sp-rbadge-title{display:none}
  .sp-rpanel{padding:0;align-items:flex-end}
  .sp-rpanel-card{width:100%;border-radius:1.25rem 1.25rem 0 0;max-height:85vh}
  .sp-reviews-summary{margin-top:-1rem}
}
@media (prefers-reduced-motion:reduce){.sp-review{animation:none}}
