/* Card wrapper */
.woocommerce-Reviews {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* List reviews */
.woocommerce-Reviews .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mỗi review */
.woocommerce-Reviews .comment {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
    display: flex;
    gap: 15px;
}

/* Avatar */
.woocommerce-Reviews .comment img.avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

/* Nội dung review */
.woocommerce-Reviews .comment-text {
    flex: 1;
}

/* Tên + ngày */
.woocommerce-review__author {
    font-weight: 600;
    color: #212529;
}

.woocommerce-review__published-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-left: 8px;
}

/* Rating sao */
.star-rating {
    color: #f6c344;
    /* màu vàng */
    font-size: 14px;
    margin: 5px 0;
}

/* Nội dung */
.woocommerce-Reviews .description {
    color: #495057;
    margin-top: 5px;
}

/* Form đánh giá */
.woocommerce-Reviews .comment-form {
    margin-top: 20px;
}

.woocommerce-Reviews .comment-form input,
.woocommerce-Reviews .comment-form textarea {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.woocommerce-Reviews .comment-form input:focus,
.woocommerce-Reviews .comment-form textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .25);
}

.woocommerce-Reviews .comment-form .form-submit input {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.woocommerce-Reviews .comment-form .form-submit input:hover {
    background: #0b5ed7;
}

/* Form đánh giá tổng thể */
.woocommerce-Reviews .comment-form {
    margin-top: 20px;
    font-family: inherit;
}

/* Nhãn (label) */
.woocommerce-Reviews .comment-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #212529;
}

/* Rating stars */
.woocommerce-Reviews .comment-form-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.woocommerce-Reviews .comment-form-rating p.stars {
    display: flex;
    gap: 5px;
    margin: 0;
}

.woocommerce-Reviews .comment-form-rating p.stars a {
    font-size: 22px;
    color: #ccc;
    transition: color 0.2s;
    text-decoration: none;
}

.woocommerce-Reviews .comment-form-rating p.stars a:hover,
.woocommerce-Reviews .comment-form-rating p.stars a.active {
    color: #f6c344; /* vàng khi hover/chọn */
}

/* Textarea */
.woocommerce-Reviews .comment-form textarea {
    width: 100%;
    min-height: 120px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.2s;
}
.woocommerce-Reviews .comment-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,.2);
    outline: none;
}

/* Nút gửi */
.woocommerce-Reviews .comment-form .form-submit input {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    width: auto; /* bỏ full width */
}
.woocommerce-Reviews .comment-form .form-submit input:hover {
    background: #0b5ed7;
}
