.b83-review-banner {
    padding: 8px 12px;
    background: var(--btc-stone);
    color: var(--btc-ink);
    text-align: center;
    font-size: 14px;
}

.b83-review-teaser,
.b83-reviews {
    --review-ink: var(--btc-ink);
    --review-muted: #677065;
    --review-olive: var(--btc-olive);
    --review-line: #dde0da;
    color: var(--review-ink);
}

.b83-reviews [hidden] { display: none !important; }
.b83-reviews {
    padding-block: 48px 36px;
    border-top: 1px solid var(--review-line);
    scroll-margin-top: 80px;
}
.b83-reviews.b83-reviews-zero {
    padding: 0;
    border: 0;
}
.b83-review-quiet-invite {
    margin: 0;
    font-size: 14px;
    color: var(--review-muted);
}
.b83-review-quiet-invite button {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--review-ink);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.b83-reviews.b83-reviews-zero .b83-review-feedback:not([hidden]) {
    margin-block: 24px;
}
.b83-reviews :is(button, a, input, textarea, select, [tabindex]):focus-visible,
.b83-review-teaser:focus-visible {
    outline: 2px solid var(--review-olive);
    outline-offset: 2px;
}

.b83-review-teaser {
    display: inline-flex;
    min-height: 44px;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    margin-block: 0 4px;
}
.b83-review-teaser:hover span:last-child { text-decoration: underline; }
.b83-review-stars { display: inline-flex; gap: 3px; align-items: center; white-space: nowrap; }
.b83-review-stars svg,
.b83-review-star-options svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--review-line);
    stroke-width: 1.5;
}
.b83-review-stars .is-filled svg {
    fill: var(--review-olive);
    stroke: var(--review-olive);
}
.b83-review-average .b83-review-stars svg {
    width: 20px;
    height: 20px;
}
.b83-review-byline .b83-review-stars svg {
    width: 15px;
    height: 15px;
}

.b83-review-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "summary";
    gap: 16px 32px;
    align-items: start;
}
.b83-review-intro h2 {
    grid-area: heading;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 0;
    font-size: 32px;
}
.b83-review-tag {
    color: var(--review-muted);
    width: fit-content;
    border: 1px solid var(--review-line);
    padding: 0 7px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}
.b83-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6efe3;
    color: #254022;
    border: 1px solid #bfd2ba;
    border-radius: 999px;
    padding: 2px 9px 2px 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}
.b83-review-verified svg {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}
.b83-review-set-tag {
    font-size: 12.5px;
    color: #677065;
    line-height: 1.4;
}
.b83-review-button {
    min-height: 48px;
    padding: 9px 24px;
    border: 1px solid var(--review-olive);
    border-radius: 0;
    background: transparent;
    color: var(--review-olive);
    font: inherit;
    font-weight: 500;
    line-height: 1.3;
}
.b83-review-button:hover { background-color: #34432c0d; }
.b83-review-write { grid-area: button; justify-self: end; }
.b83-review-overview {
    grid-area: summary;
    display: grid;
    grid-template-columns: minmax(195px, max-content) minmax(0, 400px);
    align-items: center;
    gap: 24px clamp(24px, 5vw, 80px);
}
.b83-review-average > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.b83-review-average strong { font-size: 48px; font-weight: 500; line-height: 1.1; }
.b83-review-average p { margin: 3px 0 0; color: var(--review-muted); }
.b83-review-distribution button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 3ch;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 32px;
    padding: 0 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--review-ink);
    text-align: left;
    font: inherit;
    font-size: 14px;
}
.b83-review-distribution button:is(:hover, [aria-pressed="true"]) { background-color: #34432c0d; }
.b83-review-distribution button[aria-pressed="true"] { font-weight: 600; }
.b83-review-distribution button > :last-child { color: var(--review-muted); text-align: right; }
.b83-review-bar { display: block; background-color: var(--review-line); }
.b83-review-bar span { display: block; height: 4px; background-color: var(--review-olive); }
.b83-review-empty { grid-area: summary; }
.b83-review-empty p { margin: 0 0 5px; }
.b83-review-empty p:last-child { color: var(--review-muted); }

.b83-review-photo-strip { margin-top: 20px; }
.b83-review-photo-strip h3,
.b83-review-copy h3,
.b83-review-form h3 { margin: 0 0 8px; font-size: 19px; }
.b83-review-photos {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 4px;
}
.b83-review-photos a {
    display: block;
    flex: 0 0 88px;
    aspect-ratio: 1;
    background-color: var(--review-line);
}
.b83-review-photos a:focus-visible { outline-offset: -2px; }
.b83-review-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b83-review-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-block: 26px 12px;
}
.b83-review-controls select,
.b83-review-form :is(input:not([type="radio"]), select, textarea) {
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    border: 1px solid var(--review-line);
    border-radius: 0;
    color: var(--review-ink);
    background-color: transparent;
    font-size: 16px;
}
.b83-review-controls select { appearance: auto; }
.b83-review-controls [data-review-sort] { margin-inline-start: auto; }
.b83-review-controls label {
    display: inline-flex;
    gap: 8px;
    min-height: 44px;
    align-items: center;
    cursor: pointer;
}
.b83-review-controls input { width: 16px; height: 16px; accent-color: var(--review-olive); }
.b83-review-list { margin-top: 22px; }
.b83-review-item {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px 24px;
    padding: 28px 0;
    border-top: 1px solid var(--review-line);
    overflow-wrap: anywhere;
}
.b83-review-item:last-child { border-bottom: 1px solid var(--review-line); }
.b83-review-buyer { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.b83-review-byline { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; }
.b83-review-byline time { color: var(--review-muted); font-size: 14px; }
.b83-review-copy h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 500; line-height: 1.38; }
.b83-review-copy p { margin: 0; white-space: pre-line; line-height: 1.65; color: #354036; }
.b83-review-copy .b83-review-photos { margin-top: 10px; }
.b83-review-product {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin-top: 14px;
    padding: 8px 12px 8px 8px;
    border: 1px solid #e6e8e1;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    color: #354036;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease;
}
.b83-review-product::after {
    content: "→";
    margin-inline-start: auto;
    padding-inline-start: 4px;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    color: #8b9488;
    transition: transform .18s ease, color .18s ease;
}
.b83-review-product:hover {
    border-color: #cbd2c7;
    background: #fff;
}
.b83-review-product:hover::after {
    color: var(--review-olive);
    transform: translateX(2px);
}
.b83-review-product-thumb {
    display: block;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
    background-color: #f2f1eb;
}
.b83-review-product-title {
    min-width: 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.42;
    color: #354036;
    text-decoration: none;
    text-underline-offset: 3px;
}
.b83-review-product:hover .b83-review-product-title {
    color: var(--review-olive);
    text-decoration: underline;
    text-decoration-color: rgba(52, 67, 44, 0.55);
}
.b83-review-more { margin-top: 18px; }
.b83-review-no-match { margin: 24px 0 0; }

.b83-review-feedback {
    max-width: 680px;
    margin-top: 20px;
    padding: 14px 18px;
    border: 1px solid #cad4c4;
    background: #f4f7f1;
    color: var(--review-olive);
    scroll-margin-top: 110px;
}
.b83-review-dialog {
    width: min(560px, calc(100vw - 24px));
    max-height: min(92dvh, 840px);
    padding: 0;
    border: 1px solid var(--review-line);
    border-radius: 6px;
    background: var(--btc-paper, #faf9f4);
    color: var(--review-ink);
    box-shadow: 0 24px 60px rgba(25, 33, 22, 0.24);
    overflow-y: auto;
}
.b83-review-dialog::backdrop {
    background: rgba(24, 30, 22, 0.48);
    backdrop-filter: blur(2px);
}
.b83-review-form {
    padding: 20px 24px 20px;
    margin: 0;
    border: 0;
    max-width: none;
}
.b83-review-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--review-line);
}
.b83-review-form h3 {
    margin: 0;
    font: 400 23px/1.2 var(--btc-heading-font, Georgia, serif);
    color: var(--review-ink);
}
.b83-review-dialog-product {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--review-muted);
}
.b83-review-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: -4px -6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--review-muted);
    cursor: pointer;
    border-radius: 4px;
}
.b83-review-close:hover { background: rgba(52, 67, 44, 0.08); color: var(--review-ink); }
.b83-review-form label:not(.b83-honeypot):not(.b83-review-upload-btn) {
    display: block;
    margin-bottom: 11px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--review-ink);
}
.b83-review-form label > :is(input:not([type="radio"]), select, textarea) {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px 11px;
    min-height: 40px;
    background: #fff;
    border: 1px solid #d5d9d1;
    border-radius: 3px;
    font-size: 14.5px;
    font-weight: 400;
}
.b83-review-form label > :is(input:not([type="radio"]), select, textarea):focus {
    outline: none;
    border-color: var(--review-olive);
    box-shadow: 0 0 0 2px rgba(52, 67, 44, 0.12);
}
.b83-review-form label > span,
.b83-review-upload-label > span,
.b83-review-help { font-size: 12.5px; font-weight: 400; color: var(--review-muted); }
.b83-review-upload-field { margin-bottom: 12px; }
.b83-review-upload-label { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 500; }
.b83-review-upload-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 7px 10px;
    background: #fff;
    border: 1px dashed #c7ccc2;
    border-radius: 3px;
}
.b83-review-form label.b83-review-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid var(--review-olive);
    border-radius: 3px;
    background: var(--btc-stone, #f4f2ec);
    color: var(--review-olive);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}
.b83-review-form label.b83-review-upload-btn span { color: inherit; font-size: inherit; font-weight: inherit; }
.b83-review-form label.b83-review-upload-btn:hover { background: var(--review-olive); color: #fff; }
.b83-review-upload-status { font-size: 13px; color: var(--review-muted); }
.b83-review-upload-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.b83-review-upload-previews img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 1px solid var(--review-line);
    border-radius: 3px;
}
.b83-review-help { margin: 5px 0 0; }
.b83-review-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b83-review-rating-input { margin: 0 0 10px; padding: 0; border: 0; }
.b83-review-rating-input legend { font-size: 13.5px; font-weight: 500; margin-bottom: 4px; padding: 0; }
.b83-review-star-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b83-review-star-options { display: flex; gap: 2px; }
.b83-review-star-options label:not(.b83-honeypot) {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0;
    width: 34px;
    height: 34px;
    cursor: pointer;
}
.b83-review-star-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b83-review-star-options label:has(input:focus-visible) { outline: 2px solid var(--review-olive); outline-offset: -2px; border-radius: 3px; }
.b83-review-star-options svg { width: 23px; height: 23px; stroke: #b8beb3; }
.b83-review-star-options label:has(input:checked, ~ label input:checked) svg { fill: var(--review-olive); stroke: var(--review-olive); }
.b83-review-star-hint { font-size: 12.5px; color: var(--review-muted); }
@media (hover: hover) {
    .b83-review-star-options:has(label:hover) label svg { fill: none; stroke: #b8beb3; }
    .b83-review-star-options:has(label:hover) label:is(:hover, :has(~ label:hover)) svg { fill: var(--review-olive); stroke: var(--review-olive); }
}
.b83-review-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--review-line);
}
.b83-review-cancel { min-height: 40px; padding: 7px 18px; border-color: #c9cec4; color: var(--review-ink); cursor: pointer; }
.b83-review-submit { min-height: 40px; padding: 7px 22px; background-color: var(--review-olive); color: white; cursor: pointer; }
.b83-review-submit:hover { background-color: var(--review-ink); }
.b83-review-submit:disabled { opacity: .65; cursor: wait; }
.b83-review-error { margin: 0 0 12px; font-size: 13.5px; color: #8c2d24; }

@media (max-width: 767px) {
    .b83-reviews { padding-block: 32px 28px; }
    .b83-reviews.b83-reviews-zero,
    .b83-editorial .b83-reviews.b83-reviews-zero { padding: 0; border: 0; }
    .b83-review-intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "summary"; gap: 10px; }
    .b83-review-intro h2 { font-size: 29px; }
    .b83-review-write { justify-self: stretch; }
    .b83-review-overview { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .b83-review-average { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
    .b83-review-average > div { flex-wrap: nowrap; gap: 8px; }
    .b83-review-average strong { font-size: 26px; font-weight: 600; line-height: 1.1; }
    .b83-review-average p { margin: 0; font-size: 12.5px; line-height: 1.4; }
    .b83-review-average .b83-review-stars svg { width: 18px; height: 18px; }
    .b83-review-byline .b83-review-stars svg { width: 14px; height: 14px; }
    .b83-review-distribution button { min-height: 44px; }
    .b83-review-photos a { flex-basis: 72px; }
    .b83-review-controls { gap: 8px 12px; }
    .b83-review-controls [data-review-sort] { margin-inline-start: 0; }
    .b83-review-list,
    .b83-editorial .b83-reviews-compact .b83-review-list { margin-top: 20px; }
    .b83-review-item,
    .b83-reviews-compact .b83-review-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 22px; }
    .b83-review-buyer { flex-direction: row; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
    .b83-review-byline { gap: 6px 10px; margin-bottom: 8px; }
    .b83-review-copy h3,
    .b83-editorial .b83-reviews-compact .b83-review-copy h3 { margin: 6px 0 8px; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
    .b83-review-copy p,
    .b83-editorial .b83-reviews-compact .b83-review-copy p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #354036; }
    .b83-review-product { display: flex; width: 100%; margin-top: 14px; padding: 8px 10px; gap: 10px; }
    .b83-review-product-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 5px; }
    .b83-review-product-title { flex: 1 1 auto; font-size: 13px; line-height: 1.42; }
    .b83-review-form { padding: 18px 16px 20px; }
    .b83-review-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .b83-review-form-actions { flex-direction: column-reverse; }
    .b83-review-cancel,
    .b83-review-submit { width: 100%; }
    .b83-editorial .b83-reviews { padding-block: 20px 0; }
    .b83-reviews-compact .b83-review-intro {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "summary";
        align-items: start;
        gap: 10px;
    }
    .b83-reviews-compact .b83-review-write { justify-self: end; padding: 8px 12px; min-height: 44px; font-size: 13px; white-space: nowrap; }
    .b83-reviews-compact .b83-review-distribution { display: none; }
    .b83-reviews-compact .b83-review-average { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
    .b83-reviews-compact .b83-review-average > div { flex-wrap: nowrap; gap: 8px; }
    .b83-reviews-compact .b83-review-average p,
    .b83-editorial .b83-reviews-compact .b83-review-average p { margin: 0; font-size: 12.5px; line-height: 1.4; }
    .b83-reviews-compact .b83-review-empty p,
    .b83-editorial .b83-reviews-compact .b83-review-empty p { margin: 0 0 2px; font-size: 13px; line-height: 1.4; }
}
