/* Hayya Manager QA10 — Guest reviews presentation layer.
   Scoped to Hayya product pages only; no theme/Elementor/SEO changes.
   Custom-property hooks allow future design tweaks without editing logic. */
.hm-product-ui-v2 #hm-reviews.hm-reviews-design-qa10 {
  --hmrv-brand: #b5160b;
  --hmrv-ink: #1c2e42;
  --hmrv-muted: #657283;
  --hmrv-sand: #f8f3ec;
  --hmrv-stars: #f5a623;
  --hmrv-rule: #e5e2df;
  width: 100%; max-width: 100%; margin: 50px 0 0; padding: 36px 0 8px;
  border-top: 1px solid var(--hmrv-rule); box-sizing: border-box;
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 24px; margin: 0 0 30px;
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-hero .hm-related-head {
  margin: 0; min-width: 0; max-width: 760px;
}
.hm-product-ui-v2 #hm-reviews .hm-related-head .hm-eyebrow {
  color: var(--hmrv-brand); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
}
.hm-product-ui-v2 #hm-reviews .hm-related-head h2 {
  margin: 8px 0 8px; font-family: 'Playfair Display', Georgia, serif;
  color: var(--hmrv-ink); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.16;
}
.hm-product-ui-v2 #hm-reviews .hm-related-head p { color: var(--hmrv-muted); line-height: 1.65; margin: 0; }
.hm-product-ui-v2 #hm-reviews .hm-reviews-score {
  display: grid; justify-items: center; align-content: center;
  min-width: 190px; padding: 16px 20px; text-align: center;
  border: 1px solid #ede0d1; background: var(--hmrv-sand); border-radius: 16px;
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-score-number {
  color: var(--hmrv-ink); font-size: clamp(32px, 3vw, 44px); line-height: 1.12;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-score-number span { color: var(--hmrv-muted); font-size: .48em; font-weight: 600; }
.hm-product-ui-v2 #hm-reviews .hm-reviews-score-stars { color: var(--hmrv-stars) !important; font-size: 22px; letter-spacing: 2px; }
.hm-product-ui-v2 #hm-reviews .hm-reviews-score-count { color: var(--hmrv-muted); font-size: 12px; margin-top: 5px; }
.hm-product-ui-v2 #hm-reviews .hm-reviews-list-heading {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin-bottom: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--hmrv-rule);
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-list-heading h3 {
  font-size: clamp(19px, 2vw, 23px); font-weight: 750; font-family: inherit; line-height: 1.35;
  margin: 0; color: var(--hmrv-ink);
}
.hm-product-ui-v2 #hm-reviews .hm-reviews-list-heading span { font-size: 12px; color: var(--hmrv-muted); }
/* Single editorial column, inspired by readable travel-review feeds. */
.hm-product-ui-v2 #hm-reviews .hm-public-review-grid,
.hm-product-ui-v2.hm-product-experience #hm-reviews .hm-public-review-grid {
  display: block; max-width: 960px; margin: 0; padding: 0;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-card,
.hm-product-ui-v2.hm-product-experience #hm-reviews .hm-public-review-card {
  display: block; margin: 0; padding: 25px 0 26px;
  border: 0; border-bottom: 1px solid var(--hmrv-rule);
  border-radius: 0; background: transparent; box-shadow: none;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-card:last-child { border-bottom: 0; }
.hm-product-ui-v2 #hm-reviews .hm-public-review-top {
  display: flex; align-items: flex-start; justify-content: flex-start;
  gap: 12px; margin-bottom: 13px;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-avatar {
  display: grid; place-items: center; flex: 0 0 45px;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--hmrv-sand); color: var(--hmrv-brand);
  font-size: 18px; font-weight: 800; font-family: inherit; line-height: 1.1; border: 1px solid #ead8c7;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-top .hm-public-review-author {
  display: flex; flex-direction: column; gap: 4px; flex: 1 1 240px;
  min-width: 0; margin: 0; padding: 0;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-author strong {
  color: var(--hmrv-ink); font-size: 15px; font-weight: 750; overflow-wrap: anywhere;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-top .hm-public-review-verified {
  color: #24703a; font-size: 12px; font-weight: 700;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-author time {
  color: var(--hmrv-muted); font-size: 12px;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-top > .hm-review-stars {
  flex: 0 0 auto; color: var(--hmrv-stars) !important;
  font-size: 19px; line-height: 1.35; letter-spacing: 1px; white-space: nowrap;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-card h4 {
  color: var(--hmrv-ink); font-size: 17px; font-weight: 750;
  font-family: inherit; line-height: 1.35; margin: 0 0 8px;
}
.hm-product-ui-v2 #hm-reviews .hm-public-review-card > p {
  color: #394659; font-size: 15px; line-height: 1.75;
  max-width: 90ch; overflow-wrap: anywhere; margin: 0;
}
.hm-product-ui-v2 #hm-reviews .hm-guest-review-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 114px));
  justify-content: start; gap: 9px; margin: 16px 0 0; width: 100%;
}
.hm-product-ui-v2 #hm-reviews .hm-guest-review-gallery a {
  display: block; width: 100%; aspect-ratio: 1; overflow: hidden;
  border-radius: 10px; background: var(--hmrv-sand);
  border: 1px solid #e6dbce; text-decoration: none;
}
.hm-product-ui-v2 #hm-reviews .hm-guest-review-gallery a:focus-visible { outline: 3px solid var(--hmrv-brand); outline-offset: 2px; }
.hm-product-ui-v2 #hm-reviews .hm-guest-review-gallery img {
  display: block; width: 100%; height: 100%; aspect-ratio: 1;
  object-fit: cover;
}
/* Separate review submission from the already moderated public feed. */
.hm-product-ui-v2 #hm-reviews .hm-guest-review-wrap {
  margin: 36px 0 0; padding: clamp(20px,3vw,35px);
  max-width: 100%; border: 1px solid #eadccc; border-radius: 18px;
  background: #fff; box-shadow: 0 9px 30px rgba(35,27,20,.04);
}
.hm-product-ui-v2 #hm-reviews .hm-guest-review-wrap h2 { color: var(--hmrv-ink); }
@media (max-width: 740px) {
  .hm-product-ui-v2 #hm-reviews.hm-reviews-design-qa10 { margin-top: 33px; padding-top: 26px; }
  .hm-product-ui-v2 #hm-reviews .hm-reviews-hero { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .hm-product-ui-v2 #hm-reviews .hm-reviews-score { width: fit-content; min-width: 180px; max-width: 100%; }
  .hm-product-ui-v2 #hm-reviews .hm-public-review-card { padding: 22px 0; }
}
@media (max-width: 470px) {
  .hm-product-ui-v2 #hm-reviews .hm-public-review-top { gap: 9px; flex-wrap: wrap; }
  .hm-product-ui-v2 #hm-reviews .hm-public-review-top .hm-public-review-author { flex-basis: calc(100% - 60px); }
  .hm-product-ui-v2 #hm-reviews .hm-public-review-top > .hm-review-stars { margin-left: 54px; }
  .hm-product-ui-v2 #hm-reviews .hm-guest-review-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 380px; }
  .hm-product-ui-v2 #hm-reviews .hm-guest-review-wrap { padding: 16px; }
}
