#comments {
    direction: rtl;
    text-align: right;
    margin-top: 40px;
    font-family: inherit;
}

#comments .comments-title,
#comments .comment-reply-title {
    margin-bottom: 20px;
}

#comments .comment-list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

#comments .comment-list li,
#comments .commentlist li {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
}

#comments .comment-author .comment-date {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    color: rgba(142, 142, 147, 1)
}

#comments .comment-author .fn {
    font-size: 20px
}

#comments form {
    margin-top: 20px;
}

.comment-form-comment {
    margin-bottom: 0;
}

#comments .comment-form-comment label,
#comments .comment-form-author label,
#comments .comment-form-email label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #383C79;
}

#comments .comment-form-comment textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    resize: vertical;
    outline: none;
}

#comments .comment-form-comment textarea:focus {
    border-color: #383C79;
}

#comments .comment-fields-row {
    display: flex;
    gap: 16px;
}

#comments .comment-form-author,
#comments .comment-form-email {
    flex: 1;
}

#comments .comment-form-author,
#comments .comment-form-email {
    vertical-align: top;
    box-sizing: border-box;
    margin-top: 16px;
}

#comments .comment-form-author {
    padding-inline-start: 8px;
}

#comments .comment-form-email {
    padding-inline-end: 8px;
}

#comments .comment-form-author input,
#comments .comment-form-email input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    outline: none;
}

#comments .comment-form-author input:focus,
#comments .comment-form-email input:focus {
    border-color: #383C79;
}

#comments .form-submit {
    margin-top: 20px;
}

#comments .submit-comment-btn {
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    background-color: #1F2559;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#comments .submit-comment-btn:hover {
    opacity: 0.9;
}



@media screen and (max-width: 767px) {

    #comments .comment-form-author,
    #comments .comment-form-email {
        width: 100%;
        padding-inline-start: 0;
        padding-inline-end: 0;
        display: block;
    }
}

#comments .comments-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

#comments .comments-header .comments-title {
    font-weight: 800;
    font-size: 36px;
    color: rgba(56, 60, 121, 1);
}

#comments .comments-header .comments-count {
    color: rgba(142, 142, 147, 1);
    font-weight: 600;
}

#comments .comment-reply-title {
    font-weight: 800;
    font-size: 36px;
    color: rgba(56, 60, 121, 1);
    margin: 0 0 6px 0;
}

#comments .comment-notes {
    color: rgba(64, 64, 64, 1);
    font-size: 14px;
    margin-bottom: 16px;
}

#comments .comment-notes .required-star {
    color: #FF3B30;
    margin-inline-end: 6px;
}

#comments .review {
    position: relative;
}

#comments .review .comment-body {
    border-block-end: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    padding-block-end: 30px;
    padding-block-start: 30px;
    padding-inline-end: 0;
    padding-inline-start: 60px;
}

#comments .review .avatar {
    border-radius: 50%;
    left: 0;
    margin-inline-end: 10px;
    position: absolute;
}

body.rtl #comments .review .avatar,
html[dir=rtl] #comments .review .avatar {
    left: auto;
    right: 0;
}

#comments .review .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: 0.9rem;
}

#comments .review .comment-metadata,
#comments .review .reply {
    font-size: 11px;
    line-height: 1;
}

@media (min-width: 768px) {

    #comments .review .comment-author,
    #comments .review .comment-metadata {
        line-height: 1;
    }
}

@media (max-width: 767px) {
    #comments .review .comment-body {
        padding: 30px 0;
    }

    #comments .review .avatar {
        float: left;
        position: inherit;
    }

    body.rtl #comments .review .avatar,
    html[dir=rtl] #comments .review .avatar {
        float: right;
    }
}

/* --- WooCommerce review form alignment & button styling --- */
#comments #commentform .comment-form-author,
#comments #commentform .comment-form-email {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    box-sizing: border-box;
}

#comments .form-submit input[type="submit"],
.comment-form .submit {
    padding: 8px 22px!important;
    border-radius: 999px!important;
    border: none!important;
    background-color: #1F2559!important;
    color: #ffffff!important;
    font-size: 14px!important;
    cursor: pointer!important;
    transition: opacity 0.2s ease!important;
}

#comments .form-submit input[type="submit"]:hover,
.comment-form .submit:hover {
    opacity: 0.9!important;
}

#comments .comment-form-rating label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #383C79;
}

#comments .comment-form-rating .stars,
#comments .comment-form-rating p.stars {
    margin-bottom: 10px;
}

#comments .comment-form-rating p.stars a::before {
    color: #383C79 !important;
}

#comments .comment-form-rating p.stars a:hover::before,
#comments .comment-form-rating p.stars a:focus::before,
#comments .comment-form-rating p.stars a.active::before,
#comments .comment-form-rating p.stars.selected a::before {
    color: #383C79 !important;
}

#comments .comment-rating .star-rating span::before,
#comments .star-rating span::before {
    color: #383C79 !important;
}

.comment-form-cookies-consent {
    display: none!important
}

@media screen and (max-width: 767px) {

    #comments #commentform .comment-form-author,
    #comments #commentform .comment-form-email {
        width: 100%;
        display: block;
        padding-inline-start: 0;
        padding-inline-end: 0;
    }
}