

/* Start:/local/templates/prom/components/bitrix/map.yandex.view/contacts_markers_new/style.css?17790923109553*/
/* Стили для страницы контактов - обновлено по Figma */

.page-title {
    font-size: 48px;
    font-weight: 500;
    color: #303030;
    margin: 0 0 30px 0;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0px;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
}

.contacts-section {
    padding: 0 0 64px 0;
}

/* Контейнер с сеткой для выравнивания высоты */
.contacts-container {
    display: grid;
    grid-template-columns: 505px 1fr;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.contact-info {

    height: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.contact-map-container {
    width: 100%;
    height: 100%;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #D9D9D9;
    border-radius: 0px;
    overflow: hidden;
}

/* Табы городов - стиль из Фигмы */
.city-tabs {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.city-tab {
    flex: 1;
    text-align: center;
    padding: 0 0 13px 0;
    border-bottom: 1px solid #e1e1e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-tab.active {
    border-bottom: 1px solid #1481db;
}

.city-tab span {
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: #e1e1e1;
    transition: color 0.3s ease;
}

.city-tab.active span {
    color: #1481db;
}

/* ===== ОБНОВЛЕННЫЕ СТИЛИ ПО FIGMA ===== */

/* Блок city-info */
.city-info {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

/* Карточки офисов - обновлено по Figma */
.office-card {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.office-card.warehouse-card {
    /*opacity: 0.49;*/
}

/* Иконка с оранжевым градиентом - обновлено по Figma */
.office-icon {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
}

.office-icon svg:first-child {
    display: none;
}

.office-icon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.office-icon.small-icon .office-icon-inner {
    width: 20px;
    height: 20px;
}

.office-details {
    flex: 1;
}

.office-title {
    font-size: 18px;
    font-weight: 600;
    color: #989795;
    margin-bottom: 8px;
    font-family: 'Inter Tight', sans-serif;
}

.office-address {
    font-size: 18px;
    font-weight: 600;
    color: #989795;
    line-height: 1.4;
    font-family: 'Inter Tight', sans-serif;
}

/* Контактные элементы (телефон, email) - обновлено по Figma */
.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.contact-item .contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter Tight', sans-serif;
}

.contact-item .contact-details a {
    color: #989795;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
    font-family: 'Inter Tight', sans-serif;
}

.contact-item .contact-details a:hover {
    color: #E74F01;
}

/* Строка с графиком и соцсетями */
.info-row {
    display: inline-flex;
    gap: 10px;
    width: 100%;
}

/* График работы - обновлено по Figma */
.time-item {
    flex: 0 0 207px;
    height: 96px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-sizing: border-box;
}

.time-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.time-details span {
    color: #818084;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Inter Tight', sans-serif;
}

/* Социальные сети - обновлено по Figma */
.social-item {
    flex: 1 1 0;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: white;
    box-shadow: 0px 2.8px 2.27px rgba(0, 0, 0, 0.02), 0px 14px 14px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-sizing: border-box;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    background: #989795;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
     background: linear-gradient(225deg, #E74F01 0%, #C71201 100%);
}

/* ============================================ */
/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 767px) ===== */
/* ============================================ */
@media (max-width: 767px) {
    .page-title {
        font-size: 22px;
        line-height: 22px;
        margin: 0 16px 24px 16px;
        padding: 0;
    }

    .contacts-section {
        padding: 0 0 40px 0;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .contact-info {
        padding: 0 16px;
        gap: 8px;
    }

    .contact-map-container {
        width: 100%;
        padding: 0;
    }

    .contact-map {
        min-height: 392px;
        height: 392px;
        border-radius: 0;
    }

    /* Табы городов на моб */
    .city-tabs {
        margin-bottom: 16px;
        padding: 0 16px;
    }

    .city-tab {
        padding: 0 0 10px 0;
    }

    .city-tab span {
        font-size: 18px;
    }

    /* Карточки офиса на моб */
    .office-card {
        padding: 16px;
        gap: 16px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .office-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .office-icon-inner {
        width: 20px;
        height: 20px;
    }

    /* Переопределяем размеры иконок внутри для моб */
    .office-icon .office-icon-inner {
        width: auto;
        height: auto;
    }

    /* Специфичные размеры иконок по макету Figma */
    .office-card:first-child .office-icon-inner {
        width: 10px;
        height: 12px;
    }

    .office-card.warehouse-card .office-icon-inner {
        width: 14px;
        height: 14px;
    }

    .office-title {
        display: none;
    }

    .office-address {
        font-size: 14px;
        line-height: 1.3;
        color: #989795;
    }

    /* Контактные элементы на моб */
    .contact-item {
        padding: 16px;
        gap: 16px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .contact-item .office-icon.small-icon {
        width: 36px;
        height: 36px;
    }

    .contact-item .contact-details a {
        font-size: 14px;
        line-height: 1.3;
    }

    /* Строка с временем и соцсетями на моб */
    .info-row {
        gap: 8px;
    }

    .time-item {
        flex: 1 1 0;
        height: 68px;
        padding: 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .time-item .office-icon.small-icon {
        width: 36px;
        height: 36px;
    }

    .time-details {
        gap: 12px;
    }

    .time-details span {
        font-size: 14px;
        line-height: 1;
    }

    .social-item {
        flex: 1 1 0;
        height: 68px;
        padding: 16px;
        gap: 4px;
        border-radius: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== ПЛАНШЕТ (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-map {
        min-height: 400px;
        height: 400px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .info-row {
        flex-direction: column;
    }
    
    .time-item {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
    }
    
    .social-item {
        flex: 1 1 auto;
        height: auto;
    }
    
    .city-tab span {
        font-size: 20px;
    }
}
/* End */
/* /local/templates/prom/components/bitrix/map.yandex.view/contacts_markers_new/style.css?17790923109553 */
