/* ================================================
   Listing Host Card — Carte profil loueur
   ================================================ */

.listing-host-card {
    width: 100%;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ── Profile ── */
.listing-host-card__profile {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 0.5px solid var(--dark5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.listing-host-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.listing-host-card__avatar--placeholder {
    background: var(--light2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-host-card__avatar--placeholder i {
    font-size: 24px;
    color: var(--dark4);
}

.listing-host-card__avatar--initials {
    background: var(--main-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-helvetica);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    user-select: none;
}

.listing-host-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.listing-host-card__name {
    color: var(--dark-brown);
    font-family: var(--font-helvetica);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
}

.listing-host-card__type {
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
}

.listing-host-card__member-since {
    color: var(--dark4);
    font-family: var(--font-rubik);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
}

.listing-host-card__languages {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.listing-host-card__lang-flag {
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

/* ── Trust badge ── */
.listing-host-card__badge {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #37241C 0%, #5c3a28 100%);
    border-radius: var(--border-radius-base);
    box-shadow: 0 4px 16px rgba(55, 36, 28, 0.25);
    transition: background 0.2s ease;
    cursor: default;
}

.listing-host-card__badge:hover {
    background: var(--main-color-orange);
}

.listing-host-card__badge:hover .listing-host-card__badge-icon {
    background: var(--white);
}

.listing-host-card__badge:hover .listing-host-card__badge-icon i {
    color: var(--main-color-orange);
}

.listing-host-card__badge-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--main-color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.listing-host-card__badge-icon i {
    font-size: 22px;
    color: var(--white);
    transition: color 0.2s ease;
}

.listing-host-card__badge-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listing-host-card__badge-label {
    color: var(--white);
    font-family: var(--font-rubik);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.listing-host-card__badge-sub {
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-rubik);
    font-size: 12px;
    font-weight: 400;
}

/* ── Contact button ── */
.listing-host-card__contact {
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--main-color);
    box-shadow: -2px 2px 7px #DDDDDD;
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-family: var(--font-helvetica);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.listing-host-card__contact:hover {
    background: var(--main-color-orange);
    color: var(--white);
    border-color: var(--main-color-orange);
    transform: translateY(-1px);
}

/* ── Reviews ── */
.listing-host-card__reviews {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--light2, #f9f7f5);
    border-radius: var(--border-radius-small);
}

.listing-host-card__reviews-stars {
    display: flex;
    gap: 3px;
}

.listing-host-card__star {
    font-size: 14px;
    color: var(--dark-yellow, #f5a623);
}

.listing-host-card__star--empty {
    color: var(--dark5, #ddd);
}

.listing-host-card__reviews-label {
    color: var(--dark2);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: 600;
}

.listing-host-card__reviews-count {
    color: var(--dark4);
    font-weight: 400;
    font-size: 13px;
}

/* ── Meta rows (response rate, chèques vacances) ── */
.listing-host-card__meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark3);
    font-family: var(--font-rubik);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
}

.listing-host-card__meta-icon {
    font-size: 11px;
    color: var(--dark4);
    flex-shrink: 0;
}

.listing-host-card__cheques--ok {
    color: var(--main-color);
}

.listing-host-card__cheques--no {
    color: var(--dark3);
}

/* ── All rentals link ── */
.listing-host-card__all-rentals {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
    margin-top: 4px;
}

.listing-host-card__all-rentals:hover {
    color: var(--main-color-orange);
    gap: 12px;
}

.listing-host-card__all-rentals i {
    font-size: 12px;
}

/* ── Contact info reveal (revealed only after credited prior contact) ── */
.listing-host-card__contact-info {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    border: 1px solid color-mix(in srgb, var(--main-color-orange) 22%, transparent);
    border-radius: var(--border-radius-base);
    box-shadow: 0 2px 8px rgba(232, 122, 53, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.listing-host-card__contact-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed color-mix(in srgb, var(--main-color-orange) 30%, transparent);
}

.listing-host-card__contact-info-header-icon {
    font-size: 12px;
    color: var(--main-color-orange);
    background: color-mix(in srgb, var(--main-color-orange) 14%, transparent);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listing-host-card__contact-info-title {
    color: var(--dark-brown);
    font-family: var(--font-rubik);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.listing-host-card__contact-info-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.listing-host-card__contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--border-radius-small);
    color: var(--dark2);
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.listing-host-card__contact-row:hover {
    background: color-mix(in srgb, var(--main-color-orange) 8%, transparent);
    color: var(--main-color-orange);
    transform: translateX(2px);
}

.listing-host-card__contact-icon-wrap {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark3);
    font-size: 13px;
    transition: color 0.18s ease;
}

.listing-host-card__contact-row:hover .listing-host-card__contact-icon-wrap {
    color: var(--main-color-orange);
}

.listing-host-card__contact-value {
    flex: 1;
    word-break: break-all;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .listing-host-card__contact-info {
        padding: 12px;
    }
    .listing-host-card__contact-row {
        font-size: 13px;
        padding: 7px 8px;
    }
    .listing-host-card__contact-value {
        word-break: break-word;
    }
}
