/* Comments Section Redesign */
.comments-section-redesign {
    background: #fff;
    padding: 20px 0;
}

.comments-section-redesign .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.comments-section-redesign .section-title .title-underline {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #5BE7C4; /* Mint green accent */
    margin-top: 5px;
    border-radius: 2px;
}

/* Add Comment Section */
.add-comment-section-redesign {
    background-color: #F0F9F6; /* Very light mint background */
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.comment-input-wrapper-redesign {
    display: flex;
    gap: 20px;
}

.comment-avatar-redesign {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.comment-avatar-redesign img,
.comment-avatar-redesign .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.comment-form-redesign {
    flex-grow: 1;
}

.comment-textarea-redesign {
    width: 100%;
    min-height: 80px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 15px;
}

.comment-textarea-redesign:focus {
    border-color: #5BE7C4;
}

.btn-post-comment-redesign {
    background-color: #34D399; /* Green button */
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    float: right;
    transition: background-color 0.2s;
}

.btn-post-comment-redesign:hover {
    background-color: #10B981;
}

/* Comments List */
.comments-list-redesign {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-card-redesign {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.comment-content-redesign {
    flex-grow: 1;
}

.comment-header-redesign {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.commenter-info-redesign {
    display: flex;
    flex-direction: column;
}

.commenter-name-redesign {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    margin-bottom: 2px;
}

.commenter-name-redesign a {
    color: #222;
    text-decoration: none;
}

.comment-time-redesign {
    font-size: 12px;
    color: #888;
}

.seller-badge-redesign {
    background-color: #D1FAE5;
    color: #065F46;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 600;
    vertical-align: middle;
}

.comment-body-redesign p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 0;
}

.btn-reply-redesign {
    color: #34D399;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.btn-reply-redesign:hover {
    text-decoration: underline;
}

/* Sub-comments */
.sub-comments-redesign {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
}

.sub-comment-item-redesign {
    background-color: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.load-more-comments-redesign {
    text-align: center;
    margin-top: 30px;
}

.btn-load-more-redesign {
    color: #34D399;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.btn-load-more-redesign:hover {
    text-decoration: underline;
}

/* Guest fields */
.guest-fields-redesign {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.guest-fields-redesign .form-control {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 15px;
    height: auto;
}
