.comments-area {
    --cmt-bg: #ffffff;
    --cmt-surface: #f7f9fc;
    --cmt-border: rgba(15, 23, 42, 0.1);
    --cmt-border-strong: rgba(37, 99, 235, 0.25);
    --cmt-text: #0f172a;
    --cmt-muted: #64748b;
    --cmt-accent: #2563eb;
    --cmt-accent-2: #1d4ed8;
    --cmt-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.comments-area .commentlist,
.comments-area .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comments-area .comments-title {
    margin-bottom: 18px;
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.2;
    color: var(--cmt-text);
    letter-spacing: 0.01em;
}

.comments-area .children {
    margin-left: 28px;
    padding-left: 16px;
    border-left: 2px solid rgba(37, 99, 235, 0.12);
}

.comments-area .woodmart-child-comment-item {
    margin: 0 0 20px;
}

.comments-area .woodmart-child-comment-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--cmt-border);
    border-radius: 18px;
    background: linear-gradient(165deg, var(--cmt-bg) 0%, var(--cmt-surface) 100%);
    box-shadow: var(--cmt-shadow);
    transition: none;
}

.comments-area .woodmart-child-comment-card:hover {
    transform: none;
    box-shadow: var(--cmt-shadow);
    border-color: var(--cmt-border);
}

.comments-area .woodmart-child-comment-avatar .avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: block;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.comments-area .woodmart-child-comment-head {
    margin-bottom: 8px;
}

.comments-area .woodmart-child-comment-author {
    margin: 0;
    color: var(--cmt-text);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.comments-area .woodmart-child-comment-date {
    display: inline-block;
    margin-top: 4px;
    color: var(--cmt-muted);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.comments-area .woodmart-child-comment-content {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.78;
}

.comments-area .woodmart-child-comment-content p:last-child {
    margin-bottom: 0;
}

.comments-area .woodmart-child-comment-pending {
    margin-bottom: 12px;
    color: #b45309;
    font-weight: 600;
}

.comments-area .woodmart-child-comment-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    position: static !important;
    top: auto !important;
    inset: auto !important;
}

.comments-area .woodmart-child-comment-vote {
    border: 1px solid rgba(30, 41, 59, 0.14);
    background: #ffffff;
    color: #0f172a;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.22s ease;
}

.comments-area .woodmart-child-comment-vote:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.42);
    background: #f8fbff;
    box-shadow: 0 8px 18px rgba(30, 64, 175, 0.15);
}

.comments-area .woodmart-child-comment-vote.is-active {
    background: linear-gradient(130deg, var(--cmt-accent), var(--cmt-accent-2));
    color: #ffffff;
    border-color: var(--cmt-accent-2);
}

.comments-area .woodmart-child-comment-vote:disabled {
    opacity: 0.65;
    cursor: wait;
}

.comments-area .woodmart-child-comment-vote .vote-count {
    padding: 0 7px;
    min-width: 22px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    text-align: center;
    line-height: 20px;
    font-weight: 700;
}

.comments-area .woodmart-child-comment-vote.is-active .vote-count {
    background: rgba(255, 255, 255, 0.25);
}

.comments-area .woodmart-child-comment-reply-wrap {
    margin-left: auto;
}

.comments-area .wd-review-likes .woodmart-child-comment-reply-wrap {
    margin-left: 0 !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
}

.comments-area a.woodmart-child-comment-reply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: none;
}

.comments-area a.woodmart-child-comment-reply:hover {
    background: linear-gradient(130deg, var(--cmt-accent), var(--cmt-accent-2));
    color: #ffffff;
    border-color: var(--cmt-accent-2);
    box-shadow: none;
}

.comments-area .comment-respond {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--cmt-border);
    border-radius: 18px;
    background: linear-gradient(155deg, #ffffff 0%, #f5f8fd 100%);
    box-shadow: var(--cmt-shadow);
}

.comments-area .comment-respond .comment-reply-title {
    margin-bottom: 8px;
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--cmt-text);
}

.comments-area .comment-respond .comment-notes,
.comments-area .comment-respond .logged-in-as {
    color: var(--cmt-muted);
    font-size: 13px;
}

.comments-area .comment-respond .logged-in-as {
    display: block;
    margin: 0 0 10px;
}

.comments-area .comment-respond .comment-reply-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 14px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.comments-area .comment-respond #cancel-comment-reply-link {
    margin-left: 8px;
}

.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"],
.comments-area .comment-respond textarea {
    border: 1px solid rgba(30, 41, 59, 0.16);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
    padding: 12px 14px;
    color: var(--cmt-text);
}

.comments-area .comment-respond input:focus,
.comments-area .comment-respond textarea:focus {
    border-color: var(--cmt-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
    background: #fdfefe;
}

.comments-area .woodmart-child-comment-submit {
    background: linear-gradient(130deg, #f59e0b, #ea580c);
    color: #fff;
    border-radius: 999px;
    border: 1px solid #ea580c;
    padding: 12px 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: all 0.22s ease;
}

.comments-area .woodmart-child-comment-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.28);
}

.comments-area .woodmart-child-comment-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    background: linear-gradient(90deg, #eff6ff, #ffffff);
}

.comments-area .woodmart-child-comment-user-chip .avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
}

.comments-area .woodmart-child-comment-user-chip-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
}

.comments-area .woodmart-child-comment-user-name {
    display: inline-block;
    margin: 0;
    line-height: 1.2;
}

.comments-area .woodmart-child-comment-user-sep {
    opacity: 0.45;
    line-height: 1;
}

.comments-area .woodmart-child-comment-logout-link {
    display: inline-block;
    margin: 0;
    line-height: 1.2;
    margin-left: 2px;
    text-decoration: none;
}

.comments-area .woodmart-child-comment-logout-link:hover {
    text-decoration: underline;
}

/* Keep hover animation for button controls only */
.comments-area a:not(.button):not(.btn) {
    transition: none;
    transform: none;
    box-shadow: none;
}

.comments-area a:not(.button):not(.btn):hover {
    transform: none;
    box-shadow: none;
}

.woodmart-child-comment-login-notice {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.woodmart-child-comment-login-notice a {
    color: var(--wd-primary-color, #1a62ab);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wd-dark .woodmart-child-comment-login-notice {
    color: #e2e8f0;
}

#respond.woodmart-child-reply-focus {
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2), 0 16px 36px rgba(15, 23, 42, 0.16);
    transition: box-shadow 0.26s ease;
}

@media (max-width: 767px) {
    .comments-area .woodmart-child-comment-actions .b2io-mobile-action-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .comments-area .woodmart-child-comment-actions .b2io-mobile-action-row > * {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        margin: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
    }

    .comments-area .woodmart-child-comment-actions[data-mobile-row-ready="1"] .woodmart-child-comment-vote,
    .comments-area .woodmart-child-comment-actions[data-mobile-row-ready="1"] .woodmart-child-comment-reply {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .comments-area .wd-review-likes.woodmart-child-comment-votes {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .comments-area .wd-review-likes.woodmart-child-comment-votes > * {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    .comments-area .wd-review-likes.woodmart-child-comment-votes .woodmart-child-comment-reply-wrap {
        margin-left: 0 !important;
    }

    .comments-area .woodmart-child-comment-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
        border-radius: 12px;
        overflow: visible;
    }

    .comments-area .comments-title {
        font-size: 28px;
    }

    .comments-area .woodmart-child-comment-avatar .avatar {
        width: 52px;
        height: 52px;
    }

    /* Mobile: keep all actions on one horizontal line */
    .comments-area .woodmart-child-comment-actions {
        gap: 10px;
        position: static;
        top: auto;
        margin-left: 0;
        width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        z-index: auto;
    }

    .comments-area .woodmart-child-comment-vote,
    .comments-area a.woodmart-child-comment-reply {
        width: auto;
        min-width: 0;
        min-height: 36px;
        padding: 0 8px;
        justify-content: center;
        border-radius: 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .comments-area .woodmart-child-comment-vote .vote-label {
        font-size: inherit;
    }

    .comments-area a.woodmart-child-comment-reply {
        font-size: 14px;
    }

    .comments-area .woodmart-child-comment-vote .vote-icon {
        font-size: 16px;
        line-height: 1;
    }

    .comments-area .woodmart-child-comment-vote .vote-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        line-height: 18px;
        padding: 0 4px;
        font-size: 10px;
    }

    .comments-area .woodmart-child-comment-vote {
        position: relative;
    }

    .comments-area .woodmart-child-comment-reply-wrap {
        width: auto;
        margin-left: 0;
        flex: 0 0 auto;
    }

    .comments-area a.woodmart-child-comment-reply::after {
        content: "";
    }

}

.woocommerce-Reviews #review_form .comment-form-rating {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    border-radius: 12px;
    background: #f8fbff;
}

.woocommerce-Reviews #review_form .comment-form-rating label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--cmt-text);
}

.woocommerce-Reviews #review_form .comment-form-rating select#rating {
    min-width: 180px;
    border-radius: 10px;
    border: 1px solid rgba(30, 41, 59, 0.2);
}

.woodmart-child-product-rating-notice {
    margin: 10px 0 0;
    font-size: 13px;
    color: #1d4ed8;
}

.woodmart-child-product-rating-notice strong {
    color: #1e3a8a;
}

.woocommerce-Reviews #review_form .comment-form-rating.woodmart-child-rating-required {
    border-color: #dc2626;
    background: #fef2f2;
}

.woodmart-child-product-rating-notice.is-error {
    color: #991b1b;
}

/* =========================================================
   wpDiscuz-like polish (Blog comments + Product reviews)
   ========================================================= */

.comments-area .woodmart-child-comment-item {
    position: relative;
}

.comments-area .children > .woodmart-child-comment-item {
    padding-left: 14px;
}

.comments-area .children > .woodmart-child-comment-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: #22c55e;
}

.comments-area .children > .woodmart-child-comment-item:nth-child(2n)::before {
    background: #0ea5e9;
}

.comments-area .children > .woodmart-child-comment-item:nth-child(3n)::before {
    background: #f59e0b;
}

.comments-area .woodmart-child-comment-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: none;
}

.comments-area .woodmart-child-comment-author-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.comments-area .woodmart-child-comment-author {
    font-size: 28px;
    color: #10b981;
}

.comments-area .woodmart-child-comment-date {
    margin-top: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
}

.comments-area .woodmart-child-comment-content {
    color: #374151;
    line-height: 1.7;
}

.comments-area .woodmart-child-comment-actions {
    border-top: 1px solid #eef2f7;
    padding-top: 10px;
    margin-top: 12px;
    gap: 8px;
}

.comments-area .woodmart-child-comment-actions .wd-review-likes {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Blog comments: force like/dislike/reply to stay on one line */
.comments-area .commentlist .wd-review-likes.woodmart-child-comment-votes {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
}

.comments-area .commentlist .wd-review-likes.woodmart-child-comment-votes > * {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    float: none !important;
    clear: none !important;
}

.comments-area .woodmart-child-comment-vote {
    border: 0;
    background: transparent;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 6px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.comments-area .woodmart-child-comment-vote:hover {
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    border-color: transparent;
}

.comments-area .woodmart-child-comment-vote[data-vote="like"] .vote-icon {
    color: #16a34a;
}

.comments-area .woodmart-child-comment-vote[data-vote="dislike"] .vote-icon {
    color: #ef4444;
}

.comments-area .woodmart-child-comment-vote .vote-count {
    background: transparent;
    min-width: 0;
    padding: 0;
}

.comments-area .woodmart-child-comment-vote.is-active {
    background: #ecfeff;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.comments-area a.woodmart-child-comment-reply {
    border: 0;
    background: transparent;
    color: #6b7280;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}

.comments-area a.woodmart-child-comment-reply:hover {
    background: #f8fafc;
    color: #0f766e;
    border: 0;
}

.woocommerce-Reviews #review_form .comment-form-rating {
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #f0f9ff;
}

.woocommerce-Reviews #review_form .comment-form-rating .stars a {
    color: #94a3b8;
    font-size: 20px;
}

.woocommerce-Reviews #review_form .comment-form-rating .stars:hover a,
.woocommerce-Reviews #review_form .comment-form-rating .stars.selected a.active,
.woocommerce-Reviews #review_form .comment-form-rating .stars.selected a:not(.active) {
    color: #f59e0b;
}

.woodmart-child-product-rating-notice {
    border-left: 3px solid #0ea5e9;
    padding-left: 9px;
}

.woodmart-child-product-rating-notice.is-error {
    border-left-color: #ef4444;
}

/* =========================================================
   Product Reviews -> use blog-comment style (Woo default markup)
   ========================================================= */

.woocommerce-Reviews #comments .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-Reviews #comments .commentlist > li.review {
    margin: 0 0 20px;
    position: relative;
}

.woocommerce-Reviews #comments .commentlist > li.review .comment_container {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
        "avatar meta"
        "stars stars"
        "desc desc"
        "actions actions";
    column-gap: 14px;
    row-gap: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.woocommerce-Reviews #comments .commentlist > li.review img.avatar {
    grid-area: avatar;
    width: 50px !important;
    height: 50px !important;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    position: static !important;
    display: block !important;
    float: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2;
    object-fit: cover;
    background: #e2e8f0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hard override for Woo defaults that absolutely position/hide review avatars */
.woocommerce-Reviews #comments .commentlist img.avatar,
.woocommerce #reviews #comments .commentlist img.avatar {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    float: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.woocommerce-Reviews #comments .commentlist > li.review .comment-text {
    display: contents;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta {
    grid-area: meta;
    margin: 0 !important;
    color: #64748b;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 4px;
    width: 100%;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__author {
    display: block !important;
    margin: 0 !important;
    color: #10b981;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    order: 1;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__dash {
    display: none !important;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__verified.verified {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #15803d;
    font-style: italic;
    font-weight: 700;
    order: 2;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__verified.verified::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__published-date {
    display: block !important;
    margin: 0 !important;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
    order: 3;
}

/* Unified typography scale for comments/reviews across devices */
.comments-area .woodmart-child-comment-author,
.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__author {
    font-size: 24px;
    line-height: 1.25;
}

.comments-area .woodmart-child-comment-date,
.woocommerce-Reviews #comments .commentlist > li.review .meta,
.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__published-date,
.woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__verified.verified {
    font-size: 13px;
    line-height: 1.45;
}

.comments-area .woodmart-child-comment-content,
.woocommerce-Reviews #comments .commentlist > li.review .description {
    font-size: 16px;
    line-height: 1.75;
}

.woocommerce-Reviews #comments .commentlist > li.review .star-rating {
    grid-area: stars;
    display: block;
    margin: 2px 0 0;
    float: none !important;
    clear: both;
}

.woocommerce-Reviews #comments .commentlist > li.review .description {
    grid-area: desc;
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* If a vote/action row exists on product reviews, keep it full-width below content */
.woocommerce-Reviews #comments .commentlist > li.review .comment-actions,
.woocommerce-Reviews #comments .commentlist > li.review .woodmart-child-comment-actions,
.woocommerce-Reviews #comments .commentlist > li.review .review-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* Woodmart native review likes: keep like/dislike on same line */
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes {
    grid-area: actions;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap !important;
    width: 100%;
    margin-top: 4px;
}

.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-like,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-dislike {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn > a {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

/* Force product-review vote controls to stay on one line */
.woocommerce-Reviews #comments .commentlist > li.review .comment-actions,
.woocommerce-Reviews #comments .commentlist > li.review .review-actions,
.woocommerce-Reviews #comments .commentlist > li.review [class*="like-dislike"],
.woocommerce-Reviews #comments .commentlist > li.review [class*="like_dislike"],
.woocommerce-Reviews #comments .commentlist > li.review [class*="comment-vote"],
.woocommerce-Reviews #comments .commentlist > li.review [class*="review-vote"] {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.woocommerce-Reviews #comments .commentlist > li.review [class*="like-dislike"] > *,
.woocommerce-Reviews #comments .commentlist > li.review [class*="like_dislike"] > *,
.woocommerce-Reviews #comments .commentlist > li.review [class*="comment-vote"] > *,
.woocommerce-Reviews #comments .commentlist > li.review [class*="review-vote"] > * {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px;
    white-space: nowrap !important;
}

.woocommerce-Reviews #comments .commentlist > li.review [class*="like-dislike"] br,
.woocommerce-Reviews #comments .commentlist > li.review [class*="like_dislike"] br,
.woocommerce-Reviews #comments .commentlist > li.review [class*="comment-vote"] br,
.woocommerce-Reviews #comments .commentlist > li.review [class*="review-vote"] br {
    display: none !important;
}

/* Override Woodmart icon-style action buttons in review/comment vote rows */
.comments-area .wd-review-likes .wd-action-btn.wd-style-icon > a,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn.wd-style-icon > a {
    flex-direction: row !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}

.comments-area .wd-review-likes .wd-action-btn .wd-action-text,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn .wd-action-text {
    display: inline !important;
    white-space: nowrap !important;
}

.comments-area .wd-review-likes .wd-action-btn .wd-action-icon,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn .wd-action-icon {
    margin-inline-end: .35em !important;
}

.comments-area .wd-review-likes .wd-action-btn > a br,
.woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn > a br {
    display: none !important;
}

.woocommerce-Reviews #comments .commentlist .children {
    list-style: none;
    margin: 14px 0 0 28px;
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(14, 165, 233, 0.2);
}

.woocommerce-Reviews #comments .commentlist .children > li {
    position: relative;
}

.woocommerce-Reviews #comments .commentlist .children > li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: #22c55e;
}

/* Product review form */
.woocommerce-Reviews #review_form_wrapper {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #f0f9ff;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating label {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    flex: 0 0 auto;
    line-height: 24px;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars {
    margin: 0;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    clear: none !important;
    float: none !important;
    flex: 0 1 auto;
    width: auto !important;
    min-height: 24px;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating .stars a {
    color: #94a3b8;
    font-size: 0 !important;
    line-height: 1;
    text-indent: 0 !important;
    overflow: visible !important;
    white-space: nowrap;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating .stars:hover a,
.woocommerce-Reviews #review_form #commentform .comment-form-rating .stars.selected a.active,
.woocommerce-Reviews #review_form #commentform .comment-form-rating .stars.selected a:not(.active) {
    color: #f59e0b;
}

/* Keep Woo star UI only (hide fallback text/select to prevent overlap) */
.woocommerce-Reviews #review_form #commentform .comment-form-rating select#rating {
    display: none !important;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars a {
    position: relative;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars a::before,
.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars a::after {
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars a::before {
    display: inline-block !important;
    font-size: 20px;
    line-height: 1;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating p.stars a::after {
    display: none !important;
    font-size: 13px;
    line-height: 1.3;
    color: #1d4ed8;
    margin-left: 8px;
    white-space: nowrap;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating .woodmart-child-rating-selected-label {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.3;
    color: #1d4ed8;
    white-space: nowrap;
}

.woocommerce-Reviews #review_form #commentform .woodmart-child-product-rating-notice {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    margin: 2px 0 0;
    padding-left: 9px;
    border-left: 3px solid #0ea5e9;
    font-size: 13px;
    line-height: 1.45;
    color: #1d4ed8;
}

.woocommerce-Reviews #review_form #commentform .woodmart-child-product-rating-notice strong {
    color: #1e3a8a;
}

.woocommerce-Reviews #review_form #commentform .comment-form-rating.woodmart-child-rating-required {
    border-color: #dc2626;
    background: #fef2f2;
}

.woocommerce-Reviews #review_form #commentform .woodmart-child-product-rating-notice.is-error {
    border-left-color: #ef4444;
    color: #991b1b;
}

@media (max-width: 767px) {
    .comments-area .commentlist .wd-review-likes.woodmart-child-comment-votes {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    .woocommerce-Reviews #comments .commentlist > li.review .comment_container {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .woocommerce-Reviews #comments .commentlist > li.review img.avatar {
        width: 50px !important;
        height: 50px !important;
    }

    .comments-area .woodmart-child-comment-author,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__author {
        font-size: 19px;
        line-height: 1.3;
    }

    .comments-area .woodmart-child-comment-date,
    .woocommerce-Reviews #comments .commentlist > li.review .meta,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__published-date,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__verified.verified {
        font-size: 12px;
        line-height: 1.4;
    }

    .comments-area .woodmart-child-comment-content,
    .woocommerce-Reviews #comments .commentlist > li.review .description {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Keep product review like/dislike on one line in mobile */
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        white-space: nowrap !important;
        width: auto !important;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-like,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-dislike,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn > a {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .comments-area .wd-review-likes,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
    }

    .comments-area .woodmart-child-comment-actions .wd-review-likes .wd-action-btn.wd-style-icon > a,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn.wd-style-icon > a {
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        font-size: 14px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .comments-area .woodmart-child-comment-author,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__author {
        font-size: 22px;
        line-height: 1.28;
    }

    .comments-area .woodmart-child-comment-date,
    .woocommerce-Reviews #comments .commentlist > li.review .meta,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__published-date,
    .woocommerce-Reviews #comments .commentlist > li.review .meta .woocommerce-review__verified.verified {
        font-size: 13px;
        line-height: 1.42;
    }

    .comments-area .woodmart-child-comment-content,
    .woocommerce-Reviews #comments .commentlist > li.review .description {
        font-size: 15px;
        line-height: 1.72;
    }
}

/* Final mobile hard override: no sticky + one-line actions + 10px text */
@media (max-width: 767px) {
    .comments-area .woodmart-child-comment-actions,
    .woocommerce-Reviews #comments .commentlist > li.review .woodmart-child-comment-actions {
        position: static !important;
        top: auto !important;
        margin-left: 0 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
    }

    .comments-area .woodmart-child-comment-actions > *,
    .comments-area .woodmart-child-comment-actions .wd-review-likes > *,
    .woocommerce-Reviews #comments .commentlist > li.review .woodmart-child-comment-actions > *,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes > * {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .comments-area .woodmart-child-comment-reply-wrap,
    .woocommerce-Reviews #comments .commentlist > li.review .woodmart-child-comment-reply-wrap {
        margin-left: 0 !important;
    }

    .comments-area .woodmart-child-comment-vote,
    .comments-area .woodmart-child-comment-vote .vote-label,
    .comments-area .woodmart-child-comment-vote .vote-count,
    .comments-area a.woodmart-child-comment-reply,
    .comments-area .wd-review-likes .wd-action-btn > a,
    .comments-area .wd-review-likes .wd-action-btn .wd-action-text,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn > a,
    .woocommerce-Reviews #comments .commentlist > li.review .wd-review-likes .wd-action-btn .wd-action-text {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    /* Force each action element to inline (fix mobile 3-row stacking) */
    .comments-area .woodmart-child-comment-actions .wd-review-likes {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        width: auto !important;
        max-width: none !important;
        gap: 8px !important;
    }

    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-vote,
    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-reply,
    .comments-area .woodmart-child-comment-actions .wd-like,
    .comments-area .woodmart-child-comment-actions .wd-dislike,
    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-reply-wrap {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* Cancel old icon-only mobile behavior */
    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-vote .vote-label {
        display: inline !important;
        font-size: 10px !important;
    }

    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-vote .vote-count {
        position: static !important;
        top: auto !important;
        right: auto !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        line-height: 1.2 !important;
        margin-left: 4px !important;
    }

    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-vote .vote-icon {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .comments-area .woodmart-child-comment-actions .woodmart-child-comment-reply-wrap {
        margin-left: 0 !important;
    }

    .comments-area .woodmart-child-comment-actions a.woodmart-child-comment-reply {
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    /* Absolute mobile row lock: Like + Dislike + Reply must stay in one line */
    .comments-area footer.woodmart-child-comment-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        column-gap: 8px !important;
        row-gap: 0 !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .comments-area footer.woodmart-child-comment-actions > .wd-review-likes,
    .comments-area footer.woodmart-child-comment-actions > .woodmart-child-comment-reply-wrap {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    .comments-area footer.woodmart-child-comment-actions > .wd-review-likes {
        gap: 8px !important;
    }

    .comments-area footer.woodmart-child-comment-actions > .wd-review-likes > .wd-like,
    .comments-area footer.woodmart-child-comment-actions > .wd-review-likes > .wd-dislike,
    .comments-area footer.woodmart-child-comment-actions > .woodmart-child-comment-reply-wrap > a.woodmart-child-comment-reply {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Kill theme float/clear/block rules that force vertical stacking */
    .comments-area .wd-review-likes,
    .comments-area .wd-review-likes > .wd-like,
    .comments-area .wd-review-likes > .wd-dislike,
    .comments-area .wd-review-likes > .woodmart-child-comment-reply-wrap,
    .comments-area .wd-review-likes > .woodmart-child-comment-reply-wrap > a,
    .comments-area .wd-review-likes .woodmart-child-comment-vote {
        float: none !important;
        clear: none !important;
        display: inline-flex !important;
        vertical-align: middle !important;
    }

    .comments-area .wd-review-likes {
        width: max-content !important;
    }
}

/* FINAL BLOG MOBILE LAYOUT:
   Row 1: avatar | user/meta
   Row 2: actions | comment content
*/
@media (max-width: 767px) {
    .comments-area .commentlist .woodmart-child-comment-card {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        grid-template-areas:
            "avatar head"
            "actions content" !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
        align-items: start !important;
    }

    .comments-area .commentlist .woodmart-child-comment-main {
        display: contents !important;
    }

    .comments-area .commentlist .woodmart-child-comment-avatar {
        grid-area: avatar !important;
        margin: 0 !important;
    }

    .comments-area .commentlist .woodmart-child-comment-head {
        grid-area: head !important;
        margin: 0 !important;
    }

    .comments-area .commentlist .woodmart-child-comment-content {
        grid-area: content !important;
        margin: 0 !important;
    }

    .comments-area .commentlist .woodmart-child-comment-actions {
        grid-area: actions !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        width: 52px !important;
        max-width: 52px !important;
        overflow: visible !important;
    }

    .comments-area .commentlist .woodmart-child-comment-actions .wd-review-likes.woodmart-child-comment-votes {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 6px !important;
        width: 52px !important;
        max-width: 52px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .comments-area .commentlist .woodmart-child-comment-actions .wd-review-likes.woodmart-child-comment-votes > * {
        display: inline-flex !important;
        width: auto !important;
        max-width: 52px !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }

    .comments-area .commentlist .woodmart-child-comment-actions .woodmart-child-comment-vote,
    .comments-area .commentlist .woodmart-child-comment-actions .woodmart-child-comment-reply {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
}

/* Facebook-style WooCommerce Product Reviews */
.woocommerce-Reviews #comments .commentlist > li.review {
    margin: 0 0 16px !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.woodmart-child-review-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.woodmart-child-review-card .woodmart-child-comment-avatar {
    flex-shrink: 0;
}

.woodmart-child-review-card .woodmart-child-comment-avatar .avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    border: none !important;
}

.woodmart-child-review-card .woodmart-child-review-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Gray Bubble */
.woodmart-child-review-bubble {
    background-color: #f7f7f7;
    border-radius: 18px;
    padding: 8px 14px;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

.wd-dark .woodmart-child-review-bubble {
    background-color: #242526;
}

/* Author & Verified Row */
.woodmart-child-review-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2px;
    justify-content: space-between;
}

.woodmart-child-review-meta-col {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.woodmart-child-review-meta-col--right {
    justify-content: flex-end;
}

.woodmart-child-review-author {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.wd-dark .woodmart-child-review-author {
    color: #f8fafc;
}

/* Verified Buyer Badge */
.woodmart-child-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #e6f4ea;
    color: #137333;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1;
}

.wd-dark .woodmart-child-review-verified {
    background-color: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}

.woodmart-child-review-verified svg {
    margin-top: -1px;
}

/* Rating Stars */
.woodmart-child-review-stars {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.woodmart-child-review-stars .star-rating {
    font-size: 11px !important;
    width: 5.5em !important;
    height: 1em !important;
}

/* Review Text */
.woodmart-child-review-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.wd-dark .woodmart-child-review-text {
    color: #cbd5e1;
}

.woodmart-child-review-text p {
    margin: 0;
}

/* Footer / Actions */
.woodmart-child-review-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 8px;
    font-size: 12px;
    color: #64748b;
}

.woodmart-child-review-footer .woodmart-child-review-sep {
    color: #94a3b8;
}

.woodmart-child-review-footer button.woodmart-child-comment-vote,
.woodmart-child-review-footer a.comment-reply-link {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: none !important;
    min-height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    transition: color 0.15s ease;
}

.woodmart-child-review-footer button.woodmart-child-comment-vote:hover,
.woodmart-child-review-footer a.comment-reply-link:hover {
    color: #1e40af !important;
    text-decoration: underline !important;
}

.woodmart-child-review-footer button.woodmart-child-comment-vote.is-active {
    color: #2563eb !important;
}

.woodmart-child-review-date {
    color: #94a3b8;
}

.woodmart-child-review-footer .vote-icon {
    font-size: 14px;
    line-height: 1;
}

.woodmart-child-review-footer .vote-count {
    margin-left: 2px;
}

/* Review Guard Box styling (funny Aussie guard) */
.woocommerce-Reviews.woodmart-child-reviews-integrated {
    align-items: flex-start;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-reviews-summary,
.woocommerce-Reviews.woodmart-child-reviews-integrated.woodmart-child-review-logged-out > .woodmart-child-reviews-summary {
    order: 1;
    flex: 1 1 max(360px, 50%);
    width: auto !important;
    max-width: none;
    margin: 0 !important;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-review-entry {
    order: 2;
    flex: 1 1 max(360px, 50%);
    margin-top: 0;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-review-blocked.woodmart-child-review-entry {
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-review-blocked.woodmart-child-review-entry .guard-message {
    align-items: center;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > #comments.woodmart-child-reviews-comments,
.woocommerce-Reviews.woodmart-child-reviews-integrated.woodmart-child-review-logged-out > #comments.woodmart-child-reviews-comments {
    order: 3;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.wd-single-reviews.wd-layout-two-column .woocommerce-Reviews.woodmart-child-reviews-integrated > #comments.woodmart-child-reviews-comments {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > #comments.woodmart-child-reviews-comments .wd-reviews-content,
.woocommerce-Reviews.woodmart-child-reviews-integrated > #comments.woodmart-child-reviews-comments .commentlist {
    width: 100%;
}

.woocommerce-Reviews.woodmart-child-reviews-integrated > #review_form_wrapper {
    margin-top: 0;
}

.woodmart-child-review-no-submit #review_form_wrapper,
.woodmart-child-review-legacy-blocked {
    display: none !important;
}

.woodmart-child-review-guard-box {
    margin: 30px 0;
    padding: 24px;
    border-radius: 16px;
    background: #fff8e1;
    border: 1px solid #f4c430;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.wd-dark .woodmart-child-review-guard-box {
    background: #1f2937;
    border-color: #374151;
}

.woodmart-child-review-guard-box .guard-message {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.woodmart-child-review-blocked .guard-message {
    margin-bottom: 0; /* No extra spacing below */
}

.woodmart-child-review-guard-box .guard-icon {
    font-size: 32px;
    line-height: 1;
    color: #0f766e;
}

.woodmart-child-review-guard-box p.guard-text {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f3d3e;
    line-height: 1.5;
}

.wd-dark .woodmart-child-review-guard-box p.guard-text {
    color: #f1f5f9;
}

@media (max-width: 768.98px) {
    .woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-reviews-summary,
    .woocommerce-Reviews.woodmart-child-reviews-integrated > .woodmart-child-review-entry {
        flex-basis: 100%;
    }
}

/* Load More Button Wrapper & Styling */
.woodmart-child-reviews-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 24px 0 16px;
    width: 100%;
}

.woodmart-child-load-more-reviews {
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 32px !important;
    border-radius: 999px !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

.woodmart-child-load-more-reviews:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
}

.woodmart-child-load-more-reviews:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}
