.t1108__bgimg{
        border-radius: unset !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.t708__mobile-icon-close{
    width: 42px !important;
     height: 42px !important;
}
body {
  font-family: Inter, Arial, sans-serif;
  color: #1f2937;
  background: #f9fafb;
  line-height: 1.6;
}
.table-caption{
    display: block !important;
}
.table-wrapper{
   max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.t1108__bgimg{
        border-radius: unset !important;
}
/* Обёртка для горизонтальной прокрутки на мобильных */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

/* Основные стили таблицы */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Для корректной прокрутки на мобильных */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* Заголовок таблицы */
.comparison-table thead {
  background: linear-gradient(120deg, #1a3a6c, #2c5282);
  color: #fff;
}

.comparison-table th {
  padding: 16px 14px;
  font-weight: 600;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  border: none;
  position: relative;
}

/* Выделение первого заголовка (Условие / Требование) */
.comparison-table thead th:first-child {
  background: linear-gradient(120deg, #0f2545, #1a3a6c);
  text-align: left;
  font-weight: 700;
  min-width: 200px;
  position: sticky;
  left: 0;
  z-index: 10;
  box-shadow: 4px 0 6px rgba(0, 0, 0, 0.08);
}

/* Тело таблицы */
.comparison-table tbody tr {
  border-bottom: 1px solid #eaeaea;
  transition: background-color 0.15s ease;
}

.comparison-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Стили ячеек тела */
.comparison-table td {
  padding: 14px;
  border: none;
  vertical-align: middle;
  text-align: center;
  color: #334155;
}

/* Фиксация первого столбца (Условия) */
.comparison-table tbody td:first-child {
  font-weight: 600;
  text-align: left;
  background-color: #f8fafc;
  position: sticky;
  left: 0;
  z-index: 5;
  box-shadow: 4px 0 6px rgba(0, 0, 0, 0.03);
}

/* Эффект "зебры" для улучшения читаемости */
.comparison-table tbody tr:nth-child(even) td {
  background-color: #f9fbfd;
}

.comparison-table tbody tr:nth-child(even) td:first-child {
  background-color: #f1f5f9;
}

/* Стили для вложенных элементов */
.comparison-table strong {
  font-weight: 700;
  color: #1e293b;
  display: block;
}

.comparison-table span {
  display: block;
  color: #475569;
}

/* Акцентные цвета для типов организаций (опционально) */
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background-color: #f0f9ff; /* Светло-голубой для ИП */
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  background-color: #f0fdf4; /* Светло-зеленый для ООО */
}

.comparison-table th:nth-child(4),
.comparison-table td:nth-child(4) {
  background-color: #fef3c7; /* Светло-желтый для Крупного магазина */
}

/* Улучшение читаемости на тёмном фоне заголовка */
.comparison-table thead th strong {
  color: #fff;
  font-weight: 700;
}

/* Адаптивность: уменьшение отступов на мобильных */
@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
  
  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child {
    min-width: 180px;
    font-size: 14px;
  }
  
  .comparison-table strong {
    font-size: 14px;
  }
  
  .comparison-table span {
    font-size: 13px;
  }
}

/* Дополнительный акцент при наведении на строку */
.comparison-table tbody tr:hover td:first-child {
  background-color: #e2e8f0;
}

/* Границы для печати (опционально) */
@media print {
  .comparison-table {
    border: 1px solid #000;
  }
  .comparison-table th,
  .comparison-table td {
    border: 1px solid #000 !important;
    background-color: #fff !important;
    color: #000 !important;
  }
}

/* ================================= */
/* ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ ВСЕХ ТАБЛИЦ */
/* ================================= */

/* Основной контейнер для таблиц */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    max-width: 1160px;
    margin: 0 auto;
}

table:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Заголовки таблиц */
thead {
        background: linear-gradient(135deg, #8BC34A 0%, #4CAF50 100%);
    color: white;
    position: relative;
}



th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

th:last-child {
    border-right: none;
}

/* Стили для ячеек */
td {
    padding: 1rem;
    border-bottom: 1px solid #f0f3f9;
    color: #2d3748;
    transition: all 0.2s ease;
}

/* Первый столбец (обычно параметры) */
td:first-child,
th:first-child {
    font-weight: 600;
    color: #000;
    padding-left: 1.5rem;
}

/* Последний столбец */
td:last-child,
th:last-child {
    padding-right: 1.5rem;
}

/* Строки */
tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: #f8fafd;
}

tbody tr:hover td {
    color: #000;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Альтернативные строки (зебра) */
tbody tr:nth-child(even) {
    background-color: #f9fbfe;
}

tbody tr:nth-child(even):hover {
    background-color: #f0f5ff;
}

/* Границы таблицы */
table, th, td {
    border: none;
}

/* Границы между ячейками */
td {
    border-right: 1px solid #f0f3f9;
}

td:last-child {
    border-right: none;
}

/* Выделение важных значений */
td strong,
td b {
    color: #000;
    font-weight: 700;
}

/* Цифры и цены */
td:contains("руб"),
td:contains("₽"),
td:contains("$"),
td:contains("€") {
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    font-weight: 600;
}

/* Стили для заголовков H1-H6 рядом с таблицами */
h1 + table,
h2 + table,
h3 + table {
    margin-top: 1rem;
}

/* Подписи под таблицами */
table + p,
table + div {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    padding: 0.75rem 1rem;
    background-color: #f8fafd;
    border-radius: 8px;
    border-left: 4px solid #2d5cc2;
}

/* ================================= */
/* ТИПИЗИРОВАННЫЕ ТАБЛИЦЫ ПО КОНТЕНТУ */
/* ================================= */

/* Таблицы сравнения (есть "от", "до", сравнения) */
td:contains("от "),
td:contains("до "),
td:contains("~") {
    color: #2d5cc2;
    font-weight: 600;
}

/* Лучшие значения (обычно самые низкие цены) */
td:contains("лучш"),
td:contains("выгод"),
td:contains("низк") {
    background-color: rgba(42, 157, 143, 0.1) !important;
    color: #2a9d8f !important;
    font-weight: 700;
    position: relative;
}

td:contains("лучш")::before,
td:contains("выгод")::before {
    content: "✓";
    display: inline-block;
    margin-right: 6px;
    color: #2a9d8f;
    font-weight: bold;
}

/* Худшие значения (обычно высокие цены) */
td:contains("высок"),
td:contains("дорог"),
td:contains("долг") {
    background-color: rgba(230, 57, 70, 0.08) !important;
    color: #e63946 !important;
    font-weight: 600;
}

/* Ограничения и требования */
td:contains("нет"),
td:contains("не "),
td:contains("огранич") {
    color: #4a5568;
    font-style: italic;
}

/* ================================= */
/* АДАПТИВНЫЕ СТИЛИ */
/* ================================= */

@media (max-width: 1024px) {
    table {
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    th, td {
        padding: 0.9rem 0.8rem;
    }
    
    td:first-child,
    th:first-child {
        padding-left: 1.2rem;
    }
    
    td:last-child,
    th:last-child {
        padding-right: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Адаптация таблиц для мобильных */
    .table-container {
        overflow-x: auto;
        margin: 1rem -1rem;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 700px;
        font-size: 0.85rem;
        margin: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    th {
        font-size: 0.95rem;
        padding: 0.8rem 0.6rem;
        white-space: nowrap;
    }
    
    td {
        padding: 0.7rem 0.6rem;
    }
    
    /* Убираем зебру на мобильных для лучшей читаемости */
    tbody tr:nth-child(even) {
        background-color: transparent;
    }
    
    /* Усиливаем границы для разделения */
    td {
        border-bottom: 2px solid #f0f3f9;
    }
}

@media (max-width: 480px) {
    table {
        min-width: 600px;
        font-size: 0.8rem;
    }
    
    th {
        font-size: 0.85rem;
        padding: 0.7rem 0.5rem;
    }
    
    td {
        padding: 0.6rem 0.5rem;
    }
}

/* ================================= */
/* АНИМАЦИИ И ЭФФЕКТЫ */
/* ================================= */

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

table {
    animation: tableFadeIn 0.4s ease-out;
}

/* Эффект при клике на ячейку */
td:active {
    background-color: rgba(26, 58, 143, 0.1);
    transition: background-color 0.1s;
}

/* Индикатор сортировки для заголовков при наведении */
th:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

th:hover::after {
    content: '↕';
    position: absolute;
    right: 8px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ================================= */
/* СПЕЦИАЛЬНЫЕ ТИПЫ ДАННЫХ */
/* ================================= */

/* Проценты */
td:contains("%") {
    color: #2d5cc2;
    font-weight: 600;
}

/* Даты */
td:contains("дн"),
td:contains("нед"),
td:contains("мес") {
    color: #4a5568;
}

/* Размеры и вес */
td:contains("кг"),
td:contains("гр"),
td:contains("см"),
td:contains("м") {
    color: #4a5568;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
}

/* ================================= */
/* ПОДДЕРЖКА ТЕМ */
/* ================================= */

@media (prefers-color-scheme: dark) {
    table {
        background: #1a202c;
        color: #e2e8f0;
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    thead {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
    
    td {
        color: #e2e8f0;
        border-bottom: 1px solid #2d3748;
        border-right: 1px solid #2d3748;
    }
    
    td:first-child,
    th:first-child {
        color: #90cdf4;
        background-color: rgba(26, 58, 143, 0.2);
    }
    
    tbody tr:nth-child(even) {
        background-color: rgba(45, 55, 72, 0.3);
    }
    
    tbody tr:hover {
        background-color: rgba(26, 58, 143, 0.15);
    }
    
    tbody tr:hover td {
        color: #90cdf4;
    }
    
    table + p,
    table + div {
        background-color: rgba(45, 55, 72, 0.5);
        color: #a0aec0;
    }
}
a.bg-cdekGreen,
#allrecords a.bg-cdekGreen,
#allrecords a.cdekBtn,
#allrecords a.bg-cdekGreen{
    color:#fff;
}

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

    body {
        font-family: 'Inter', sans-serif;
        background: #f8fafc;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        display: none;
    }

    .nav-link {
        transition: all 0.2s;
    }

    .nav-link:hover {
        color: #00A651;
    }

    .badge-new {
        background: #FF4D4D;
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 12px;
        color: white;
        margin-left: 6px;
    }

    /* Дополнительные стили для корректной работы скриптов */
    .mobile-dropdown-menu.show {
        display: block;
    }

    .rotate-180 {
        transform: rotate(180deg);
    }
    .header-html{
    zoom:0 !important;
}