.tb-site-reviews,
.tbr-form-shell,
.tbr-reviews,
.tbr-summary,
.tbr-empty {
  box-sizing: border-box;
  font-family: Georgia, "Times New Roman", serif;
  color: #2b2725;
}

.tbr-form-shell {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 42px;
}

.tbr-form {
  background: #fff;
  border: 1px solid rgba(43, 39, 37, 0.07);
  border-radius: 4px;
  box-shadow: 0 14px 38px rgba(43, 39, 37, 0.045);
  padding: 40px 46px 42px;
}

.tbr-form label,
.tbr-rating-fieldset {
  display: block;
  margin: 0 0 26px;
}

.tbr-form label > span,
.tbr-rating-fieldset legend {
  display: block;
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.tbr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tbr-form input[type="text"],
.tbr-form input[type="email"],
.tbr-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #cfc6c1;
  border-radius: 0;
  background: transparent;
  color: #2b2725;
  padding: 14px 2px;
  font: 16px/1.5 Georgia, "Times New Roman", serif;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tbr-form textarea {
  resize: vertical;
  min-height: 145px;
}

.tbr-form input:focus,
.tbr-form textarea:focus {
  outline: none;
  border-color: #7f624f;
  box-shadow: 0 1px 0 #7f624f;
}

.tbr-rating-fieldset {
  border: 0;
  padding: 0;
}

.tbr-star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.tbr-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tbr-star-input label {
  margin: 0;
  cursor: pointer;
  color: #d6ccc6;
  font-size: 32px;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.tbr-star-input label:hover,
.tbr-star-input label:hover ~ label,
.tbr-star-input input:checked ~ label {
  color: #9b755d;
}

.tbr-star-input label:hover {
  transform: translateY(-1px);
}

.tbr-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400 !important;
}

.tbr-consent input {
  margin-top: 3px;
  accent-color: #2b2725;
}

.tbr-consent span {
  margin: 0 !important;
  font-weight: 400 !important;
}

.tbr-consent a {
  color: #2b2725;
  text-decoration: underline;
}

.tbr-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  border: 1px solid #2b2725;
  border-radius: 0;
  background: #2b2725;
  color: #fff;
  padding: 15px 28px;
  font: 600 15px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tbr-submit:hover {
  background: transparent;
  color: #2b2725;
}

.tbr-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tbr-notice {
  margin: 0 0 18px;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
}

.tbr-notice-success {
  background: #f8f5f3;
  border: 0;
  border-left: 2px solid #7f8a70;
}

.tbr-notice-error {
  background: #f8f5f3;
  border: 0;
  border-left: 2px solid #9c5b52;
}

.tbr-reviews {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.tbr-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.4;
}

.tbr-stars {
  color: #9b755d;
  letter-spacing: 2px;
  white-space: nowrap;
}

.tbr-review-list {
  display: grid;
  gap: 20px;
}

.tbr-review-card {
  background: #fff;
  border: 1px solid rgba(43, 39, 37, 0.08);
  border-radius: 3px;
  padding: 28px 30px;
  box-shadow: 0 10px 28px rgba(43, 39, 37, 0.035);
}

.tbr-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}

.tbr-review-top time {
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.tbr-review-card h3 {
  margin: 0 0 12px;
  color: #2b2725;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.tbr-review-content {
  font-size: 17px;
  line-height: 1.7;
}

.tbr-review-content p {
  margin: 0 0 12px;
}

.tbr-review-content p:last-child {
  margin-bottom: 0;
}

.tbr-review-author {
  margin-top: 18px;
  color: #7f624f;
  font-size: 15px;
  font-weight: 700;
}

.tbr-response {
  margin-top: 20px;
  border-left: 2px solid #9b755d;
  background: #f8f5f3;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
}

.tbr-response strong {
  display: block;
  margin-bottom: 6px;
}

.tbr-empty {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid #ddd5d0;
  border-bottom: 1px solid #ddd5d0;
  color: #716760;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}

@media (max-width: 700px) {
  .tbr-form {
    padding: 28px 22px 30px;
    border-radius: 3px;
  }

  .tbr-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tbr-review-card {
    padding: 22px 18px;
    border-radius: 3px;
  }

  .tbr-review-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .tbr-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .tbr-star-input label {
    font-size: 31px;
  }

  .tbr-submit {
    width: 100%;
  }
}
