.sr-section {
  --sr-bg: #f8fafc;
  --sr-star-color: #f59e0b;
  --sr-text-color: #475569;
  --sr-name-color: #0f172a;
  --sr-link-color: #0f172a;
  --sr-eyebrow-color: #64748b;
  --sr-title-color: #0f172a;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 20px 0;
  background: var(--sr-bg);
  overflow-x: hidden;
  box-sizing: border-box;
}

.sr-section__container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.sr-section__heading {
  text-align: center;
  margin-bottom: 16px;
  max-width: 100%;
}

.sr-section__eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--sr-eyebrow-color);
}

.sr-section__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  margin: 0;
  color: var(--sr-title-color);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sr-track {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sr-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.sr-card__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 16px;
  box-sizing: border-box;
  min-width: 0;
}

.sr-stars {
  --sr-star-empty: color-mix(in srgb, var(--sr-star-color) 22%, #cbd5e1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
  max-width: 100%;
}

.sr-star {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 28px;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.14));
}

.sr-star--full path {
  fill: var(--sr-star-color);
  stroke: none;
}

.sr-star__empty-fill {
  fill: var(--sr-star-empty);
  stroke: none;
}

.sr-star--half .sr-star__fill,
.sr-star__fill {
  fill: var(--sr-star-color);
  stroke: none;
}

.sr-card__name {
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.35;
  color: var(--sr-name-color);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.sr-card__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
  color: var(--sr-text-color);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal !important;
  max-width: 100%;
  display: block;
}

.sr-quote-mark {
  font-size: 1.55em;
  line-height: 0;
  font-weight: 700;
  font-style: normal;
  color: var(--sr-name-color);
  vertical-align: -0.1em;
}

.sr-quote-mark:first-of-type {
  margin-right: 0.04em;
}

.sr-quote-mark:last-of-type {
  margin-left: 0.04em;
}

.sr-section__actions {
  text-align: center;
  margin-top: 12px;
}

.sr-section__actions .sr-open-review-link {
  display: inline;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  min-height: 0 !important;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--sr-link-color) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sr-section__actions .sr-open-review-link:hover,
.sr-section__actions .sr-open-review-link:focus {
  color: var(--sr-link-color) !important;
  text-decoration: underline !important;
  opacity: 0.85;
  background: transparent !important;
}

.sr-open-review-link {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--sr-link-color);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.sr-open-review-link:hover,
.sr-open-review-link:focus {
  color: var(--sr-link-color);
  text-decoration: underline;
  opacity: 0.85;
}

.sr-empty-note {
  text-align: center;
  font-size: 16px;
  padding: 4px 0;
  color: var(--sr-text-color);
}

.sr-carousel {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 52px;
  box-sizing: border-box;
  min-width: 0;
  touch-action: pan-y;
  overflow: hidden;
}

.sr-carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.sr-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  transition: transform 0.35s ease;
  will-change: transform;
  box-sizing: border-box;
}

.sr-carousel__track .sr-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sr-carousel__track .sr-card__inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sr-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  border: 1px solid color-mix(in srgb, var(--sr-star-color, #cbd5e1) 18%, #e2e8f0);
  border-radius: 999px !important;
  background: #fff !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 1 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  font-size: 14px !important;
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  -webkit-appearance: none;
  appearance: none;
}

.sr-carousel__btn--prev {
  left: 0;
}

.sr-carousel__btn--next {
  right: 0;
}

.sr-carousel__btn:hover:not(:disabled) {
  border-color: #94a3b8;
  color: #0f172a;
}

.sr-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sr-carousel__btn i {
  font-size: 14px;
  line-height: 1;
}

.sr-rating-input {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  --sr-star-empty: color-mix(in srgb, var(--sr-star-color, #f59e0b) 22%, #cbd5e1);
}

.sr-rating-input .sr-rating-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0;
  min-height: 0 !important;
  min-width: 0 !important;
  line-height: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sr-rating-input .sr-rating-star-btn:focus,
.sr-rating-input .sr-rating-star-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.sr-input-star {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 36px;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.14));
}

.sr-input-star--full path,
.sr-input-star__fill {
  fill: var(--sr-star-color, #f59e0b);
  stroke: none;
}

.sr-input-star__empty-fill {
  fill: var(--sr-star-empty, #d1d5db);
  stroke: none;
}

.site-review-modal .site-review-modal-lead {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 0;
}

.site-review-modal .site-review-submit-wrap {
  margin-top: 4px;
}

.theme-modal-2.site-review-modal .modal-content {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.theme-modal-2.site-review-modal .modal-header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
}

.theme-modal-2.site-review-modal .modal-body {
  padding: 18px 18px 20px;
  background: #fff;
}

.theme-modal-2.site-review-modal .modal-title {
  font-size: 1rem;
  margin: 0;
  color: #111827;
}

.theme-modal-2.site-review-modal textarea.form-control,
.theme-modal-2.site-review-modal #srReviewText {
  border-radius: 12px !important;
  min-height: 110px;
}

@media (min-width: 768px) {
  .sr-input-star {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .sr-section__container {
    padding: 0 32px;
  }

  .sr-carousel {
    padding: 0 58px;
  }

  .sr-star {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .sr-stars {
    gap: 8px;
    margin-bottom: 14px;
  }

  .sr-card__name {
    margin-bottom: 12px;
  }
}

@media (max-width: 767.98px) {
  .sr-section {
    padding: 16px 0;
  }

  .sr-section__container {
    padding: 0 12px;
  }

  .sr-section__heading {
    margin-bottom: 12px;
    padding: 0 4px;
  }

  .sr-section__title {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.25;
  }

  .sr-carousel {
    padding: 0 38px;
    max-width: 100%;
  }

  .sr-carousel__btn {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  .sr-carousel__btn i {
    font-size: 12px !important;
  }

  .sr-card__inner {
    padding: 4px 4px;
  }

  .sr-carousel__track .sr-card__inner {
    padding-left: 4px;
    padding-right: 4px;
  }

  .sr-stars {
    gap: 5px;
    margin-bottom: 10px;
  }

  .sr-star {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .sr-card__name {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .sr-card__quote {
    font-size: 14px;
    line-height: 1.55;
  }

  .sr-section__actions {
    margin-top: 10px;
    padding: 0 8px;
  }

  .theme-modal-2.site-review-modal .modal-dialog {
    margin: 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .theme-modal-2.site-review-modal .modal-header,
  .theme-modal-2.site-review-modal .modal-body {
    padding: 14px;
  }

  .sr-input-star {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

@media (max-width: 575.98px) {
  .sr-carousel {
    padding: 0 34px;
  }

  .sr-carousel__btn {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .sr-carousel__btn--prev {
    left: 2px;
  }

  .sr-carousel__btn--next {
    right: 2px;
  }
}
