/*
 * Trustpilot summary + reviews carousel (template-parts/trustpilot-reviews.php).
 * By Tiago (2026-10), moved from UX Block 12215 (openspec: trustpilot-reviews-component).
 */
/* GF-BB-TRUSTPILOT-CAROUSEL v1 */
.gf-bb-trustpilot-host{padding:0!important}.gf-bb-trustpilot-host>.section-content{padding:0!important}
.gf-bb-trustpilot-reviews{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:normal;font-synthesis:none;color:#191919;text-align:left}
.gf-bb-trustpilot-reviews *,.gf-bb-trustpilot-reviews *:before,.gf-bb-trustpilot-reviews *:after{box-sizing:border-box}
.gf-bb-trustpilot-reviews button{font:inherit;margin:0;min-height:0;letter-spacing:normal;text-transform:none;cursor:pointer;touch-action:manipulation}
.gf-bb-trustpilot-reviews a{touch-action:manipulation}
.gf-bb-trustpilot-reviews :focus-visible{outline:3px solid #006b49;outline-offset:4px}
.gf-bb-trustpilot-reviews button:disabled{cursor:default;opacity:1}
    .gf-bb-trustpilot-reviews{background:#fff;padding:78px 24px 68px;width:100%;--gf-bb-tp-green:#00b67a;--gf-bb-tp-ink:#191919;--gf-bb-tp-border:#e4e4e0;--gf-bb-tp-subtle:#69625e}
    .gf-bb-trustpilot-inner{width:100%;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:264px minmax(0,1fr);column-gap:32px;align-items:center}
    .gf-bb-trustpilot-summary{text-align:center;align-self:center;padding:0 10px 22px}
    .gf-bb-trustpilot-mini{width:100%;height:150px;border:0;display:block;background:#fff}
    .gf-bb-trustpilot-reviews .gf-bb-trustpilot-all{display:inline-block;font-size:14px;font-weight:400;color:#191919;text-decoration:none;border:0;padding:0;line-height:1.5;white-space:nowrap}
    .gf-bb-trustpilot-reviews .gf-bb-trustpilot-all:hover{color:#006b49;text-decoration:underline;text-underline-offset:3px}
    .gf-bb-review-carousel{position:relative;min-width:0;--gf-bb-slides:3;--gf-bb-slide-gap:16px}
    .gf-bb-review-stage{position:relative;min-width:0}.gf-bb-trustpilot-reviews .gf-bb-review-arrow svg{display:block;flex:none;width:18px;height:18px;margin:0;padding:0}
    .gf-bb-review-viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;border-radius:8px;overscroll-behavior-x:contain;padding:5px;margin:-5px;scroll-padding-inline:5px}
    .gf-bb-review-viewport::-webkit-scrollbar{display:none}
    .gf-bb-review-track{display:flex;gap:var(--gf-bb-slide-gap);align-items:stretch}
    .gf-bb-review-card{scroll-snap-align:start;flex:0 0 calc((100% - (var(--gf-bb-slides) - 1)*var(--gf-bb-slide-gap))/var(--gf-bb-slides));min-width:0;min-height:314px;background:#fdfdfd;border:1px solid var(--gf-bb-tp-border);border-radius:8px;box-shadow:0 2px 3px #00000002;position:relative;transition:border-color .18s,box-shadow .18s}
    .gf-bb-review-card:hover{border-color:#bfcdc5;box-shadow:0 4px 16px #173a2609}.gf-bb-review-card:focus-within{border-color:#00845a}
    .gf-bb-review-card-button{width:100%;height:100%;min-height:312px;border:0;border-radius:7px;padding:22px 22px 20px;background:transparent;text-align:left;color:var(--gf-bb-tp-ink);display:flex;flex-direction:column;position:relative}
    .gf-bb-review-card-button:focus-visible{outline-offset:-4px}
    .gf-bb-review-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px;min-height:20px}
    .gf-bb-review-stars{display:block;width:104px;height:auto;max-width:46%}
    .gf-bb-review-verified{font-size:10px;color:#6a645f;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
    .gf-bb-review-verified:before{content:'✓';font-size:10px;font-weight:700;border:1px solid #b8c2bc;border-radius:50%;width:13px;height:13px;display:inline-flex;justify-content:center;align-items:center;line-height:1}
    .gf-bb-review-title{font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.2px;margin:0 0 11px;overflow-wrap:anywhere;display:block}
    .gf-bb-review-quote{display:block;font-size:14px;line-height:1.55;color:#4e4743;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 24px}
    .gf-bb-review-credit{margin-top:auto;display:block;padding-top:18px;border-top:1px solid #eeede9;width:100%}
    .gf-bb-review-author{display:block;font-size:12px;font-weight:700;color:#373330;line-height:1.4;overflow-wrap:anywhere}
    .gf-bb-review-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
    .gf-bb-review-date{font-size:11px;color:#79716c;font-variant-numeric:tabular-nums}
    .gf-bb-review-brand{width:67px;height:auto;display:block}
    .gf-bb-review-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;border:1px solid #dddeda;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#5a605c;box-shadow:0 2px 6px #0000000a;font-size:23px;line-height:1;transition:background .18s,color .18s}
    .gf-bb-review-arrow:hover:not(:disabled){background:#f1f8f4;color:#008259}.gf-bb-review-arrow:disabled{color:#b4b9b5;box-shadow:none;background:#fff}
    .gf-bb-review-arrow-prev{left:-18px}.gf-bb-review-arrow-next{right:-18px}
    .gf-bb-review-navigation{display:flex;align-items:center;justify-content:center;gap:18px;padding-top:21px;min-height:46px}
    .gf-bb-review-dots{display:flex;gap:4px;align-items:center;justify-content:center}
    .gf-bb-review-dot{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;padding:0;background:transparent;border-radius:50%}
    .gf-bb-review-dot:before{content:'';width:6px;height:6px;border-radius:50%;background:#d7ddd9;transition:width .18s,background .18s}
    .gf-bb-review-dot[aria-current=true]:before{width:20px;border-radius:4px;background:var(--gf-bb-tp-green)}
    .gf-bb-review-counter{position:absolute;right:0;font-size:11px;color:#8a837c;font-variant-numeric:tabular-nums}
    .gf-bb-review-note{grid-column:2;margin:13px 0 0;font-size:12px;line-height:1.5;color:#6e6761;text-align:center}
    .gf-bb-review-dialog{width:min(560px,calc(100vw - 36px));max-height:calc(100dvh - 44px);padding:0;border:1px solid #dddeda;border-radius:12px;box-shadow:0 24px 90px #00000020;overflow:auto;color:#191919;background:#fff}
    .gf-bb-review-dialog::backdrop{background:#0b21175c;backdrop-filter:blur(3px)}
    .gf-bb-dialog-content{padding:30px 30px 26px}.gf-bb-dialog-close{position:absolute;top:13px;right:13px;width:35px;height:35px;display:grid;place-items:center;border:0;border-radius:50%;background:#f4f5f2;color:#545d56;font-size:22px}
    .gf-bb-dialog-logo{display:block;width:97px;margin:0 0 25px}.gf-bb-dialog-stars{display:block;width:118px;margin-bottom:18px}
    .gf-bb-dialog-title{font-size:22px;line-height:1.35;letter-spacing:-.3px;margin:0 0 14px;max-width:430px;overflow-wrap:anywhere}
    .gf-bb-dialog-quote{font-size:16px;line-height:1.6;color:#4e4743;margin:0 0 24px;white-space:pre-line;overflow-wrap:anywhere}
    .gf-bb-dialog-credit{border-top:1px solid #ecece6;padding-top:16px;font-size:12px;line-height:1.6;color:#6e6761}
    .gf-bb-dialog-credit strong{display:block;color:#343530}.gf-bb-dialog-excerpt{display:block;font-size:12px;margin-top:3px;color:#6e6761}
    .gf-bb-dialog-original{display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;margin-top:22px;border-radius:6px;background:#00b67a;color:#082b1d;font-size:13px;font-weight:700;text-decoration:none;gap:12px}
    .gf-bb-dialog-original:hover{background:#00a16d}.gf-bb-dialog-context{font-size:11px;line-height:1.5;text-align:center;color:#79756f;margin:11px 0 0}

.gf-bb-trustpilot-reviews .gf-bb-review-card-button{margin:0;letter-spacing:normal;text-decoration:none;font-family:Arial,Helvetica,sans-serif;line-height:normal;font-weight:400;text-transform:none}
.gf-bb-trustpilot-reviews .gf-bb-review-card-button:hover{color:#191919;background:transparent}
.gf-bb-trustpilot-reviews .gf-bb-review-arrow{margin:0;min-height:0;min-width:0;padding:0!important;border-radius:50%!important;font-size:23px;line-height:1}
.gf-bb-trustpilot-reviews .gf-bb-review-dot{margin:0;min-height:0;min-width:0;padding:0!important}
.gf-bb-trustpilot-reviews .gf-bb-review-dialog{position:fixed;inset:0;margin:auto;height:fit-content;line-height:normal;font-family:Arial,Helvetica,sans-serif}
.gf-bb-trustpilot-reviews .gf-bb-review-dialog:not([open]){display:none}
.gf-bb-trustpilot-reviews .gf-bb-dialog-close{font-size:22px;line-height:1;min-height:35px;min-width:0;padding:0!important;border-radius:50%!important;margin:0}
.gf-bb-trustpilot-reviews .gf-bb-dialog-original{color:#082b1d;letter-spacing:normal}
    @media(min-width:761px) and (max-width:1100px){.gf-bb-trustpilot-reviews{padding:56px 26px}.gf-bb-trustpilot-inner{grid-template-columns:212px minmax(0,1fr);column-gap:26px}.gf-bb-review-carousel{--gf-bb-slides:2;--gf-bb-slide-gap:14px}.gf-bb-review-card-button{padding:20px 18px}.gf-bb-review-card{min-height:336px}.gf-bb-review-card-button{min-height:334px}}
    @media(max-width:760px){.gf-bb-trustpilot-reviews{padding:32px 22px 38px}.gf-bb-trustpilot-inner{display:block}.gf-bb-trustpilot-summary{max-width:270px;margin:0 auto 32px;padding:0}.gf-bb-trustpilot-mini{height:142px}.gf-bb-review-carousel{--gf-bb-slides:1;--gf-bb-slide-gap:14px}.gf-bb-review-card{min-height:290px}.gf-bb-review-card-button{min-height:288px;padding:23px 24px 20px}.gf-bb-review-title{font-size:17px}.gf-bb-review-quote{font-size:14px;line-height:1.6}.gf-bb-review-arrow{top:50%;width:34px;height:34px}.gf-bb-review-arrow-prev{left:-16px}.gf-bb-review-arrow-next{right:-16px}.gf-bb-review-navigation{justify-content:center;padding-top:17px;flex-wrap:wrap;gap:4px}.gf-bb-review-dots{gap:0}.gf-bb-review-dot{width:18px}.gf-bb-review-dot[aria-current=true]:before{width:14px}.gf-bb-review-counter{position:static;font-size:10px;white-space:nowrap;flex-basis:100%;text-align:center}.gf-bb-review-note{margin-top:12px;font-size:10px}.gf-bb-dialog-content{padding:28px 24px 22px}.gf-bb-dialog-title{font-size:20px}.gf-bb-dialog-quote{font-size:15px}}
@media(prefers-reduced-motion:reduce){.gf-bb-trustpilot-reviews *,.gf-bb-trustpilot-reviews *:before,.gf-bb-trustpilot-reviews *:after{scroll-behavior:auto!important;transition:none!important}}
@media print{.gf-bb-trustpilot-reviews .gf-bb-review-viewport{overflow:visible}.gf-bb-trustpilot-reviews .gf-bb-review-track{display:block}.gf-bb-trustpilot-reviews .gf-bb-review-card{margin:12px 0;break-inside:avoid}.gf-bb-trustpilot-reviews .gf-bb-review-arrow,.gf-bb-trustpilot-reviews .gf-bb-review-navigation{display:none}}

/* ---------- Tiago 2026-10-25 (was Customizer Additional CSS): arrows outside the cards from 761px ---------- */
/* Espaço para as setas fora dos cartões; preservar o mobile até 760 px. */
@media (min-width: 761px) {
  .gf-bb-trustpilot-reviews[data-gf-bb-trustpilot="v1"] .gf-bb-review-stage {
    margin-inline: 44px;
  }
  .gf-bb-trustpilot-reviews[data-gf-bb-trustpilot="v1"] .gf-bb-review-arrow-prev {
    left: -44px;
  }
  .gf-bb-trustpilot-reviews[data-gf-bb-trustpilot="v1"] .gf-bb-review-arrow-next {
    right: -44px;
  }
}

/* ---------- Tiago 2026-10-25 (was inline in UX Block 12215): title and subtitle above the carousel ---------- */

.gf-bb-trustpilot-host {
  background-color: #fff;
}
.gf-bb-trustpilot-host .gf-bb-trustpilot-intro {
  padding: 64px 24px 0;
  text-align: center;
}
.gf-bb-trustpilot-host .gf-bb-trustpilot-title {
  margin: 0;
  width: auto;
  font-family: var(--bb-font-family, Lato, Arial, sans-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: var(--bb-color-text-primary, #1e2327);
  overflow-wrap: anywhere;
}
.gf-bb-trustpilot-host .gf-bb-trustpilot-title strong {
  color: var(--bb-color-text-support, #028543);
  font-weight: 700;
}
.gf-bb-trustpilot-host .gf-bb-trustpilot-subtitle {
  max-width: 640px;
  margin: 12px auto 0;
  font-family: var(--bb-font-family, Lato, Arial, sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bb-color-text-secondary, #66717c);
}
@media (min-width: 761px) {
  .gf-bb-trustpilot-host .gf-bb-trustpilot-reviews[data-gf-bb-trustpilot="v1"] {
    padding-top: 40px;
  }
}
@media (max-width: 760px) {
  .gf-bb-trustpilot-host .gf-bb-trustpilot-intro {
    padding-top: 24px;
  }
  .gf-bb-trustpilot-host .gf-bb-trustpilot-subtitle {
    font-size: 16px;
  }
}
/* "Seleção de avaliações do Trustpilot" (2026-10-28): left of the dots, as the counter is right; under the counter on phones. */
.gf-bb-trustpilot-reviews .gf-bb-review-note{position:absolute;left:0;margin:0;padding:0;font-size:11px;line-height:1.4;color:#8a837c}
@media(max-width:760px){.gf-bb-trustpilot-reviews .gf-bb-review-note{position:static;flex-basis:100%;font-size:10px;text-align:center}}
