/* Shared presentation for the homepage and [tm_opinie_premium]. */
body.tm-site .tm-feedback{padding:72px 20px;background:#fff;color:var(--tms-ink);font-family:inherit}
body.tm-site .tm-feedback-home{background:var(--tms-soft)}
.tm-feedback-shell{max-width:1180px;margin:auto;min-width:0}
body.tm-site .tm-feedback-heading{text-align:center;margin:0 auto 36px;max-width:760px}
body.tm-site .tm-feedback-heading h2{font-size:clamp(30px,3.2vw,42px);line-height:1.15;margin:0 0 10px;font-weight:800;letter-spacing:-.035em}
body.tm-site .tm-feedback-heading h1{font-size:clamp(36px,4vw,56px);line-height:1.12;margin:0 0 12px;font-weight:800}
body.tm-site .tm-feedback-heading p{font-size:16px;color:var(--tms-muted);margin:0;line-height:1.6}
.tm-feedback-intro{max-width:680px;margin:-12px auto 36px;text-align:center;color:var(--tms-muted);line-height:1.75}
.tm-feedback-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
[data-feedback-mode="carousel"] .tm-feedback-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c9b47f transparent;padding:4px 2px 16px;align-items:stretch;overscroll-behavior-x:contain}
[data-feedback-mode="carousel"] .tmo-review{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;height:auto}
body.tm-site .tm-feedback .tmo-review{box-shadow:none;border:1px solid var(--tms-line);border-radius:18px;padding:24px;min-width:0;background:#fff;color:#111;overflow-wrap:anywhere}
body.tm-site .tm-feedback .tmo-review__top{grid-template-columns:42px minmax(0,1fr) 24px;gap:10px}
body.tm-site .tm-feedback .tmo-avatar{width:42px;height:42px}
body.tm-site .tm-feedback .tmo-google{width:24px;height:24px;font-size:14px}
body.tm-site .tm-feedback .tmo-review__who strong{font-size:15px;line-height:1.4}
body.tm-site .tm-feedback .tmo-stars{font-size:15px;letter-spacing:1px;color:#fbbc04}
body.tm-site .tm-feedback .tmo-review__text{font-size:15px;line-height:1.75;color:#50545a}
.tm-feedback .tmo-review__text p+p{margin-top:12px}
.tm-feedback .tmo-review__text details{margin-top:10px}
.tm-feedback .tmo-review__text summary{cursor:pointer;font-weight:650;color:#785400;padding:8px 0}
.tm-feedback .tmo-review__foot{flex-wrap:wrap;color:#62666d}
.tm-feedback .tmo-review__foot a{text-decoration:underline;text-underline-offset:3px}
.tm-feedback-controls{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:20px;flex-wrap:wrap}
.tm-feedback [hidden],.tm-feedback-browser [hidden]{display:none!important}
.tm-feedback-controls button{min-width:46px;min-height:46px;padding:10px 16px;border:1px solid #d8d3c8;border-radius:10px;background:#fff;color:#111;font-weight:700;cursor:pointer}
.tm-feedback-controls button:disabled{opacity:.4;cursor:default}
.tm-feedback-status{font-size:13px;color:#62666d;margin-inline:6px}
.tm-feedback-links{text-align:center;margin-top:30px}
.tm-feedback-empty{padding:24px;text-align:center;background:#fff;border:1px solid var(--tms-line);border-radius:16px;color:var(--tms-muted)}
@media(max-width:980px){.tm-feedback-cards{grid-template-columns:repeat(2,minmax(0,1fr))}[data-feedback-mode="carousel"] .tmo-review{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:640px){body.tm-site .tm-feedback{padding:44px 18px}.tm-feedback-cards{grid-template-columns:1fr;gap:16px}[data-feedback-mode="carousel"] .tmo-review{flex-basis:100%}body.tm-site .tm-feedback .tmo-review{padding:20px}.tm-feedback-heading{margin-bottom:26px}.tm-feedback-links .tm-site-button{white-space:normal}.tm-feedback-status{width:100%;text-align:center}}

/* 1.3: original opinions page layout, real counts, Google-yellow ratings. */
.tm-feedback-summary{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:-10px 0 28px;font-size:15px}
.tm-feedback-rating{display:inline-flex;align-items:center;gap:8px;color:#111}
.tm-feedback-star{color:#fbbc04;font-size:24px;line-height:1}
body.tm-site :is(.tmo-stars,.tm-stars,.tm-review-stars,.tm-opinie-premium__rating-stars){color:#fbbc04!important;text-shadow:none}
body.tm-site .tm-opinie-premium .tm-feedback{padding:0;background:transparent;border:0;min-height:0;content-visibility:visible;contain-intrinsic-size:none}
body.tm-site .tm-opinie-premium__grid{align-items:start}
body.tm-site .tm-opinie-premium__card{min-width:0}
body.tm-site .tm-opinie-premium .tm-feedback-cards{grid-template-columns:1fr;gap:16px}
body.tm-site .tm-opinie-premium__rating-pill{gap:14px;box-shadow:none}
body.tm-site .tm-opinie-premium__hero-frame{box-shadow:none}
body.tm-site .tm-opinie-premium__bottom-note{box-shadow:none}
body.tm-site .tm-opinie-premium__trust-item{font-size:13px;min-height:38px}
body.tm-site .tm-opinie-premium__card-badge{color:#785400;background:#fff7dd}
body.tm-site .tm-opinie-premium__info-item strong{margin-top:0}
/* Hide the duplicate scrollbar only when our working arrow controls are present. */
.tm-feedback-browser.is-feedback-enhanced[data-feedback-mode="carousel"] .tm-feedback-cards{scrollbar-width:none}
.tm-feedback-browser.is-feedback-enhanced[data-feedback-mode="carousel"] .tm-feedback-cards::-webkit-scrollbar{display:none}
@media(max-width:1024px){body.tm-site .tm-opinie-premium__grid{grid-template-columns:1fr}}
@media(max-width:767px){body.tm-site .tm-opinie-premium__shell{max-width:100%;width:100%}body.tm-site .tm-opinie-premium__rating-pill{width:auto;flex-wrap:wrap}body.tm-site .tm-opinie-premium .tm-feedback .tmo-review{padding:16px}}

/* Showcase uses the same white canvas as the reference. */
body .tm-feedback.tm-feedback-home:has(.tmw){background:#fff!important}
