/*
Theme Name: ListingHive Child
Theme URI: https://myonlyproperty.com
Author: Erika
Author URI: https://myonlyproperty.com
Description: Child theme for ListingHive. Inherits all functionality and styling from the parent theme.
Template: listinghive
Version: 1.0
Text Domain: listinghive-child
*/

/* ========== Your Custom CSS Goes Here ========== */

.hp-template--listings-edit-page .hp-listings.hp-table {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px;
}

.hp-listing--edit-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.hp-listing__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hp-listing__price {
    font-size: 18px;
    font-weight: 700;
    padding: 10px 15px;
    color: #222;
}

.hp-listing__title a {
    font-size: 16px;
    font-weight: 600;
    padding: 6px 15px;
    display: block;
}

.hp-listing__details {
    font-size: 14px;
    color: #666;
    padding: 0 15px 10px 15px;
}

.hp-listing__favorites-count {
    font-size: 12px;
    color: #fff;
    background: #ff3b5c;
    padding: 4px 8px;
    border-radius: 10px;
    margin: 0 15px 10px 15px;
    display: inline-block;
}

.hp-listing__actions {
    display: flex;
    gap: 10px;
    padding: 12px 15px 15px 15px;
}

.hp-listing__actions a {
    background: #f7f7f7;
    color: #222;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: 0.2s ease;
}

.hp-listing__actions a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 768px) {
    .hp-template--listings-edit-page .hp-listings.hp-table {
        grid-template-columns: 1fr !important;
    }
}


.hp-custom-profile-box {
    text-align: center;
    padding: 18px 15px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 18px;
}

.hp-custom-profile-box .avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.hp-custom-profile-box .name {
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
}

.hp-custom-profile-box .status {
    font-size: 13px;
    margin-top: 4px;
}

.hp-custom-profile-box .status.online {
    color: #06c258;
}
