:host { display: block; width: 100%; min-width: 0; font: 16px/1.5 Arial, sans-serif; color: #53666c; text-align: left; color-scheme: light; --review-brand: #008f8b; --review-accent: #9ad4d3; }
*, *::before, *::after { box-sizing: border-box; }
button, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible { outline: 3px solid #347d7c; outline-offset: 3px; }
button:disabled { cursor: default; opacity: .6; }
[hidden] { display: none !important; }
.review-card { overflow: hidden; width: 100%; background: #fff; border: 1px solid #dce5e6; border-radius: 14px; box-shadow: 0 3px 10px #173d4018; }
.review-content { padding: clamp(14px, 5%, 20px); }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.review-stars { color: #ffb340; letter-spacing: 1px; font-size: 17px; white-space: nowrap; }
time { color: #859497; font-size: 11px; }
.review-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; margin: 0 0 18px; }
.review-author { display: flex; gap: 12px; align-items: center; }
.review-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #ffc400; color: #fff; font-size: 11px; font-weight: bold; }
.author-info { min-width: 0; }
.review-name { display: block; font-size: 14px; overflow-wrap: anywhere; }
.review-service { display: table; max-width: 100%; margin-top: 3px; padding: 2px 7px; border-radius: 999px; background: #d9f4f1; color: #278b88; font-size: 9px; line-height: 1.25; overflow-wrap: anywhere; }
.review-footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 10px; font-size: 10px; color: #809194; }
.review-verified { color: #458985; }
.media-stage { margin: 14px 14px 0; overflow: hidden; border-radius: 12px; background: #dff3f1; min-height: 160px; }
.image-open { display: block; padding: 0; border: 0; width: 100%; background: transparent; }
.media-stage img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.media-stage video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #173d40; object-fit: contain; }
.media-error { display: grid; place-items: center; min-height: 160px; padding: 24px; margin: 0; color: #71858a; font-size: 13px; }
.media-thumbs { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; background: #f6fafa; }
.media-thumbs button { flex-shrink: 0; border: 1px solid #dce9e8; background: white; border-radius: 8px; padding: 5px 9px; color: #526f73; font-size: 11px; }
.media-thumbs button[aria-pressed=true] { background: #9ad4d34d; border-color: #9ad4d3; }
.photo-dialog { max-width: min(94vw, 1100px); max-height: 92dvh; border: 0; padding: 12px; border-radius: 16px; background: white; }
.photo-dialog::backdrop { background: #102628cc; }
.photo-dialog img { display: block; max-width: 100%; max-height: 82dvh; object-fit: contain; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #203a3f; background: white; box-shadow: 0 2px 12px #173d4022; font-size: 24px; }
.reviews-widget { width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(12px, 2.5vw, 32px); container-type: inline-size; }
.widget-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.widget-eyebrow { color: #639493; font-size: 10px; letter-spacing: 2px; margin: 0 0 12px; }
h2 { font-size: clamp(26px, 5cqi, 42px); font-weight: 600; line-height: 1.2; letter-spacing: -1px; margin: 0; }
.widget-count { font-size: 12px; color: #71858a; white-space: nowrap; }
.widget-filters { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 34px; }
.filter-pill { flex: 0 0 auto; min-height: 48px; padding: 10px 28px; border: 2px solid var(--review-brand); border-radius: 999px; background: #fff; color: var(--review-brand); font-size: 18px; line-height: 1; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.filter-pill:hover, .filter-pill[aria-pressed=true] { background: var(--review-brand); color: #fff; }
.reviews-grid { columns: 3 320px; column-gap: 20px; }
.reviews-grid > * { display: block; width: 100%; break-inside: avoid; margin-bottom: 20px; }
.load-more { display: block; margin: 24px auto 0; padding: 13px 28px; border: 1px solid #9ad4d3; border-radius: 12px; background: #9ad4d34d; color: #245c60; font-size: 14px; }
.widget-status { color: #71858a; font-size: 14px; }
.widget-status:empty { display: none; }
.review-skeleton { height: 270px; border-radius: 22px; background: linear-gradient(110deg,#edf4f4 20%,#f9fbfb 40%,#edf4f4 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .review-skeleton { animation: none; } }
@container (max-width: 760px) { .widget-header { align-items: start; flex-direction: column; } .widget-filters { flex-wrap: nowrap; gap: 10px; margin-inline: calc(clamp(12px, 2.5vw, 32px) * -1); padding-inline: clamp(12px, 2.5vw, 32px); overflow-x: auto; scrollbar-width: none; } .widget-filters::-webkit-scrollbar { display: none; } .filter-pill { min-height: 42px; padding: 9px 20px; font-size: 15px; } }
