.ar-reviews { min-width: 0; margin-top: 24px; padding: 20px 0; border-top: 1px solid #dce3e8; background: #fff; color: #172334; font-size: 13px; line-height: 1.55; letter-spacing: 0; scroll-margin-top: 90px; }
.ar-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-bottom: 16px; }
.ar-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 650; }
.ar-heading h2 span { font-size: 13px; font-weight: 400; }
.ar-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.ar-summary > strong { font-size: 18px; }
.ar-summary > span:last-child { color: #596774; font-size: 12px; }
.ar-stars { --ar-review-gold: #c79226; position: relative; display: inline-block; width: max-content; height: 24px; flex: 0 0 auto; font: 18px/24px Arial,sans-serif; letter-spacing: 0; white-space: nowrap; color: #d2d7dd; vertical-align: middle; }
.ar-stars > span { position: absolute; inset: 0; overflow: hidden; }
.ar-stars > span:first-child { position: relative; display: block; }
.ar-stars > span:last-child { right: auto; color: var(--ar-review-gold); -webkit-text-stroke: .35px #85590e; }
.ar-verified { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; color: #137252; font-size: 12px; }
.ar-reviews svg, .ar-lightbox svg, .ar-reviewer-dialog .ar-verified svg { width: 16px; height: 16px; flex: 0 0 16px; }
.ar-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ar-reviews button, .ar-reviews select { min-height: 34px; max-width: 100%; border: 1px solid #d4dfe6; border-radius: 4px; padding: 6px 10px; color: #273b4a; background: #fff; font: inherit; line-height: 1.4; }
.ar-reviews button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.ar-reviews button:disabled { color: #74828d; background: #f6f8fa; cursor: default; }
.ar-reviews button[aria-pressed="true"] { border-color: #20688b; background: #eaf3f7; color: #124e6c; }
.ar-reviews :is(button,select):focus-visible, .ar-lightbox button:focus-visible { outline: 2px solid #1671a0; outline-offset: 2px; }
.ar-heading h2:focus:not(:focus-visible), .ar-review:focus:not(:focus-visible) { outline: none; }
.ar-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ar-reviews .ar-photo { position: relative; display: block; flex: 0 0 104px; width: 104px; height: 116px; padding: 0; overflow: hidden; border: 1px solid #e0e5e9; border-radius: 4px; background: #f4f6f8; }
.ar-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ar-photo > span { position: absolute; display: flex; align-items: center; gap: 4px; bottom: 4px; left: 4px; padding: 2px 5px; border-radius: 3px; background: #fff; color: #172334; font-size: 11px; }
.ar-photo > span svg { width: 12px; height: 12px; flex-basis: 12px; color: #b56b00; }
.ar-photo > .ar-photo-count { inset: 0; padding: 8px; display: grid; place-content: center; border-radius: 0; background: #172334ad; color: #fff; font-size: 12px; }
.ar-sort { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 0 12px; border-bottom: 1px solid #e5e9ec; }
.ar-sort label { display: flex; align-items: center; gap: 6px; }
.ar-sort [role="status"] { color: #687582; font-size: 12px; }
.ar-review { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 16px; padding: 18px 0; border-bottom: 1px solid #e5e9ec; }
.ar-review-header { grid-column: 1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; min-width: 0; }
.ar-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #edf1f5; color: #526271; }
.ar-review-identity { display: grid; justify-items: start; min-width: 0; }
.ar-review-identity .ar-stars { height: 20px; font-size: 16px; line-height: 20px; }
.ar-reviews .ar-review-author, .ar-review-name { display: inline; align-self: center; min-height: 20px; border: 0; border-radius: 2px; padding: 0; color: #172334; background: transparent; font-size: 14px; font-weight: 650; text-align: start; overflow-wrap: anywhere; }
.ar-reviews .ar-review-author { color: #174e69; text-decoration: underline; text-decoration-color: #8ba6b3; text-underline-offset: 3px; }
.ar-reviews .ar-review-author:hover { color: #0b3850; text-decoration-color: currentColor; }
.ar-review > .ar-review-body { grid-column: 1; padding-inline-start: 46px; }
.ar-reviews .ar-review-product, .ar-reviewer-dialog .ar-review-product { grid-column: 2; display: grid; justify-items: stretch; align-self: start; gap: 3px; width: 106px; min-width: 0; min-height: 0; border: 1px solid #dce3e8; border-radius: 8px; padding: 5px; color: #174e69; background: #fff; font: inherit; text-align: center; cursor: pointer; }
.ar-review > .ar-review-product { grid-row: 1 / span 2; align-self: center; }
.ar-reviews .ar-review-product:hover, .ar-reviewer-dialog .ar-review-product:hover { border-color: #c79226; background: #fffaf1; }
.ar-review-product img { display: block; width: 100%; height: 66px; border-radius: 4px; object-fit: contain; background: #f6f8fa; }
.ar-review-product span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.35; }
.ar-review-body { min-width: 0; overflow-wrap: anywhere; }
.ar-review-body header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.ar-review-body .ar-stars { height: 20px; font-size: 15px; line-height: 20px; }
.ar-options { margin-top: 3px; color: #64717e; font-size: 12px; }
.ar-comment { margin: 8px 0; white-space: pre-wrap; font-size: 13px; line-height: 1.65; }
.ar-review-body footer { display: flex; flex-wrap: wrap; gap: 4px 12px; color: #64717e; font-size: 12px; }
.ar-review-body blockquote { margin: 12px 0 0; padding: 8px 12px; border-left: 2px solid #cddce5; background: #f6f8fa; }
.ar-review-body blockquote p { margin: 4px 0 0; white-space: pre-wrap; }
.ar-row-photos { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.ar-row-photos .ar-photo { width: 64px; height: 70px; flex-basis: 64px; }
.ar-row-photos .ar-photo > span { display: none; }
.ar-more { display: flex; justify-content: center; padding-top: 18px; }
.ar-more button { min-width: 180px; border-color: #9baebc; }
.ar-empty { margin: 0; padding: 24px 0; color: #596774; }
.ar-product-link { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 0; border-bottom: 1px solid #dce3e8; }
.ar-product-link img { width: 64px; height: 64px; object-fit: contain; border-radius: 4px; }
.ar-product-link h1 { margin: 0; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.ar-lightbox { box-sizing: border-box; width: min(720px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 1px solid #d9e2e8; border-radius: 6px; background: #fff; color: #172334; }
.ar-lightbox::backdrop { background: #172334a8; }
.ar-lightbox header, .ar-lightbox footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ar-lightbox button { display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border: 1px solid #cddce5; border-radius: 4px; color: #235c7b; background: #fff; }
.ar-lightbox button:disabled { opacity: .45; cursor: default; }
.ar-lightbox-image { height: min(48dvh,420px); margin: 12px 0; background: #f7f8fa; }
.ar-lightbox-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ar-lightbox-caption { font-size: 13px; overflow-wrap: anywhere; }
.ar-lightbox-caption strong { margin-left: 12px; }
.ar-lightbox-caption p { max-height: 100px; overflow: auto; white-space: pre-wrap; }
.ar-reviewer-dialog { width: min(680px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; overflow: hidden; border: 1px solid #dce3e8; border-radius: 14px; background: #fff; color: #172334; font-size: 13px; box-shadow: 0 20px 65px #17304736; }
.ar-reviewer-dialog::backdrop { background: #172334a8; }
.ar-reviewer-frame { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: min(700px,calc(100dvh - 30px)); }
.ar-reviewer-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #dce3e8; background: #f7fafc; }
.ar-reviewer-header .ar-avatar { width: 42px; height: 42px; }
.ar-reviewer-header svg, .ar-reviewer-pages svg { width: 17px; height: 17px; }
.ar-reviewer-identity h2 { margin: 0; font-size: 19px; overflow-wrap: anywhere; }
.ar-reviewer-identity p { margin: 2px 0 0; color: #566574; }
.ar-reviewer-header button, .ar-reviewer-pages button, .ar-reviewer-message button { display: inline-grid; place-items: center; min-width: 34px; min-height: 34px; border: 1px solid #d5dfe6; border-radius: 6px; padding: 4px 7px; background: #fff; color: #174e69; font: inherit; cursor: pointer; }
.ar-reviewer-dialog :is(button,[tabindex]):focus-visible { outline: 2px solid #1671a0; outline-offset: 2px; }
.ar-reviewer-scroll { overflow: auto; overscroll-behavior: contain; padding: 0 20px; scrollbar-gutter: stable; }
.ar-reviewer-message { margin: 16px 0; color: #566574; }
.ar-reviewer-message:empty { margin: 0; }
.ar-author-review { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 0; }
.ar-author-review + .ar-author-review { border-top: 1px solid #e5e9ec; }
.ar-reviewer-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 10px 12px; border-top: 1px solid #dce3e8; }
.ar-reviewer-pages[hidden] { display: none; }
.ar-reviewer-pages button[aria-current="page"] { border-color: #174e69; background: #174e69; color: #fff; }
.ar-reviewer-pages button:disabled { opacity: .48; cursor: default; }
.ar-reviewer-page-status { margin-inline-start: 5px; color: #566574; }
.product-page .ar-reviews { padding: 18px; }
.reviews-page > .ar-reviews { padding: 20px; }
.reviews-page > .product-back { position: static; }
@media (min-width:901px) {
  .product-page .product-detail { grid-template-rows: min-content minmax(0,1fr); align-items: start; }
  .product-page .product-gallery { grid-column: 1; grid-row: 1; }
  .product-page .product-info { grid-column: 2; grid-row: 1 / span 2; }
  .product-page .product-detail > .ar-reviews { grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; }
}
@media (max-width:900px) {
  .ar-reviews { scroll-margin-top: 180px; }
}
@media (max-width:600px) {
  .product-page .ar-reviews, .reviews-page > .ar-reviews { padding: 16px 12px; }
  .ar-heading { gap: 8px 12px; }
  .ar-heading h2 { width: 100%; font-size: 17px; }
  .ar-filters { gap: 6px; }
  .ar-reviews .ar-photo { width: 84px; height: 94px; flex-basis: 84px; }
  .ar-row-photos .ar-photo { width: 56px; height: 64px; flex-basis: 56px; }
  .ar-sort select { max-width: 155px; }
  .ar-review { column-gap: 10px; }
  .ar-review-header { column-gap: 8px; grid-template-columns: auto minmax(0,1fr); }
  .ar-review-header .ar-verified { grid-column: 2; }
  .ar-review > .ar-review-body { padding-inline-start: 38px; }
  .ar-avatar { width: 30px; height: 30px; }
  .ar-reviews .ar-review-product, .ar-reviewer-dialog .ar-review-product { width: 76px; }
  .ar-review-product img { height: 54px; }
  .ar-reviewer-header { padding: 12px; }
  .ar-reviewer-scroll { padding: 0 12px; }
}
