

/* Start:/local/templates/main_b2b/components/bitrix/news.detail/i_platform/style.css?17852412134555*/
.ipl_prop_block {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
    flex-direction: column;

    div {
        display: flex;
        background-color: #f5f5f5;
        padding: 16px;
        border-radius: 8px;
    }
}

.ipl_descr_block {
    display: flex;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
}

.single-media-section__sidebar {
    width: clamp(17.5rem, 13.1rem + 22vw, 39.5rem);
    flex: 0 0 auto;
}

@media (max-width: 992px) {
    .ipl_descr_block {
        flex-direction: column;
    }
    .single-media-section__sidebar {
        width: 100%;
    }
}

.gallery-slider {
    border-radius: 1rem;
    overflow: hidden;
}

h2.h3 {
    font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
    font-weight: 600;
}

.ipl_descr_block .single-media-section__description {
    margin-bottom: 0;
}

.platform-detail-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.platform-detail-actions__more,
.platform-detail-actions__favorite {
    flex: 0 0 311px;
    width: 311px;
    min-height: 48px;
    height: 48px;
    border-radius: 10px;
    box-sizing: border-box;
}

.platform-detail-actions__more {
    padding: 12px 20px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.01em;
    color: #fff;
    background: #2f8eed;
}

.platform-detail-actions__more:hover {
    background: #2f8eed;
    color: #fff;
}

.platform-detail-actions__favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid #0a1a3e;
    background: #fff;
    color: #0a1a3e;
    cursor: pointer;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0;
}

.platform-detail-actions__favorite svg {
    flex: 0 0 auto;
}

.platform-detail-actions__favorite span {
    display: inline-block;
}

.platform-gallery-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.platform-gallery-trigger__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.platform-gallery-trigger__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.platform-gallery-modal[hidden] {
    display: none;
}

.platform-gallery-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 10000;
    box-sizing: border-box;
}

.platform-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 62, 0.5);
}

.platform-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100%;
    padding: 103px 180px 102px;
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
}

.platform-gallery-modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1080px;
    max-height: 605px;
}

.platform-gallery-modal__image {
    display: block;
    max-width: 1080px;
    max-height: 605px;
    border-radius: 8px;
}

.platform-gallery-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #123670;
    cursor: pointer;
    transition: opacity .2s ease;
}

.platform-gallery-modal__close:hover {
    background: transparent;
    opacity: .7;
}

.platform-gallery-modal__close-icon {
    display: block;
}

.platform-gallery-modal-open {
    overflow: hidden;
}

.map-container {
    height: 266px;
    border: 1px solid #D0D5DD;
    border-radius: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
    overflow: hidden;
}

@media (max-width: 767px) {
    .platform-gallery-modal__dialog {
        width: 100%;
        max-height: 100%;
        padding: 52px 12px 12px;
        border-radius: 12px;
    }

    .platform-gallery-modal__body {
        width: 100%;
        max-height: calc(100vh - 112px);
    }

    .platform-gallery-modal__image {
        max-width: 100%;
        max-height: calc(100vh - 112px);
    }
}

/* End */


/* Start:/local/components/b2b/notification/templates/.default/style.css?17850059875175*/
.notification-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: 100%;
    padding: 16px;
}

/* Позиции */
.notification-container--top-right {
    top: 0;
    right: 0;
}

.notification-container--top-left {
    top: 0;
    left: 0;
}

.notification-container--bottom-right {
    bottom: 0;
    right: 0;
}

.notification-container--bottom-left {
    bottom: 0;
    left: 0;
}

.notification-container--top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.notification-container--bottom-center {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Уведомление */
.notification {
    /* Базовый цвет — фирменный, per-site: --q-primary (B2B #2f8eed / B2C #8654cc),
       фолбэк на --b2b-primary и хардкод. Семантика для success/warning/error. */
    --n-primary: var(--q-primary, var(--b2b-primary, #2f8eed));
    --n-success: #23a26d;
    --n-warning: #ff9800;
    --n-error: #e53935;

    position: relative;
    padding: 16px 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    overflow: hidden;
    min-width: 300px;
    width: 100%;
    /* Базовая (info/дефолт) подсветка — фирменный цвет */
    border-left: 4px solid var(--n-primary);
    transition: all 0.3s ease;
}

.notification--error {
    border-left-color: var(--n-error);
}

.notification--success {
    border-left-color: var(--n-success);
}

.notification--warning {
    border-left-color: var(--n-warning);
}

.notification--info {
    border-left-color: var(--n-primary);
}

.notification__icon {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* Дефолт — фирменный цвет */
    color: var(--n-primary);
    background: color-mix(in srgb, var(--n-primary) 12%, transparent);
}

.notification--error .notification__icon {
    color: var(--n-error);
    background: color-mix(in srgb, var(--n-error) 12%, transparent);
}

.notification--success .notification__icon {
    color: var(--n-success);
    background: color-mix(in srgb, var(--n-success) 12%, transparent);
}

.notification--warning .notification__icon {
    color: var(--n-warning);
    background: color-mix(in srgb, var(--n-warning) 12%, transparent);
}

.notification--info .notification__icon {
    color: var(--n-primary);
    background: color-mix(in srgb, var(--n-primary) 12%, transparent);
}

.notification__content {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    word-break: break-word;
}

.notification__close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.notification__close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.notification__timer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.notification__timer-bar {
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.15);
    animation: timer linear forwards;
}

/* Анимации */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes timer {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.notification--slide {
    animation: slideIn 0.3s ease forwards;
}

.notification--fade {
    animation: fadeIn 0.3s ease forwards;
}

.notification--scale {
    animation: scaleIn 0.3s ease forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .notification-container {
        padding: 10px;
        max-width: 100%;
    }

    .notification {
        min-width: auto;
        padding: 12px 16px;
    }

    .notification-container--top-center,
    .notification-container--bottom-center {
        width: 100%;
    }
}
/* End */
/* /local/templates/main_b2b/components/bitrix/news.detail/i_platform/style.css?17852412134555 */
/* /local/components/b2b/notification/templates/.default/style.css?17850059875175 */
