/* Host profile page — /host/{slug}/ */

.guest-share-page .site-mobile-tabs-wrap {
    display: none !important;
}

.guest-share-page .site-footer {
    display: none;
}

.guest-share-page .ks-whatsapp {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

.guest-share-page .site-nav__links {
    display: none;
}

.host-page__section {
    border-bottom: none;
}

.host-profile-desktop {
    display: none;
}

.host-profile-mobile {
    display: block;
    margin-bottom: 20px;
}

.host-section__title--desktop {
    display: none;
}

.host-section__title--mobile {
    display: block;
}

.host-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

.host-card__cover {
    height: 72px;
    background: linear-gradient(135deg, #d4ddd0 0%, #e8ede5 45%, #f3f5f2 100%);
}

.host-page--preferred .host-card__cover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 55%, #4b5563 100%);
}

.host-card__cover--mobile {
    height: 48px;
}

.host-card__body--mobile {
    padding: 0 16px 16px;
}

.host-card__mobile-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: -32px;
}

.host-card__avatar-wrap--mobile {
    margin-top: 0;
    flex-shrink: 0;
}

.host-card__avatar--mobile {
    width: 72px;
    height: 72px;
    border-width: 3px;
}

.host-card__avatar--mobile.host-card__avatar--fallback {
    font-size: 1.375rem;
}

.host-card__intro--mobile {
    flex: 1;
    min-width: 0;
    padding-bottom: 2px;
}

.host-name--mobile {
    font-size: 1.25rem;
}

.host-card__headline--mobile {
    margin-top: 4px;
    font-size: 0.875rem;
}

.host-card--mobile .host-card__meta {
    margin-top: 12px;
    font-size: 12px;
}

.host-card__mobile-cta {
    margin-top: 14px;
}

.host-card__cta--inline {
    width: 100%;
    margin-top: 0;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
}

.host-card__body {
    padding: 0 0 20px;
}

.host-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 20px;
    padding: 0 20px;
}

.host-card__avatar-wrap {
    flex-shrink: 0;
    margin-top: -44px;
}

.host-avatar,
.host-card__avatar {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.host-card__avatar--summary {
    width: 40px;
    height: 40px;
    margin-top: 0;
    border-width: 2px;
    flex-shrink: 0;
}

.host-card__avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e5ebe1 0%, #cfd8c9 100%);
    color: #374151;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.host-card__avatar--summary.host-card__avatar--fallback {
    font-size: 0.875rem;
}

.host-card__intro {
    flex: 1 1 180px;
    min-width: 0;
    padding-bottom: 2px;
}

.host-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.host-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #191919;
}

.host-card__headline {
    margin: 6px 0 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
    color: #4b5563;
}

.host-card__headline--mobile {
    margin: 0 0 10px;
}

.host-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.host-badge__icon {
    font-size: 11px;
    line-height: 1;
}

.host-badge--verified {
    background: #ecfdf5;
    color: #047857;
}

.host-badge--preferred {
    background: #111827;
    color: #facc15;
}

.host-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.host-card__meta-item {
    display: inline;
}

.host-card__meta-item + .host-card__meta-item::before {
    content: '·';
    margin: 0 8px;
    color: #9ca3af;
}

.host-card__actions {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 4px;
}

.host-card__about {
    margin: 18px 20px 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.host-card__about-title {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #191919;
}

.host-card__bio {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
    white-space: pre-line;
}

.host-profile-more .host-card__about {
    margin: 0;
    padding-top: 0;
    border-top: none;
}

.host-profile-more .host-card__about--plain .host-card__bio {
    margin: 0;
}

.host-card__cta--dark {
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    transition: background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.host-card__cta--dark:hover {
    background: #030712;
    border-color: #030712;
    color: #fff;
}

.hidden {
    display: none !important;
}

@media (min-width: 640px) {
    .sm\:block {
        display: inline-flex !important;
    }
}

.host-page--preferred .marketplace-card,
.marketplace-card--preferred-host {
    box-shadow:
        0 0 0 1px rgba(250, 204, 21, 0.55),
        0 0 0 3px rgba(52, 56, 54, 0.08),
        0 12px 28px rgba(52, 56, 54, 0.08);
}

.host-page--preferred .marketplace-card__link,
.marketplace-card--preferred-host .marketplace-card__link {
    border-color: rgba(250, 204, 21, 0.45);
}

.host-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    font-size: 14px;
    text-decoration: none;
}

.host-card__cta--desktop {
    display: none;
    width: auto;
    min-width: 240px;
    margin-top: 16px;
    text-decoration: none;
}

.host-trust-banner {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(122, 140, 102, 0.1);
    border: 1px solid rgba(122, 140, 102, 0.18);
}

.host-profile-more .host-trust-banner {
    margin-top: 0;
    margin-bottom: 14px;
}

.host-trust-banner__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 600;
    color: var(--brand-900, #343836);
    text-align: center;
}

.host-listings {
    margin-bottom: 24px;
}

.host-section__title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-900, #343836);
}

.host-profile-more {
    margin-bottom: 24px;
    border: 1px solid var(--brand-200, #e1e7de);
    border-radius: 16px;
    background: var(--white, #fff);
    overflow: hidden;
}

.host-profile-more__summary {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--brand-900, #343836);
}

.host-profile-more__summary::-webkit-details-marker {
    display: none;
}

.host-profile-more__summary::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid var(--brand-800, #5e6360);
    border-bottom: 2px solid var(--brand-800, #5e6360);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.host-profile-more[open] .host-profile-more__summary::after {
    transform: rotate(-135deg);
}

.host-profile-more__label {
    font-size: 0.9375rem;
    line-height: 1.3;
}

.host-profile-more__body {
    padding: 0 16px 16px;
    border-top: 1px solid var(--brand-200, #e1e7de);
}

.host-reviews {
    margin-bottom: 32px;
}

.host-reviews__grid {
    display: grid;
    gap: 14px;
}

.host-review {
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--brand-200, #e1e7de);
}

.host-review__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.host-review__author {
    font-weight: 800;
    font-size: 14px;
    color: var(--brand-900, #343836);
}

.host-review__rating {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-accent, #7a8c66);
}

.host-review__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--brand-800, #5e6360);
}

.host-review__stay {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--brand-800, #5e6360);
    opacity: 0.85;
}

.host-footer {
    padding: 0 0 40px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: var(--brand-800, #5e6360);
}

.host-footer__powered {
    margin: 10px 0 0;
}

.host-footer a {
    color: var(--brand-accent, #7a8c66);
    font-weight: 700;
    text-decoration: none;
}

.host-empty,
.host-error {
    max-width: 560px;
    margin: 48px auto;
    padding: 0 20px;
    text-align: center;
    color: var(--brand-800, #5e6360);
}

.extended-detail-page--guest .extended-detail__back a {
    font-weight: 700;
}

.extended-detail-page--guest .extended-detail__guest-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(122, 140, 102, 0.12);
    color: var(--brand-accent, #7a8c66);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.op-share-card {
    margin-top: 22px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(122, 140, 102, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid var(--brand-200, #e1e7de);
}

.op-share-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
}

.op-share-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.op-share-row input {
    flex: 1;
    min-width: 0;
    font-size: 13px;
}

.op-share-row .op-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.op-share-listing {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--brand-200, #e1e7de);
}

.op-share-hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--brand-800, #5e6360);
}

@media (max-width: 639px) {
    .host-profile-desktop {
        display: none;
    }

    .host-profile-mobile {
        display: block;
    }

    .host-profile-more {
        display: block;
    }
}

@media (min-width: 640px) {
    .host-profile-desktop {
        display: block;
        margin-bottom: 1.25rem;
    }

    .host-profile-mobile {
        display: none;
    }

    .host-profile-more {
        display: none;
    }

    .host-section__title--desktop {
        display: block;
    }

    .host-section__title--mobile {
        display: none;
    }

    .host-card__header {
        padding: 0 24px;
        flex-wrap: nowrap;
    }

    .host-card__avatar-wrap {
        margin-top: -48px;
    }

    .host-avatar,
    .host-card__avatar {
        width: 120px;
        height: 120px;
    }

    .host-name {
        font-size: 1.625rem;
    }

    .host-card__actions {
        flex: 0 0 auto;
        margin-left: auto;
        justify-content: flex-end;
        align-self: center;
    }

    .host-card__about {
        margin-left: 24px;
        margin-right: 24px;
    }

    .host-card__cta--desktop.sm\:block {
        display: inline-flex !important;
    }

    .host-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .host-listings {
        margin-bottom: 32px;
    }
}

@media (min-width: 768px) {
    .host-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
