/* Customer-facing readability and touch accessibility. Keep this scoped away from CampOS/admin. */
.site-shell:not(.client-location-shell):not(.admin-shell) .site-main {
  font-size: 1rem;
  line-height: 1.6;
}

.site-shell:not(.client-location-shell):not(.admin-shell) .form-control,
.site-shell:not(.client-location-shell):not(.admin-shell) .form-select,
.site-shell:not(.client-location-shell):not(.admin-shell) .input-group-text {
  min-height: 48px;
  font-size: 1rem;
}

.site-shell:not(.client-location-shell):not(.admin-shell) textarea.form-control { min-height: 112px; }
.site-shell:not(.client-location-shell):not(.admin-shell) .form-label { margin-bottom: .4rem; color: var(--brand-2); font-size: .92rem; font-weight: 650; }
.site-shell:not(.client-location-shell):not(.admin-shell) .btn:not(.btn-sm),
.site-shell:not(.client-location-shell):not(.admin-shell) button:not(.site-nav-close):not(.site-nav-toggle) { min-height: 44px; }
.site-shell:not(.client-location-shell):not(.admin-shell) :focus-visible { outline: 3px solid #f2b632; outline-offset: 3px; }

.customer-review-composer { padding: clamp(1rem, 3vw, 1.35rem); border-radius: 1rem; background: #f7faf9; }
.review-composer-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.review-composer-heading > span { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: #fff0c8; color: #8a6400; font-size: 1.1rem; }
.review-composer-heading h3 { color: var(--brand-2); font-size: 1.05rem; }
.review-composer-heading p { color: var(--brand-3); font-size: .88rem; line-height: 1.45; }
.review-photo-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.review-photo-picker .composer-photo-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .65rem 1rem; border: 1px solid var(--brand-1); border-radius: .65rem; background: #fff; color: var(--brand-1); font-size: .92rem; font-weight: 700; cursor: pointer; }
.review-photo-picker .composer-photo-button:hover { background: #eaf5f1; }
.review-photo-picker > span { font-size: .85rem; }
.review-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dbe5e2; }
.review-submit-row .review-form-status { color: var(--brand-3); font-size: .9rem; font-weight: 600; }
.review-submit-row .review-form-status.text-success { color: #166b50 !important; }
.review-submit-row .review-form-status.text-danger { color: #a51d2d !important; }
.review-item { padding: 1.25rem 0; }
.review-item .review-stars { color: #a87400; font-size: 1.05rem; letter-spacing: .05em; }
.review-item > p { font-size: .98rem !important; line-height: 1.65; white-space: pre-wrap; }
.review-photo-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: .45rem; margin: .8rem 0; }
.review-photo-button { min-height: 120px; padding: 0; overflow: hidden; border: 0; border-radius: .7rem; background: #e6eeeb; cursor: zoom-in; }
.review-photo-button img { width: 100%; height: 100%; min-height: 120px; max-height: 210px; object-fit: cover; }

.review-lightbox { width: min(1000px, calc(100% - 1rem)); height: min(88dvh, 850px); padding: 0; border: 0; border-radius: .8rem; background: #08171e; color: #fff; }
.review-lightbox::backdrop { background: rgb(4 15 20 / 88%); backdrop-filter: blur(4px); }
.review-lightbox-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.review-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.review-lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--brand-2); font-size: 1.1rem; }
.review-lightbox-close { top: .75rem; right: .75rem; }
.review-lightbox-prev { left: .75rem; }
.review-lightbox-next { right: .75rem; }
.review-lightbox p { position: absolute; bottom: .75rem; margin: 0; padding: .35rem .75rem; border-radius: 999px; background: rgb(0 0 0 / 70%); font-size: .9rem; }

@media (max-width: 575.98px) {
  .customer-review-composer { margin-inline: -.35rem; }
  .review-composer-heading { align-items: flex-start; }
  .review-photo-picker .composer-photo-button,
  .review-submit-row .btn { width: 100%; }
  .review-submit-row { align-items: stretch; flex-direction: column; }
  .review-photo-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .review-lightbox-prev { left: .35rem; }
  .review-lightbox-next { right: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell:not(.client-location-shell):not(.admin-shell) *,
  .review-lightbox * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
