.hb-product-reviews .hb-product-reviews-item {
    padding: 20px 0;
    border-top: 1px solid #e6e6e6;
}

.hb-product-reviews .hb-product-reviews-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.hb-product-reviews .hb-product-reviews-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hb-product-reviews .hb-product-reviews-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ececec;
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.hb-product-reviews .hb-product-reviews-item-name {
    font-size: 16px;
    color: #000;
    font-weight: 700;
    line-height: 1.2;
}

.hb-product-reviews .hb-product-reviews-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: #1f8a4c;
    font-size: 13px;
    line-height: 1.2;
}

.hb-product-reviews .hb-product-reviews-verified-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background: #1f8a4c;
    -webkit-mask: url("../img/badge-check.svg") center / contain no-repeat;
    mask: url("../img/badge-check.svg") center / contain no-repeat;
}

.hb-product-reviews .hb-product-reviews-item-title {
    margin: 14px 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.hb-product-reviews .hb-product-reviews-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hb-product-reviews .hb-product-reviews-item-date {
    color: #000;
    font-size: 13px;
    line-height: 1;
}

.hb-product-reviews .hb-product-reviews-item-content {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

.hb-product-reviews-tags {
    color: #6b628f;
    font-size: 12px;
}

.hb-product-reviews-images {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.hb-product-reviews-images img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

#hb-product-reviews-list[aria-busy='true'] {
    opacity: 0.45;
    pointer-events: none;
}

.hb-product-reviews .hb-product-reviews-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.hb-product-reviews .hb-product-reviews-pager-status {
    font-size: 13px;
    line-height: 1;
}

.hb-product-reviews .hb-product-reviews-pager-button,
.hb-product-reviews .hb-product-reviews-pager a.hb-product-reviews-pager-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.hb-product-reviews .hb-product-reviews-pager-button.is-disabled {
    border-color: #d9d3c7;
    background: #fff;
    color: #8a8a8a;
}

.hb-product-reviews .hb-product-reviews-overview {
    margin-bottom: 32px;
    padding: 24px 12px 24px 12px;
    background: #f2f2f2;
    border-radius: 8px;
}

.hb-product-reviews .hb-product-reviews-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr);
    column-gap: 16px;
    align-items: center;
}

.hb-product-reviews .hb-product-reviews-overview-tags {
    width: 100%;
    margin-top: 24px;
}

.hb-product-reviews .hb-product-reviews-overview-action {
    display: flex;
    justify-content: flex-end;
}

.hb-product-reviews .hb-product-reviews-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

html.hb-product-reviews-dialog-open,
html.hb-product-reviews-dialog-open body {
    overflow: hidden;
}

.hb-product-reviews-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hb-product-reviews-dialog[hidden] {
    display: none;
}

.hb-product-reviews-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hb-product-reviews-dialog-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(880px, 100%);
    height: min(92vh, 960px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.hb-product-reviews-dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 16px;
}

.hb-product-reviews-dialog-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.hb-product-reviews-dialog-close {
    border: 1px solid #000;
    border-radius: 999px;
    background: #fff;
    color: #000;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.hb-product-reviews-dialog-frame {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 991px) {
    .hb-product-reviews .hb-product-reviews-overview-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .hb-product-reviews .hb-product-reviews-overview-action {
        justify-content: stretch;
        width: 100%;
    }

    .hb-product-reviews .hb-product-reviews-placeholder {
        width: 100%;
        flex: 1 1 auto;
        padding: 8px 16px;
    }
}

.hb-product-reviews .hb-product-reviews-overview-title {
    margin: 0 0 16px;
    text-align: center;
}

.hb-product-reviews .hb-product-reviews-average {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 8px 0 28px;
    text-align: center;
}

.hb-product-rating {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.product-info {
    scroll-margin-top: 80px;
}

.hb-product-reviews .hb-product-reviews-stars,
.hb-product-rating .hb-product-reviews-stars {
    --hb-star-size: 18px;
    position: relative;
    display: inline-block;
    width: calc(var(--hb-star-size) * 5);
    height: var(--hb-star-size);
    flex: 0 0 auto;
    vertical-align: middle;
}

.hb-product-reviews .hb-product-reviews-stars-lg {
    --hb-star-size: 44px;
}

.hb-product-reviews .hb-product-reviews-stars-base,
.hb-product-reviews .hb-product-reviews-stars-fill,
.hb-product-rating .hb-product-reviews-stars-base,
.hb-product-rating .hb-product-reviews-stars-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    -webkit-mask: url("../img/star.svg") left center / var(--hb-star-size) var(--hb-star-size) repeat-x;
    mask: url("../img/star.svg") left center / var(--hb-star-size) var(--hb-star-size) repeat-x;
}

.hb-product-reviews .hb-product-reviews-stars-base,
.hb-product-rating .hb-product-reviews-stars-base {
    right: 0;
    background: #c8c8c8;
}

.hb-product-reviews .hb-product-reviews-stars-fill,
.hb-product-rating .hb-product-reviews-stars-fill {
    width: var(--hb-rating);
    background: #f90;
    -webkit-mask: url("../img/star-fill.svg") left center / var(--hb-star-size) var(--hb-star-size) repeat-x;
    mask: url("../img/star-fill.svg") left center / var(--hb-star-size) var(--hb-star-size) repeat-x;
}

.hb-product-reviews .hb-product-reviews-average-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.hb-product-reviews .hb-product-reviews-scale {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0px 12px;
}

.hb-product-reviews .hb-product-reviews-scale-row {
    display: grid;
    grid-template-columns: 5.2rem minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.hb-product-reviews .hb-product-reviews-scale-label {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.hb-product-reviews .hb-product-reviews-scale-track {
    position: relative;
    height: 22px;
    overflow: hidden;
    border: 1px solid #d9d3c7;
    border-radius: 999px;
    background: #fff;
}

.hb-product-reviews .hb-product-reviews-scale-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 999px;
    background: #000;
}

.hb-product-reviews .hb-product-reviews-scale-value {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.hb-product-reviews .hb-product-reviews-scale-value.is-outside {
    color: #2b2b2b;
    padding-left: 8px;
}

.hb-product-reviews .hb-product-reviews-summary {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 18px;
    align-items: start;
    margin-top: 0;

}

.hb-product-reviews .hb-product-reviews-summary-title {
    display: flex;
    align-items: center;
    color: #000;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.hb-product-reviews .hb-product-reviews-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.hb-product-reviews .hb-product-reviews-review-badges {
    margin-top: 8px;
}

.hb-product-reviews .hb-product-reviews-badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    position: static;
    top: auto;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid #d9d3c7;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}

.hb-product-reviews .hb-product-reviews-badge strong {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    line-height: 1;
}

.hb-product-reviews .hb-product-reviews-badge.is-top {
    padding: 3px 8px;
    border-color: #000;
    background: #000 !important;
    color: #fff !important;
    font-weight: 600;
}

.hb-list-rating.hb-product-rating {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 15px;
    text-decoration: none;
    color: inherit;
}

.portlet-glider .hb-product-rating {
    justify-content: center;
    margin-top: 5px;
}

.hb-list-rating.hb-product-rating .hb-product-reviews-stars {
    --hb-star-size: 15px;
}

.hb-list-rating-count {
    margin-left: 5px;
    color: #7e7e7e;
    font-size: 0.75rem;
    line-height: 1;
}

.hb-category-slider .glider-contain,
.hb-category-slider .glider {
    width: 100%;
    overflow: hidden;
}

.hb-category-slider .glider-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
}

.hb-category-slider .stars .hb-product-reviews-stars {
    --hb-star-size: 15px;
}

.hb-category-slider .text-truncate-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.hb-category-slider .text-truncate-fade {
    position: relative;
    display: block;
    max-height: 2.4rem;
    overflow: hidden;
}

.hb-category-slider .text-truncate-fade::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 1.2rem;
    background: linear-gradient(to right, rgba(242, 242, 242, 0), #f2f2f2 50%);
}

.hb-site-reviews {
    background: #000;
}

.hb-site-reviews-glide {
    padding: 24px 0;
}

.hb-site-reviews-skeleton {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-site-reviews .glider-contain,
.hb-site-reviews .glider {
    width: 100%;
    overflow: hidden;
}

.hb-site-reviews .review-item {
    height: auto;
    padding: 0 8px;
    box-sizing: border-box;
}

.hb-site-reviews .card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: #000;
}

.hb-site-reviews .card-body {
    padding: 16px;
}

.hb-site-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hb-site-reviews .avatar-initial {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
}

.hb-site-review-name {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.hb-site-review-date {
    color: #b5b5b5;
    font-size: 13px;
    line-height: 1.2;
}

.hb-site-review-stars {
    margin-bottom: 10px;
}

.hb-site-reviews .hb-product-reviews-stars {
    --hb-star-size: 15px;
}

.hb-site-review-title {
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.hb-site-review-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}
