[data-home-customer-feedback-section] { padding: 24px 18px; }
[data-home-customer-feedback-section] .section-title { margin: 0 0 6px; }
[data-home-customer-feedback-section] .section-subtitle { margin: 0 auto 14px; }
[data-home-customer-feedback-section] .cf-review-rail { position: relative; max-width: 1240px; margin: 0 auto; }
[data-home-customer-feedback-section] .cf-review-rail.has-overflow { padding-inline-end: 34px; }
[data-home-customer-feedback-section] .review-grid {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 5); gap: 10px;
  max-width: none; margin: 0; padding: 2px 0 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: #a4d6b7 transparent;
}
[data-home-customer-feedback-section] .review-card {
  min-width: 0; width: auto; margin: 0; padding: 10px;
  display: flex; flex-direction: column; gap: 6px; align-self: stretch;
  border: 1px solid #d6eadc; border-inline-start: 3px solid #0b7a35;
  border-radius: 8px; background: #fff; box-shadow: 0 3px 10px #0f562b0d;
  scroll-snap-align: start;
}
[data-home-customer-feedback-section] .review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 0; }
[data-home-customer-feedback-section] .review-card h3 { margin: 0; font-size: 13px; line-height: 1.3; }
[data-home-customer-feedback-section] .review-rating { display: inline-flex; flex-shrink: 0; padding: 0; border-radius: 0; background: none; font-size: 13px; line-height: 1; letter-spacing: 0; }
[data-home-customer-feedback-section] .cf-rating-box { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 3px; }
[data-home-customer-feedback-section] .cf-rating-label { color: #445c4b; font-size: 11px; line-height: 1.2; }
[data-home-customer-feedback-section] .cf-star-filled { color: #b87800; }
[data-home-customer-feedback-section] .cf-star-empty { color: #a6b4aa; }
[data-home-customer-feedback-section] .cf-customer-name { margin: 0; min-height: 17px; color: #445c4b; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
[data-home-customer-feedback-section] .cf-card-media { margin: 0; }
[data-home-customer-feedback-section] .cf-main-photo { display: block; height: 190px; border-radius: 6px; background: #f4f9f5; overflow: hidden; }
[data-home-customer-feedback-section] .cf-main-photo img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; border-radius: 0; }
[data-home-customer-feedback-section] .cf-photo-options { display: flex; gap: 4px; margin-top: 4px; }
[data-home-customer-feedback-section] .cf-photo-option { width: 34px; height: 30px; padding: 1px; border: 1px solid #d6eadc; border-radius: 4px; background: #fff; cursor: pointer; }
[data-home-customer-feedback-section] .cf-photo-option[aria-pressed=true] { border-color: #087c3b; outline: 1px solid #087c3b; }
[data-home-customer-feedback-section] .cf-photo-option img { width: 100%; height: 100%; object-fit: contain; }
[data-home-customer-feedback-section] .review-text { margin: 0; min-height: 38px; font-size: 13px; line-height: 1.45; }
[data-home-customer-feedback-section] .review-text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
[data-home-customer-feedback-section] .cf-read-more { align-self: flex-start; padding: 0; border: 0; color: #087c3b; background: none; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
[data-home-customer-feedback-section] .review-meta { margin: auto 0 0; padding-top: 6px; border-top: 1px solid #e4eee7; color: #365841; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
[data-home-customer-feedback-section] .cf-review-next { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 36px; padding: 4px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b5d7c0; border-radius: 7px; color: #087c3b; background: #fff; cursor: pointer; }
[data-home-customer-feedback-section] .cf-review-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-home-customer-feedback-section] .cf-review-next:disabled { opacity: .35; cursor: default; }
[data-home-customer-feedback-section] :is(.cf-review-next,.cf-photo-option,.cf-read-more):focus-visible { outline: 2px solid #087c3b; outline-offset: 2px; }
[data-home-customer-feedback-section] [hidden] { display: none !important; }
@media (min-width: 601px) and (max-width: 1099px) {
  [data-home-customer-feedback-section] .review-grid { grid-auto-columns: calc((100% - 20px) / 3); }
}
@media (max-width: 600px) {
  [data-home-customer-feedback-section] { padding: 18px 16px; }
  [data-home-customer-feedback-section] .review-grid { grid-auto-columns: 100%; }
  [data-home-customer-feedback-section] .cf-main-photo { height: 220px; }
  [data-home-customer-feedback-section] .review-card h3 { font-size: 14px; }
  [data-home-customer-feedback-section] .review-rating { font-size: 16px; }
  [data-home-customer-feedback-section] .review-text { font-size: 14px; }
}

/* Page-scoped mobile display override. Desktop/tablet and review rules unchanged. */
@media (max-width: 600px) {
  [data-home-customer-feedback-section] .cf-review-rail.has-overflow { padding-inline-end: 0; }
  [data-home-customer-feedback-section] .review-grid { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  [data-home-customer-feedback-section] .review-card { padding: 6px; gap: 3px; }
  [data-home-customer-feedback-section] .review-card-head { align-items: flex-start; gap: 4px; }
  [data-home-customer-feedback-section] .review-card h3 { min-width: 0; font-size: 12px; line-height: 1.35; }
  [data-home-customer-feedback-section] .cf-rating-box { gap: 2px; }
  [data-home-customer-feedback-section] .cf-rating-label { font-size: 10px; }
  [data-home-customer-feedback-section] .review-rating { font-size: 11px; }
  [data-home-customer-feedback-section] .cf-customer-name { min-height: 14px; font-size: 11px; line-height: 1.3; }
  [data-home-customer-feedback-section] .cf-main-photo { height: 152px; }
  [data-home-customer-feedback-section] .cf-main-photo img { object-fit: cover; object-position: center; }
  [data-home-customer-feedback-section] .review-text { min-height: 30px; font-size: 12px; line-height: 1.35; }
  [data-home-customer-feedback-section] .review-meta { padding-top: 3px; font-size: 11px; line-height: 1.3; }
  [data-home-customer-feedback-section] .cf-read-more { font-size: 11px; }
  [data-home-customer-feedback-section] .cf-photo-option { width: 28px; height: 28px; }
  [data-home-customer-feedback-section] .cf-review-next {
    inset-inline-end: 4px; z-index: 2; width: 44px; height: 44px;
    padding: 10px; border: 1px solid rgba(11,122,53,.10); border-radius: 50%;
    background: rgba(255,255,255,.20); backdrop-filter: none;
    box-shadow: none;
  }
  [data-home-customer-feedback-section] .cf-review-next svg { width: 22px; height: 22px; }
}
