/* === КОНТЕНТ СТРАНИЦЫ === */
/* Основная информация, удобства, правила, календарь, локация, отзывы */

/* === ОСНОВНАЯ ИНФОРМАЦИЯ === */
.object-header {
    margin-bottom: 24px;
}

.object-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #222;
}

.object-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #717171;
    flex-wrap: wrap;
}

.object-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #222;
    font-weight: 600;
}

.object-rating i {
    color: #ff385c;
}

.meta-separator {
    color: #ddd;
}

.object-reviews-link {
    color: #222;
    text-decoration: underline;
}

.object-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.object-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 24px;
}

.stat-separator {
    color: #ddd;
}

.section-divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 32px 0;
}

.object-host {
    display: flex;
    align-items: center;
    gap: 16px;
}

.host-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.host-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.superhost-badge {
    background: linear-gradient(135deg, #ff385c 0%, #ff8c00 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.host-member-since {
    font-size: 14px;
    color: #717171;
}

.object-type {
    display: flex;
    gap: 16px;
}

.object-type i {
    font-size: 24px;
    color: #222;
}

.object-type strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.object-type p {
    font-size: 14px;
    color: #717171;
    margin: 0;
}

.object-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 16px;
}

.description-text {
    font-size: 18px;
    line-height: 1.7;
    color: #222;
}

.show-more-btn {
    background: none;
    border: none;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === УДОБСТВА === */
.object-amenities h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 24px;
}

.amenities-section {
    margin-bottom: 24px;
}

.amenities-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #717171;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
}

.amenity-item i {
    font-size: 28px;
    color: #222;
    width: 36px;
}

.show-all-amenities-btn {
    background: none;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.show-all-amenities-btn:hover {
    background: #f7f7f7;
}

/* === ПРАВИЛА === */
.object-rules h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 24px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rule-item i {
    font-size: 24px;
    color: #222;
    width: 28px;
}

.rule-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.rule-content span {
    font-size: 14px;
    color: #717171;
}

/* === КАЛЕНДАРЬ === */
.object-calendar h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.calendar-subtitle {
    font-size: 14px;
    color: #717171;
    margin: 0 0 24px;
}

.calendar-wrapper {
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.calendar-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.available {
    background: #e8f5e9;
    border: 1px solid #4caf50;
}

.legend-color.booked {
    background: #ffebee;
    border: 1px solid #f44336;
}

.legend-color.selected {
    background: #e3f2fd;
    border: 1px solid #2196f3;
}

.calendar-info {
    font-size: 14px;
    color: #717171;
}

.calendar-info i {
    color: #2196f3;
}

/* === ЛОКАЦИЯ === */
.object-location h2,
.object-location h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
}

.location-map {
    margin-bottom: 24px;
}

.location-address {
    margin-bottom: 24px;
}

.location-address strong {
    font-size: 16px;
}

.location-note {
    font-size: 14px;
    color: #717171;
    margin-top: 8px;
}

.location-district p {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nearby-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nearby-item i {
    font-size: 24px;
    color: #222;
    width: 32px;
}

.nearby-content strong {
    display: block;
    font-size: 16px;
}

.nearby-content span {
    font-size: 14px;
    color: #717171;
}

/* === ОТЗЫВЫ === */
.object-reviews h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.object-reviews h2 i {
    color: #ff385c;
}

.reviews-ratings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-label {
    font-size: 14px;
    min-width: 100px;
}

.rating-bar {
    flex: 1;
    height: 4px;
    background: #ebebeb;
    border-radius: 2px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #222;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 24px;
}

.review-item {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 24px;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.review-date {
    font-size: 14px;
    color: #717171;
}

.review-rating i {
    color: #ff385c;
    font-size: 12px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    margin: 0;
}

.show-all-reviews-btn {
    background: none;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.show-all-reviews-btn:hover {
    background: #f7f7f7;
}
