/* ============================================
   КОММЕРЧЕСКИЕ ОБЪЕКТЫ - ДЕТАЛЬНЫЕ БЛОКИ
   ============================================ */

/* ----- ОБЩИЕ СТИЛИ СЕКЦИЙ ----- */
.commercial-object-section {
    padding: 60px 0;
}

.commercial-advantages-section {
    margin: 10px 0;
}

.commercial-map-section {
    padding: 0 0 60px 0;
}

/* ----- ЗАГОЛОВКИ ----- */
.commercial-object-title {
    text-align: left;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 28px;
}

.commercial-object-subtitle {
    text-align: left;
    margin: 0 0 20px 0;
    font-weight: 600;
    font-size: 24px;
}

.commercial-section-title {
    text-align: left;
    margin: 0 0 20px;
    font-weight: 600;
    font-size: 24px;
}

/* ----- ХАРАКТЕРИСТИКИ ОБЪЕКТА ----- */
.commercial-object-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.commercial-object-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
}

.commercial-object-features li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #039bdc;
    font-size: 20px;
    line-height: 1;
}

/* ----- КНОПКИ ----- */
.commercial-object-btns {
    margin: 60px 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.commercial-object-btns .btn {
    flex: 1 1 auto;
    min-width: 180px;
    border: solid 3px #2c5f7c;
    border-radius: 18px;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
}

.commercial-object-btns .btn:hover {
    transform: translateY(-2px);
}

/* ----- ПРЕИМУЩЕСТВА ----- */
.commercial-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 20px;
}

.commercial-advantages-list li {
    margin-bottom: 8px;
    padding-left: 8px;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.commercial-advantages-list i {
    margin-right: 8px;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ----- ВИДЕО БЛОК ----- */
.video-thumb {
    cursor: pointer;
    user-select: none;
}

.video-thumb-inner {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
}

.video-thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.video-thumb:hover .video-thumb-inner img {
    opacity: 1;
}

.thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #FAB514;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.video-thumb:hover .thumb-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ----- КАРТА ----- */
.map-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ----- CTA БЛОК (обсудить аренду) ----- */
.rent-cta {
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rent-cta-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
}

.rent-cta-phone {
    font-size: 24px;
    font-weight: 500;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rent-cta-phone a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rent-cta-phone a:hover {
    color: #039bdc;
}

.rent-cta-phone-icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.rent-cta-messengers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.rent-cta-messengers a {
    transition: transform 0.3s ease;
}

.rent-cta-messengers a:hover {
    transform: scale(1.1);
}

.rent-cta-messengers img {
    width: 60px;
    height: 60px;
}

.rent-cta-btn {
    margin: 60px 0 20px 0;
    width: 100%;
}

/* ============================================
   SWIPER ГАЛЕРЕИ КОММЕРЧЕСКИХ ОБЪЕКТОВ
   ============================================ */

/* ----- ОСНОВНОЙ СЛАЙДЕР ----- */
.commercial-gallery-main {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.commercial-gallery-main .swiper-slide {
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.commercial-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Навигационные стрелки */
.commercial-gallery-main .swiper-button-next,
.commercial-gallery-main .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #039bdc;
    transition: all 0.3s ease;
}

.commercial-gallery-main .swiper-button-next::after,
.commercial-gallery-main .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

.commercial-gallery-main .swiper-button-next:hover,
.commercial-gallery-main .swiper-button-prev:hover {
    background: #5a98cc;
    color: #fff;
}

/* ----- МИНИАТЮРЫ (THUMBNAILS) ----- */
.commercial-gallery-thumbs {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    padding: 0;
}

.commercial-gallery-thumbs .swiper-slide {
    width: 20% !important;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.commercial-gallery-thumbs .swiper-slide:hover {
    opacity: 0.8;
}

.commercial-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #039bdc;
}

.commercial-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшет */
@media (max-width: 991px) {
    .commercial-object-section,
    .commercial-advantages-section,
    .commercial-map-section {
        padding: 40px 0;
    }
    
    .commercial-object-title {
        font-size: 22px;
    }
    
    .commercial-object-subtitle,
    .commercial-section-title {
        font-size: 20px;
    }
    
    .commercial-object-btns {
        margin: 100px 0 20px 0;
    }
    
    .rent-cta {
        margin-top: 30px;
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .commercial-object-section {
        padding: 30px 0;
    }
    
    .commercial-advantages-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .commercial-map-section {
        padding: 0 0 40px 0;
    }
    
    .commercial-object-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .commercial-object-subtitle,
    .commercial-section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .commercial-object-features li,
    .commercial-advantages-list li {
        font-size: 14px;
    }
    
    .commercial-object-btns {
        margin: 60px 0 20px 0;
        flex-direction: column;
    }
    
    .commercial-object-btns .btn {
        width: 100%;
        min-width: 100%;
    }
    
    .commercial-advantages-list {
        margin-left: 10px;
    }
    
    .rent-cta {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .rent-cta-title {
        font-size: 18px;
    }
    
    .rent-cta-phone {
        font-size: 20px;
    }
    
    .rent-cta-btn {
        margin: 40px 0 10px 0;
    }
    
    /* Галерея на мобильных */
    .commercial-gallery-main .swiper-button-next,
    .commercial-gallery-main .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .commercial-gallery-main .swiper-button-next::after,
    .commercial-gallery-main .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .commercial-gallery-thumbs {
        height: 60px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .commercial-object-features li::before {
        font-size: 16px;
    }
    
    .thumb-overlay {
        font-size: 2.5rem;
    }
    
    .rent-cta-phone {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
    }
    
    .rent-cta-phone-icon,
    .rent-cta-messengers img {
        width: 35px;
        height: 35px;
    }
}
