/*
 * PHP is the primary enforcement layer. These selectors are only a visual
 * fallback for late theme/extension wrappers or cached fragments.
 */
.hp-listing--view-block .hp-listing__created-date,
.hp-listing--view-block .hp-listing__action--favorite,
.hp-listing--view-block .hp-listing__action--favourite,
.hp-listing--view-block [class*="hp-listing__action--favorite"],
.hp-listing--view-block [class*="hp-listing__action--favourite"],
.hp-listing--view-block .hp-listing__action--comment,
.hp-listing--view-block [class*="hp-listing__action--comment"],
.hp-listing--view-block .hp-listing__action--review,
.hp-listing--view-block [class*="hp-listing__action--review"],
.hp-listing--view-block .hp-listing__comments,
.hp-listing--view-block .hp-listing__comment-count,
.hp-listing--view-block .hp-listing__reviews,
.hp-listing--view-block .hp-listing__reviews-link,
.hp-listing--view-block .hp-listing__review-count,
.hp-listing--view-block .hp-listing__rating {
    display: none !important;
}

/* Exact marketplace landing only. Search/filter controls and category cards stay visible. */
.urf-marketplace-landing-listings-suppressed .hp-listings,
.urf-marketplace-landing-listings-suppressed .hp-listings-view .hp-listings,
.urf-marketplace-landing-listings-suppressed .hp-form--listing-sort,
.urf-marketplace-landing-listings-suppressed .hp-pagination {
    display: none !important;
}

/* Portal-wide comments/reviews fallback; no stored data is deleted. */
.urf-comments-disabled #comments,
.urf-comments-disabled .comments-area,
.urf-comments-disabled .comment-respond,
.urf-comments-disabled .comment-form,
.urf-comments-disabled .hp-reviews,
.urf-comments-disabled .hp-review,
.urf-comments-disabled .hp-review-submit-link,
.urf-comments-disabled .hp-listing__rating,
.urf-comments-disabled .hp-vendor__rating,
.urf-comments-disabled [class*="review-submit"],
.urf-comments-disabled [class*="review-reply"] {
    display: none !important;
}

/* Exact HivePress Messages output. The direct selectors do not depend on a body class. */
.hp-listing--view-block .hp-listing__action--message,
.hp-listing--view-page .hp-listing__action--message,
.hp-vendor__action--message,
.hp-user__action--message,
.urf-messages-disabled [class*="__action--message"],
.urf-messages-disabled .hp-form--message-send,
.urf-messages-disabled [class*="message-send"] {
    display: none !important;
}
