/* ================================================
   Listing Detail Header
   ================================================ */

.listing-header {
    width: 100%;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ── Back link ── */
.listing-header__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-brown);
    font-family: var(--font-rubik);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    transition: color 0.2s ease;
    width: fit-content;
}

.listing-header__back i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.listing-header__back:hover {
    color: var(--main-color-orange);
}

.listing-header__back:hover i {
    transform: translateX(-3px);
}

/* ── Title row ── */
.listing-header__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.listing-header__title {
    color: var(--dark1);
    font-family: var(--font-helvetica);
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0;
}

.listing-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.listing-header__action {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark1);
    font-size: 20px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.listing-header__action:hover {
    color: var(--main-color-orange);
    transform: scale(1.1);
}

/* ── Breadcrumb ── */
.listing-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.listing-header__breadcrumb-item {
    color: var(--dark-brown);
    font-family: var(--font-rubik);
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.listing-header__breadcrumb-item:hover {
    color: var(--main-color-orange);
}

.listing-header__breadcrumb-item--active {
    color: var(--main-color-orange);
    font-weight: var(--font-weight-regular);
}

.listing-header__breadcrumb-sep {
    font-size: 8px;
    color: var(--dark1);
}

/* ── Features ── */
.listing-header__features {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
}

.listing-header__feature {
    min-width: 100px;
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-base);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-header__feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.listing-header__feature-top {
    display: flex;
    align-items: center;
    gap: 4px;
}

.listing-header__feature-icon {
    font-size: 18px;
    color: var(--main-color-orange);
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.listing-header__feature:hover .listing-header__feature-icon {
    color: var(--main-color-orange);
    font-weight: 900;
}

.listing-header__feature-value {
    color: var(--dark-brown);
    font-family: var(--font-rubik);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
}

.listing-header__feature-label {
    color: var(--dark-brown);
    font-family: var(--font-rubik);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 18px;
}

/* ── Share dropdown ── */
.listing-header__share-wrap {
    position: relative;
}

.listing-header__share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius-base);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 100;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.listing-header__share-dropdown[hidden] {
    display: none;
}

.listing-header__share-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-family: var(--font-rubik);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark1);
    text-decoration: none;
    transition: background 0.15s ease;
}

.listing-header__share-item:hover {
    background: var(--light-warm, #F8F2EF);
    color: var(--dark1);
}

.listing-header__share-item i {
    width: 18px;
    text-align: center;
    font-size: 16px;
    color: var(--main-color-orange);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .listing-header {
        padding: 20px 0;
    }

    .listing-header__title {
        font-size: 30px;
    }

    .listing-header__breadcrumb-item {
        font-size: 14px;
    }

    .listing-header__back {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .listing-header__title {
        font-size: 24px;
    }

    .listing-header__title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .listing-header__features {
        gap: 6px;
    }

    .listing-header__feature {
        min-width: 70px;
    }
}
