/* Scope: the enhanced native product-review control only; no catalog/card rating styles. */
body.single-product #respond .comment-form-rating:not(.ah-rating-enhanced) > select#rating[name="rating"] {
    display: block !important;
    max-width: 100%;
}
body.single-product #respond .comment-form-rating:not(.ah-rating-enhanced) > p.stars {
    display: none !important;
}
body.single-product #respond .comment-form-rating.ah-rating-enhanced > label {
    display: block;
    margin-block-end: 6px;
    font-size: 16px;
    line-height: 1.8;
}
body.single-product #respond .comment-form-rating > p.ah-rating-stars {
    display: inline-block;
    float: none;
    max-width: 100%;
    margin: 4px 0 12px;
    padding: 0;
    line-height: 1;
    direction: inherit;
}
body.single-product #respond p.ah-rating-stars > span {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    direction: inherit;
    vertical-align: middle;
}
body.single-product #respond p.ah-rating-stars > span > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    float: none;
    flex: 0 0 44px;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #795000;
    font-size: 0;
    line-height: 1;
    text-indent: 0;
    text-decoration: none;
    overflow: visible;
    opacity: 1;
    touch-action: manipulation;
}
body.single-product #respond p.ah-rating-stars > span > a::before,
body.single-product #respond p.ah-rating-stars > span > a::after {
    content: none !important;
    display: none !important;
}
body.single-product #respond p.ah-rating-stars .ah-rating-native-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.single-product #respond p.ah-rating-stars .ah-rating-icon {
    display: block;
    flex: none;
    width: 30px;
    height: 30px;
    fill: transparent;
    stroke: #795000;
    stroke-width: 1.6;
    stroke-linejoin: round;
    pointer-events: none;
}
body.single-product #respond p.ah-rating-stars a.ah-rating-lit .ah-rating-icon {
    fill: #f4b942;
}
body.single-product #respond p.ah-rating-stars a:hover {
    background: #fff4d8;
}
body.single-product #respond p.ah-rating-stars a:focus-visible {
    outline: 2px solid #135e96;
    outline-offset: 2px;
    background: #fff4d8;
}
@media (forced-colors: active) {
    body.single-product #respond p.ah-rating-stars .ah-rating-icon { stroke: ButtonText; }
    body.single-product #respond p.ah-rating-stars a.ah-rating-lit .ah-rating-icon { fill: Highlight; }
    body.single-product #respond p.ah-rating-stars a:focus-visible { outline-color: Highlight; }
}
