/* WooCommerce-compatible interactive review stars, scoped to Apsara product pages. */
.aa-native-shell .aa-reviews .aa-review-rate-now{font:600 12px/1.35 system-ui;color:#54285c;background:#f4edf6;border:1px solid #e4d6e9;border-radius:999px;padding:11px 14px;cursor:pointer;white-space:nowrap;min-height:42px}
.aa-native-shell .aa-reviews .aa-reviews-header{flex-wrap:wrap}
.aa-native-shell .aa-reviews .aa-review-rating.aa-rating-interactive{position:relative;min-width:0}
.aa-native-shell .aa-reviews .aa-review-rating.aa-rating-interactive select[name="rating"]{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;opacity:0!important;clip-path:inset(50%);overflow:hidden;pointer-events:none;margin:0!important;padding:0!important}
/* Core WooCommerce's optional decorative jQuery stars must not duplicate our accessible picker. */
.aa-native-shell .aa-reviews .aa-review-rating.aa-rating-interactive p.stars{display:none!important}
.aa-native-shell .aa-reviews .aa-rating-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:370px;margin:10px 0 5px}
.aa-native-shell .aa-reviews .aa-rating-star{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:52px;margin:0!important;padding:4px!important;border:1px solid #e2d5e6!important;border-radius:13px!important;background:#fbf7fb!important;box-shadow:none!important;color:#c6b4cb!important;font:35px/1 system-ui!important;cursor:pointer;touch-action:manipulation;transition:color .12s,border-color .12s,background-color .12s}
.aa-native-shell .aa-reviews .aa-rating-star.is-filled{color:#bd8a39!important;background:#fff7e5!important;border-color:#dfba79!important}
.aa-native-shell .aa-reviews .aa-rating-star:focus-visible,.aa-native-shell .aa-reviews .aa-review-rate-now:focus-visible{outline:3px solid #9a58ba!important;outline-offset:2px}
.aa-native-shell .aa-reviews .aa-rating-picker-info{margin:0 0 10px!important;color:#705b77;font:500 12px/1.5 system-ui}
.aa-native-shell .aa-reviews .aa-rating-picker-error:not([hidden]){padding:9px 12px;margin:7px 0!important;border:1px solid #e6afb0;border-radius:11px;background:#fff0f0;color:#90353d;font:500 12px/1.5 system-ui}
@media(max-width:359px){.aa-native-shell .aa-reviews .aa-rating-picker{gap:5px}.aa-native-shell .aa-reviews .aa-rating-star{min-height:46px;font-size:31px!important}}
@media(prefers-reduced-motion:reduce){.aa-native-shell .aa-reviews .aa-rating-star{transition:none}}

/* v2.9.26: one review entry point and one rating control. */
.aa-native-shell .aa-reviews .aa-review-overview { margin:4px 0 10px!important; color:#84718c; font:500 13px/1.5 system-ui; }
.aa-native-shell .aa-reviews .aa-review-aggregate { color:#4e265d; font-weight:750; font-variant-numeric:tabular-nums; }
.aa-native-shell .aa-reviews .aa-review-compose[open] > summary { display:none!important; }
.aa-native-shell .aa-reviews .aa-review-compose-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; }
.aa-native-shell .aa-reviews .aa-review-compose-header strong { color:#432952; font:650 17px/1.4 system-ui; }
.aa-native-shell .aa-reviews .aa-review-close { flex-shrink:0; min-height:40px; border:1px solid #e1d3e8!important; border-radius:99px!important; color:#5d3768!important; background:#f9f4fa!important; padding:9px 14px!important; font:600 13px system-ui!important; cursor:pointer; }
.aa-native-shell .aa-reviews .aa-review-close:focus-visible { outline:2px solid #8b53a5!important; outline-offset:3px; }
.aa-native-shell .aa-reviews .aa-review-editing .aa-review-rate-now { display:none!important; }
.aa-native-shell .aa-reviews .aa-review-compose:not([open]) .aa-review-compose-header { display:none!important; }
@media(max-width:359px){.aa-native-shell .aa-reviews .aa-review-overview{font-size:12px}.aa-native-shell .aa-reviews .aa-review-compose-header strong{font-size:15px}}


/* v2.9.27 — One compose heading, one rating row; well-spaced mobile reviews. */
.aa-native-shell .aa-reviews #reply-title,
.aa-native-shell .aa-reviews .comment-reply-title { display:none!important; }
.aa-native-shell .aa-reviews.aa-review-editing .aa-review-empty { display:none!important; }
.aa-native-shell .aa-reviews .aa-review-empty {
  padding:20px 12px 24px!important;
  margin:8px 0 4px!important;
}
.aa-native-shell .aa-reviews .aa-review-empty > span { display:block; line-height:1.15; margin-bottom:8px; }
.aa-native-shell .aa-reviews .aa-review-empty p { margin:0 0 8px!important; }
.aa-native-shell .aa-reviews .aa-review-compose[open] {
  box-sizing:border-box;
  width:100%;
  margin-top:16px!important;
  padding:16px!important;
  border:1px solid #e9dfed!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#fcf9fd,#fff)!important;
}
.aa-native-shell .aa-reviews .aa-review-compose[open] .aa-review-compose-header {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding-bottom:12px!important;
  margin:0 0 16px!important;
  border-bottom:1px solid #eee5f1;
}
.aa-native-shell .aa-reviews .aa-review-compose-header strong {
  min-width:0;
  font-size:17px!important;
  line-height:1.4!important;
}
.aa-native-shell .aa-reviews .aa-review-compose #review_form_wrapper,
.aa-native-shell .aa-reviews .aa-review-compose #review_form,
.aa-native-shell .aa-reviews .aa-review-compose #respond {
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}
.aa-native-shell .aa-reviews .aa-review-compose form.comment-form {
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
}
.aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 20px!important;
  padding:0!important;
  border:0!important;
}
.aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating > label {
  display:block!important;
  width:100%!important;
  margin:0 0 1px!important;
  text-align:left!important;
  font:700 13px/1.5 system-ui!important;
  color:#512b62!important;
}
.aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating .aa-rating-picker {
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  width:min(100%,360px)!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating .aa-rating-star {
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
}
.aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating .aa-rating-picker-info {
  display:block!important;
  width:100%!important;
  margin:2px 0 0!important;
  color:#88748e!important;
  font:500 12px/1.55 system-ui!important;
  text-align:left!important;
}
.aa-native-shell .aa-reviews .comment-form-comment.aa-review-field {
  display:block!important;
  width:100%!important;
  margin:0 0 16px!important;
}
.aa-native-shell .aa-reviews .comment-form-comment.aa-review-field > label {
  display:block!important;
  margin:0 0 10px!important;
  font:650 13px/1.4 system-ui!important;
  color:#512b62!important;
}
.aa-native-shell .aa-reviews textarea#comment {
  display:block!important;
  min-height:150px!important;
  height:auto!important;
  width:100%!important;
  line-height:1.65!important;
  resize:vertical;
}
.aa-native-shell .aa-reviews .comment-form .form-submit { margin:12px 0 0!important; }
.aa-native-shell .aa-reviews .comment-form .aa-review-note { margin:0 0 12px!important; }
/* Reserve breathing room after the form without altering the existing bottom dock. */
.aa-native-shell .aa-reviews { margin-bottom:18px!important; }
@media(max-width:359px){
  .aa-native-shell .aa-reviews .aa-review-compose[open]{padding:13px!important;}
  .aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating .aa-rating-picker{gap:5px!important;}
  .aa-native-shell .aa-reviews .comment-form-rating.aa-review-rating .aa-rating-star{min-height:46px!important;}
}

/* v2.9.28 — Compact compose state: hide empty review summary and its layout box
   only while the customer is writing. Existing reviews remain visible. */
.aa-native-shell .aa-reviews.aa-review-editing[data-aa-review-count="0"] .aa-review-overview,
.aa-native-shell .aa-reviews.aa-review-editing[data-aa-review-count="0"] > #comments {
  display:none!important;
}
.aa-native-shell .aa-reviews.aa-review-editing[data-aa-review-count="0"] .aa-reviews-header {
  margin-bottom:6px!important;
}
.aa-native-shell .aa-reviews.aa-review-editing .aa-review-compose[open] {
  margin-top:8px!important;
}
.aa-native-shell .aa-reviews.aa-review-editing .aa-review-compose[open] .aa-review-compose-header {
  margin-bottom:14px!important;
}
.aa-native-shell .aa-reviews.aa-review-editing .aa-review-submit {
  scroll-margin-bottom:150px;
}


/* v2.9.29 — permanent zero-review compact state, including when the form is closed.
   Critical fix: no decorative #comments empty block is rendered, and old theme
   min-heights / review tab spacers are explicitly collapsed for empty reviews. */
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] {
  box-sizing:border-box!important;
  min-height:0!important;
  height:auto!important;
  padding:16px 18px 18px!important;
  margin:12px 0 20px!important;
  border-radius:20px!important;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-reviews-header {
  margin:0!important;
  min-height:0!important;
  padding:0!important;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-review-overview {
  display:block;
  margin:6px 0 0!important;
  font:500 13px/1.5 system-ui!important;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] > #comments,
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-review-empty {
  display:none!important;
  min-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-review-compose:not([open]) {
  display:block!important;
  min-height:0!important;
  height:auto!important;
  margin:14px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-review-compose:not([open]) > summary {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:13px 14px!important;
  background:#50245f!important;
  color:#fff!important;
  border:0!important;
  border-radius:14px!important;
  text-align:center!important;
  font:650 15px/1.4 system-ui!important;
  cursor:pointer;
}
.aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] .aa-review-compose[open] {
  margin-top:12px!important;
}
.aa-native-shell .aa-product-page .aa-reviews.aa-review-editing[data-aa-review-count="0"] .aa-review-overview {
  display:none!important;
}
.aa-native-shell .aa-product-page .aa-reviews.aa-review-editing[data-aa-review-count="0"] .aa-reviews-header {
  margin:0 0 8px!important;
}
@media (max-width:359px) {
  .aa-native-shell .aa-product-page .aa-reviews[data-aa-review-count="0"] { padding:14px!important; }
}
