/* Стили для полностью белой темы страницы просмотра объекта */

body {
    background: #e6edfa !important;
    padding: 0 !important;
}

.main-content, .property-section, .content-section, .property-container {
    background: transparent !important;
}

.property-gallery-wrapper, .property-gallery, .glass-card, .property-info, .property-details, .property-description-block, .property-features-block, .property-description, .property-features, .card, .section, .info-block, .property-main, .modal-content, .owner-contact, .property-rating-overlay, .share-buttons, .price-calculation, .phone-number, .no-contact, .map-info, .mainSwiper, .thumbSwiper {
    background: #fff !important;
    color: #232a3a !important;
    box-shadow: none !important;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    backdrop-filter: none !important;
}

.property-rating-overlay {
    background: #fff !important;
    color: #232a3a !important;
    border: 1px solid #e5e7eb;
}

.share-buttons {
    background: #fff !important;
    color: #232a3a !important;
    border: 1px solid #e5e7eb;
}

.price-calculation, .phone-number, .no-contact, .map-info {
    background: #fff !important;
    color: #232a3a !important;
    border: 1px solid #e5e7eb;
}

.top-nav, .nav-container {
    background: #39AAF5FF !important;
    color: #bfc6d1 !important;
}

.site-footer {
    background: #F7F7F7FF !important;
    color: #bfc6d1 !important;
}

.bottom-nav {
    background: #203A5DFF !important;
    color: #D4D4D4FF !important;
}

.nav-item {
    color: #bfc6d1 !important;
}

.nav-item.active,
.nav-item:active,
.nav-item:focus {
    color: #3a6cff !important;
}

hr, .divider, .section-separator {
    border: none;
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
    height: 1px;
    margin: 16px 0;
}

/* Стили для блока отзывов и рейтинга — полностью белый фон (глубокое перекрытие) */
.reviews-block, .rating-block, .reviews-rating, .reviews-summary, .reviews-header, .reviews-content, .reviews-list, .review-card, .rating-block, .rating-stars, .rating-info, .no-reviews, .reviews-empty, .reviews-panel, .reviews-section, .reviews-container, .rating-summary, .rating-stars-row, .rating-value, .rating-count, .reviews-main, .reviews-inner, .reviews-body, .reviews-footer {
    background: #fff !important;
    color: #232a3a !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
}

/* Стили для блока описания квартиры — полностью белый фон */
.description-section {
    background: linear-gradient(135deg, #f3f6fd 0%, #e6edfa 60%, #f3f6fd 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(58, 108, 255, 0.07);
    padding: 32px 28px 24px 28px;
    margin-bottom: 24px;
    position: relative;
}
.description-section h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
}
.description-content {
    background: linear-gradient(90deg, #e6edfa 0%, #fff 60%, #e6edfa 100%);
    border-radius: 14px;
    padding: 22px 20px;
    font-size: 1.13rem;
    color: #232a3a !important;
    box-shadow: 0 2px 12px rgba(58, 108, 255, 0.06);
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.7;
}

.description-accordion.collapsed:after {
    background: none !important;
}

/* Яркий контент на белом фоне */
h1, h2, h3, .property-title {
    color: #1976d2 !important;
    font-weight: 700;
}

.price, .amount, .currency, .rating-number {
    color: #1976d2 !important;
    font-weight: 700;
}

.detail-item i, .amenity-item i {
    color: #00c2ff !important;
    font-size: 1.2em;
}

/* Яркий сине-розовый градиент для акцентов и кнопок */
.gradient-button, .contact-button, .share-btn, .btn-primary, .language-btn {
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(58, 108, 255, 0.08);
    border-radius: 12px !important;
}

.gradient-button:hover, .contact-button:hover, .share-btn:hover, .btn-primary:hover, .language-btn:hover {
    background: linear-gradient(90deg, #ff4ecd 0%, #3a6cff 100%) !important;
    color: #fff !important;
}

h1, h2, h3, .property-title, .price, .amount, .currency, .rating-number, .active, .nav-item.active {
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
}

.site-header {
    background: #203A5D !important;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0 !important;
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo, .gradient-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
}

.main-content, .property-container, .property-gallery-wrapper, .glass-card, .property-info, .property-details, .property-description-block, .property-features-block, .property-description, .property-features, .card, .section, .info-block, .property-main, .reviews-block, .rating-block, .reviews-section, .owner-contact, .property-map, .modal-content {
    margin: 0 !important;
    margin-bottom: 16px !important;
}

.property-gallery, .mainSwiper, .thumbSwiper, .slide-inner, .thumb-inner, .gallery-image, .property-gallery img, .mainSwiper img, .thumbSwiper img, img {
    border: none !important;
    box-shadow: none !important;
}

/* Современное модальное окно авторизации */
#authModal {
    background: none !important;
}
#authModal .modal-content {
    background: #fff !important;
    color: #232a3a !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(58, 108, 255, 0.12);
    padding: 40px 32px 32px 32px !important;
    text-align: center;
    border: none !important;
    max-width: 400px;
    margin: 60px auto;
}
#authModal h2 {
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}
#authModal p {
    color: #8a8fa7 !important;
    font-size: 1.1rem;
    margin-bottom: 32px;
}
#authModal .auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
#authModal .gradient-button {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 16px 0 !important;
    border-radius: 14px !important;
}
#authModal .gradient-button.secondary {
    background: linear-gradient(90deg, #ff4ecd 0%, #3a6cff 100%) !important;
}
#authModal .gradient-button:hover {
    background: linear-gradient(90deg, #ff4ecd 0%, #3a6cff 100%) !important;
}
#authModal .close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 1.2rem;
    color: #8a8fa7;
    background: none;
    border: none;
    cursor: pointer;
}
.modal-backdrop.show {
    opacity: 0 !important;
    background: none !important;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 18px;
    margin-top: 12px;
    justify-content: flex-start;
    max-height: none;
    overflow: visible;
}
.amenity-item {
    flex: 0 0 calc(33.333% - 12px);
    box-sizing: border-box;
}
.amenity-item.amenity-hidden {
    display: none !important;
}
.amenities-grid.expanded .amenity-item {
    display: flex !important;
}
.show-all-amenities-btn {
    display: block;
    margin: 18px auto 0 auto;
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.show-all-amenities-btn:hover {
    background: linear-gradient(90deg, #ff4ecd 0%, #3a6cff 100%);
}
.amenity-item i {
    font-size: 2rem;
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 8px;
}
.amenity-item span {
    color: #232a3a !important;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.share-section {
    margin: 24px 0 0 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(58, 108, 255, 0.08);
    padding: 18px 18px 0 18px;
    position: relative;
}
.share-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(90deg, #3a6cff 0%, #ff4ecd 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s;
}
.share-toggle-btn:hover {
    background: linear-gradient(90deg, #ff4ecd 0%, #3a6cff 100%);
}
.share-buttons-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4,2,.6,1);
    margin-bottom: 0;
}
.share-section.open .share-buttons-collapsible {
    max-height: 300px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .owner-contact h2 {
        text-align: center !important;
        font-size: 1.35rem !important;
        margin-bottom: 18px !important;
    }
    .owner-info-block img, .owner-info-block span[style*="font-size"] {
        width: 72px !important;
        height: 72px !important;
        font-size: 2.2em !important;
        margin: 0 auto 8px auto !important;
        display: block !important;
    }
    .owner-info-block span[style*="font-size"] {
        font-size: 1.25em !important;
        font-weight: 700 !important;
        margin-top: 8px !important;
    }
}
