.ar-wrap, .ar-badge, .ar-standalone { --ar-accent: #00b67a; --ar-radius: 14px; --ar-ink: #14161a; --ar-text: #3a3f47; --ar-muted: #737a86; --ar-line: #e7e9ee; --ar-soft: #f5f7fa; --ar-card: #fff; --ar-tint: color-mix(in srgb, var(--ar-accent) 10%, #fff); --ar-deep: color-mix(in srgb, var(--ar-accent) 70%, #000); }
.ar-wrap { container: ar / inline-size; box-sizing: border-box; width: 100%; max-width: 1160px; margin-top: var(--ar-mt, 24px); margin-bottom: var(--ar-mb, 48px); margin-left: auto; margin-right: auto; padding: 0 8px; clear: both; position: relative; color: var(--ar-text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ar-wrap *, .ar-wrap *::before, .ar-wrap *::after { box-sizing: border-box; }

/* Header */
.ar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px; }
.ar-head-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ar-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px .4em; margin: 0; padding: 0; border: 0; color: var(--ar-ink); font-family: inherit; font-size: clamp(24px, 6cqi, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-transform: none; text-wrap: balance; }
.ar-heading-text { color: var(--ar-ink); }
.ar-heading-site { position: relative; z-index: 0; color: var(--ar-deep); padding: 0 .12em; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--ar-accent) 28%, transparent) 62%); border-radius: 3px; }
.ar-pill-verified { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 99px; background: var(--ar-tint); color: var(--ar-deep); font-size: 13px; font-weight: 700; }
.ar-pill-verified svg { width: 18px; height: 18px; fill: var(--ar-accent); }

/* Stars (square tiles) */
.ar-stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.ar-star { display: inline-grid; place-items: center; background: linear-gradient(90deg, var(--c) var(--f), #dcdce6 var(--f)); }
.ar-star svg { fill: #fff; display: block; }
.ar-stars-sm .ar-star { width: 20px; height: 20px; border-radius: 3px; }
.ar-stars-sm .ar-star svg { width: 14px; height: 14px; }
.ar-stars-md .ar-star { width: 26px; height: 26px; border-radius: 4px; }
.ar-stars-md .ar-star svg { width: 18px; height: 18px; }
.ar-stars-lg .ar-star { width: 40px; height: 40px; border-radius: 5px; }
.ar-stars-lg .ar-star svg { width: 27px; height: 27px; }

/* Summary */
.ar-summary { display: grid; grid-template-columns: minmax(250px, 310px) 1fr; gap: 36px; align-items: center; padding: 32px 36px; margin-bottom: 18px; background: linear-gradient(180deg, #fff, var(--ar-soft)); border: 1px solid var(--ar-line); border-radius: calc(var(--ar-radius) + 4px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06); }
.ar-score { text-align: center; padding-right: 32px; border-right: 1px solid var(--ar-line); }
.ar-score-num { margin-bottom: 12px; color: var(--ar-ink); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.ar-score-label { margin-top: 12px; color: var(--ar-ink); font-size: 20px; font-weight: 800; }
.ar-score-count { color: var(--ar-muted); font-size: 14px; }
.ar-recommend { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 14px; border-radius: 99px; background: var(--ar-tint); color: var(--ar-deep); font-size: 13px; font-weight: 700; }
.ar-recommend::before { content: ""; width: 14px; height: 14px; background: var(--ar-accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.6 5.4 12.5l1.4-1.4 2.7 2.7 7-7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.6 5.4 12.5l1.4-1.4 2.7 2.7 7-7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.ar-bars { display: grid; gap: 4px; }
.ar-bar { all: unset; box-sizing: border-box; display: grid !important; grid-template-columns: 54px 1fr 44px; gap: 14px; align-items: center; padding: 6px 10px; border-radius: 10px; cursor: pointer; color: var(--ar-text); font-size: 14px; font-weight: 600; background: transparent !important; min-height: 0 !important; transition: background .15s, box-shadow .15s; }
.ar-bar:hover, .ar-bar:focus-visible { background: #fff; box-shadow: 0 0 0 1px var(--ar-line); }
.ar-bar.is-active { background: #fff; box-shadow: 0 0 0 2px var(--ar-accent); }
.ar-bar:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 2px; }
.ar-bar-track { height: 10px; background: #e3e5ec; border-radius: 99px; overflow: hidden; }
.ar-bar-track i { display: block; height: 100%; min-width: 4px; background: var(--ar-accent); border-radius: 99px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.ar-bar-pct { text-align: right; color: var(--ar-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.ar-by-rating .ar-bar[data-star="5"] i { background: #00b67a; }
.ar-by-rating .ar-bar[data-star="4"] i { background: #73cf11; }
.ar-by-rating .ar-bar[data-star="3"] i { background: #ffce00; }
.ar-by-rating .ar-bar[data-star="2"] i { background: #ff8622; }
.ar-by-rating .ar-bar[data-star="1"] i { background: #ff3722; }

/* Controls */
.ar-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 30px 0 16px; padding-top: 22px; border-top: 1px solid var(--ar-line); }
.ar-filter { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 99px; background: var(--ar-tint); color: var(--ar-deep); font-weight: 700; font-size: 14px; }
.ar-filter[hidden] { display: none; }
.ar-clear { all: unset; cursor: pointer; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--ar-deep); font-size: 12.5px; font-weight: 700; }
.ar-clear:hover { background: var(--ar-accent); color: #fff; }
.ar-sort { margin-left: auto; color: var(--ar-muted); font-size: 14px; font-weight: 600; }
.ar-sort select { margin-left: 8px; padding: 9px 36px 9px 14px; border: 1px solid var(--ar-line); border-radius: 10px; background: #fff; color: var(--ar-ink); font: inherit; font-weight: 600; cursor: pointer; }
.ar-sort select:focus-visible { outline: 2px solid var(--ar-accent); }

/* Reviews */
.ar-list { display: grid; gap: 16px; transition: opacity .15s; }
.ar-list.is-loading { opacity: .45; }
.ar-review { padding: 26px 28px; background: var(--ar-card); border: 1px solid var(--ar-line); border-radius: calc(var(--ar-radius) + 2px); transition: box-shadow .2s, transform .2s; }
.ar-style-cards .ar-review, .ar-style-grid .ar-review, .ar-style-carousel .ar-review { box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05); }
.ar-style-cards .ar-review:hover, .ar-style-grid .ar-review:hover, .ar-style-carousel .ar-review:hover { box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 16px 36px rgba(16, 24, 40, .09); transform: translateY(-2px); }
.ar-style-list .ar-list { gap: 0; }
.ar-style-list .ar-review { border: 0; border-bottom: 1px solid var(--ar-line); border-radius: 0; padding: 26px 4px; background: transparent; }
.ar-review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ar-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ar-line); overflow: hidden; }
.ar-avatar svg { width: 32px; height: 32px; fill: rgba(255, 255, 255, .96); margin-top: 7px; }
.ar-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.ar-who strong { color: var(--ar-ink); font-size: 16px; font-weight: 700; }
.ar-verified { display: inline-flex; align-items: center; gap: 2px; padding: 2px 10px 2px 4px; border-radius: 99px; background: var(--ar-tint); color: var(--ar-deep); font-size: 12px; font-weight: 700; }
.ar-verified svg { width: 16px; height: 16px; fill: var(--ar-accent); }
.ar-date { margin-left: auto; color: var(--ar-muted); font-size: 13px; white-space: nowrap; }
.ar-review-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.ar-bought { color: var(--ar-muted); font-size: 13px; }
.ar-bought::before { content: "\00b7"; margin-right: 12px; }
.ar-review-title { margin: 0 0 6px; color: var(--ar-ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
.ar-review-text { font-size: 15.5px; }
.ar-review-text p { margin: 0 0 8px; }
.ar-review-text p:last-child { margin-bottom: 0; }
.ar-reply { margin-top: 16px; padding: 14px 18px; background: var(--ar-soft); border-left: 3px solid var(--ar-accent); border-radius: 4px calc(var(--ar-radius) - 2px) calc(var(--ar-radius) - 2px) 4px; font-size: 14.5px; }
.ar-reply strong { color: var(--ar-ink); font-size: 13px; }
.ar-reply p { margin: 4px 0 0; }
.ar-review-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ar-line); }
.ar-helpful { all: unset; box-sizing: border-box; margin-left: -14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px; color: var(--ar-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.ar-helpful svg { width: 16px; height: 16px; fill: currentColor; }
.ar-helpful:hover, .ar-helpful:focus-visible { background: var(--ar-tint); color: var(--ar-deep); }
.ar-helpful:focus-visible { outline: 2px solid var(--ar-accent); }
.ar-helpful.is-done { background: var(--ar-tint); color: var(--ar-deep); cursor: default; }

.ar-more { display: block; margin: 26px auto 0; padding: 13px 34px; border: 0; background: var(--ar-ink); color: #fff; border-radius: 99px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 16px rgba(16, 24, 40, .18); }
.ar-more:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16, 24, 40, .24); }
.ar-more[hidden] { display: none; }
.ar-more:disabled { opacity: .55; cursor: wait; }

.ar-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 14px 18px; background: var(--ar-soft); border-radius: var(--ar-radius); color: var(--ar-muted); font-size: 13px; text-align: left; }
.ar-trust svg { flex: none; width: 20px; height: 20px; fill: var(--ar-accent); }
.ar-empty { padding: 44px 24px; text-align: center; background: var(--ar-soft); border-radius: var(--ar-radius); }
.ar-empty p { margin: 6px 0 0; color: var(--ar-muted); }
.ar-none { padding: 28px; text-align: center; color: var(--ar-muted); }

.ar-badge { display: inline-flex; align-items: center; gap: 8px; }
.ar-badge-text { font-size: 14px; color: var(--ar-muted); }
.ar-badge-text strong { color: var(--ar-ink); }

.ar-preview { padding: 20px; background: #fff; border: 1px dashed #c3c4c7; border-radius: 12px; }

@container ar (max-width: 720px) {
	.ar-summary { grid-template-columns: 1fr; padding: 24px 20px; gap: 22px; }
	.ar-score { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--ar-line); }
	.ar-review { padding: 20px 18px; }
	.ar-sort { margin-left: 0; }
	.ar-date { width: 100%; margin: 0 0 0 62px; }
	.ar-review-top { flex-wrap: wrap; row-gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .ar-bar-track i, .ar-list, .ar-review, .ar-more { transition: none; } .ar-style-cards .ar-review:hover { transform: none; } }


/* Write-a-review button */
.ar-write { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 99px; background: var(--ar-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px color-mix(in srgb, var(--ar-accent) 40%, transparent); transition: transform .15s, box-shadow .15s, filter .15s; }
.ar-write svg { width: 18px; height: 18px; fill: currentColor; }
.ar-write:hover { transform: translateY(-1px); filter: brightness(.95); }
.ar-write:focus-visible { outline: 3px solid color-mix(in srgb, var(--ar-accent) 45%, #fff); outline-offset: 2px; }

/* Review dialog */
.ar-modal { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ar-text); box-shadow: 0 30px 80px rgba(16, 24, 40, .35); overflow: auto; }
.ar-modal::backdrop { background: rgba(16, 24, 40, .55); backdrop-filter: blur(3px); }
.ar-form { position: relative; padding: 30px; }
.ar-form h3 { margin: 0 0 6px; color: var(--ar-ink); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ar-form-note { margin: 0 0 18px; color: var(--ar-muted); font-size: 13.5px; }
.ar-modal-close.ar-modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--ar-soft); color: var(--ar-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ar-modal-close:hover { background: var(--ar-line); }
.ar-rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; margin-bottom: 18px; }
.ar-rate input { position: absolute; opacity: 0; pointer-events: none; }
.ar-rate label { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 6px; background: #dcdce6; cursor: pointer; transition: background .12s, transform .12s; }
.ar-rate svg { width: 30px; height: 30px; fill: #fff; }
.ar-rate input:checked ~ label, .ar-rate label:hover, .ar-rate label:hover ~ label { background: var(--ar-accent); }
.ar-rate label:hover { transform: scale(1.07); }
.ar-rate input:focus-visible + label { outline: 3px solid var(--ar-accent); outline-offset: 2px; }
.ar-field { display: block; margin-bottom: 14px; color: var(--ar-ink); font-size: 13.5px; font-weight: 700; }
.ar-field input, .ar-field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd3dc; border-radius: 10px; background: #fff; color: var(--ar-ink); font: inherit; font-weight: 400; }
.ar-field input:focus, .ar-field textarea:focus { outline: 2px solid var(--ar-accent); outline-offset: 0; border-color: transparent; }
.ar-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-as { margin: 0 0 14px; color: var(--ar-muted); font-size: 13.5px; }
.ar-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.ar-form-msg { margin: 0 0 14px; padding: 11px 14px; border-radius: 10px; background: #fdecea; color: #a52a1c; font-size: 14px; }
.ar-form-msg[hidden], .ar-form-body[hidden], .ar-form-done[hidden] { display: none; }
.ar-submit { width: 100%; padding: 15px; border: 0; border-radius: 12px; background: var(--ar-accent); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.ar-submit:hover { filter: brightness(.95); }
.ar-submit:disabled { opacity: .6; cursor: wait; }
.ar-form-done { padding: 26px 0 6px; text-align: center; }
.ar-form-done p { margin: 0 0 20px; color: var(--ar-muted); }
.ar-done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; background: var(--ar-accent); color: #fff; font-size: 34px; }
.ar-product { display: block; margin-bottom: 4px; color: var(--ar-accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.ar-product:hover { text-decoration: underline; }

/* Grid style */
.ar-style-grid .ar-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: stretch; }

/* Carousel style: 3 complete cards on desktop, 2 on tablet, 1 on mobile, compact height */
.ar-carousel { position: relative !important; width: 100% !important; display: block !important; box-sizing: border-box !important; padding: 0 2px !important; }
.ar-style-carousel .ar-controls { margin-top: 20px; }
.ar-list.ar-track { display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 18px !important; width: 100% !important; padding: 8px 6px 18px !important; margin: 0 !important; overflow-x: auto !important; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; box-sizing: border-box !important; }
.ar-list.ar-track:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 2px; border-radius: 12px; }
.ar-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .ar-list.ar-track { scroll-behavior: smooth; } }
.ar-track .ar-review { flex: 0 0 calc((100% - 38px) / 3) !important; max-width: calc((100% - 38px) / 3) !important; min-width: 0 !important; scroll-snap-align: start; margin: 0 !important; }

/* Compact cards (carousel + grid): compact natural height without huge empty gap */
.ar-style-carousel .ar-review, .ar-style-grid .ar-review { display: flex !important; flex-direction: column !important; height: auto !important; min-height: 195px !important; max-height: 285px !important; padding: 18px 20px !important; overflow: hidden; box-sizing: border-box !important; }
.ar-style-carousel .ar-review-top, .ar-style-grid .ar-review-top { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 11px !important; margin-bottom: 10px !important; }
.ar-style-carousel .ar-avatar, .ar-style-grid .ar-avatar { width: 40px !important; height: 40px !important; }
.ar-style-carousel .ar-avatar svg, .ar-style-grid .ar-avatar svg { width: 26px !important; height: 26px !important; margin-top: 5px !important; }
.ar-style-carousel .ar-who strong, .ar-style-grid .ar-who strong { font-size: 15px !important; line-height: 1.2 !important; }
.ar-style-carousel .ar-review-rating, .ar-style-grid .ar-review-rating { margin-bottom: 6px !important; gap: 8px !important; }
.ar-style-carousel .ar-product, .ar-style-grid .ar-product { margin-bottom: 5px !important; font-size: 12px !important; line-height: 1.3 !important; }
.ar-style-carousel .ar-review-title, .ar-style-grid .ar-review-title { font-size: 15.5px !important; margin: 0 0 4px !important; }
.ar-style-carousel .ar-review-text, .ar-style-grid .ar-review-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: 14.5px !important; line-height: 1.5 !important; margin-bottom: 6px !important; }
.ar-style-carousel .ar-review-foot, .ar-style-grid .ar-review-foot { margin-top: auto !important; padding-top: 10px !important; border-top: 1px solid var(--ar-line) !important; }
.ar-style-carousel .ar-review-title, .ar-style-grid .ar-review-title, .ar-style-carousel .ar-product, .ar-style-grid .ar-product { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ar-style-carousel .ar-reply, .ar-style-grid .ar-reply { display: none; }

/* Theme-proof buttons inside review cards and carousel navigation */
.ar-wrap button.ar-helpful, .ar-standalone button.ar-helpful { all: unset; box-sizing: border-box !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; margin-left: -8px !important; padding: 4px 10px !important; min-height: 0 !important; height: auto !important; line-height: 1.3 !important; border: 0 !important; border-radius: 99px !important; background: transparent !important; box-shadow: none !important; color: var(--ar-muted) !important; font-family: inherit !important; font-size: 12.5px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer !important; transition: background .15s, color .15s !important; }
.ar-wrap button.ar-helpful svg, .ar-standalone button.ar-helpful svg { width: 15px !important; height: 15px !important; fill: currentColor !important; }
.ar-wrap button.ar-helpful:hover, .ar-wrap button.ar-helpful.is-done, .ar-standalone button.ar-helpful:hover, .ar-standalone button.ar-helpful.is-done { background: var(--ar-tint) !important; color: var(--ar-deep) !important; }

.ar-wrap button.ar-readmore { all: unset; align-self: flex-start; margin-top: 2px; margin-bottom: 4px; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--ar-accent) !important; font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; cursor: pointer !important; }
.ar-wrap button.ar-readmore:hover { text-decoration: underline !important; }

.ar-wrap .ar-carousel > button.ar-nav { all: unset; box-sizing: border-box !important; position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 6 !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; margin: 0 !important; border: 1px solid var(--ar-line) !important; border-radius: 50% !important; background: #fff !important; color: var(--ar-ink) !important; box-shadow: 0 6px 18px rgba(16, 24, 40, .16) !important; cursor: pointer !important; transition: opacity .2s, transform .15s, background .15s !important; }
.ar-wrap .ar-carousel > button.ar-nav svg { width: 22px !important; height: 22px !important; fill: currentColor !important; display: block !important; }
.ar-wrap .ar-carousel > button.ar-prev { left: -16px !important; }
.ar-wrap .ar-carousel > button.ar-prev svg { transform: scaleX(-1) !important; }
.ar-wrap .ar-carousel > button.ar-next { right: -16px !important; }
.ar-wrap .ar-carousel > button.ar-nav:hover:not(:disabled) { background: var(--ar-ink) !important; color: #fff !important; transform: translateY(-50%) scale(1.06) !important; }
.ar-wrap .ar-carousel > button.ar-nav:disabled, .ar-wrap .ar-carousel > button.ar-nav[disabled] { display: none !important; opacity: 0 !important; pointer-events: none !important; }

@container ar (max-width: 920px) {
	.ar-track .ar-review { flex: 0 0 calc((100% - 18px) / 2) !important; max-width: calc((100% - 18px) / 2) !important; }
}
@container ar (max-width: 600px) {
	.ar-track .ar-review { flex: 0 0 100% !important; max-width: 100% !important; }
	.ar-wrap .ar-carousel > button.ar-prev { left: 4px !important; }
	.ar-wrap .ar-carousel > button.ar-next { right: 4px !important; }
	.ar-write { width: 100%; justify-content: center; }
}
@media (max-width: 960px) {
	.ar-track .ar-review { flex: 0 0 calc((100% - 18px) / 2) !important; max-width: calc((100% - 18px) / 2) !important; }
}
@media (max-width: 640px) {
	.ar-track .ar-review { flex: 0 0 100% !important; max-width: 100% !important; }
}
@media (max-width: 720px) {
	.ar-field-row { grid-template-columns: 1fr; }
	.ar-form { padding: 24px 20px; }
}
.ar-modal-close:focus:not(:focus-visible) { outline: none; }

/* Full-review dialog (opened by "Read more") */
.ar-full-dialog { width: min(620px, calc(100% - 32px)); }
.ar-full-body { padding: 30px 30px 26px; }
.ar-full-body .ar-review, .ar-full-body .ar-review:hover { display: block; height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; overflow: visible; }
.ar-full-body .ar-review-top { padding-right: 36px; }
.ar-full-body .ar-review-text { display: block; overflow: visible; font-size: 16px; }
.ar-full-body .ar-review-title, .ar-full-body .ar-product { white-space: normal; overflow: visible; }
.ar-full-body .ar-reply { display: block; }
.ar-helpful.is-done svg { fill: var(--ar-accent); }
.ar-full-body .ar-review-foot { margin-top: 18px; }

.ar-product { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* Button under the list: modes */
.ar-style-carousel[data-more="more"] .ar-more { display: none; }
.ar-style-carousel[data-more] .ar-more[hidden], .ar-more[hidden] { display: none; }

/* "See all reviews" pop-up */
.ar-standalone { color: var(--ar-text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ar-standalone *, .ar-standalone *::before, .ar-standalone *::after { box-sizing: border-box; }
.ar-all-dialog { width: min(860px, calc(100% - 24px)); height: min(92dvh, 920px); max-height: none; overflow: hidden; }
.ar-all-dialog[open] { display: flex; flex-direction: column; }
.ar-all-head { position: relative; flex: none; padding: 24px 72px 14px 28px; }
.ar-all-head h3 { margin: 0; color: var(--ar-ink); font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ar-all-sub { color: var(--ar-muted); font-size: 14px; }
.ar-all-controls { flex: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 28px 16px; border-bottom: 1px solid var(--ar-line); }
.ar-all-controls select { padding: 9px 34px 9px 14px; border: 1px solid var(--ar-line); border-radius: 10px; background: #fff; color: var(--ar-ink); font: inherit; font-weight: 600; cursor: pointer; }
.ar-all-controls select:focus-visible { outline: 2px solid var(--ar-accent); }
.ar-all-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 28px 28px; background: var(--ar-soft); overscroll-behavior: contain; }
.ar-all-list { display: grid; gap: 16px; }
.ar-all-status { margin: 18px 0 0; color: var(--ar-muted); text-align: center; font-size: 14px; }
.ar-all-status[hidden] { display: none; }
@media (max-width: 600px) { .ar-all-head { padding: 20px 64px 12px 18px; } .ar-all-controls { padding: 0 18px 14px; } .ar-all-scroll { padding: 14px 14px 22px; } .ar-all-dialog { height: 94dvh; } }

/* Summary: score | bars | call to action */
.ar-summary { grid-template-columns: minmax(200px, 250px) 1fr minmax(220px, 270px); gap: 32px; }
.ar-summary.ar-summary-2 { grid-template-columns: minmax(220px, 300px) 1fr; }
.ar-score-num span { margin-left: 4px; color: var(--ar-muted); font-size: .3em; font-weight: 700; letter-spacing: 0; }
.ar-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border: 1px solid color-mix(in srgb, var(--ar-accent) 22%, #fff); border-radius: calc(var(--ar-radius) + 2px); background: linear-gradient(160deg, var(--ar-tint), #fff 75%); }
.ar-cta-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px; background: var(--ar-accent); box-shadow: 0 8px 18px color-mix(in srgb, var(--ar-accent) 35%, transparent); }
.ar-cta-icon svg { width: 22px; height: 22px; fill: #fff; }
.ar-cta strong { color: var(--ar-ink); font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.ar-cta p { margin: 0 0 10px; color: var(--ar-text); font-size: 14px; }
.ar-cta .ar-write { width: 100%; justify-content: center; }
.ar-cta small { margin-top: 2px; color: var(--ar-muted); font-size: 12px; }
.ar-empty .ar-write { margin-top: 16px; }

/* Controls: count on the left, sort pills on the right */
.ar-count { color: var(--ar-muted); font-size: 14px; }
.ar-count strong { color: var(--ar-ink); font-size: 16px; }
.ar-count[hidden] { display: none; }
.ar-sort { display: inline-flex; flex-wrap: wrap; gap: 2px; margin-left: auto; padding: 4px; border: 1px solid var(--ar-line); border-radius: 99px; background: var(--ar-soft); }
.ar-sort-pill { all: unset; box-sizing: border-box; display: inline-flex !important; align-items: center; justify-content: center; padding: 7px 16px !important; min-height: 0 !important; border-radius: 99px !important; background: transparent !important; color: var(--ar-muted) !important; font-size: 13.5px !important; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.ar-sort-pill:hover { color: var(--ar-ink) !important; }
.ar-sort-pill.is-active { background: #fff !important; color: var(--ar-ink) !important; box-shadow: 0 1px 3px rgba(16, 24, 40, .12), 0 0 0 1px var(--ar-line); }
.ar-sort-pill:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 1px; }

@container ar (max-width: 900px) {
	.ar-summary:not(.ar-summary-2) { grid-template-columns: minmax(200px, 260px) 1fr; }
	.ar-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
	.ar-cta-icon { margin: 0; }
	.ar-cta p { flex: 1 1 220px; margin: 0; }
	.ar-cta strong { flex: 1 1 100%; }
	.ar-cta .ar-write { width: auto; }
	.ar-cta small { display: none; }
}
@container ar (max-width: 720px) {
	.ar-summary:not(.ar-summary-2), .ar-summary.ar-summary-2 { grid-template-columns: 1fr; }
	.ar-cta { flex-direction: column; align-items: flex-start; }
	.ar-cta .ar-write { width: 100%; }
	.ar-cta strong, .ar-cta p { flex: none; }
	.ar-sort { width: 100%; justify-content: space-between; }
	.ar-sort-pill { flex: 1; text-align: center; padding: 7px 8px; }
}
/* Review structure: identity column + content column */
.ar-review-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ar-standalone { container: ar / inline-size; }
.ar-style-carousel .ar-review-main, .ar-style-grid .ar-review-main { min-height: 0; }

/* Stacked styles (cards, list): who on the left, what they said on the right */
.ar-style-cards .ar-review, .ar-style-list .ar-review { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 36px; align-items: start; }
.ar-style-cards .ar-review-top, .ar-style-list .ar-review-top { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 0; padding-right: 0; }
.ar-style-cards .ar-who, .ar-style-list .ar-who { flex-direction: column; align-items: flex-start; gap: 6px; }
.ar-style-cards .ar-who strong, .ar-style-list .ar-who strong { font-size: 17px; }
.ar-style-cards .ar-date, .ar-style-list .ar-date { margin: 0; width: auto; }
.ar-style-cards .ar-avatar, .ar-style-list .ar-avatar { width: 54px; height: 54px; }
.ar-style-cards .ar-avatar svg, .ar-style-list .ar-avatar svg { width: 36px; height: 36px; margin-top: 8px; }
.ar-style-cards .ar-review-text, .ar-style-list .ar-review-text { max-width: 68ch; }
@container ar (max-width: 720px) {
	.ar-style-cards .ar-review, .ar-style-list .ar-review { display: block; }
	.ar-style-cards .ar-review-top, .ar-style-list .ar-review-top { flex-direction: row; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
	.ar-style-cards .ar-who, .ar-style-list .ar-who { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.ar-style-cards .ar-date, .ar-style-list .ar-date { width: 100%; margin-left: 66px; }
	.ar-style-cards .ar-avatar, .ar-style-list .ar-avatar { width: 48px; height: 48px; }
	.ar-style-cards .ar-avatar svg, .ar-style-list .ar-avatar svg { width: 32px; height: 32px; margin-top: 7px; }
}
/* Trust strip under the summary */
.ar-trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 4px; padding: 14px 22px; border: 1px solid var(--ar-line); border-radius: var(--ar-radius); background: #fff; }
.ar-trust-item { display: inline-flex; align-items: center; gap: 8px; color: var(--ar-text); font-size: 13.5px; font-weight: 600; }
.ar-trust-item svg { flex: none; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: var(--ar-tint); fill: var(--ar-accent); }
.ar-policy-link { all: unset; margin-left: auto; color: var(--ar-deep); font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ar-policy-link:hover { color: var(--ar-accent); }
.ar-policy-link:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 3px; border-radius: 3px; }
@container ar (max-width: 720px) { .ar-trust-strip { gap: 8px 16px; padding: 12px 16px; } .ar-policy-link { margin-left: 0; width: 100%; } }

/* "How our reviews work" pop-up */
.ar-policy { width: min(480px, calc(100% - 32px)); }
.ar-policy-body { position: relative; padding: 32px 30px 28px; }
.ar-policy-body h3 { margin: 12px 0 16px; color: var(--ar-ink); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ar-policy-body ul { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.ar-policy-body li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.ar-policy-body li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--ar-tint); fill: var(--ar-accent); }

/* Slim "no reviews yet" bar */
.ar-empty-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; border: 1px solid var(--ar-line); border-radius: var(--ar-radius); background: var(--ar-soft); }
.ar-empty-text { flex: 1 1 220px; color: var(--ar-text); font-size: 14px; }
.ar-empty-text strong { color: var(--ar-ink); }
.ar-empty-compact .ar-write { padding: 9px 18px; font-size: 14px; }

/* Stars + count on product titles and shop cards */
.ar-badge-link { display: inline-block; margin: 0 0 10px; color: inherit; text-decoration: none; }
.ar-badge-link:hover .ar-badge-text { text-decoration: underline; }
.ar-loop { margin: 4px 0 8px; }
.ar-badge-compact .ar-badge-text { font-size: 13px; }