﻿.hutko-feedback {
  margin-top: 24px;
  border-top: 1px solid #ececec;
  padding-top: 20px;
  font-family: var(--hutko-body-font, inherit);
  font-size: 1rem;
  color: inherit;
}

.hutko-feedback__title {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hutko-feedback__title span,
.hutko-feedback__tab span {
  color: #8f96a3;
  font-weight: 600;
  margin-left: 4px;
  font-size: .95em;
}

.hutko-feedback__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 14px;
}

.hutko-feedback__tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 0 10px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.hutko-feedback__tab.is-active {
  color: #ff7a1a;
  border-bottom-color: #ff7a1a;
}

.hutko-feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 20px;
}

.hutko-feedback__panel { display: none; }
.hutko-feedback__panel.is-active { display: block; }

.hutko-feedback__item {
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
}

.hutko-feedback__item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hutko-feedback__item-head h3 {
  margin: 0;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hutko-feedback__item-head time {
  margin-left: auto;
  color: #737373;
  font-size: .9rem;
}

.hutko-feedback__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cbe8af;
  color: #5ba227;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.hutko-feedback__avatar--question {
  background: #fff5e8;
  color: #ff7a1a;
}

.hutko-feedback__verified {
  color: #5ba227;
  font-size: .9rem;
}

.hutko-feedback__item-stars,
.hutko-feedback__stars {
  color: #f5a300;
  font-size: 1rem;
  letter-spacing: 2px;
}

.hutko-feedback__item-stars .is-empty,
.hutko-feedback__stars .is-empty {
  color: #d6d6d6;
}

.hutko-feedback__item p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 10px 0 0;
}

.hutko-feedback__summary {
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 18px;
  align-self: start;
  background: #fff;
}

.hutko-feedback__rate {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hutko-feedback__rate-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hutko-feedback__count {
  color: #737373;
  font-size: .95rem;
  margin: 10px 0 14px;
}

.hutko-feedback__recommend {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hutko-feedback__recommend strong {
  font-size: 2rem;
  margin-right: 8px;
  vertical-align: middle;
}

.hutko-feedback__btn {
  width: 100%;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #1f2023;
  margin-bottom: 10px;
}

.hutko-feedback__btn--dark { background: #1f2023; color: #fff; }
.hutko-feedback__btn--light { background: #fff; color: #1f2023; }

.hutko-feedback__empty {
  font-size: 1rem;
  color: #555;
}

.hutko-feedback__notice {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: .95rem;
}

.hutko-feedback__notice.is-success { background: #ebf8e9; color: #2f7f26; border: 1px solid #c9eac5; }
.hutko-feedback__notice.is-error { background: #fff1f1; color: #a62525; border: 1px solid #f3cccc; }

.hutko-feedback-modal[hidden] { display: none !important; }
.hutko-feedback-modal { position: fixed; inset: 0; z-index: 9999; }
.hutko-feedback-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }

.hutko-feedback-modal__box {
  position: relative;
  max-width: 560px;
  width: calc(100% - 24px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  font-family: inherit;
}

.hutko-feedback-modal__close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

.hutko-feedback-form label {
  display: block;
  font-size: .95rem;
  margin-bottom: 10px;
}

.hutko-feedback-form input,
.hutko-feedback-form textarea,
.hutko-feedback-form select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 9px 10px;
  margin-top: 6px;
  font-family: inherit;
  font-size: .95rem;
}

@media (max-width: 991px) {
  .hutko-feedback__title { font-size: 1.6rem; }
  .hutko-feedback__tab { font-size: 1rem; }
  .hutko-feedback__grid { grid-template-columns: 1fr; }
  .hutko-feedback__rate { font-size: 2.3rem; }
  .hutko-feedback__rate-text { font-size: 1.1rem; }
  .hutko-feedback__recommend strong { font-size: 1.7rem; }
}
