/* Відгуки товару — дерево відповідей, крок 15px, без CSS-змінних */

.wd-review-style-2 > li {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.105);
    border-left: 1px solid rgba(0, 0, 0, 0.105);
    border-right: 1px solid rgba(0, 0, 0, 0.105);
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 15px;
    background-color: #fff;
}

.wd-review-style-2 > li:last-child {
    margin-bottom: -1px;
}

.wd-review-style-2 .review-branch {
    display: block;
}

.wd-review-style-2 .review-branch--nested {
    margin-left: 15px;
    margin-right: -1px;
    margin-bottom: 15px;
    border-radius: 15px 0px 15px 15px;
    overflow: hidden;
}

.wd-review-style-2 .depth-2 .review-branch--nested {
    background-color: rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(0, 0, 0, 0.105);
    border-left: 1px solid rgba(0, 0, 0, 0.105);
    /* border-right: 1px solid rgba(0, 0, 0, 0.105); */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.105); */
}

.wd-review-style-2 .depth-3 .review-branch--nested {
    background-color: rgba(0, 0, 0, 0.04);
}

.wd-review-style-2 .depth-4 .review-branch--nested {
    background-color: rgba(0, 0, 0, 0.04);
}

.wd-review-style-2 .depth-5 .review-branch--nested {
    background-color: rgba(0, 0, 0, 0.04);
}

.wd-review-style-2 .children > li:last-child > .review-branch--nested {
    margin-bottom: -1px;
}

.wd-review-style-2 .comment_container {
    padding: 15px;
}

.wd-review-style-2 .meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
}

.wd-review-style-2 .woocommerce-review__meta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wd-review-style-2 .woocommerce-review__author {
    margin-inline-end: 0;
}

.wd-review-style-2 .woocommerce-review__reply-to {
    font-weight: 400;
    font-style: italic;
    font-size: 0.9em;
    color: #767676;
}

.wd-review-style-2 .woocommerce-review__published-date {
    flex-shrink: 0;
    white-space: nowrap;
}

.wd-review-style-2 .woocommerce-review__verified {
    flex-grow: 1;
    margin-inline-end: 5px;
}

.wd-review-style-2 .woocommerce-review__dash {
    display: none;
}

.wd-review-style-2 .comment-footer {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 8px 0 0;
}

.wd-review-style-2 .comment-footer .like-btn {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 2px 8px;
}

.wd-review-style-2 .woocommerce-review__reply-link {
    text-decoration: none;
    font-size: 0.9em;
    color: #333;
    font-weight: bold;
}

.wd-review-style-2 .children {
    list-style: none;
    margin: 0;
    margin-inline-start: 0 !important;
    padding: 0;
    border-top: 0px solid rgba(0, 0, 0, 0.105);
    background: transparent;
}

.wd-review-style-2 .children > li {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.wd-review-style-2 .children > li + li {
    border-top: 0px solid rgba(0, 0, 0, 0.105);
}

.wd-review-style-2 .children .children {
    margin-left: 0;
    margin-inline-start: 0 !important;
    padding: 0;
    border-left: none;
}
