
    body {
      font-family: 'Roboto', sans-serif;
      background-color: #f8f9fa;
      height: 100%;
      margin: 0; 
    }
    /* Верхний колер и шрифт */
    header {
      background-color: #5b68e3;
      height: 120px;
      transition: top 0.3s;

    }
    header h2 {
      font-weight: 700;
      font-size: 2rem;
    }
    /* Логотип и меню */
    .logo-img {
      max-width: 100px;
      border-radius: 50%;
    }
    /* Меню боковой */
    .bd-sidebar {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 0px;
      margin-top: 120px;
    }
    /* Навигация */
    .bd-links-nav a {
      transition: all 0.3s ease;
    }
    .bd-links-nav a:hover {
      background-color: #e7e7e7;
      border-radius: 4px;
      padding-left: 10px;
    }
    /* Основной блок контента */
    #mainBoard {
      background-color: #fff8e1;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin-top: 5px; /* с учетом fixed-top */
      min-height: 100vh;
    }
    /* Карточки */
    .card {
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    }
    /* Заголовки */
    h2 {
      color: #333;
      margin-bottom: 20px;
    }
    /* Таблицы */
    table {
      margin-top: 15px;
    }
    /* Кнопки */
    .btn-custom {
      background-color: #5b68e3;
      color: #fff;
      transition: background-color 0.3s;
    }
    .btn-custom:hover {
      background-color: #4a57d1;
    }

/* Чтобы основной контент не заезжал под шапку: */
#mainContent {
  padding-top: 120px; /* равна высоте шапки */
  min-height: 100vh;
}
footer {
  position: relative; /* или static по умолчанию */
}
    #listPrintDetails{
        display: none;
        position: absolute;
        border-radius: 8px;
        top: 100%;
        left: 0;
        right: 0; 
        background: #fff; 
        border: 1px solid #ccc; 
        max-height: 200px; 
        overflow-y: auto; 
        z-index: 1000; 
        margin-top: 2px; 
        list-style: none; 
        padding: 0;
    }
    #divPrintDetails{
        position: relative;
    }
    .PrintDetail{
        padding: 8px; 
        cursor: pointer;
    }
    #listPrintDetails li:hover {
    background-color: #f0f0f0; /* Цвет подсветки */
    }
    #PrintPaperList{
        display: none;
        position: absolute;
        border-radius: 8px;
        top: 100%;
        left: 0;
        right: 0; 
        background: #fff; 
        border: 1px solid #ccc; 
        max-height: 200px; 
        overflow-y: auto; 
        z-index: 1000; 
        margin-top: 2px; 
        list-style: none; 
        padding: 0;
    }
    #divPrintPaper{
        position: relative;
    }
    .PrintPaper{
        padding: 8px; 
        cursor: pointer;
    }
    #PrintPaperList li:hover {
    background-color: #f0f0f0; /* Цвет подсветки */
    }
    #listPrintVariant{
        display: none;
        position: absolute;
        border-radius: 8px;
        top: 100%;
        left: 0;
        right: 0; 
        background: #fff; 
        border: 1px solid #ccc; 
        max-height: 200px; 
        overflow-y: auto; 
        z-index: 1000; 
        margin-top: 2px; 
        list-style: none; 
        padding: 0;
    }
    #divPrintVariant{
        position: relative;
    }
    .PrintVariant{
        padding: 8px; 
        cursor: pointer;
    }
    #listPrintVariant li:hover {
    background-color: #f0f0f0; /* Цвет подсветки */
    }
    #listDeliveryVariant{
        display: none;
        position: absolute;
        border-radius: 8px;
        top: 100%;
        left: 0;
        right: 0; 
        background: #fff; 
        border: 1px solid #ccc; 
        max-height: 200px; 
        overflow-y: auto; 
        z-index: 1000; 
        margin-top: 2px; 
        list-style: none; 
        padding: 0;
    }
    #divDeliveryVariant{
        position: relative;
    }
    .DeliveryVariant{
        padding: 8px; 
        cursor: pointer;
    }
    #listDeliveryVariant li:hover {
    background-color: #f0f0f0; /* Цвет подсветки */
    }
    .progress-label {
    font-weight: bold;
    margin-right: 5px; /* или margin-right, если рядом */
    }

/* Этот блок гарантирует, что меню покажется, когда JS добавит класс .show */
.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.2s;
}

/* Стили для того, чтобы инпут выглядел как селект со стрелочкой */
.select-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem !important;
}

/* Контейнер боковой панели */
    .custom-sidebar {
        background: #ffffff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Список */
    .modern-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .modern-nav li {
        margin-bottom: 8px;
    }

    /* Ссылки */
    .nav-link-custom {
        display: block;
        padding: 12px 16px;
        color: #4a4a4a;
        text-decoration: none;
        font-weight: 500;
        border-radius: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    /* Эффект при наведении */
    .nav-link-custom:hover {
        background-color: #f8f9fa;
        color: #007bff;
        padding-left: 24px; /* Мягкий сдвиг */
    }

    /* Акцентная линия слева при наведении */
    .nav-link-custom::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 4px;
        background: linear-gradient(to bottom, #007bff, #00d4ff);
        border-radius: 0 4px 4px 0;
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }

    .nav-link-custom:hover::before {
        transform: scaleX(1);
    }

    /* Креативная деталь для важной кнопки (Создать ФотоПачку) */
    .nav-link-highlight {
        background: rgba(0, 123, 255, 0.05);
        color: #007bff;
    }
    .custom-sidebar {
    position: relative;
    z-index: 10; /* Поднимает боковую панель над возможными невидимыми слоями */
}

.nav-link-custom {
    position: relative;
    z-index: 11;
    display: block; /* Гарантирует, что область ссылки занимает всю ширину */
}



:root {
        --primary: #007bff;
        --bg-light: #f8f9fa;
        --text-dark: #2d3436;
        --shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        padding: 20px 0;
    }

    .price-card {
        background: #fff;
        border-radius: 24px;
        padding: 32px;
        border: 1px solid #edf2f7;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .price-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow);
        border-color: var(--primary);
    }

    /* Инфо о бумаге */
    .paper-info {
        margin: 20px 0;
        padding: 15px;
        background: var(--bg-light);
        border-radius: 12px;
        text-align: left;
    }

    .info-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .info-label { color: #636e72; }
    .info-value { font-weight: 600; color: var(--text-dark); }

    /* Выбор типа бумаги (чипсы) */
    .type-selector {
        display: flex;
        gap: 8px;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .type-badge {
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.8rem;
        background: #fff;
        border: 1px solid #dee2e6;
        cursor: pointer;
        transition: 0.2s;
    }

    .type-badge.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .price-display {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px dashed #dee2e6;
    }

    .price-now {
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-dark);
    }

    .price-now span { font-size: 1rem; color: #b2bec3; }

    .brand-tag {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--primary);
        font-weight: 700;
    }
    /* Чтобы контент не прятался под шапку */
    body { padding-top: 1px !important; }
    @media (max-width: 576px) { body { padding-top: 60px !important; } }



    /* Современные стили для раздела "О нас" */
.about-section {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #2d3436;
    line-height: 1.8;
    padding: 60px 0;
    max-width: 1140px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 70px;
}

.about-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border-radius: 2px;
}

.about-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

/* Эффект шахматного порядка */
.about-row:nth-child(even) {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin: 0;
}

.about-text strong {
    color: #007bff;
}

.about-image {
    flex: 0.8;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

/* Анимация при наведении */
.about-image img:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* Адаптация под мобильные устройства */
@media (max-width: 991px) {
    .about-row {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 20px;
    }
    .about-row, .about-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        margin-bottom: 50px;
    }
    .about-image {
        width: 100%;
        max-width: 400px;
    }
    .about-header h2 {
        font-size: 2rem;
    }
}












/* Стиль для неактивного бейджа */
.type-badge {
    display: inline-block;
    padding: 5px 12px;
    margin: 2px;
    border-radius: 15px;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}
.type-badge:hover {
    background-color: #e9ecef;
}
.type-badge.active {
    background-color: #007bff !important;
    color: white !important;
}










:root {
    --accent: #2c3e50;
    --soft-bg: #fdfdfd;
    --border-color: #eaeaea;
}

.promo-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

.promo-grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.promo-visual {
    flex: 1;
    position: sticky;
    top: 20px;
}

.promo-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.promo-body {
    flex: 1.2;
}

.promo-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--accent);
}

.promo-lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.promo-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.method {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.method-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #a1a1a1;
    display: block;
    margin-bottom: 5px;
}

.method p { margin: 0; font-size: 1.05rem; }

.promo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.promo-delivery {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: var(--soft-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.delivery-item strong {
    display: block;
    color: var(--accent);
}

.promo-badge {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .promo-grid { flex-direction: column; }
    .promo-visual { position: static; width: 100%; margin-bottom: 30px; }
    .promo-title { font-size: 2rem; }
    .promo-delivery { flex-direction: column; gap: 15px; }
}










/* Настройки Прайс Листа

/* Переменные для легкой настройки */
:root {
    --accent-dark: #2c3e50;
    --accent-blue: #3498db;
    --row-hover: #f8fafd;
    --border-light: #f0f0f0;
}

.pricing-section {
    margin-top: 60px;
    animation: fadeIn 0.8s ease-out;
}

/* Контейнер с мягкой тенью */
.table-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    overflow: hidden; /* Чтобы скруглить углы таблицы */
    border: 1px solid var(--border-light);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

/* Шапка таблицы */
.premium-table thead th {
    background: #fafbfc;
    padding: 20px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a0a0a0;
    border-bottom: 1px solid var(--border-light);
}

/* Ячейки */
.premium-table td {
    padding: 22px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    color: #444;
}

/* Эффект при наведении на строку */
.premium-table tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

.premium-table tbody tr:hover {
    background-color: var(--row-hover);
}

/* Выделение цены при наведении */
.premium-table tbody tr:hover .cell-price {
    color: var(--accent-dark);
    font-weight: 800;
    transform: scale(1.1);
}

/* Стили столбцов */
.format-main {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.format-sub {
    font-size: 0.85rem;
    color: #999;
}

.cell-brand, .cell-weight {
    font-style: italic;
    color: #777;
}

.cell-types {
    font-size: 0.9rem;
    color: #555;
}

/* Столбец цены */
.cell-price {
    font-size: 1.25rem;
    color: #666;
    text-align: right;
    transition: all 0.3s ease;
    display: inline-block; /* Для корректной работы transform */
    width: 100%;
}

.text-right { text-align: right !important; }

/* Подпись под таблицей */
.table-footer-note {
    margin-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #bbb;
}

/* Плавное появление */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 800px) {
    .table-wrapper { overflow-x: auto; }
    .premium-table { min-width: 700px; }
}












/* Настройка Самовывоза


/* Специфические стили для блока самовывоза */
.pickup-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

/* Реверсивная сетка (картинка справа на десктопе, если хотите разнообразия) */
/* Если хотите картинку слева, просто удалите класс .reverse и стиль ниже */
.promo-grid.reverse {
    flex-direction: row-reverse;
}

.pickup-map {
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.pickup-map:hover {
    transform: scale(1.02); /* Легкий интерактив при наведении на карту */
}

.pickup-info {
    background-color: #fff9f0; /* Легкий теплый оттенок для блока самовывоза */
    border: 1px dashed #e6d5bc;
}

.pickup-info strong {
    color: var(--accent-dark);
}

/* Адаптивность для мобильных */
@media (max-width: 900px) {
    .promo-grid.reverse {
        flex-direction: column; /* На мобилках всегда картинка сверху, текст снизу */
    }
    .pickup-section {
        margin-top: 0px;
        padding-top: 40px;
    }
}






/* настройки модального окна прайвеси

/* Стилизация модального окна под общий дизайн */
#privacyModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

#privacyModal .modal-header {
    padding-top: 30px;
    padding-left: 30px;
}

#privacyModal .modal-body {
    color: #444;
}

/* Скроллбар для текста политики */
#privacyModal .modal-body::-webkit-scrollbar {
    width: 6px;
}
#privacyModal .modal-body::-webkit-scrollbar-thumb {
    background-color: #eee;
    border-radius: 10px;
}

/* корректировка мадалки и виджета для кнопки продолжить
/* Ограничиваем высоту внутреннего контейнера виджета, 
   чтобы кнопки управления всегда были на виду */
/*
#delivery-widget {
    padding-bottom: 60px; 
    box-sizing: border-box;
}

#yandexDeliveryModal .modal-body {
    overflow: visible !important;
}

*/

/* Дополнительные стили для модального окна СДЕК */
@media (max-width: 575.98px) {
    #cdek-widget-container {
        height: calc(100vh - 70px) !important; /* Вычитаем высоту шапки модалки */
    }
    #cdekDeliveryModal .modal-body {
        height: 100%;
    }
}



/* Спинер */
    /* Обертка для позиционирования спиннера */
    .widget-container {
        position: relative;
        width: 100%; 
        height: 600px; /* Укажите нужную высоту */
        background: #fdfdfd;
    }

    /* Стильный спиннер */
    #widget-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #ffcc00; /* Цвет Яндекса */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 999;
    }

    @keyframes spin {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }




/* Модальное окно итога загрузки файла */



    /* Удалите предыдущие стили для шапки и добавьте эти: */
    .fw-black { font-weight: 800; }
    
    .header-gradient {
        background: radial-gradient(circle at top, rgba(13, 110, 253, 0.05), transparent);
    }

    .text-gradient {
        background: linear-gradient(135deg, #0d6efd, #6610f2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .uppercase-tracking {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.75rem;
        font-weight: 600;
        opacity: 0.7;
    }

    .header-divider {
        margin: 12px auto 0;
        width: 30px; 
        height: 2px; 
        background: #0d6efd; 
        border-radius: 2px; 
        opacity: 0.2;
    }

    
/* Стили отображения цены */
    /* Кастомный стиль тултипа для цены */
    .tooltip-inner {
        background-color: #ffffff !important;
        color: #212529 !important;
        border: 1px solid #dee2e6;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        text-align: left;
        padding: 10px;
    }
    .bs-tooltip-top .tooltip-arrow::before {
        border-top-color: #dee2e6 !important;
    }

