#lgcomment.page-product-box {
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
    margin-top: 2rem;
    background: #fff;
    padding: 1.25rem 1.875rem;
    display: inline-block;
    width: 100%;
}

#lgcomment h3 {
    border: none;
    border-bottom: 3px solid #2fb5d2;
    color: #2fb5d2;
    padding: .5em 1em;
    font-size: 15px;
}

#lgcomment .content-button {
    text-align: center;
    margin: 0 0 10px 0;
}

#lgcomment .productComment {
    margin-bottom: 25px;
}

#lgcomment .productComment .content-block {
    border-left: 1px solid #2fb5d2;
}

#lgcomment .productComment .nick {
    font-size: .86rem;
    color: #222222;
}

#lgcomment .productComment .date {
    font-size: .72rem;
    color: #222222;
}

#lgcomment .productComment .title {
    font-size: 1rem;
    color: #222222;
    font-weight: bold;
    margin-bottom: 10px;
}

#lgcomment .productComment .comment {
    font-size: 0.95rem;
    color: #555555;
}

#lgcomment .productComment .answer {
    padding-left: 50px;
    color: #2fb5d2;
    font-style: italic;
    margin-top: 10px;
}

.lgcomment_summary {
    border-bottom: 3px solid #2fb5d2;
    display: table;
    padding: 20px 25px;
    font-family: "Open Sans", sans-serif;
    width: 100%;
    background: #FFFFFF;
    color: #777777;
}

.commentfilter {
    float: left;
    width: 12%;
    cursor: pointer;
}

.commentfiltertitle {
    float: left;
    width: 100%;
    cursor: pointer;
}

.commentfilterreset {
    float: left;
    width: 14%;
    cursor: pointer;
}

.comment_anchor {
    cursor: pointer;
}

#lgcomment .lgcomments_law_block {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #CCCCCC;
    padding: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.ph-lgc-rich-snippets {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ph-lgc-rating-widget {
    position: relative;
}

.ph-lgc-rating-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: #111827;
    cursor: pointer;
    text-align: left;
}

.ph-lgc-rating-trigger:focus {
    outline: none;
}

.ph-lgc-rating-trigger:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 3px;
    border-radius: 8px;
}

.ph-lgc-rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #111827;
}

.ph-lgc-rating-count {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    font-weight: 500;
    line-height: 1.2;
}

.ph-lgc-rating-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: -4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #374151;
    transform: translateY(1px);
}

.ph-lgc-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    letter-spacing: 2px;
}

.ph-lgc-stars-base,
.ph-lgc-stars-fill {
    display: block;
    white-space: nowrap;
}

.ph-lgc-stars-base {
    color: #d1d5db;
}

.ph-lgc-stars-fill {
    color: #ff7a00;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.ph-lgc-stars--sm {
    font-size: 1.15rem;
}

.ph-lgc-stars--lg {
    font-size: 2rem;
    letter-spacing: 4px;
}

.ph-lgc-review-popover {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 40;
    width: min(420px, calc(100vw - 30px));
}

.ph-lgc-review-popover.is-open {
    display: block;
}

.ph-lgc-review-popover-inner {
    position: relative;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.16);
    padding: 24px;
}

.ph-lgc-review-popover-inner:before,
.ph-lgc-review-popover-inner:after {
    content: "";
    position: absolute;
    left: 48px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
}

.ph-lgc-review-popover-inner:before {
    top: -13px;
    border-bottom: 13px solid #d1d5db;
}

.ph-lgc-review-popover-inner:after {
    top: -12px;
    border-bottom: 12px solid #ffffff;
}

.ph-lgc-review-popover-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #ffffff;
    color: #374151;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ph-lgc-review-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 48px;
    margin-bottom: 24px;
}

.ph-lgc-review-summary-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
    white-space: nowrap;
}

.ph-lgc-review-breakdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ph-lgc-review-row {
    display: grid;
    grid-template-columns: 58px 1fr 48px;
    align-items: center;
    gap: 14px;
}

.ph-lgc-review-label {
    font-size: 1rem;
    color: #111827;
}

.ph-lgc-review-bar {
    display: block;
    position: relative;
    height: 14px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    overflow: hidden;
}

.ph-lgc-review-bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff6a00 0%, #ff8a00 100%);
    border-radius: 999px;
}

.ph-lgc-review-percent {
    font-size: 1rem;
    font-weight: 600;
    color: #1d4ed8;
    text-align: right;
}

.ph-lgc-review-footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
    padding-top: 20px;
}

.ph-lgc-see-customer-reviews {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.ph-lgc-see-customer-reviews:after {
    content: '›';
    margin-left: 8px;
    font-size: 1.15em;
}

.ph-lgc-see-customer-reviews:hover,
.ph-lgc-see-customer-reviews:focus {
    text-decoration: underline;
}

@media (max-width: 992px) {
    #lgcomment .content-button .lgcomment_button {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    #lgcomment .productComment .info-block {
        text-align: center;
    }

    #lgcomment .productComment .nick {
        font-size: 1rem;
    }

    #lgcomment .productComment .date {
        font-size: .90rem;
    }

    #lgcomment .productComment .content-block {
        border: none;
        border-bottom: 1px solid #DDDDDD;
        margin-top: 20px;
        padding-bottom: 25px;
    }

    .commentfilter,
    .commentfilterreset {
        float: none;
        width: 70%;
        margin-right: 0;
        cursor: pointer;
    }

    .ph-lgc-review-popover {
        width: min(380px, calc(100vw - 24px));
    }

    .ph-lgc-review-popover-inner {
        padding: 20px;
    }

    .ph-lgc-review-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ph-lgc-review-summary-text {
        font-size: 1.2rem;
    }

    .ph-lgc-review-row {
        grid-template-columns: 50px 1fr 42px;
        gap: 10px;
    }
}


.ph-lgc-rating-widget:hover .ph-lgc-rating-trigger .ph-lgc-rating-arrow,
.ph-lgc-rating-trigger[aria-expanded="true"] .ph-lgc-rating-arrow {
    transform: translateY(1px) rotate(180deg);
}

.ph-lgc-rating-trigger:hover .ph-lgc-rating-count,
.ph-lgc-rating-trigger:focus .ph-lgc-rating-count {
    color: #0f4f9e;
}

@media (hover: hover) and (pointer: fine) {
    .ph-lgc-rating-widget:hover .ph-lgc-review-popover {
        display: block;
    }
}
