.flow-product-rating {
  align-items: center;
  color: #151515;
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1;
  margin-top: 12px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.flow-product-rating:hover,
.flow-product-rating:focus-visible {
  color: #151515;
  opacity: 0.72;
}

.flow-product-rating--card {
  font-size: 12px;
  gap: 7px;
  margin-top: 9px;
}

.flow-product-rating--hero {
  font-size: 14px;
  margin-top: 15px;
}

.flow-product-rating__stars {
  display: inline-flex;
}

.flow-product-rating__count {
  color: #8c8c8c;
}

.flow-rating-stars {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  position: relative;
  white-space: nowrap;
}

.flow-rating-stars__base {
  color: #ddd8d2;
  display: block;
}

.flow-rating-stars__fill {
  color: #b68b63;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  white-space: nowrap;
}

.flow-reviews-panel {
  padding: 18px 0 8px;
}

@media (min-width: 992px) {
  .product-single-content > .product-tabs-container {
    max-width: 1240px;
  }
  .product-single-content > .product-tabs-container .modern-tab-content {
    max-width: 1240px;
    width: 100%;
  }
}
.product-single-content > .product-tabs-container .product-description-formatted {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.product-single-content > .product-tabs-container .flow-reviews-panel {
  width: 100%;
}

.product-single-content > .product-tabs-container .product-description-banner {
  background-color: #f6f5f2;
  height: clamp(360px, 38vw, 480px);
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.product-single-content > .product-tabs-container .product-description-banner__image {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.flow-reviews-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 72px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.flow-review-sidebar {
  min-width: 0;
}

.flow-review-summary {
  background: #fbfaf8;
  border: 1px solid #e5e1da;
  padding: clamp(22px, 2.4vw, 32px);
}

.flow-review-summary__eyebrow {
  color: #8c8c8c;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.flow-review-summary__score-row {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.flow-review-summary__score {
  color: #151515;
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.flow-review-summary__score-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 3px;
}

.flow-review-summary__score-meta > span:last-child {
  color: #8c8c8c;
  font-size: 12px;
}

.flow-rating-stars--summary {
  font-size: 14px;
}

.flow-review-summary__distribution {
  border-top: 1px solid #e5e1da;
  margin-top: 28px;
  padding-top: 20px;
}

.flow-review-score-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  margin-top: 9px;
}

.flow-review-score-row:first-child {
  margin-top: 0;
}

.flow-review-score-row__label,
.flow-review-score-row__count {
  color: #8c8c8c;
  font-size: 11px;
}

.flow-review-score-row__label {
  text-align: right;
}

.flow-review-score-row__label span {
  color: #b68b63;
  font-size: 12px;
}

.flow-review-score-row__count {
  text-align: left;
}

.flow-review-score-row__track {
  background: #e7e3dd;
  display: block;
  height: 5px;
  overflow: hidden;
}

.flow-review-score-row__track span {
  background: #b68b63;
  display: block;
  height: 100%;
  transition: width 220ms ease;
}

.flow-review-summary__photos {
  border-top: 1px solid #e5e1da;
  margin-top: 26px;
  padding-top: 20px;
}

.flow-review-summary__photos-title {
  color: #151515;
  font-size: 12px;
  margin-bottom: 12px;
}

.flow-review-summary__photos-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-review-summary__photo,
.flow-review-summary__photo-more {
  aspect-ratio: 1;
  border-radius: 8px;
  min-width: 0;
  width: 100%;
}

.flow-review-summary__photo {
  height: auto;
}

.flow-review-summary__photo-more {
  align-items: center;
  background: #efede8;
  color: #8c8c8c;
  display: flex;
  font-size: 13px;
  justify-content: center;
}

.flow-review-summary__photos-empty {
  color: #8c8c8c;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.flow-review-form-card {
  background: #fff;
  border-top: 1px solid #e5e1da;
  margin-top: 22px;
  padding: 25px 0 0;
}

.flow-review-form-card__eyebrow {
  color: #8c8c8c;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.flow-review-form-card h2,
.flow-review-list-header h2 {
  color: #151515;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
}

.flow-review-form-card__intro {
  color: #686868;
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0 26px;
  max-width: 320px;
}

.flow-review-form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.flow-review-form > .flow-review-form__submit,
.flow-review-form > .flow-review-form__note {
  grid-column: 1;
}

.flow-review-form .flow-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.flow-review-form .flow-form__field--wide {
  grid-column: 1/-1;
}

.flow-review-form .flow-form__label {
  color: #777;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-review-form .flow-form__field input[type=text],
.flow-review-form .flow-form__field input[type=email],
.flow-review-form .flow-form__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
  color: #151515;
  font: inherit;
  line-height: 1.4;
  margin: 0;
  outline: 0;
  padding: 7px 0 10px;
  resize: vertical;
  transition: border-color 180ms ease;
  width: 100%;
}

.flow-review-form .flow-form__field textarea {
  min-height: 108px;
}

.flow-review-form .flow-form__field input[type=text]:focus,
.flow-review-form .flow-form__field input[type=email]:focus,
.flow-review-form .flow-form__field textarea:focus {
  border-color: #151515;
}

.flow-review-form .flow-form__field input[type=text]::placeholder,
.flow-review-form .flow-form__field input[type=email]::placeholder,
.flow-review-form .flow-form__field textarea::placeholder {
  color: #aaa;
}

.flow-form__hint {
  color: #8c8c8c;
  font-size: 10px;
  line-height: 1.35;
  margin-top: -2px;
}

.flow-review-rating-field {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.flow-review-rating-field .flow-form__label {
  display: block;
  margin-bottom: 8px;
}

.flow-review-rating {
  align-items: center;
  display: flex;
  gap: 3px;
}

.flow-review-rating input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.flow-review-rating label {
  color: #d3cdc5;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.flow-review-rating label.is-filled {
  color: #b68b63;
}

.flow-review-rating label:hover {
  transform: translateY(-1px);
}

.flow-review-rating input:focus-visible + label {
  border-radius: 3px;
  outline: 2px solid #151515;
  outline-offset: 3px;
}

.flow-review-upload__dropzone {
  align-items: center;
  background: #fff;
  border: 1px dashed #cfc9c0;
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 13px 15px;
  position: relative;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.flow-review-upload__dropzone:hover,
.flow-review-upload__dropzone:focus-within {
  background: #fdfdfb;
  border-color: #151515;
}

.flow-review-upload__dropzone input[type=file] {
  cursor: pointer;
  height: 100%;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.flow-review-upload__icon {
  align-items: center;
  border: 1px solid #d9d4cc;
  border-radius: 50%;
  color: #151515;
  display: inline-flex;
  font-size: 22px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.flow-review-upload__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.flow-review-upload__copy strong {
  color: #151515;
  font-size: 13px;
  font-weight: 500;
}

.flow-review-upload__copy small {
  color: #8c8c8c;
  font-size: 10px;
  line-height: 1.35;
}

.flow-review-upload__action {
  border: 1px solid #d9d4cc;
  border-radius: 999px;
  color: #151515;
  font-size: 11px;
  padding: 8px 11px;
}

.flow-review-upload__preview {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 9px;
}

.flow-review-upload__preview-item {
  background: #edeae4;
  border-radius: 11px;
  color: #8c8c8c;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 7px;
}

.flow-review-upload__preview-item img,
.flow-review-upload__preview-item video {
  height: 70px;
  object-fit: cover;
  width: 100%;
}

.flow-review-upload__preview-item--file {
  align-items: center;
  justify-content: center;
  min-height: 92px;
}

.flow-review-upload__preview-name {
  overflow: hidden;
  padding: 0 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-review-upload__warning {
  color: #8a3d3d;
  font-size: 11px;
  grid-column: 1/-1;
}

.flow-review-form__submit {
  justify-self: stretch;
  margin-top: 4px;
  width: 100%;
}

.flow-review-form__note {
  color: #8c8c8c;
  font-size: 11px;
  line-height: 1.4;
  margin: -7px 0 0;
}

.flow-review-notice {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 22px;
  padding: 12px 14px;
}

.flow-review-notice--success {
  background: #edf5ef;
  color: #39634a;
}

.flow-review-notice--error {
  background: #fbefef;
  color: #8a3d3d;
}

.flow-review-list-column {
  min-width: 0;
}

.flow-review-list-header {
  align-items: end;
  border-bottom: 1px solid #e5e1da;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 18px;
}

.flow-review-list-header__count {
  color: #8c8c8c;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.flow-review-list {
  border-top: 0;
}

.flow-review-card {
  background: #fff;
  border: 1px solid #e5e1da;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 22px 24px 24px;
}

.flow-review-card__topline,
.flow-review-card__identity {
  align-items: center;
  display: flex;
}

.flow-review-card__topline {
  gap: 20px;
  justify-content: space-between;
}

.flow-review-card__identity {
  gap: 12px;
  min-width: 0;
}

.flow-review-card__avatar {
  align-items: center;
  background: #151515;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  text-transform: uppercase;
  width: 38px;
}

.flow-review-card__identity strong,
.flow-review-card__identity time {
  display: block;
}

.flow-review-card__identity strong {
  color: #151515;
  font-size: 14px;
  font-weight: 500;
}

.flow-review-card__identity time {
  color: #8c8c8c;
  font-size: 12px;
  margin-top: 4px;
}

.flow-review-card__topline > .flow-rating-stars {
  font-size: 13px;
}

.flow-review-card__content {
  color: #414141;
  font-size: 15px;
  line-height: 1.65;
  margin: 18px 0 0 50px;
  max-width: 690px;
}

.flow-review-card__content p {
  margin: 0 0 10px;
}

.flow-review-card__content p:last-child {
  margin-bottom: 0;
}

.flow-review-card__attachment {
  color: #151515;
  display: inline-flex;
  font-size: 12px;
  margin: 17px 0 0 50px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-review-card__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0 50px;
}

.flow-review-media {
  background: #edeae4;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  height: 88px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 88px;
}

.flow-review-summary .flow-review-summary__photo {
  height: auto;
  width: 100%;
}

.flow-review-media img,
.flow-review-media video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.flow-review-media:hover,
.flow-review-media:focus-visible {
  box-shadow: 0 0 0 2px #151515;
  outline: 0;
}

.flow-review-media__play {
  align-items: center;
  background: rgba(21, 21, 21, 0.75);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
}

.flow-review-card__attachments .flow-review-card__attachment {
  align-self: center;
  margin: 0;
}

.flow-review-media-modal[hidden] {
  display: none;
}

.flow-review-media-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10000;
}

.flow-review-media-modal__backdrop {
  background: rgba(21, 21, 21, 0.78);
  inset: 0;
  position: absolute;
}

.flow-review-media-modal__dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  max-height: calc(100vh - 48px);
  max-width: min(1100px, 100%);
  min-height: 120px;
  overflow: auto;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.flow-review-media-modal__content img,
.flow-review-media-modal__content video {
  display: block;
  max-height: calc(100vh - 72px);
  max-width: 100%;
  object-fit: contain;
}

.flow-review-media-modal__close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(21, 21, 21, 0.14);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 36px;
  z-index: 2;
}

body.flow-review-modal-open {
  overflow: hidden;
}

.flow-review-card__attachment span {
  margin-right: 5px;
  text-decoration: none;
}

.flow-review-empty {
  color: #8c8c8c;
  font-size: 14px;
  line-height: 1.5;
}

.flow-review-empty--list {
  border-top: 1px solid #e2e2de;
  padding: 28px 0;
}

@media (max-width: 767px) {
  .product-single-content > .product-tabs-container .product-description-banner {
    height: 260px;
  }
  .flow-product-rating--hero {
    margin-top: 12px;
  }
  .flow-reviews-panel {
    padding-top: 8px;
  }
  .flow-review-summary {
    padding: 24px 18px;
  }
  .flow-reviews-layout {
    display: block;
  }
  .flow-review-form-card {
    margin-bottom: 38px;
    padding: 24px 0 0;
  }
  .flow-review-form {
    grid-template-columns: 1fr;
  }
  .flow-review-list-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .flow-review-card__content,
  .flow-review-card__attachment {
    margin-left: 0;
  }
  .flow-review-card {
    padding: 20px 18px 22px;
  }
  .flow-review-card__attachments {
    margin-left: 0;
  }
  .flow-review-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .flow-review-summary__score-row {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-product-rating,
  .flow-review-form .flow-form__field input[type=text],
  .flow-review-form .flow-form__field input[type=email],
  .flow-review-form .flow-form__field textarea,
  .flow-review-rating label,
  .flow-review-file input[type=file]::file-selector-button,
  .flow-review-score-row__track span {
    transition: none;
  }
}
