

/* Start:/local/styles/lb5-pdn.css?177993354812202*/
/* ─────────────────────────────────────────────────────────────────────
   Согласие на обработку ПДн при POS-регистрации в 5LB
   /pdn/, /pdn/archive/*

   - Mobile first: помещается на iPhone SE (375px) без горизонтального
     скролла
   - Max content width 720px по центру
   - Text-only: текст выделяется, копируется
   - Print-friendly: @media print скрывает шапку/футер сайта и контролы

   Брендовая палитра 5LB: --theme-base-color #dd550a (оранжевый),
   фон лёгкий жёлтый/беж для отбивки реквизитов.
   ───────────────────────────────────────────────────────────────────── */

.lb5-pdn-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-size: 16px;
    line-height: 1.6;
    color: #1f1f1f;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Заголовок страницы (H1 рисует Aspro через SetTitle) — добавим
   полосу-меточку под ним для разделения шапки и тела */
.lb5-pdn-page h1,
.lb5-pdn-page .pagetitle,
.lb5-pdn-page #pagetitle {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #1f1f1f;
}

/* Шапка с версией / датой / кнопкой PDF */
.lb5-pdn-meta {
    background: #FFF7EE;
    border: 1px solid #F4D7B5;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0 28px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.lb5-pdn-meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lb5-pdn-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #885a2c;
}

.lb5-pdn-meta-value {
    font-weight: 600;
    color: #1f1f1f;
}

.lb5-pdn-meta-value code {
    background: rgba(221, 85, 10, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
    color: #b04400;
    font-weight: 500;
}

.lb5-pdn-meta-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.lb5-pdn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dd550a;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s ease;
}
.lb5-pdn-download:hover,
.lb5-pdn-download:focus {
    background: #c14a07;
    color: #fff !important;
    text-decoration: none !important;
}

/* Archive banner — отличается фоном чтобы юзер сразу видел "это старая версия" */
.lb5-pdn-archive-banner {
    background: #FFF8DC;
    border: 1px solid #E8C76A;
    color: #6B5500;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
}

.lb5-pdn-archive-banner strong {
    color: #4F3F00;
}

/* Секции */
.lb5-pdn-section {
    margin: 0 0 32px;
}

.lb5-pdn-section h2 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #1f1f1f;
    line-height: 1.35;
}

.lb5-pdn-section p {
    margin: 0 0 14px;
}

.lb5-pdn-lead {
    background: #FFF7EE;
    border-left: 4px solid #dd550a;
    padding: 14px 16px;
    border-radius: 0 8px 8px 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.lb5-pdn-note {
    background: #f6f6f6;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14.5px;
    color: #444;
}

/* Списки */
.lb5-pdn-ul,
.lb5-pdn-ol {
    padding-left: 22px;
    margin: 0 0 14px;
}

.lb5-pdn-ul li,
.lb5-pdn-ol li {
    margin: 0 0 8px;
}

.lb5-pdn-ol {
    counter-reset: lb5pdn;
    list-style: none;
    padding-left: 0;
}

.lb5-pdn-ol > li {
    counter-increment: lb5pdn;
    position: relative;
    padding-left: 36px;
}

.lb5-pdn-ol > li::before {
    content: counter(lb5pdn) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #dd550a;
    min-width: 28px;
    text-align: right;
    padding-right: 4px;
}

/* Реквизиты — определения */
.lb5-pdn-requisites {
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0 0 14px;
}

.lb5-pdn-requisites dl {
    display: grid;
    grid-template-columns: minmax(180px, max-content) 1fr;
    gap: 8px 16px;
    margin: 0;
}

.lb5-pdn-requisites dt {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.lb5-pdn-requisites dd {
    margin: 0;
    color: #1f1f1f;
    font-size: 15px;
}

.lb5-pdn-requisites a {
    color: #dd550a;
    text-decoration: none;
    border-bottom: 1px dotted rgba(221, 85, 10, 0.4);
}
.lb5-pdn-requisites a:hover {
    border-bottom-color: #dd550a;
}

/* Таблица версий */
.lb5-pdn-versions-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 14px;
}

.lb5-pdn-versions-table th,
.lb5-pdn-versions-table td {
    border: 1px solid #E5E5E5;
    padding: 10px 12px;
    text-align: left;
    font-size: 14.5px;
    vertical-align: top;
}

.lb5-pdn-versions-table th {
    background: #FAFAFA;
    font-weight: 600;
    color: #555;
}

.lb5-pdn-versions-table code {
    background: rgba(221, 85, 10, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: 13.5px;
    color: #b04400;
}

/* Inline code в тексте */
.lb5-pdn-page code {
    font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: 0.92em;
    background: rgba(0, 0, 0, 0.05);
    padding: 1px 5px;
    border-radius: 3px;
}

/* Ссылки */
.lb5-pdn-page a {
    color: #dd550a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lb5-pdn-page a:hover {
    color: #c14a07;
}

/* Архив-список (страница /pdn/archive/) */
.lb5-pdn-archive-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.lb5-pdn-archive-list li {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
}

.lb5-pdn-archive-list .lb5-pdn-archive-version {
    font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: 14px;
    background: rgba(221, 85, 10, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    color: #b04400;
}

.lb5-pdn-archive-list .lb5-pdn-archive-date {
    color: #666;
    font-size: 14px;
}

.lb5-pdn-archive-list .lb5-pdn-archive-current {
    background: #28a745;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lb5-pdn-archive-list .lb5-pdn-archive-open {
    margin-left: auto;
    color: #dd550a;
    font-weight: 600;
    text-decoration: none;
}

/* ─── Адаптив ────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .lb5-pdn-page {
        padding: 16px 14px 36px;
        font-size: 15.5px;
    }

    .lb5-pdn-page h1,
    .lb5-pdn-page .pagetitle,
    .lb5-pdn-page #pagetitle {
        font-size: 22px;
    }

    .lb5-pdn-section h2 {
        font-size: 17px;
    }

    .lb5-pdn-meta {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
    }

    .lb5-pdn-meta-actions {
        margin-left: 0;
        width: 100%;
    }

    .lb5-pdn-download {
        width: 100%;
        justify-content: center;
    }

    .lb5-pdn-requisites {
        padding: 14px 14px;
    }

    .lb5-pdn-requisites dl {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .lb5-pdn-requisites dt {
        font-size: 12.5px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin-top: 8px;
    }

    .lb5-pdn-requisites dt:first-child {
        margin-top: 0;
    }

    .lb5-pdn-requisites dd {
        font-size: 15px;
    }

    /* Таблица версий → стопкой карточек */
    .lb5-pdn-versions-table table,
    .lb5-pdn-versions-table thead,
    .lb5-pdn-versions-table tbody,
    .lb5-pdn-versions-table th,
    .lb5-pdn-versions-table td,
    .lb5-pdn-versions-table tr {
        display: block;
    }

    .lb5-pdn-versions-table thead {
        position: absolute;
        left: -9999px;
    }

    .lb5-pdn-versions-table tr {
        border: 1px solid #E5E5E5;
        border-radius: 8px;
        padding: 12px 14px;
        margin: 0 0 10px;
    }

    .lb5-pdn-versions-table td {
        border: none;
        padding: 4px 0;
        font-size: 14.5px;
    }

    .lb5-pdn-versions-table td:nth-child(1)::before { content: "Версия: "; color: #666; }
    .lb5-pdn-versions-table td:nth-child(2)::before { content: "Действует с: "; color: #666; }
    .lb5-pdn-versions-table td:nth-child(3)::before { content: "Изменения: "; color: #666; }
}

/* ─── Печать (A4) ─────────────────────────────────────────────────────── */

@media print {
    /* Скрываем всю Aspro-обвязку: шапку, футер, sticky-элементы,
       плавающие виджеты, кнопку «наверх», корзину и т.п. */
    header,
    footer,
    .header,
    .footer,
    .top_block,
    .top_block_panel,
    .top-block,
    .wrap_header,
    .header__inner,
    .wrap_footer,
    .footer__inner,
    .panel,
    #panel,
    .bx-panel,
    .breadcrumbs,
    .breadcrumb,
    .breadcrumbs-wrapper,
    .navigation,
    .nav,
    .menu,
    .sticky-header,
    .scroll-top,
    .back-top,
    .modal,
    .modal-backdrop,
    .basket-popup,
    .basket-fly,
    #search_string,
    .search_block,
    .topbar,
    .mobile-header,
    .mobile-menu,
    .compare_block,
    .wish_block,
    .lb5-pdn-meta-actions,
    .lb5-pdn-download,
    .lb5-pdn-archive-banner {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.45;
    }

    .lb5-pdn-page {
        max-width: 100%;
        padding: 0;
        color: #000;
        font-size: 11pt;
    }

    .lb5-pdn-page h1 {
        font-size: 18pt;
        margin-bottom: 4pt;
    }

    .lb5-pdn-section {
        page-break-inside: avoid;
        margin-bottom: 14pt;
    }

    .lb5-pdn-section h2 {
        font-size: 13pt;
        page-break-after: avoid;
    }

    .lb5-pdn-meta,
    .lb5-pdn-requisites,
    .lb5-pdn-lead,
    .lb5-pdn-note {
        background: #fff !important;
        border: 1px solid #ccc !important;
        color: #000 !important;
    }

    .lb5-pdn-page a {
        color: #000 !important;
        text-decoration: none;
    }

    .lb5-pdn-page a[href^="http"]::after,
    .lb5-pdn-page a[href^="mailto:"]::after,
    .lb5-pdn-page a[href^="tel:"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }

    /* На печати URL уже отображается рядом — убираем дубль для
       mailto:/tel: чтобы не было mailto:fivelb@yandex.ru (fivelb@yandex.ru) */
    .lb5-pdn-page a[href^="mailto:"]::after,
    .lb5-pdn-page a[href^="tel:"]::after {
        content: "";
    }

    @page {
        size: A4;
        margin: 1.5cm 1.8cm;
    }
}

/* End */
/* /local/styles/lb5-pdn.css?177993354812202 */
