.ect-eco-reviews {
  margin-top: 5px;
  padding: 8px;
  font-size: 14px;
}

.ect-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
  flex-direction: column;
}

.ect-review-main-score {
  flex: 0 0 260px;
}

.ect-score-number {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

.ect-review-main-score .ect-stars-display {
  margin: 4px 0;
}

.ect-stars-display {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
  margin-bottom: 5px;
}

.ect-star {
  color: #f0c040;
  opacity: 0.3;
}

.ect-star.is-active {
  opacity: 1;
}

.ect-review-count {
  font-size: 13px;
  color: #6a7889;
  margin-bottom: 12px;
}

.ect-score-bars {
  margin-top: 4px;
}

.ect-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ect-score-bars .ect-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ect-bar-label {
  width: 55px;
  font-size: 13px;
}

.ect-bar {
  flex: 1;
  height: 12px;
  border-radius: 4px;
  background: #f1f3f6;
  overflow: hidden;
}

.ect-bar-fill {
  display: block;
  height: 100%;
  background: #4caf50;
}

.ect-review-criteria-summary {
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ect-crit-card {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ect-crit-score {
  font-weight: 700;
  font-size: 16px;
}

.ect-crit-score-circle {
  --ect-crit-pct: 0;
  --ect-crit-color: #f0ad4e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  text-align: center;
  background: radial-gradient(farthest-side, #fff 85%, transparent 90%),
        conic-gradient(var(--ect-crit-color) calc(var(--ect-crit-pct) * 1%), #e8edf5 0);
}

.ect-crit-score-circle.is-high {
  --ect-crit-color: #7cb518;
}

.ect-crit-score-circle.is-medium {
  --ect-crit-color: #f0ad4e;
}

.ect-crit-score-circle.is-low {
  --ect-crit-color: #e63946;
}

.ect-crit-label {
  font-size: 13px;
}

.ect-review-add-box {
  flex: 0 0 230px;
  text-align: right;
}

.ect-review-question {
  font-size: 13px;
  margin-bottom: 4px;
}

.ect-review-prompt-help {
  margin: 0 0 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.ect-review-add-box .button {
  padding: 8px 18px;
  border-radius: 4px;
}

.ect-review-add-stars {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 6px;
  float: left;
}

.ect-review-add-stars .ect-add-main-star {
  border: none;
  background: none;
  font-size: 25px;
  cursor: pointer;
  line-height: 1;
  color: #c4c4c4;
}

.ect-review-add-stars .ect-add-main-star:hover {
  color: #f0c040;
}

.ect-review-add-stars .ect-add-main-star.is-preview {
  color: #f0c040;
}

.ect-review-toolbar {
  border-top: 1px solid #e0e6ee;
  padding-top: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e6ee;
  padding-bottom: 10px;
}

.ect-review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ect-filter-item label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.ect-filter-item select,
.ect-filter-item input[type="search"] {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #c8d1dc;
  font-size: 13px;
  height: 35px;
}

.ect-filter-item select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 30px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1l5 5 5-5%22 fill=%22none%22 stroke=%22%231f2937%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
}

.ect-filter-item select:focus,
.ect-filter-search input[type="search"]:focus {
  outline: none;
  border-color: #0082e6;
  box-shadow: 0 0 0 2px rgba(0, 130, 230, 0.16);
}

.ect-filter-verified input[type="checkbox"] {
  margin-right: 4px;
}

.ect-filter-verified label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.ect-verified-icon,
.ect-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ect-verified-icon svg,
.ect-search-toggle svg,
.ect-search-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ect-verified-icon {
  color: #1f2937;
}

.ect-verified-icon svg {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 768px) {
  .ect-filter-item > label {
    line-height: 1.2;
  }

  .ect-filter-verified {
    display: flex;
    flex-direction: column;
  }

  .ect-filter-verified::before {
    content: "";
    display: block;
    flex: 0 0 5.4px;
  }

  .ect-filter-verified label {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 35px;
    margin: 0;
    padding: 4px 12px 4px 8px;
    gap: 7px;
    border: 1px solid #c8d1dc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .ect-filter-verified label:hover {
    border-color: #7c8795;
  }

  .ect-filter-verified input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }

  .ect-filter-verified .ect-verified-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #1f2937;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 8%, 74% 5%, 82% 18%, 95% 26%, 92% 39%, 100% 50%, 92% 61%, 95% 74%, 82% 82%, 74% 95%, 61% 92%, 50% 100%, 39% 92%, 26% 95%, 18% 82%, 5% 74%, 8% 61%, 0 50%, 8% 39%, 5% 26%, 18% 18%, 26% 5%, 39% 8%);
  }

  .ect-filter-verified .ect-verified-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
  }

  .ect-filter-verified .ect-verified-icon circle {
    display: none;
  }

  .ect-filter-verified input[type="checkbox"]:focus-visible + .ect-verified-icon {
    outline: 2px solid #0082e6;
    outline-offset: 3px;
  }

  .ect-filter-verified input[type="checkbox"]:checked + .ect-verified-icon {
    color: #0082e6;
  }

  .ect-filter-verified label:has(input[type="checkbox"]:checked) {
    border-color: #0082e6;
    background: #f2f8ff;
  }
}

.ect-search-toggle {
  display: none;
}

.ect-filter-search {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.ect-filter-search .ect-search-btn {
  padding: 5px 10px;
  font-size: 13px;
}

.ect-filter-search .ect-search-btn svg {
  display: none;
}

.ect-review-list {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  flex-direction: column;
}

.ect-review-item {
  display: grid;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 12px;
  gap: 12px;
  grid-template-columns: 15% 85%;
}

.ect-review-item-header {
  display: flex;
  gap: 12px;
  min-width: 100px;
  flex-direction: column;
}

.ect-review-item-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ect-review-title {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 600;
}

.ect-review-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6a7889;
}

.ect-review-verified {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f5ea;
  color: #237a1c;
  font-size: 11px;
}

.ect-review-content {
  margin-top: 6px;
  font-size: 13px;
}

.no-reviews {
  font-size: 13px;
  color: #6a7889;
}

.ect-review-form-wrapper {
  margin-top: 20px;
  border-top: 1px solid #e0e6ee;
  padding-top: 20px;
}

.ect-review-form-inner {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.ect-form-rating-main {
  margin-bottom: 5px;
  display: contents;
}

.ect-form-rating-main label {
  font-weight: 600;
}

.ect-star-picker {
  display: inline-flex;
  gap: 4px;
  margin-top: 4px;
}

.ect-star-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
  color: #c4c4c4;
  opacity: 0.3;
  padding: 0;
}

.ect-star-btn.is-active,
.ect-star-btn.is-preview {
  opacity: 1;
  color: #f9bf3b;
}

h3#reply-title {
  display: none;
}

.comment-form-title input,
.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #c8d1dc;
  padding: 7px 9px;
  font-size: 13px;
}

.comment-form-comment textarea {
  max-height: 100px;
}

.ect-hint {
  display: block;
  font-size: 11px;
  color: #7a8797;
  margin-top: 4px;
}

.ect-form-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 8px;
}

.ect-form-criterion label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.ect-review-submit {
  margin-top: 10px;
}

.ect-reviews-headline {
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e6ee;
  padding-bottom: 8px;
}

.ect-reviews-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.ect-reviews-count-label {
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
  color: #6a7889;
}

.ect-review-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  font-size: 12px;
}

.ect-review-like,
.ect-review-reply {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #2f7ed8;
}

.ect-review-like-icon {
  font-size: 13px;
  margin-right: 3px;
}

.ect-review-like-count {
  font-weight: 600;
}

.ect-review-like.is-liked {
  color: #1c7a2b;
}

.ect-review-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ect-review-modal.is-visible {
  display: flex;
}

.ect-review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ect-review-modal-dialog {
  position: relative;
  background: #fff;
  max-width: 900px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  border-radius: 6px;
  padding: 24px 28px 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  margin: 0 0px;
  z-index: 1;
}

.ect-review-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

.ect-review-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ect-review-modal-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ect-review-modal-product img {
  width: 60px;
  height: auto;
}

.ect-product-label {
  font-size: 12px;
  color: #6a7889;
}

.ect-product-title {
  font-size: 14px;
  font-weight: 600;
}

.ect-review-reply-info {
  font-size: 13px;
  color: #6a7889;
  align-self: center;
}

body.ect-review-modal-open {
  overflow: hidden;
}

.ect-rating-label {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 10px;
}

.ect-title-suggestions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ect-title-suggestion-btn {
  border-radius: 999px;
  border: 1px solid #e0e6ee;
  background: #f6f7f9;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.ect-title-suggestion-btn:hover {
  background: #e3e8f0;
}

.ect-form-photos {
  margin-top: 12px;
}

.ect-photo-upload-box {
  margin-top: 6px;
}

.ect-photo-upload-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  border: 1px dashed #c8d1dc;
  padding: 10px 12px;
  background: #f9fafb;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.ect-photo-plus {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 2px solid #222;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ect-photo-text {
  font-size: 13px;
}

.ect-photo-preview {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ect-photo-preview-item {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f6;
}

.ect-review-avatar img,
.ect-review-avatar .avatar {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.ect-review-header-main {
  flex: 1;
}

.ect-review-images {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ect-review-images a {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e0e6ee;
}

.ect-review-images img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.ect-review-replies {
  margin-top: 4px;
  padding-left: 60px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.ect-review-reply-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ect-review-reply-avatar img,
.ect-review-reply-avatar .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.ect-review-reply-body {
  background: #f7f9fb;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}

.ect-review-reply-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #6a7889;
  margin-bottom: 2px;
}

.ect-review-reply-form {
  margin-top: 6px;
  padding-left: 60px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease,
        margin-top 0.25s ease;
}

.ect-reply-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ect-reply-avatar img,
.ect-reply-avatar .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.ect-reply-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
}

.ect-reply-form-inner textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  padding: 6px 8px;
  border-color: #b7b7b770;
}

.ect-reply-form-inner textarea:focus {
  outline: none;
  border-color: #0082e6;
  box-shadow: 0 0 0 2px rgba(0, 130, 230, 0.16);
}

.ect-reply-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.ect-reply-limit {
  font-size: 11px;
  color: #6a7889;
  margin-top: 2px;
}

.ect-review-header-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  border-bottom: 1px solid #f4f4f4;
}

.ect-header-left {
  flex: 0 0 120px;
}

.ect-header-left .ect-stars-display {
  margin: 4px 0;
}

.ect-header-middle {
  flex: 1 1 360px;
  min-width: 260px;
}

.ect-header-right {
  flex: 0 0 290px;
  text-align: left;
  padding-left: 24px;
  border-left: 1px solid #f4f4f4;
}

.ect-trust-metric {
  flex: 1 1 190px;
  min-width: 180px;
  max-width: 230px;
  min-height: 130px;
  padding: 8px 16px;
  border-left: 1px solid #f4f4f4;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ect-trust-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: #08a21a;
}

.ect-trust-recommend .ect-trust-icon {
  color: #0082e6;
}

.ect-trust-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ect-trust-verified .ect-trust-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ect-trust-recommend .ect-trust-icon svg {
  fill: currentColor;
}

.ect-trust-value {
  display: block;
  margin-bottom: 3px;
  font-size: 20px;
  line-height: 1.1;
  color: #222;
}

.ect-trust-label {
  font-size: 13px;
  line-height: 1.25;
  color: #667085;
}

.ect-add-main-star {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.ect-review-criteria-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 2fr));
  gap: 5px;
  width: 100%;
}

.ect-review-stars .ect-stars-display {
  margin: 0;
}

.ect-review-actions button {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.ect-review-avatar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 100px;
}

.ect-review-toggle-replies {
  color: #0056b3;
}

.ect-review-thread {
  margin-top: 8px;
}

.ect-review-reply-avatar {
  min-width: 45px;
}

button.button.ect-open-review-modal {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 4px;
  border: 0;
  background: linear-gradient(to right, #2d5acc, #0082e6);
  color: #fff;
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease;
}

button.button.ect-open-review-modal:hover {
  background: linear-gradient(to right, #176dd9, #0082e6);
  filter: brightness(1.10);
}

p.ect-review-question {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600 !important;
  color: #222;
}

.ect-search-summary {
  margin: 10px 0 15px;
  padding: 8px 12px;
  background-color: #f5f7fa;
  border-radius: 4px;
  font-size: 13px;
}

.ect-search-summary strong {
  font-weight: 600;
}

.ect-search-summary .ect-search-hint {
  margin-left: 8px;
  font-size: 12px;
  color: #666;
}

.ect-search-highlight {
  background-color: #ffe58f;
  padding: 0 2px;
}

.ect-review-replies[data-open="1"] {
  opacity: 1;
}

.ect-review-reply-form.is-open {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

.ect-review-date {
  display: flex;
  flex-direction: column;
}

.ect-review-variant-text {
  font-weight: 500;
}

.ect-review-date-text {
  font-size: 12px;
  opacity: .8;
}

#ect-eco-reviews {
  transition: opacity 0.2s ease;
}

#ect-eco-reviews.ect-loading {
  opacity: 0.4;
  pointer-events: none;
}

.ect-review-pagination {
  margin: 20px 0;
  text-align: center;
}

.ect-review-pages {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.ect-review-page-item span,
.ect-review-page-link {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #d0d7e2;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.ect-review-page-link:hover {
  background: #f3f6fb;
}

.ect-review-page-item.is-current .ect-review-page-current {
  background: #0073e6;
  border-color: #0073e6;
  color: #fff;
}

.ect-review-page-prev .ect-review-page-link,
.ect-review-page-next .ect-review-page-link {
  padding: 4px 14px;
}

.ect-review-pages li {
  list-style: none !important;
}

.ect-review-pages li::marker {
  content: '' !important;
}

.ect-review-photos {
  margin: 24px 0 18px;
}

.ect-review-photos-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.ect-review-photos-slider {
  position: relative;
  padding: 0 42px;
}

.ect-rp-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
  cursor: grab;
}

.ect-rp-track::-webkit-scrollbar {
  display: none;
}

.ect-rp-item {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex: 0 0 150px;
  text-align: left;
}

.ect-rp-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e6f0;
  background: #fff;
}

.ect-rp-thumb img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.ect-rp-meta {
  display: block;
  margin-top: 6px;
}

.ect-rp-author {
  display: block;
  font-size: 13px;
  color: #111827;
  margin-bottom: 2px;
}

.ect-rp-stars .ect-stars-display {
  font-size: 13px;
}

.ect-rp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
  z-index: 2;
}

.ect-rp-prev {
  left: 4px;
}

.ect-rp-next {
  right: 4px;
}

.ect-rp-arrow[disabled] {
  opacity: .4;
  box-shadow: none;
  cursor: default;
}

.ect-review-img-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.ect-review-img-btn img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e6f0;
  background: #fff;
}

.ect-rg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.ect-rg-lightbox.is-open {
  display: flex;
}

.ect-rg-dialog {
  position: relative;
  width: min(96vw, 1200px);
  height: min(92vh, 820px);
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 16px 16px 60px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ect-rg-main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ect-rg-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
}

.ect-rg-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .16s ease;
  will-change: transform;
}

.ect-rg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.ect-rg-prev {
  left: 10px;
}

.ect-rg-next {
  right: 10px;
}

.ect-rg-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.ect-rg-zoom {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.ect-rg-zoom button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  cursor: pointer;
}

.ect-rg-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ect-rg-thumbs::-webkit-scrollbar {
  display: none;
}

.ect-rg-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
  flex: 0 0 auto;
}

.ect-rg-thumb img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
}

.ect-rg-thumb.is-active {
  border-color: #2b6cb0;
}

body.ect-rg-open {
  overflow: hidden;
  touch-action: none;
}

.ect-rp-track.is-dragging {
  cursor: grabbing;
}

.ect-rg-backdrop {
  position: absolute;
  inset: 0;
}

.ect-score-bars .ect-bar-row:nth-child(1) .ect-bar-fill {
  background-color: #32b946;
}

.ect-score-bars .ect-bar-row:nth-child(2) .ect-bar-fill {
  background-color: #a6c63a;
}

.ect-score-bars .ect-bar-row:nth-child(3) .ect-bar-fill {
  background-color: #ffc107;
}

.ect-score-bars .ect-bar-row:nth-child(4) .ect-bar-fill {
  background-color: #ff9800;
}

.ect-score-bars .ect-bar-row:nth-child(5) .ect-bar-fill {
  background-color: #ff7043;
}

.ect-review-page {
  max-width: 100%;
  margin: 10px auto;
  background: #ffffff;
  padding: 5px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  border-radius: 8px;
}

.ect-review-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f5f5f5;
}

.ect-form-criterion {
  padding-bottom: 10px;
}

.ect-review-page-thumb img {
  border-radius: 4px;
  max-width: 64px;
  height: auto;
}

.ect-review-page-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 4px;
}

.ect-review-page-title {
  margin: 0;
  font-size: 18px;
}

.ect-review-page-title a {
  color: #222;
  text-decoration: none;
}

.ect-review-page-heading {
  font-size: 20px;
  margin: 10px 0 20px;
  border-bottom: 1px solid #f5f5f5;
}

button.ect-review-submit,
.ect-review-submit.button {
  background: linear-gradient(to right, #2d5acc, #0082e6);
  color: #fff !important;
  border: 0;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  padding: 7px 12px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 6px;
  user-select: none;
  max-width: unset;
  width: 270px !important;
  transition: opacity .2s ease, filter .2s ease;
}

button.ect-review-submit:hover,
.ect-review-submit.button:hover {
  background: linear-gradient(to right, #2d5acc, #0082e6);
  border-color: transparent;
  filter: brightness(1.03);
}

button.button.ect-reply-submit {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 4px;
  background-color: #0082e6;
  color: white;
}

button.button.ect-reply-cancel {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 4px;
  background-color: #0082e6;
  color: white;
}

button.button.ect-search-btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 4px;
  background-color: #0082e6;
  color: white;
}

#ect-eco-reviews .ect-header-right button.button.ect-open-review-modal,
#ect-eco-reviews #ect-review-modal #respond .ect-review-submit.button,
#ect-eco-reviews .ect-filter-search button.button.ect-search-btn,
#ect-eco-reviews .ect-reply-actions button.button.ect-reply-submit,
#ect-eco-reviews .ect-reply-actions button.button.ect-reply-cancel {
  background: linear-gradient(to right, #0b78df, #0082e6) !important;
  border-color: transparent !important;
  color: #fff !important;
  opacity: 1 !important;
  transition: opacity .2s ease, filter .2s ease;
}

#ect-eco-reviews .ect-header-right button.button.ect-open-review-modal:hover,
#ect-eco-reviews #ect-review-modal #respond .ect-review-submit.button:hover,
#ect-eco-reviews .ect-filter-search button.button.ect-search-btn:hover,
#ect-eco-reviews .ect-reply-actions button.button.ect-reply-submit:hover,
#ect-eco-reviews .ect-reply-actions button.button.ect-reply-cancel:hover {
  background: linear-gradient(to right, #176dd9, #0082e6) !important;
  filter: brightness(1.10) !important;
}

.ect-account-avatar--review {
  border-radius: 50%;
  background: var(--ect-avatar-color, #673ab7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ect-account-avatar--48 {
  width: 48px;
  height: 48px;
}

.ect-account-avatar--32 {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.ect-account-avatar--review .ect-avatar-initials {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.ect-review-reply-avatar .ect-account-avatar--review.ect-account-avatar--32 .ect-avatar-initials {
  font-size: 10px;
}

.ect-review-variant-value {
  background-color: #f5f7fb;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

button.ect-review-reply::before {
  content: "";
  width: 18px;
  height: 18px;
  left: 5px;
  background-image: url("/wp-content/uploads/2025/12/comment-plus.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  padding-left: 27px;
  border-left: 1px solid #c4c4c4;
  padding-right: 5px;
}

button.ect-review-toggle-replies:before {
  content: "";
  width: 18px;
  height: 18px;
  left: 5px;
  background-image: url("/wp-content/uploads/2025/12/comment-message.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  padding-left: 27px;
  border-left: 1px solid #c4c4c4;
  padding-right: 5px;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .ect-review-header-top {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .ect-review-header-top .ect-header-left {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .ect-review-header-top .ect-header-middle {
    grid-column: 2 / 5;
    grid-row: 1;
    min-width: 0;
  }

  .ect-review-header-top .ect-trust-metric {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .ect-review-header-top .ect-trust-verified {
    grid-column: 1 / 4;
    grid-row: 2;
    border-left: 0;
  }

  .ect-review-header-top .ect-trust-recommend {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .ect-review-header-top .ect-header-right {
    grid-column: 5 / 7;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
    border-top: 0;
    border-left: 1px solid #f4f4f4;
    box-sizing: border-box;
  }

  .ect-review-header-top .ect-header-right .ect-review-add-stars {
    float: none;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .ect-review-header {
    flex-direction: column;
  }
  
  .ect-review-add-box {
    text-align: left;
    margin-left: 0;
  }
  
  .ect-filter-search {
    margin-left: 0;
  }
  
  .ect-form-criteria {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ect-review-modal-dialog {
    padding: 18px 14px 16px;
  }
  
  .ect-review-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ect-review-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .ect-review-add-box {
    text-align: left;
  }
  
  .ect-review-add-stars {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .ect-review-header-top {
    flex-direction: column;
    gap: 12px;
  }
  
  .ect-header-right {
    text-align: left;
  }
  
  .ect-review-add-stars {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .ect-review-photos-slider {
    padding: 0;
  }
  
  .ect-rp-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .ect-rg-dialog {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    padding: 10px 5px 10px;
  }
}

@media (max-width: 768px) {
  .ect-review-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ect-review-header-top {
    display: grid;
    grid-template-columns: minmax(104px, 25%) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 8px;
    align-items: center;
  }

  .ect-review-header-top > * {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .ect-review-header-top .ect-header-left {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  
  .ect-review-header-top .ect-header-middle {
    grid-column: 2 / 3;
    grid-row: 1;
    min-width: 0;
  }
  
  .ect-review-header-top .ect-header-right {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: center;
    margin-top: 8px;
    padding-left: 0;
  }

  .ect-review-header-top .ect-trust-metric {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    max-width: none;
    width: 50%;
    min-height: 112px;
    padding: 12px 8px;
    border-left: 0;
    border-top: 1px solid #f4f4f4;
    justify-self: stretch;
  }

  .ect-review-header-top .ect-trust-verified {
    justify-self: start;
  }

  .ect-review-header-top .ect-trust-recommend {
    justify-self: end;
  }

  .ect-trust-value {
    font-size: 18px;
  }

  .ect-trust-label {
    font-size: 12px;
  }
  
  .ect-header-right .ect-review-question,
      .ect-header-right .ect-review-add-stars {
    display: block;
    float: none;
  }
  
  .ect-header-right .button.ect-open-review-modal {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .ect-crit-card {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    text-align: center;
  }
  
  .ect-review-avatar {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    align-items: center;
  }
  
  .ect-review-avatar .avatar,
  .ect-review-avatar .ect-account-avatar {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
  }
  
  .ect-review-avatar .ect-review-author {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: block;
    font-weight: 600;
  }
  
  .ect-review-avatar .ect-review-date {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    display: block;
  }
  
  .ect-review-variant-text,
      .ect-review-date-text {
    display: block;
  }
  
  .ect-review-reply-form {
    padding-left: 0px;
  }
  
  .ect-review-replies {
    margin-top: 4px;
    padding-left: 0px;
  }
  
  .ect-review-filters {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 40px;
    gap: 6px;
    align-items: stretch;
  }

  .ect-review-filters .ect-filter-sort,
  .ect-review-filters .ect-filter-rating {
    min-width: 0;
    height: 40px;
    padding: 3px 7px;
    border: 1px solid #c8d1dc;
    border-radius: 7px;
    background: #fff;
    box-sizing: border-box;
  }

  .ect-filter-sort {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .ect-filter-rating {
    grid-column: 3 / 4;
    grid-row: 1;
  }

  .ect-review-filters .ect-filter-sort > label,
  .ect-review-filters .ect-filter-rating > label {
    display: block;
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ect-review-filters .ect-filter-sort > select,
  .ect-review-filters .ect-filter-rating > select {
    width: 100%;
    height: 18px;
    min-width: 0;
    padding: 0 18px 0 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-position: right 2px center;
    background-size: 10px 7px;
    color: #596273;
    font-size: 10px !important;
    text-align: center;
    text-overflow: ellipsis;
  }

  .ect-review-filters .ect-filter-sort:focus-within,
  .ect-review-filters .ect-filter-rating:focus-within {
    border-color: #0082e6;
    box-shadow: 0 0 0 2px rgba(0, 130, 230, 0.16);
  }

  .ect-review-filters .ect-filter-sort > select:focus,
  .ect-review-filters .ect-filter-rating > select:focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
  }

  .ect-filter-verified {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .ect-review-filters .ect-filter-verified > label,
  .ect-review-filters > .ect-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #c8d1dc;
    border-radius: 7px;
    background: #fff;
    color: #1f2937;
    box-sizing: border-box;
  }

  .ect-review-filters .ect-verified-icon {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  .ect-filter-verified input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .ect-filter-verified input[type="checkbox"]:focus-visible + .ect-verified-icon {
    outline: 2px solid #0082e6;
    outline-offset: 3px;
    border-radius: 3px;
  }

  .ect-filter-verified input[type="checkbox"]:checked + .ect-verified-icon {
    color: #0082e6;
  }

  .ect-verified-text {
    display: none;
  }

  .ect-search-toggle {
    grid-column: 4 / 5;
    grid-row: 1;
    display: inline-flex;
    cursor: pointer;
  }

  .ect-search-toggle[aria-expanded="true"] {
    border-color: #0082e6;
    color: #0082e6;
  }

  .ect-filter-search {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    padding: 8px;
    background: #f6f7f9;
    border-radius: 7px;
    box-sizing: border-box;
  }

  .ect-review-filters.is-search-open .ect-filter-search {
    display: flex;
  }

  .ect-filter-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
  }

  .ect-filter-search button.button.ect-search-btn {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid #c8d1dc;
    color: #0082e6;
  }

  .ect-filter-search .ect-search-btn svg {
    display: block;
  }

  .ect-filter-search .ect-search-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .ect-review-page {
    margin: 10px 5px;
    padding: 10px;
  }
  
  .ect-form-criteria {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .ect-star-btn {
    font-size: 24px;
  }
  
  .ect-form-criterion label {
    font-size: 10px;
  }
  
  .ect-review-page-title {
    font-size: 14px;
  }
  
  .ect-review-page-heading {
    font-size: 18px;
    margin: 5px 0 10px;
  }
  
  p.logged-in-as {
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  .ect-header-right .button.ect-open-review-modal,
  button.ect-review-submit,
  .ect-review-submit.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
  }
}
