/* ==========================================================================
   Tralog.kz v3 — Мобильная переработка (стиль ifura.kz)
   Подключается ПОСЛЕ main.css. Изолировано медиа-запросами ≤ 991.98px / ≤ 767.98px.
   Десктопная версия (≥ 992px) НЕ затрагивается.
   ========================================================================== */

/* ===========================================================================
   1. ДИЗАЙН-ТОКЕНЫ И БАЗОВЫЕ НАСТРОЙКИ (≤ 767.98px)
   =========================================================================== */
@media (max-width: 767.98px) {
    :root {
        --tl-header-h: 56px;
        --tl-bottom-nav-h: 62px;
        --tl-safe-bottom: env(safe-area-inset-bottom, 0px);
        --tl-safe-top: env(safe-area-inset-top, 0px);
        --tl-radius-card: 14px;
        --tl-radius-sheet: 20px;
        --tl-radius-pill: 999px;
        --tl-touch-h: 46px;
        --tl-touch-h-lg: 52px;
        --tl-page-pad: 12px;
        --tl-primary: #6438ae;
        --tl-primary-hover: #502d8b;
        --tl-primary-subtle: #f3effa;
        --tl-border: #e9ecef;
        --tl-text-dark: #1e293b;
        --tl-text-muted: #64748b;
        --tl-bg-light: #f8fafc;
        --tl-z-header: 1020;
        --tl-z-bottom-nav: 1030;
        --tl-z-backdrop: 1040;
        --tl-z-drawer: 1050;
        --tl-z-sheet: 1060;
    }

    html {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
    }

    body {
        padding-top: var(--tl-header-h) !important;
        padding-bottom: calc(var(--tl-bottom-nav-h) + var(--tl-safe-bottom) + 16px) !important;
        padding-left: 0 !important;
        overscroll-behavior-y: contain;
        line-height: 1.45;
        background-color: var(--tl-bg-light) !important;
    }

    body.body-pd {
        padding-left: 0 !important;
    }

    /* Отключение старого выезжающего сайдбара v2 на мобильных */
    .l-navbar {
        display: none !important;
    }

    /* Блокировка скролла body при открытых модалках/шторках */
    body.tl-scroll-locked {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* Адаптивные контейнеры */
    .container {
        padding-left: var(--tl-page-pad) !important;
        padding-right: var(--tl-page-pad) !important;
        max-width: 100% !important;
    }

    /* Защита от автозума в Safari на iOS */
    input, select, textarea, .form-control, .form-select {
        font-size: 16px !important;
    }
    .form-control, .form-select {
        min-height: var(--tl-touch-h);
        border-radius: 10px !important;
    }

    /* Типографика на мобильных */
    h1, .h1 { font-size: 1.4rem !important; line-height: 1.25 !important; }
    h2, .h2 { font-size: 1.25rem !important; }
    h3, .h3 { font-size: 1.15rem !important; }
    h4, .h4 { font-size: 1.05rem !important; }
    h5, .h5 { font-size: 0.95rem !important; }
}

/* ===========================================================================
   2. КОМПАКТНЫЙ ХЕДЕР ДЛЯ МОБИЛЬНЫХ (≤ 767.98px)
   =========================================================================== */
@media (max-width: 767.98px) {
    header#header.header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: var(--tl-header-h) !important;
        padding: 0 var(--tl-page-pad) !important;
        z-index: var(--tl-z-header) !important;
        background: linear-gradient(135deg, #6438ae 0%, #502d8b 100%) !important;
        box-shadow: 0 2px 10px rgba(100, 56, 174, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: none !important;
    }

    .header-pd {
        padding-left: var(--tl-page-pad) !important;
    }

    /* Кнопка бургера в хедере */
    .header_toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
        font-size: 1.35rem !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
    }
    .header_toggle:active {
        background: rgba(255, 255, 255, 0.28) !important;
    }

    /* Логотип в хедере */
    .tl-header-brand {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #fff !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        font-size: 1.25rem !important;
        letter-spacing: -0.02em !important;
    }
    .tl-header-brand i {
        font-size: 1.4rem !important;
        color: #ffe940 !important;
    }

    /* Действия в хедере (колокольчик, профиль) */
    .header .pe-3 {
        padding-right: 0 !important;
        gap: 10px !important;
    }
}

/* ===========================================================================
   3. МОБИЛЬНЫЙ DRAWER (ШТОРКА ГЛАВНОГО МЕНЮ)
   =========================================================================== */
.tl-drawer-backdrop {
    display: none;
}

@media (max-width: 767.98px) {
    .tl-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: var(--tl-z-backdrop);
        transition: opacity 0.3s ease;
    }

    .tl-drawer {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 86%;
        max-width: 340px;
        background: #ffffff;
        z-index: var(--tl-z-drawer);
        display: flex;
        flex-direction: column;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .tl-drawer.is-open {
        transform: translateX(0);
    }

    /* Шапка Drawer */
    .tl-drawer-head {
        background: linear-gradient(135deg, #6438ae 0%, #4b238e 100%);
        color: #fff;
        padding: calc(var(--tl-safe-top) + 18px) 18px 20px;
        position: relative;
    }

    .tl-drawer-close {
        position: absolute;
        top: calc(var(--tl-safe-top) + 14px);
        right: 14px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        border-radius: 50%;
        color: #fff;
        font-size: 1.15rem;
        cursor: pointer;
    }

    .tl-drawer-user {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
    }

    .tl-drawer-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .tl-drawer-user-info {
        flex: 1;
        min-width: 0;
    }

    .tl-drawer-user-name {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tl-drawer-user-sub {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
    }

    /* Баланс в Drawer */
    .tl-drawer-balance {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        padding: 8px 12px;
        margin-top: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
    }

    /* Список разделов Drawer */
    .tl-drawer-nav {
        padding: 12px 8px;
        flex: 1;
    }

    .tl-drawer-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        color: #334155;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        border-radius: 10px;
        transition: background-color 0.15s ease;
        margin-bottom: 2px;
    }
    .tl-drawer-item i {
        font-size: 1.25rem;
        color: var(--tl-primary);
        width: 24px;
        text-align: center;
    }
    .tl-drawer-item:hover, .tl-drawer-item:active, .tl-drawer-item.active {
        background-color: var(--tl-primary-subtle);
        color: var(--tl-primary);
    }
    .tl-drawer-item.active i {
        color: var(--tl-primary);
    }

    .tl-drawer-divider {
        height: 1px;
        background: #f1f5f9;
        margin: 8px 12px;
    }

    /* Футер Drawer (Выход) */
    .tl-drawer-foot {
        padding: 12px 16px calc(var(--tl-safe-bottom) + 12px);
        border-top: 1px solid #f1f5f9;
    }
}

/* ===========================================================================
   4. НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ (BOTTOM NAVIGATION BAR / DOCK)
   =========================================================================== */
.tl-bottomnav {
    display: none;
}

@media (max-width: 767.98px) {
    .tl-bottomnav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--tl-z-bottom-nav);
        height: calc(var(--tl-bottom-nav-h) + var(--tl-safe-bottom));
        padding-bottom: var(--tl-safe-bottom);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    }

    .tl-bottomnav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #64748b;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 500;
        position: relative;
        padding: 6px 2px;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.15s ease;
    }

    .tl-bottomnav-item i {
        font-size: 1.35rem;
        line-height: 1;
        transition: transform 0.15s ease;
    }

    .tl-bottomnav-item.active {
        color: var(--tl-primary);
        font-weight: 700;
    }
    .tl-bottomnav-item.active i {
        transform: scale(1.1);
    }

    /* Центральная FAB-кнопка добавления (+) */
    .tl-bottomnav-fab-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .tl-bottomnav-fab {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #7c4dff 0%, #6438ae 100%);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 14px rgba(100, 56, 174, 0.4);
        margin-top: -22px;
        border: 3px solid #ffffff;
        cursor: pointer;
        text-decoration: none;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .tl-bottomnav-fab:active {
        transform: scale(0.92);
    }

    /* Бейдж непрочитанных в Bottom Nav */
    .tl-bottomnav-badge {
        position: absolute;
        top: 6px;
        right: calc(50% - 16px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background-color: #ef4444;
        color: #ffffff;
        font-size: 0.62rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #ffffff;
    }
}

/* ===========================================================================
   5. ВЫДВИЖНОЙ BOTTOM SHEET (ДЛЯ ФИЛЬТРОВ И МОДАЛОК)
   =========================================================================== */
.tl-bottom-sheet-backdrop {
    display: none;
}

@media (max-width: 767.98px) {
    .tl-bottom-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: var(--tl-z-backdrop);
    }

    .tl-bottom-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--tl-z-sheet);
        background: #ffffff;
        border-radius: var(--tl-radius-sheet) var(--tl-radius-sheet) 0 0;
        max-height: 88vh;
        max-height: 88dvh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .tl-bottom-sheet.is-open {
        transform: translateY(0);
    }

    /* Верхний хэндл шторки */
    .tl-bottom-sheet-handle {
        width: 38px;
        height: 4px;
        border-radius: 2px;
        background: #cbd5e1;
        margin: 10px auto 4px;
    }

    .tl-bottom-sheet-header {
        padding: 12px 18px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .tl-bottom-sheet-title {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0;
        color: var(--tl-text-dark);
    }

    .tl-bottom-sheet-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f1f5f9;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .tl-bottom-sheet-body {
        padding: 16px 18px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }

    .tl-bottom-sheet-footer {
        padding: 12px 18px calc(var(--tl-safe-bottom) + 12px);
        border-top: 1px solid #f1f5f9;
        background: #ffffff;
        display: flex;
        gap: 10px;
    }
}

/* ===========================================================================
   6. МОБИЛЬНЫЙ ТУЛБАР ФИЛЬТРОВ КАТАЛОГА (ВЫДАЧА ГРУЗОВ И ТРАНСПОРТА)
   =========================================================================== */
.tl-catalog-mobile-toolbar {
    display: none;
}

@media (max-width: 767.98px) {
    .tl-catalog-mobile-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 14px;
        padding: 8px 12px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        border: 1px solid var(--tl-border);
    }

    .tl-catalog-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 8px;
        background-color: var(--tl-primary);
        color: #ffffff;
        font-weight: 600;
        font-size: 0.85rem;
        border: none;
        cursor: pointer;
    }
    .tl-catalog-filter-btn .badge {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
    }

    .tl-catalog-summary {
        font-size: 0.82rem;
        color: var(--tl-text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ===========================================================================
   7. КОМПАКТНЫЕ МОБИЛЬНЫЕ КАРТОЧКИ ГРУЗОВ И ТРАНСПОРТА
   =========================================================================== */
@media (max-width: 767.98px) {
    .card.hover-shadow,
    .tl-cargo-card {
        padding: 14px !important;
        margin-bottom: 12px !important;
        border-radius: var(--tl-radius-card) !important;
        border: 1px solid #eef2f6 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    }

    /* Маршрут в карточке */
    .tl-card-route {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: var(--tl-text-dark) !important;
        margin-bottom: 8px !important;
    }
    .tl-card-route i.bi-arrow-right {
        color: var(--tl-primary);
        font-size: 1.15rem;
    }

    /* Чипсы характеристик */
    .tl-card-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    .tl-chip {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: var(--tl-radius-pill);
        background: #f1f5f9;
        color: #334155;
        font-size: 0.78rem;
        font-weight: 600;
    }
    .tl-chip i {
        color: var(--tl-primary);
        font-size: 0.82rem;
    }

    /* Блок цены и кнопки действия */
    .tl-card-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }

    .tl-card-price {
        font-size: 1.15rem;
        font-weight: 800;
        color: #10b981;
    }

    .tl-card-cta-btn {
        width: 100% !important;
        min-height: var(--tl-touch-h) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
    }
}

/* ===========================================================================
   8. МОБИЛЬНЫЙ ФУТЕР
   =========================================================================== */
@media (max-width: 767.98px) {
    footer.bg-dark {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: calc(var(--tl-bottom-nav-h) + var(--tl-safe-bottom) + 2rem) !important;
        text-align: center;
    }
    footer.bg-dark h5 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
}

/* ===========================================================================
   9. ЛИЧНЫЙ КАБИНЕТ (САБХЕДЕР И МОБИЛЬНЫЙ CARD VIEW ТАБЛИЦ)
   =========================================================================== */
@media (max-width: 991.98px) {
    /* Фиксация сабхедера кабинета под компактным мобильным хедером */
    .tl-cabinet-subnav {
        top: var(--tl-header-h) !important;
        z-index: 1010 !important;
    }
}

@media (max-width: 767.98px) {
    /* Приветственный баннер дашборда на мобильных */
    .tl-dash-welcome {
        padding: 1.25rem 1rem !important;
        border-radius: var(--tl-radius-card) !important;
    }
    .tl-dash-welcome h2 {
        font-size: 1.2rem !important;
    }

    /* Трансформация таблиц в независимые карточки (Card View) */
    .tl-table-cards {
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .tl-table-cards table.table {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .tl-table-cards table.table thead {
        display: none !important;
    }

    .tl-table-cards table.table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .tl-table-cards table.table tbody tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        border-radius: var(--tl-radius-card) !important;
        border: 1px solid #eef2f6 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        padding: 14px !important;
        box-sizing: border-box;
    }

    .tl-table-cards table.table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 8px 0 !important;
        border: none !important;
        border-bottom: 1px dashed #f1f5f9 !important;
        box-sizing: border-box;
    }

    .tl-table-cards table.table tbody td:first-child {
        padding-top: 0 !important;
    }

    .tl-table-cards table.table tbody td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        padding-top: 10px !important;
        justify-content: flex-end;
    }
}

/* ===========================================================================
   10. ДЕТАЛЬНЫЕ СТРАНИЦЫ ОБЪЯВЛЕНИЙ И STICKY ACTION BAR
   =========================================================================== */
.tl-detail-sticky-bar {
    display: none;
}

@media (max-width: 767.98px) {
    /* Заголовки и карточки на детальных страницах */
    .tl-detail-h1 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .tl-detail-card {
        padding: 16px !important;
        border-radius: var(--tl-radius-card) !important;
    }

    /* Плавающий Sticky Action Bar над нижней панелью навигации */
    .tl-detail-sticky-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: calc(var(--tl-bottom-nav-h) + var(--tl-safe-bottom));
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        z-index: var(--tl-z-bottom-nav);
        padding: 0 16px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    }

    .tl-detail-sticky-price-wrap {
        display: flex;
        flex-direction: column;
    }

    .tl-detail-sticky-label {
        font-size: 0.72rem;
        color: var(--tl-text-muted);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        line-height: 1;
    }

    .tl-detail-sticky-price {
        font-size: 1.15rem;
        font-weight: 800;
        color: #10b981;
        line-height: 1.2;
    }

    .tl-detail-sticky-cta {
        min-height: 42px;
        padding: 0 20px;
        font-size: 0.9rem;
        font-weight: 700;
        border-radius: var(--tl-radius-pill);
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* ===========================================================================
   11. МОБИЛЬНЫЕ ФОРМЫ (КАБИНЕТ И ПУБЛИЧНЫЕ)
   =========================================================================== */
@media (max-width: 767.98px) {
    .tl-form-card {
        padding: 16px !important;
        border-radius: var(--tl-radius-card) !important;
    }

    /* Устранение горизонтального переполнения в сложных формах */
    .border-end-md {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
}

/* ===========================================================================
   12. SKELETON LOADING (SHIMMER ЭФФЕКТЫ)
   =========================================================================== */
@keyframes tl-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.tl-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: tl-shimmer 1.4s infinite ease-in-out;
    border-radius: 6px;
    display: inline-block;
}

.tl-skeleton-card {
    background: #ffffff;
    border-radius: var(--tl-radius-card, 14px);
    border: 1px solid #eef2f6;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.tl-skeleton-text {
    height: 12px;
    border-radius: 4px;
}

.tl-skeleton-title {
    height: 20px;
    border-radius: 6px;
}

.tl-skeleton-chip {
    height: 24px;
    width: 76px;
    border-radius: 999px;
}

/* ===========================================================================
   13. МИКРОАНИМАЦИИ, ТАКТИЛЬНЫЙ ОТКЛИК И ПЕРФОРМАНС
   =========================================================================== */
@media (max-width: 767.98px) {
    /* Оптимизация производительности скролла длинных списков */
    .tl-cargo-card {
        content-visibility: auto;
        contain-intrinsic-size: 1px 180px;
    }

    /* Пружинящий тактильный отклик при нажатии на мобильные кнопки */
    .tl-bottomnav-item:active,
    .tl-bottomnav-fab:active,
    .tl-catalog-filter-btn:active,
    .tl-card-cta-btn:active,
    .tl-detail-sticky-cta:active,
    .tl-drawer-item:active,
    .btn-active-tab:active {
        transform: scale(0.94) !important;
        transition: transform 0.08s ease-out !important;
    }

    /* Устранение задержки в 300мс при тапе */
    .tl-bottomnav-item,
    .tl-bottomnav-fab,
    .tl-catalog-filter-btn,
    .tl-card-cta-btn,
    .tl-detail-sticky-cta,
    .tl-drawer-item,
    .tl-bottom-sheet-close,
    .tl-drawer-close {
        touch-action: manipulation;
    }

    /* Плавные переходы для интерактивных элементов */
    .tl-bottomnav-item {
        transition: transform 0.15s ease, color 0.15s ease;
    }
    .tl-bottomnav-fab {
        transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
    }
}
