:root {
    --hb-property-photo-radius: 18px;
}

/* Shared photo corners, including inline host/admin upload previews.
   Keep controls, avatars, and non-property imagery independent. */
body :is(
    .property-image,
    .property-loading-image,
    .category-image,
    .property-gallery,
    .photo-grid,
    .room-category-photo,
    .share-preview-image-wrap,
    .stay-summary-card img,
    .property-images img,
    .current-image-item,
    .current-image-item img,
    .preview-item,
    .preview-item img,
    .edit-category-photo-thumb
) {
    border-radius: var(--hb-property-photo-radius) !important;
}

/* Cards that clip a full-width photo must use the same corners. */
body .property-card:has(.property-image),
body .category-card:has(.category-image) {
    border-radius: var(--hb-property-photo-radius) !important;
}

/* Round the photo, leaving listing text outside the rounded clipping area. */
body .hb-property-listings .property-card,
body .hb-category-gallery .category-card {
    border-radius: 0 !important;
    overflow: visible;
}
