.tq-review-photos {
  margin: 14px 0 2px;
  padding: 14px 16px;
  border: 1px solid #c8d9d7;
  border-radius: 6px;
  background: #f6faf9;
  color: #24413f;
  line-height: 1.5;
}
.tq-review-photos[hidden], .tq-review-photos [hidden] { display: none !important; }
.tq-photo-title { display: block; font-size: 15px; font-weight: 700; }
.tq-photo-title small { color: #455d5b; font-size: 13px; font-weight: 400; }
#tq-photo-help { margin: 3px 0 10px; color: #455d5b; font-size: 13px; }
#tq-photo-choose, .tq-photo-remove {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #447270;
  border-radius: 5px;
  background: #fff;
  color: #205752;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
#tq-photo-choose .fa { margin-right: 5px; }
#tq-photo-choose:disabled, .tq-photo-remove:disabled { cursor: default; opacity: .7; }
#tq-photo-choose:focus-visible, .tq-photo-remove:focus-visible, .tq-review-gallery a:focus-visible { outline: 3px solid #185e76; outline-offset: 2px; }
#tq-photo-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 10px 0 0; list-style: none; }
#tq-photo-list:empty, #tq-photo-status:empty { display: none; }
#tq-photo-list li { width: 78px; }
#tq-photo-list img { display: block; width: 76px; height: 76px; object-fit: cover; border: 1px solid #c8d9d7; border-radius: 5px; }
.tq-photo-remove { display: block; width: 100%; margin-top: 3px; padding-inline: 4px; font-size: 13px; }
#tq-photo-status { margin: 8px 0 0; font-size: 14px; }
#tq-photo-status.is-error { color: #92291d; }
#tq-photo-progress { display: block; width: 100%; max-width: 24rem; margin-top: 8px; accent-color: #28645c; }

#tab-review #review > .tq-review-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 16px;
  padding: clamp(14px, 2.5vw, 22px);
  border: 1px solid #d3dedb;
  border-radius: 12px;
  background: #fff;
  color: #263835;
  text-align: left;
}
.tq-review-card .tq-review-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px 12px;
}
.tq-review-card .tq-review-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; min-width: 0; }
.tq-review-card .tq-review-byline strong { color: #203733; font-size: 16px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.tq-review-card .tq-review-rating { color: #955c08; font: 17px/1.45 Arial, sans-serif; letter-spacing: 1px; white-space: nowrap; }
.tq-review-card .tq-review-date { padding-top: 2px; color: #54635f; font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tq-review-card .tq-review-body > p { margin: 11px 0 0; color: #263835; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
#tab-review #review .tq-review-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1.25vw, 10px);
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}
#tab-review #review .tq-review-gallery li { min-width: 0; margin: 0; padding: 0; }
#tab-review #review .tq-review-gallery a {
  position: relative;
  display: block;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f0;
}
#tab-review #review .tq-review-gallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#tab-review .tq-review-tools, #tab-review .tq-review-list-controls { max-width: 640px; margin: 0 auto; }
#tab-review .tq-review-tools:not(:empty) { display: flex; justify-content: flex-end; padding: 0 0 10px; }
#tab-review .tq-review-jump, #tab-review .tq-review-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #447270;
  border-radius: 6px;
  background: #fff;
  color: #205752;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
#tab-review .tq-review-jump:hover, #tab-review .tq-review-more:hover { background: #eff7f5; }
#tab-review .tq-review-jump:focus-visible, #tab-review .tq-review-more:focus-visible,
#tab-review .tq-review-card:focus-visible { outline: 3px solid #185e76; outline-offset: 2px; }
#tab-review .tq-review-more[hidden] { display: none; }
#tab-review .tq-review-more:disabled { opacity: .75; cursor: wait; }
#tab-review .tq-review-list-status { margin: 6px 0 0; color: #435651; font-size: 14px; line-height: 1.45; }
#tab-review .tq-review-list-status:empty { display: none; }
#tab-review #review:focus { outline: none; }
.tq-product-review-count { text-decoration: underline; text-underline-offset: .2em; }
#form-review .tq-review-composer {
  box-sizing: border-box;
  max-width: 840px;
  margin: 24px auto 0;
  padding: clamp(12px, 3.5vw, 28px);
  border: 1px solid #e7ddd2;
  border-radius: 18px;
  background: #fbf7f1;
  color: #2b2723;
  text-align: left;
}
#form-review .tq-review-composer h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 700 clamp(25px, 4vw, 34px)/1.15 Georgia, serif;
  text-align: left;
}
.tq-composer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  margin-bottom: 14px;
}
#form-review .tq-review-composer .form-group { margin: 0; min-width: 0; }
#form-review .tq-review-composer .form-group > [class*="col-"] { float: none; width: 100%; padding: 0; }
#form-review .tq-review-composer .control-label,
#form-review .tq-composer-rating legend {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  color: #2b2723;
  font-size: 14px;
  font-weight: 700;
}
.tq-composer-rating { margin: 0; padding: 0; border: 0; min-width: 0; }
.tq-composer-stars { display: flex; gap: 2px; }
.tq-composer-stars label {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0;
  color: #776e64;
}
.tq-composer-stars input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tq-composer-stars span::before { content: "☆"; font: 28px/1 Arial, sans-serif; }
.tq-composer-stars input:checked + span::before,
.tq-composer-stars label:has(~ label input:checked) span::before {
  content: "★";
  color: #a8500c;
}
.tq-composer-stars input:focus-visible + span {
  outline: 2px solid #185e76;
  outline-offset: 3px;
  border-radius: 3px;
}
#form-review .tq-composer-top #input-name {
  height: 44px;
  border: 1px solid #bfb4a8;
  border-radius: 8px;
  font-size: 16px;
}
.tq-composer-editor {
  background: #fff;
  border: 1px solid #bfb4a8;
  border-radius: 10px;
}
#form-review .tq-composer-editor #input-review {
  box-sizing: border-box;
  display: block;
  min-height: 132px;
  height: auto;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  resize: vertical;
  font-size: 16px;
}
#form-review .tq-composer-top #input-name:focus-visible,
#form-review .tq-composer-editor #input-review:focus-visible,
#form-review .tq-composer-footer #button-review:focus-visible {
  outline: 2px solid #185e76;
  outline-offset: 2px;
}
.tq-composer-editor .tq-review-photos {
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-top: 1px solid #e7ddd2;
  border-radius: 0 0 10px 10px;
  background: #fffdfa;
}
.tq-composer-editor .tq-photo-title {
  display: inline;
  margin-inline-start: 8px;
  color: #5d5349;
  font-size: 12px;
  font-weight: 400;
}
.tq-composer-editor #tq-photo-help { margin: 3px 0 2px; font-size: 12px; }
.tq-composer-editor #tq-photo-choose {
  padding: 5px;
  border-color: transparent;
  background: transparent;
  color: #5a3824;
}
.tq-composer-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 12px 20px;
  margin-top: 14px;
}
.tq-composer-footer fieldset { min-width: 0; margin-right: auto; }
#form-review .tq-composer-footer .control-label { float: none; width: auto; font-weight: 400; }
#form-review .tq-composer-footer fieldset legend {
  margin: 0 0 5px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}
#form-review .tq-composer-footer .g-recaptcha { max-width: 100%; }
#form-review .tq-composer-footer .buttons { margin: 0; padding: 0; }
#form-review .tq-composer-footer #button-review {
  min-height: 44px;
  padding: 8px 24px;
  border: 1px solid #a84016;
  border-radius: 999px;
  background: #a84016;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
#form-review .tq-composer-footer #button-review:hover { background: #873213; }
@media (max-width: 600px) {
  .tq-composer-top { grid-template-columns: minmax(0, 1fr); }
  .tq-composer-footer > .buttons,
  .tq-composer-footer > .buttons > .pull-right,
  .tq-composer-footer #button-review { width: 100%; }
}
@media (max-width: 370px) {
  .tq-composer-footer .g-recaptcha { height: 68px; }
  .tq-composer-footer .g-recaptcha > div { transform: scale(.84); transform-origin: left top; }
}
@media (max-width: 345px) {
  .tq-composer-footer .g-recaptcha { height: 56px; }
  .tq-composer-footer .g-recaptcha > div { transform: scale(.7); }
}

