
     
    @media (max-width: 768px) {
        body {
            font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            padding-top: 0;
            padding-bottom: 76px;
            background: #F4F5F7;
        }

        .container {
            padding: 0 8px !important;
        }

        
        .mobile-header {
            background: #008242;
            padding: 8px 10px 10px;
            padding-top: calc(8px + env(safe-area-inset-top));
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
        }
        .mobile-header-top {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 38px;
            margin-bottom: 8px;
        }
        .mobile-header-spacer {
            width: 68px;
            height: 34px;
        }
        .mobile-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }
        .mobile-logo img {
            height: 34px;
            width: auto;
            object-fit: contain;
        }
        .mobile-header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .header-icon-btn {
            background: transparent;
            border: none;
            color: #ffffff;
            padding: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .header-icon-btn:active {
            opacity: 0.75;
        }
        .header-notif-badge {
            position: absolute;
            top: -2px;
            right: -3px;
            background: #EF4444;
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid #008242;
        }

        
        .file-delivery-bar {
            display: flex;
            gap: 8px;
            margin-bottom: 0;
        }
        .delivery-pill {
            flex: 1;
            background: #ffffff;
            border-radius: 9px;
            padding: 6px 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            min-width: 0;
            cursor: pointer;
            border: none;
            text-align: left;
            font-family: 'Montserrat', sans-serif;
        }
        .delivery-pill:active {
            transform: scale(0.99);
        }
        .delivery-pill .pill-icon {
            color: #008242;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .delivery-pill .pill-info {
            display: flex;
            flex-direction: column;
            min-width: 0;
            overflow: hidden;
        }
        .delivery-pill .pill-title {
            font-size: 10px;
            font-weight: 700;
            color: #008242;
            line-height: 1.15;
        }
        .delivery-pill .pill-value {
            font-size: 12px;
            font-weight: 700;
            color: #212529;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.25;
        }

        .sok-main-content {
            padding-top: 106px !important;
            padding-bottom: 16px !important;
        }

        .file-app-banner-section {
            padding: 6px 2px 4px !important;
        }
        .file-category-section {
            padding: 6px 2px 12px !important;
        }
        .file-category-grid {
            gap: 7px !important;
        }
        .file-category-card {
            border-radius: 14px !important;
            padding: 10px 4px 9px !important;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
        }
        .file-category-card .cat-icon-wrap {
            width: 66px !important;
            height: 62px !important;
            margin-bottom: 5px !important;
        }
        .file-category-card .cat-name {
            font-size: 11.5px !important;
            font-weight: 700 !important;
            color: #1f2937 !important;
            letter-spacing: -0.01em;
        }

        
        .bottom-nav {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #ffffff;
            border-top: 1px solid #e5e7eb;
            z-index: 999;
            padding: 6px 0 calc(8px + env(safe-area-inset-bottom));
            align-items: center;
            justify-content: space-around;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        }
        .bottom-nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            color: #4b5563;
            text-decoration: none;
            font-size: 11px;
            font-weight: 600;
            position: relative;
            -webkit-tap-highlight-color: transparent;
        }
        .bottom-nav-item.active {
            color: #008242;
            font-weight: 700;
        }
        .bottom-nav-item svg {
            width: 23px;
            height: 23px;
        }
        .bottom-nav-item .nav-badge {
            position: absolute;
            top: -4px;
            right: calc(50% - 18px);
            background: #008242;
            color: white;
            border-radius: 50%;
            min-width: 18px;
            height: 18px;
            font-size: 10px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            padding: 0 3px;
        }

        .top-blue-bar,
        .bottom-yellow-bar {
            display: none !important;
        }

        .sok-product-grid {
            padding: 4px 2px;
            gap: 8px;
        }

        .sok-product-card {
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        .floating-support-widget {
            bottom: 78px !important;
            right: 12px !important;
        }
    }

    
    .file-card-fab {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #ffffff;
        color: #008242;
        border: 1.5px solid #008242;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        cursor: pointer;
        z-index: 4;
        box-shadow: 0 2px 8px rgba(0, 130, 66, 0.16);
        transition: all 0.18s ease;
    }
    .file-card-fab:hover, .file-card-fab:active {
        background: #008242;
        color: #ffffff;
    }
    .file-card-fab.in-cart {
        background: #008242;
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
    }
    .file-card-stepper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f0fdf4;
        border: 1.5px solid #008242;
        border-radius: 12px;
        overflow: hidden;
        height: 40px;
        width: 100%;
    }
    .file-card-stepper button {
        width: 38px;
        height: 100%;
        border: none;
        background: #008242;
        color: #ffffff;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.15s;
    }
    .file-card-stepper button:active {
        opacity: 0.85;
    }
    .file-card-stepper .stepper-count {
        flex: 1;
        text-align: center;
        font-size: 13px;
        font-weight: 800;
        color: #008242;
    }

    
    .file-sheet-overlay {
        position: fixed;
        inset: 0;
        background: rgba(17, 24, 39, 0.55);
        z-index: 2100;
        display: none;
        align-items: flex-end;
        justify-content: center;
        backdrop-filter: blur(2px);
    }
    .file-sheet-overlay.active {
        display: flex;
    }
    .file-sheet {
        background: #ffffff;
        width: 100%;
        max-width: 560px;
        border-radius: 22px 22px 0 0;
        max-height: 88vh;
        overflow-y: auto;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.18);
        animation: fileSheetUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }
    @keyframes fileSheetUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    .file-sheet-header {
        position: sticky;
        top: 0;
        background: #008242;
        color: #ffffff;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 5;
        border-radius: 22px 22px 0 0;
    }
    .file-sheet-header h3 {
        font-size: 16px;
        font-weight: 800;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .file-sheet-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.2);
        color: #ffffff;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .file-sheet-body {
        padding: 16px;
    }
    .slot-day-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 14px;
    }
    .slot-day-tab {
        flex: 1;
        padding: 10px;
        border-radius: 12px;
        border: 1.5px solid #e5e7eb;
        background: #f9fafb;
        text-align: center;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
        color: #374151;
    }
    .slot-day-tab.active {
        border-color: #008242;
        background: #ecfdf5;
        color: #008242;
    }
    .slot-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border: 1.5px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 8px;
        cursor: pointer;
        transition: all 0.15s;
    }
    .slot-item:hover, .slot-item.selected {
        border-color: #008242;
        background: #f0fdf4;
    }
    .slot-item .slot-time {
        font-size: 14px;
        font-weight: 700;
        color: #111827;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .slot-item .slot-status {
        font-size: 11px;
        font-weight: 700;
        color: #008242;
        background: rgba(0, 130, 66, 0.1);
        padding: 4px 10px;
        border-radius: 20px;
    }

    
    .file-toast {
        position: fixed;
        bottom: 84px;
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        background: #111827;
        color: #ffffff;
        padding: 11px 16px;
        border-radius: 14px;
        font-size: 12.5px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        z-index: 3000;
        opacity: 0;
        pointer-events: none;
        transition: all 0.22s ease;
        width: max-content;
        max-width: 92vw;
    }
    .file-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
    .file-toast a {
        color: #F6A605;
        text-decoration: none;
        font-weight: 800;
        white-space: nowrap;
    }
     
    @media (min-width: 769px) {
        .mobile-header,
        .bottom-nav,
        .mobile-filter-bar {
            display: none !important;
        }
    }
     
    
    @media (min-width: 769px) {
        body {
            font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        .sok-main-content {
            padding-top: 24px !important;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .sok-content-wrapper {
            display: flex;
            gap: 28px;
            align-items: flex-start;
        }
        .sok-sidebar {
            display: block !important;
            width: 230px;
            flex-shrink: 0;
            background: #fff;
            border-radius: 12px;
            padding: 20px 16px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.07);
            position: sticky;
            top: 24px;
        }
        .sok-products-container {
            flex: 1;
            min-width: 0;
        }
        .sok-sort-select {
            display: inline-block !important;
        }
        .top-blue-bar,
        .bottom-yellow-bar {
            display: block !important;
        }
    }
    @media (max-width: 768px) {
        .sok-sort-select {
            display: none !important;
        }
        .sok-sidebar {
            display: none !important;
        }
    }
    

  .floating-support-widget {
    position: fixed;
    right: 24px;
    bottom: 20px;
    top: auto;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
  }

   
  body.support-widget-behind .floating-support-widget {
    z-index: 10 !important;
    pointer-events: none;
  }

  .support-widget-button {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #DE672B 0%, #F6A605 100%) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(222, 103, 43, 0.4) !important;
    transition: all 0.3s ease;
    border: 3px solid #fff;
  }

   
  .support-widget-button > i {
    color: #fff !important;
  }

  .support-widget-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(222, 103, 43, 0.45);
    background: linear-gradient(135deg, #DE672B 0%, #e07035 100%);
  }

  .support-widget-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    top: auto;
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
  }

  .support-widget-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .support-widget-button:hover .support-widget-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .support-widget-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  }

  .tooltip-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .tooltip-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-top: 4px;
  }

  .tooltip-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #1cc139;
    font-weight: 700;
    margin-top: 8px;
  }

  .tooltip-online-dot {
    width: 8px;
    height: 8px;
    background: #1cc139;
    border-radius: 50%;
  }

   
  body.support-modal-open {
    overflow: hidden;
  }

  .support-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    z-index: 12000;
  }

  .support-modal-overlay.open {
    display: flex;
  }

  .support-modal {
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 560px;
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
  }

  .support-modal-header {
    background: linear-gradient(135deg, #DE672B 0%, #F6A605 100%);
    color: #fff;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .support-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .support-modal-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(0, 61, 130, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 61, 130, 0.2);
    flex: 0 0 auto;
  }

  .support-modal-header-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .support-modal-header-title {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #003D82;
  }

  .support-modal-header-subtitle {
    margin-top: 2px;
    font-weight: 600;
    font-size: 0.75rem;
    opacity: 0.85;
    color: #003D82;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .support-modal-header-subtitle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1cc139;
    box-shadow: 0 0 0 3px rgba(28, 193, 57, 0.25);
  }

  .support-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(0, 61, 130, 0.2);
    background: rgba(0, 61, 130, 0.1);
    color: #003D82;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
    flex: 0 0 auto;
  }

  .support-modal-close:hover {
    transform: scale(1.03);
    background: rgba(0, 61, 130, 0.15);
  }

  .support-chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;  
    padding: 14px 14px 10px;
    background: #f5f8fc;
    display: flex;
    flex-direction: column;
    gap: 10px;
    touch-action: pan-y;
  }

  .support-chat-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }

  .support-chat-avatar {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: contain;
    padding: 3px;
    flex: 0 0 auto;
  }

  .support-chat-author-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
  }

  .support-chat-empty {
    margin: auto 0;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.45;
    text-align: center;
    padding: 10px 0;
  }

  .support-prechat {
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .support-prechat-title {
    font-weight: 800;
    font-size: 0.85rem;
    color: #111827;
    margin-bottom: 8px;
  }

  .support-prechat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .support-prechat-input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
  }

  .support-prechat-input:focus {
    border-color: rgba(0, 61, 130, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.18);
  }

  .support-prechat-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
  }

  .support-prechat-save {
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #DE672B 0%, #F6A605 100%);
    box-shadow: 0 4px 14px rgba(222, 103, 43, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
  }

  .support-prechat-save:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
  }

  .support-prechat-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  .support-prechat-note {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.35;
  }

  .support-prechat-error {
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ED3237;
    display: none;
  }

  .support-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
  }

  .support-chat-msg.admin {
    align-self: flex-start;
  }

  .support-chat-msg.visitor {
    align-self: flex-end;
  }

  .support-chat-bubble {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.35;
    word-break: break-word;
    white-space: pre-wrap;
  }

  .support-chat-msg.admin .support-chat-bubble {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #111827;
  }

  .support-chat-msg.visitor .support-chat-bubble {
    background: linear-gradient(135deg, #DE672B 0%, #F6A605 100%);
    color: #fff;
  }

  .support-chat-time {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 4px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .support-chat-msg.visitor .support-chat-time {
    text-align: right;
    justify-content: flex-end;
  }

   
  .support-msg-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    opacity: 0.7;
  }

  .support-msg-status.sending {
    opacity: 0.5;
  }

  .support-msg-status.sent {
    color: #6b7280;
  }

  .support-msg-status.read {
    color: #003D82;
  }

   
  .support-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    max-width: 85%;
    align-self: flex-start;
    margin-bottom: 10px;
  }

  .support-typing-dots {
    display: flex;
    gap: 4px;
  }

  .support-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aa4b2;
    animation: typing-bounce 1.4s infinite;
  }

  .support-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
  }

  .support-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes typing-bounce {
    0%, 60%, 100% {
      transform: translateY(0);
      opacity: 0.7;
    }
    30% {
      transform: translateY(-8px);
      opacity: 1;
    }
  }

   
  .support-chat-msg {
    animation: messageSlideIn 0.3s ease-out;
  }

  @keyframes messageSlideIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

   
  .support-chat-bubble a {
    color: inherit;
    text-decoration: underline;
    word-break: break-all;
  }

  .support-chat-msg.visitor .support-chat-bubble a {
    color: rgba(255, 255, 255, 0.9);
  }

   
  .support-widget-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ED3237 0%, #FF3B30 100%);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(237, 50, 55, 0.4);
  }

   
  .support-connection-status {
    position: absolute;
    top: 8px;
    right: 50px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1cc139;
    box-shadow: 0 0 0 3px rgba(28, 193, 57, 0.25);
  }

  .support-connection-status.offline {
    background: #ED3237;
    box-shadow: 0 0 0 3px rgba(237, 50, 55, 0.25);
  }

   
  .support-chat-msg.sending {
    opacity: 0.6;
  }

  .support-chat-msg.sending .support-chat-bubble {
    position: relative;
  }

  .support-chat-msg.sending .support-chat-bubble::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
  }

  .support-modal-footer {
    padding: 12px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    overflow-x: hidden;  
  }

  .support-chat-suggestions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;  
    touch-action: pan-x;
     
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .support-chat-suggestions-wrap {
    position: relative;
    overflow: hidden;  
    margin-bottom: 10px;  
    --support-suggestions-side: 40px;  
  }

  



  .support-chat-suggestions-wrap.has-left-arrow { padding-left: var(--support-suggestions-side); }
  .support-chat-suggestions-wrap.has-right-arrow { padding-right: var(--support-suggestions-side); }
  .support-chat-suggestions-wrap.has-left-arrow .support-chat-suggestions { padding-left: 0; }
  .support-chat-suggestions-wrap.has-right-arrow .support-chat-suggestions { padding-right: 0; }

  .support-chat-suggestions-wrap::before,
  .support-chat-suggestions-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--support-suggestions-side);
    pointer-events: none;
    z-index: 1;
  }

  .support-chat-suggestions-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  }

  .support-chat-suggestions-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  }

   
  .support-chat-suggestions-wrap:not(.has-left-arrow)::before { opacity: 0; }
  .support-chat-suggestions-wrap:not(.has-right-arrow)::after { opacity: 0; }

  .support-suggestions-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .support-suggestions-arrow:hover {
    transform: translateY(-50%) scale(1.04);
  }

  .support-suggestions-arrow.left { left: 6px; }
  .support-suggestions-arrow.right { right: 6px; }

  .support-suggestions-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .support-chat-suggestions::-webkit-scrollbar {
    display: none;
  }

  .support-suggestion {
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    color: #111827;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    width: auto;  
    max-width: 100%;
    line-height: 1.2;
  }

  .support-suggestion:hover {
    transform: translateY(-1px);
    background: rgba(0, 61, 130, 0.1);
    border-color: #003D82;
    color: #003D82;
  }

  .support-chat-suggestions.disabled {
    opacity: 0.55;
    pointer-events: none;
  }

  .support-chat-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    overflow-x: hidden;
    touch-action: pan-y;
  }

  .support-chat-input {
    flex: 1;
    resize: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    line-height: 1.35;
    outline: none;
    min-height: 42px;
    max-height: 120px;
    font-family: inherit;
  }

  .support-chat-input:focus {
    border-color: rgba(0, 61, 130, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.18);
  }

  .support-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #DE672B 0%, #F6A605 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(222, 103, 43, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
  }

  .support-chat-send:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
  }

  .support-chat-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
  }

  @media (max-width: 768px) {
    .floating-support-widget {
      right: 14px;
      bottom: 75px !important;
      top: auto;
      z-index: 998;
    }

    .support-widget-button {
      width: 56px;
      height: 56px;
      font-size: 24px;
    }

    .support-widget-tooltip {
      bottom: 62px;
      top: auto;
      min-width: 200px;
      max-width: 220px;
      padding: 10px 12px;
      right: 0;
    }

    .tooltip-title { font-size: 0.78rem; margin-bottom: 2px; line-height: 1.25; }
    .tooltip-text { font-size: 0.68rem; margin-top: 2px; line-height: 1.35; }
    .tooltip-online { font-size: 0.68rem; margin-top: 6px; gap: 5px; }
    .tooltip-online-dot { width: 7px; height: 7px; }

     
    .support-widget-tooltip.is-compact {
      padding: 8px 10px;
    }
    .support-widget-tooltip.is-compact .tooltip-title { font-size: 0.76rem; }
    .support-widget-tooltip.is-compact .tooltip-text { font-size: 0.66rem; }
    .support-widget-tooltip.is-compact .tooltip-online { font-size: 0.66rem; margin-top: 5px; }

    .support-modal-overlay {
      padding: 12px;
      align-items: flex-end;
      justify-content: center;
    }

    .support-modal {
      width: 100%;
      max-width: 520px;
      height: min(78vh, 560px);
      max-height: calc(100vh - 24px);
      border-radius: 16px;
    }

    .support-prechat-grid {
      grid-template-columns: 1fr;
    }
  }
