/* Описание объекта */
.object-description-section {
    margin: -20px 0 40px 0;
}

.object-description-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main, #f8fafc);
    margin: 0 0 16px 0;
}

.description-content {
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
    transition: max-height 0.25s ease;
}

.description-content.object-description-collapsed {
    overflow: hidden;
}

.description-content.object-description-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg-main, #000));
}

.description-content.object-description-expanded {
    overflow: visible;
    max-height: none !important;
}

.description-content.object-description-expanded::after {
    display: none;
}

.description-content p {
    margin: 0 0 12px 0;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.description-toggle-btn {
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 18px;
    border: 1px solid var(--gold, #fbbf24);
    border-radius: 14px;
    background: transparent;
    color: var(--gold, #fbbf24);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.description-toggle-btn:hover {
    background: var(--gold, #fbbf24);
    color: #0f172a;
}

/* Объединенная секция: Правила дома + Хозяин + Особенности */

.combined-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 48px;
}

.combined-info-section .rules-column {
    grid-column: 1;
    grid-row: 1;
}

.combined-info-section .host-features-column {
    grid-column: 2;
    grid-row: 1 / 3;
}

.combined-info-section .property-features {
    grid-column: 1;
    grid-row: 2;
}

/* Левая колонка: Правила дома */
.rules-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rules-column .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main, #f8fafc);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-column .section-title i {
    color: var(--gold, #fbbf24);
    font-size: 20px;
}

/* Список правил */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rule-item i {
    font-size: 18px;
    color: var(--gold, #fbbf24);
    flex-shrink: 0;
    margin-top: 2px;
}

.rule-item.rule-not-allowed i {
    color: var(--gold, #fbbf24);
}

.rule-content {
    flex: 1;
}

.rule-content strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main, #f8fafc);
    margin-bottom: 2px;
}

.rule-content p {
    font-size: 13px;
    color: var(--text-secondary, #cbd5e1);
    margin: 0;
    line-height: 1.4;
}

/* Характеристики жилья в виде плиток */
.property-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.feature-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: transparent;
    border-radius: 20px;
    border: 1px solid var(--gold, #fbbf24);
}

.feature-tile i {
    font-size: 20px;
    color: var(--gold, #fbbf24);
}

.feature-info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}

.feature-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #f8fafc);
    line-height: 1;
}

.feature-label {
    font-size: 13px;
    color: var(--text-secondary, #cbd5e1);
}

/* Правая колонка: Хозяин + Особенности */
.host-features-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Карточка хозяина */
.host-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    border: 2px solid var(--gold, #fbbf24);
}

.host-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-main, #0f172a);
}

.host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-main, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 28px;
    color: var(--text-secondary, #cbd5e1);
}

.host-details h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main, #f8fafc);
    margin: 0 0 4px 0;
}

.host-member-since {
    font-size: 13px;
    color: var(--text-secondary, #cbd5e1);
    margin: 0;
}

/* Имя хозяина и статус в одной строке */
.host-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.host-name-row h3 {
    margin: 0;
}

/* Бейдж статуса хозяина */
.owner-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.owner-status-badge.status-owner {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.owner-status-badge.status-verified {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.owner-status-badge.status-excellent {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: var(--gold, #fbbf24);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

/* Подтверждение документов */
.host-verified {
    font-size: 12px;
    color: #4ade80;
    margin: 6px 0 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.host-verified i {
    font-size: 14px;
}

/* Аватар-плейсхолдер с инициалами */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold, #fbbf24), #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
}

/* Особенности размещения */
.host-features-column .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main, #f8fafc);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.host-features-column .section-title i {
    color: var(--gold, #fbbf24);
    font-size: 20px;
}

/* Список особенностей */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-item i {
    font-size: 18px;
    color: var(--gold, #fbbf24);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content {
    flex: 1;
}

.feature-content strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main, #f8fafc);
    margin-bottom: 2px;
}

.feature-content p {
    font-size: 13px;
    color: var(--text-secondary, #cbd5e1);
    margin: 0;
    line-height: 1.4;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .combined-info-section {
        gap: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .combined-info-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .host-info-card {
        padding: 16px;
    }
    
    .host-avatar {
        width: 48px;
        height: 48px;
    }
    
    .host-details h3 {
        font-size: 15px;
    }
    
    .host-member-since {
        font-size: 12px;
    }
}
