.ast-featured-reviews {
    --astfr-columns: var(--astfr-columns-desktop, 3);
    --astfr-gap: 24px;
    --astfr-accent: var(--astrashoptoolkit-astra-color-0);
    --astfr-heading: var(--astrashoptoolkit-astra-color-2);
    --astfr-text: var(--astrashoptoolkit-astra-color-3);
    --astfr-surface: var(--astrashoptoolkit-astra-color-4);
    --astfr-muted-surface: var(--astrashoptoolkit-astra-color-4);
    --astfr-border: color-mix(in srgb, var(--astfr-text) 9%, var(--astfr-surface));
    --astfr-stars: #f59e0b;
    --ast-pagination-arrow-size: var(--astfr-arrow-size, 40px);
    --ast-pagination-arrow-icon-size: var(--astfr-arrow-icon-size, 18px);
    --ast-pagination-arrow-radius: var(--astfr-arrow-radius, 50%);
    --ast-pagination-arrow-color: var(--astfr-arrow-color, var(--astrashoptoolkit-astra-color-3));
    --ast-pagination-arrow-background: var(--astfr-arrow-background, var(--astfr-surface));
    --ast-pagination-arrow-hover-color: var(--astfr-arrow-hover-color, var(--ast-pagination-arrow-color));
    --ast-pagination-arrow-hover-background: var(--astfr-arrow-hover-background, color-mix(in srgb, var(--astrashoptoolkit-astra-color-3) 3%, var(--astfr-surface)));
    --ast-pagination-arrow-hover-border-color: var(--astfr-arrow-hover-border, var(--astrashoptoolkit-border-color));
    --ast-pagination-dot-size: var(--astfr-pagination-size, 7px);
    --ast-pagination-dot-active-width: var(--astfr-pagination-active-width, 24px);
    --ast-pagination-dot-radius: var(--astfr-pagination-radius, 10px);
    --ast-pagination-dot-color: var(--astfr-pagination-color, var(--astfr-accent));
    --ast-pagination-dot-background: var(--astfr-pagination-background, currentColor);
    --ast-pagination-dot-active-background: var(--astfr-pagination-active-background, var(--ast-pagination-dot-background));
    color: var(--astfr-text);
    min-width: 0;
}
.ast-featured-reviews .astfr-viewport { padding: 12px 12px 20px; margin: -12px -12px 0; }
.ast-featured-reviews .astfr-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--astfr-gap);
    align-items: stretch;
}
.ast-featured-reviews .astfr-card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 28px;
    background: var(--astfr-surface);
    border: 1px solid var(--astfr-border);
    border-radius: 22px;
    box-shadow: var(--astrashoptoolkit-shadow);
    transition: box-shadow .2s ease;
}
.ast-featured-reviews .astfr-card:hover {
    background: var(--astfr-card-hover-background, var(--astfr-surface));
    border-color: var(--astfr-card-hover-border, var(--astfr-border));
    box-shadow: var(--astrashoptoolkit-shadow-lg);
}
.ast-featured-reviews--ready .astfr-cards { display: flex; gap: 0; }
.ast-featured-reviews--ready .astfr-card { flex-shrink: 0; }
.astfr-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 26px;
}
.astfr-rating { display: inline-flex; align-items: center; gap: 8px; line-height: 1; white-space: nowrap; }
.astfr-stars { position: relative; display: inline-block; color: color-mix(in srgb, var(--astfr-text) 18%, var(--astfr-surface)); font-size: 18px; letter-spacing: 2px; }
.astfr-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--astfr-stars); }
.astfr-rating-value { color: var(--astfr-heading); font-size: 12px; font-weight: 700; }
.astfr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--astfr-badge-border, color-mix(in srgb, var(--astfr-stars) 22%, var(--astfr-surface)));
    border-radius: var(--astfr-badge-radius, 999px);
    background: var(--astfr-badge-background, color-mix(in srgb, var(--astfr-stars) 8%, var(--astfr-surface)));
    color: var(--astfr-badge-color, var(--astfr-stars));
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.astfr-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.astfr-body { position: relative; z-index: 1; overflow-wrap: anywhere; color: var(--astfr-text); font-size: 15px; line-height: 1.65; }
.astfr-body p { margin: 0 0 8px; }
.astfr-body p:last-child { margin-bottom: 0; }
.astfr-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--astfr-lines, 5); overflow: hidden; }
.astfr-full summary { cursor: pointer; color: var(--astfr-accent); font-size: 13px; text-decoration: underline; margin-top: 8px; }
.astfr-less, .astfr-full[open] .astfr-more { display: none; }
.astfr-full[open] .astfr-less { display: inline; }
.astfr-body:has(.astfr-full[open]) .astfr-excerpt { display: none; }
.astfr-full[open] summary { margin: 0 0 10px; }
.astfr-photos { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.astfr-photos a {
    position: relative;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--astfr-border);
    border-radius: 12px;
    background: var(--astfr-muted-surface);
}
.ast-featured-reviews .astfr-photos-main { width: 100%; aspect-ratio: 1 / 1; box-shadow: var(--astrashoptoolkit-shadow); }
.astfr-photos-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.astfr-photos-thumbs a { flex: 0 0 56px; width: 56px; height: 56px; }
.ast-featured-reviews .astfr-photos a img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .2s ease; }
.ast-featured-reviews .astfr-photos-main img { position: absolute; inset: 0; }
.astfr-photos a:hover img { transform: scale(1.08); }
.astfr-card--without-photo .astfr-footer { margin-top: auto; }
.astfr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--astfr-border);
}
.astfr-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.astfr-avatar {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--astfr-border);
    border-radius: 50%;
    background: color-mix(in srgb, var(--astfr-accent) 9%, var(--astfr-surface));
    color: var(--astfr-heading);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--astfr-heading) 5%, transparent);
    font-size: 13px;
    font-weight: 700;
}
.astfr-card:nth-child(3n+2) .astfr-avatar { background: color-mix(in srgb, var(--astrashoptoolkit-astra-color-1) 9%, var(--astfr-surface)); }
.astfr-card:nth-child(3n) .astfr-avatar { background: color-mix(in srgb, var(--astrashoptoolkit-astra-color-6) 9%, var(--astfr-surface)); }
.astfr-author { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; font-size: 14px; line-height: 1.2; }
.astfr-author strong { color: var(--astfr-heading); font-weight: 600; overflow-wrap: anywhere; }
.astfr-verified { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 6px; background: var(--astrashoptoolkit-success-background); color: var(--astrashoptoolkit-success-color); font-size: 11px; font-weight: 500; line-height: 1.2; }
.astfr-origin { display: inline-flex; align-items: center; padding: 3px 6px; border-radius: 6px; background: var(--astfr-muted-surface); color: var(--astfr-text); font-size: 11px; font-weight: 500; line-height: 1.2; }
.astfr-date { color: color-mix(in srgb, var(--astfr-text) 55%, var(--astfr-surface)); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.astfr-product { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--astfr-border); padding-top: 14px; font-size: 13px; text-decoration: none; color: inherit; }
.astfr-product img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.astfr-product > span:first-of-type { flex: 1; }
.ast-featured-reviews .ast-pagination-control { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: var(--astfr-controls-gap, 22px); color: var(--astfr-accent); }
.ast-featured-reviews--ready .ast-pagination-control { display: flex; }
.ast-featured-reviews.ast-featured-reviews--locked .ast-pagination-control { display: none; }
.ast-featured-reviews:not(.ast-featured-reviews--has-pagination) .ast-pagination-dots { display: none; }
.ast-featured-reviews .ast-pagination-dots { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: var(--astfr-pagination-gap, 8px); width: auto; }
.ast-featured-reviews .ast-pagination-navigation { display: flex; gap: var(--astfr-arrow-gap, 8px); margin-inline-start: auto; }
.ast-featured-reviews :is(button:not(.ast-pagination-arrow):not(.ast-pagination-dot), a, summary):focus-visible { outline: 2px solid var(--astfr-accent); outline-offset: 4px; }
@media (max-width: 1024px) {
    .ast-featured-reviews { --astfr-columns: var(--astfr-columns-tablet, 1.75); }
    .ast-featured-reviews:not(.ast-featured-reviews--ready) .astfr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ast-featured-reviews { --astfr-columns: var(--astfr-columns-mobile, 1.15); }
    .ast-featured-reviews:not(.ast-featured-reviews--ready) .astfr-cards { grid-template-columns: minmax(0, 1fr); }
    .ast-featured-reviews .astfr-card { padding: 22px; }
    .astfr-body { text-align: center; }
    .astfr-footer { flex-direction: column; align-items: center; text-align: center; }
    .astfr-identity { justify-content: center; }
    .astfr-author { align-items: center; }
    .astfr-date { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .ast-featured-reviews .astfr-card, .astfr-photos img { transition: none; }
}
