:root {
  --tp-green: #00b67a;
  --tp-green-dark: #005128;
  --tp-ink: #191919;
  --tp-muted: rgba(25, 25, 25, 0.6);
  --tp-line: #e5e5e5;
  --tp-bg: #f2f2f5;
  --tp-surface: #fff;
  --tp-star-empty: #dcdce6;
  --tp-bar: 1180px;
  --tp-font: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tp-root,
.br-card,
.br-bar,
.br-sheet,
.br-page,
.br-form,
.br-write {
  font-family: var(--tp-font);
  color: var(--tp-ink);
  -webkit-font-smoothing: antialiased;
}

/* —— Site header (página completa) —— */
.tp-header {
  background: var(--tp-surface);
  border-bottom: 1px solid var(--tp-line);
}
.tp-header-inner {
  max-width: var(--tp-bar);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tp-header-logo img {
  display: block;
  height: 28px;
  width: auto;
}
.tp-header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-bg);
  border: 1px solid var(--tp-line);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--tp-muted);
}
.tp-header-search svg {
  flex-shrink: 0;
  opacity: 0.55;
}
.tp-header-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.tp-header-actions a {
  color: var(--tp-ink);
  text-decoration: none;
}
.tp-header-actions a:hover {
  text-decoration: underline;
}

.tp-breadcrumb {
  max-width: var(--tp-bar);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--tp-muted);
}
.tp-breadcrumb a {
  color: var(--tp-muted);
  text-decoration: none;
}
.tp-breadcrumb a:hover {
  color: var(--tp-ink);
  text-decoration: underline;
}

.tp-page-wrap {
  max-width: var(--tp-bar);
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.tp-business-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.tp-business-head h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tp-business-meta {
  font-size: 14px;
  color: var(--tp-muted);
  margin-top: 6px;
}
.tp-business-meta a {
  color: var(--tp-green-dark);
  text-decoration: none;
  font-weight: 500;
}
.tp-business-meta a:hover {
  text-decoration: underline;
}

.tp-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .tp-layout {
    grid-template-columns: 1fr;
  }
  .tp-summary {
    position: static;
    top: auto;
  }
  .tp-header-inner {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px 16px;
  }
  .tp-header-search {
    order: 3;
    max-width: none;
    width: 100%;
  }
  .tp-layout.tp-form-open .tp-summary {
    display: none;
  }
}

/* —— Summary card (sidebar) —— */
.tp-summary {
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  padding: 24px 20px;
  position: sticky;
  top: 16px;
}
.tp-summary-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-muted);
  margin: 0 0 8px;
}
.tp-summary-score {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}
.tp-summary-word {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.tp-summary-count {
  font-size: 14px;
  color: var(--tp-muted);
  margin: 0 0 20px;
}
.tp-stars-img {
  display: block;
  height: 24px;
  width: auto;
}
.tp-stars-img.tp-stars-lg {
  height: 32px;
}
.tp-stars-img.tp-stars-xl {
  height: 40px;
}
.tp-stars-img.tp-stars-sm {
  height: 18px;
}

.tp-bars {
  margin: 0 0 20px;
  display: grid;
  gap: 6px;
}
.tp-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--tp-muted);
}
.tp-bar-row b {
  color: var(--tp-ink);
  font-weight: 500;
}
.tp-bar-track {
  height: 8px;
  background: var(--tp-star-empty);
  border-radius: 2px;
  overflow: hidden;
}
.tp-bar-fill {
  height: 100%;
  background: var(--tp-green);
  border-radius: 2px;
  min-width: 0;
}
.tp-bar-pct {
  text-align: right;
  font-size: 12px;
}

.tp-btn-write {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border: none;
  background: var(--tp-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.tp-btn-write:hover {
  filter: brightness(0.95);
}

/* —— Reviews column —— */
.tp-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.tp-reviews-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.tp-filter {
  font-size: 14px;
  color: var(--tp-muted);
  border: 1px solid var(--tp-line);
  background: var(--tp-surface);
  padding: 8px 12px;
  border-radius: 4px;
}

.tp-form-wrap {
  margin-bottom: 20px;
}
.tp-form-wrap .br-form {
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  border-radius: 8px;
}

.tp-review-list {
  display: grid;
  gap: 0;
}
.tp-review {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--tp-line);
}
.tp-review:first-child {
  border-top: none;
  padding-top: 8px;
}
.tp-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8e8ed;
  color: var(--tp-ink);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.tp-review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.tp-review-user {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
}
.tp-review-user span {
  font-weight: 400;
  color: var(--tp-muted);
}
.tp-review-date {
  font-size: 13px;
  color: var(--tp-muted);
}
.tp-review h3 {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.tp-review p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tp-ink);
  white-space: pre-wrap;
}
.tp-review-loc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--tp-muted);
}
.tp-reply {
  margin-top: 16px;
  padding: 16px;
  background: #f9f9fa;
  border-left: 2px solid var(--tp-green);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  line-height: 1.55;
}
.tp-reply b {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.tp-footer-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--tp-line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--tp-muted);
}
.tp-footer-note img {
  height: 18px;
  width: auto;
}

/* —— Página legada / sheet —— */
.br-page {
  background: var(--tp-bg);
  min-height: 100vh;
}
.br-page .tp-page-wrap {
  padding-top: 0;
}

.br-tp-logo {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}
.br-tp-logo.br-tp-logo-lg {
  height: 28px;
}
.br-tp-logo.br-tp-logo-bar {
  height: 40px;
  flex-shrink: 0;
}

.br-write-toggle {
  display: none;
}
.br-form {
  display: none;
  margin-top: 0;
  padding: 20px;
  gap: 12px;
}
.br-form.br-open {
  display: grid;
}
.br-form label {
  font-size: 13px;
  font-weight: 500;
}
.br-form input,
.br-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--tp-line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}
.br-form button[type="submit"] {
  border: 0;
  background: var(--tp-green);
  color: #fff;
  border-radius: 4px;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}
.br-form-msg {
  margin: 0;
  font-size: 13px;
  color: var(--tp-muted);
}
.br-form-msg.br-err {
  color: #b42318;
}
.br-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.br-star-pick {
  display: flex;
  gap: 4px;
}
.br-star-pick button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.br-star-pick .tp-star-box {
  display: block;
}

/* Bar + card (loja) */
.br-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--tp-surface);
  border-top: 1px solid var(--tp-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  cursor: pointer;
}
.br-bar-copy {
  min-width: 0;
  flex: 1;
}
.br-bar-title {
  font-size: 13px;
  font-weight: 700;
}
.br-bar-title span {
  font-weight: 400;
  color: var(--tp-muted);
}
.br-bar-quote {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--tp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.br-bar-btn {
  flex-shrink: 0;
  border: 1px solid var(--tp-green);
  background: var(--tp-green);
  color: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
body.br-has-bar {
  padding-bottom: 72px;
}

.br-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-line);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  max-width: 360px;
}
.br-card-head {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tp-line);
  margin-bottom: 8px;
}
.br-card-score {
  font-size: 28px;
  font-weight: 700;
}
.br-card-meta {
  font-size: 13px;
  color: var(--tp-muted);
}
.br-card-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--tp-line);
  text-align: left;
}
.br-card-item:last-of-type {
  border-bottom: 0;
}
.br-card-item p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.br-card-cta {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.br-card-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--tp-muted);
}
.br-card-powered img {
  height: 16px;
}

.br-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(25, 25, 25, 0.55);
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.br-overlay.br-open {
  display: flex;
}
body.br-overlay-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
body.br-overlay-open .br-bar {
  display: none;
}
.br-sheet {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  background: var(--tp-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.br-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-top));
  background: var(--tp-surface);
  border-bottom: 1px solid var(--tp-line);
  flex-shrink: 0;
}
.br-chrome-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 auto;
}
.br-chrome .lang-flags {
  order: 2;
  margin-left: auto;
}
.br-chrome .br-close {
  order: 3;
  flex-shrink: 0;
}
.br-chrome-brand {
  color: var(--tp-muted);
  font-weight: 500;
}
.br-chrome button {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: var(--tp-ink);
}
.br-sheet-body {
  overflow: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}
.br-sheet-body .tp-layout {
  padding: 16px;
  gap: 16px;
}
.br-sheet-body .tp-summary {
  position: static;
}
.br-sheet-body .tp-layout.tp-form-open .tp-summary {
  display: none;
}
@media (min-width: 720px) {
  .br-overlay {
    align-items: center;
    padding: 24px;
  }
  body.br-overlay-open {
    position: static;
  }
  .br-sheet {
    width: min(960px, 100%);
    height: min(90vh, 900px);
    max-height: min(90vh, 900px);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  }
}

/* —— Mobile refinements —— */
@media (max-width: 640px) {
  .tp-header-search,
  .tp-header-actions {
    display: none;
  }
  .tp-header-inner .lang-flags {
    order: 2;
    margin-left: auto;
  }
  .tp-page-wrap,
  .tp-breadcrumb,
  .tp-store-link {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tp-page-wrap {
    padding-bottom: 32px;
  }
  .tp-business-head h1 {
    font-size: 26px;
  }
  .tp-summary {
    padding: 18px 16px;
  }
  .tp-summary-score {
    font-size: 40px;
  }
  .tp-review {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .tp-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .br-card {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .br-bar {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  }
  .br-tp-logo.br-tp-logo-bar {
    height: 34px;
  }
  .br-bar-title {
    font-size: 12px;
    line-height: 1.2;
  }
  .br-bar-quote {
    margin: 0;
    font-size: 11px;
    white-space: nowrap;
    display: block;
    -webkit-line-clamp: unset;
  }
  .br-bar-btn {
    width: auto;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.2;
  }
  body.br-has-bar {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
  .br-form {
    padding: 16px;
  }
  .br-form input,
  .br-form textarea {
    font-size: 16px;
  }
  .tp-btn-write {
    position: relative;
    z-index: 1;
  }
  .br-chrome-brand {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 42vw;
  }
}

#kickdep-reviews-cta-wrap .br-card {
  max-width: none;
  width: 100%;
}

.tp-store-link {
  max-width: var(--tp-bar);
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: 13px;
}
.tp-store-link a {
  color: var(--tp-green-dark);
  text-decoration: none;
  font-weight: 500;
}
.tp-store-link a:hover {
  text-decoration: underline;
}
