/* Nova CNG Theme - Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CNG Particle Animation */
@keyframes cngFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
    color: #0f172a;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Toast Messages */
.toast-message {
    position: fixed;
    top: 90px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
.toast-message i {
    font-size: 18px;
    flex-shrink: 0;
}
.toast-message span {
    flex: 1;
}
.toast-message button {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    padding: 0;
    color: inherit;
}
.toast-message button:hover {
    opacity: 1;
}
.toast-message.success {
    background: #d1fae5;
    color: #065f46;
}
.toast-message.error {
    background: #fee2e2;
    color: #991b1b;
}
.toast-message.warning {
    background: #fef3c7;
    color: #92400e;
}
.toast-message.info {
    background: #dbeafe;
    color: #1e40af;
}

/* ===== Header ===== */
.header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.header.scrolled {
    border-bottom-color: #e2e8f0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 16px;
    height: 64px;
}
.header-logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.header-logo i { font-size: 1.2rem; }
.header-logo img {
    max-height: 34px;
    width: auto;
}
.header-nav {
    display: flex;
    gap: 4px;
}
.header-nav .nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s;
}
.header-nav .nav-link:hover {
    color: #fff;
    background: var(--primary);
}
.header-search {
    flex: 1;
    max-width: 280px;
}
.header-search form {
    display: flex;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 8px 38px 8px 14px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    background: #f1f4f9;
    transition: all 0.2s;
}
.header-search input:focus {
    background: #eef2f8;
    box-shadow: 0 0 0 2px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.15);
}
.header-search input::placeholder {
    color: #94a3b8;
    font-size: 12px;
}
.header-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    font-size: 12px;
}
.header-search button:hover { color: var(--primary); }
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-cart {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 17px;
}
.header-cart:hover {
    background: #f1f4f9;
    color: var(--primary);
}
.cart-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.header-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    background: #f1f4f9;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.header-user:hover { background: #e8ecf3; }
.header-user i:first-child { font-size: 16px; color: var(--primary); }
.header-user i:last-child { font-size: 9px; margin-left: 1px; }
.header-dropdown { position: relative; }
.dropdown-gap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border-radius: 16px;
    border: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 8px;
    display: none;
    z-index: 100;
    overflow: hidden;
}
.header-dropdown:hover .dropdown-menu,
.header-dropdown:hover .dropdown-gap { display: block; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.15s;
}
.dropdown-menu a:hover { background: #f1f4f9; color: var(--primary); }
.dropdown-menu hr { margin: 6px 0; border-color: #f1f4f9; }
.dropdown-menu i { width: 18px; text-align: center; font-size: 15px; }
.header-btn {
    padding: 7px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}
.header-btn-outline {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
}
.header-btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #f8fafc; }
.header-btn:not(.header-btn-outline) {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
}
.header-btn:not(.header-btn-outline):hover {
    box-shadow: 0 4px 14px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.35);
    transform: translateY(-1px);
}
.header-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    color: #475569;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
}
.header-toggle:hover { background: #f1f4f9; color: var(--primary); }

/* ===== Mobile Menu ===== */
.header-menu {
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
}
.header-menu a {
    display: block;
    padding: 12px 0;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f8fafc;
    transition: color 0.2s;
}
.header-menu a:hover { color: var(--primary); }
.header-menu hr { margin: 8px 0; }
.header-search-mobile { margin-bottom: 12px; }
.header-search-mobile form { display: flex; position: relative; }
.header-search-mobile input {
    width: 100%;
    padding: 10px 42px 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
}
.header-search-mobile button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

/* ===== Mobile Header ===== */
.mobile-header-actions { display: none !important; }
.mobile-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
}
.mobile-cart-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}
.mobile-cart-btn .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239,68,68,0.3);
}

@media (max-width: 991px) {
    .header-nav, .header-search, .header-actions { display: none !important; }
    .header-toggle { display: flex !important; order: 0; }
    .mobile-header-actions { display: flex !important; order: 2; }
    .header-logo { order: 1; flex: 1; text-align: center; justify-content: center; }
    .header-inner { flex-wrap: nowrap; height: 60px; }
    .header-logo img { margin: 0 auto; }
}

@media (max-width: 576px) {
    .header-inner { height: 56px; gap: 8px; }
    .header-logo { font-size: 1.1rem; }
    .header-logo i { font-size: 0.95rem; }
    .header-logo img { max-height: 28px; }
    .toast-message {
        left: 10px;
        right: 10px;
        max-width: none;
        top: 70px;
    }
}

/* ===== Footer (Nova) ===== */
.nv-footer {
    position: relative;
    background: #f6f8fb;
    border-top: 1px solid #e9edf3;
    padding-top: 64px;
    overflow: hidden;
}
.nv-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, color-mix(in srgb, var(--primary), #fff 40%) 50%, var(--primary-dark) 100%);
}
.nv-footer::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.07) 0%, transparent 70%);
    pointer-events: none;
}
.nv-footer-main {
    padding-bottom: 44px;
    position: relative;
}

.nv-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}
.nv-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}
.nv-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nv-brand img {
    max-height: 36px;
    width: auto;
}
.nv-tagline {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 340px;
}

.nv-social {
    display: flex;
    gap: 10px;
}
.nv-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}
.nv-social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.35);
}

.nv-col-title {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nv-col-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), #fff 40%));
    box-shadow: 0 0 0 4px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.12);
}
.nv-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nv-links li { margin-bottom: 10px; }
.nv-links li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 8px;
    margin-left: -10px;
}
.nv-links li a:hover {
    color: var(--primary);
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.08);
    padding-left: 16px;
}

.nv-contact-sub {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 14px;
}
.nv-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nv-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    color: #475569;
    font-size: 13px;
    transition: all 0.2s;
}
.nv-contact li:hover {
    border-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.35);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}
.nv-contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.nv-footer-bottom {
    border-top: 1px solid #e9edf3;
    padding: 18px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}
.nv-copy {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
.nv-bottom-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nv-dev {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
.nv-dev span {
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nv-back-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s;
}
.nv-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nv-back-top.show:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.5);
}

@media (max-width: 991px) {
    .nv-footer { padding-top: 52px; }
    .nv-footer-col { margin-top: 8px; }
    .nv-tagline { max-width: 100%; }
}
@media (max-width: 575px) {
    .nv-footer { padding-top: 40px; }
    .nv-footer-bottom { justify-content: center; text-align: center; }
    .nv-bottom-right { gap: 8px; }
    .nv-tagline { max-width: 100%; }
    .nv-back-top { bottom: 88px; right: 16px; width: 40px; height: 40px; }
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 0; right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    pointer-events: none;
}
.chat-widget > * { pointer-events: auto; }

.chat-bubble {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary), #fff 10%));
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 24px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.55); }
.chat-bubble-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.25);
    animation: chatPulse 2.5s ease-in-out infinite;
}
@keyframes chatPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

.chat-popup {
    width: 340px;
    margin: 0 24px 12px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.14);
    display: none;
    overflow: hidden;
}
.chat-popup.open { display: block; animation: chatPop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes chatPop {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary), #000 20%) 100%);
    padding: 20px 20px 28px;
    color: white;
    overflow: hidden;
}
.chat-header-bg { position: absolute; inset: 0; }
.chat-header-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; }
.chat-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.chat-agent {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-agent-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}
.chat-agent-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 12px; height: 12px;
    background: #34d399;
    border: 2px solid color-mix(in srgb, var(--primary), #000 20%);
    border-radius: 50%;
}
.chat-agent-info { display: flex; flex-direction: column; }
.chat-agent-name { font-weight: 700; font-size: 15px; }
.chat-agent-status { font-size: 12px; opacity: 0.8; margin-top: 1px; }
.chat-close-btn {
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.15s;
}
.chat-close-btn:hover { background: rgba(255,255,255,0.2); }

.chat-greeting { padding: 0 20px 16px; margin-top: -8px; }
.chat-greeting-bubble {
    position: relative;
    background: #f0edff;
    border-radius: 4px 14px 14px 14px;
    padding: 12px 14px;
    max-width: 85%;
}
.chat-greeting-bubble p { margin: 0; font-size: 13px; color: #374151; line-height: 1.5; }
.chat-greeting-arrow {
    position: absolute;
    top: 0; left: -6px;
    width: 8px; height: 8px;
    background: #f0edff;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.chat-body { padding: 0 16px 12px; }
.chat-body-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
    margin-bottom: 8px;
    padding: 0 4px;
}
.chat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
    margin-bottom: 4px;
    cursor: pointer;
}
.chat-card:last-child { margin-bottom: 0; }
.chat-card:hover { background: #f5f3ff; transform: translateX(3px); }
.chat-card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}
.chat-card-live { background: linear-gradient(135deg, #059669, #10b981); }
.chat-card-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.chat-card-tg { background: linear-gradient(135deg, #0088cc, #0078b8); }
.chat-card-info { flex: 1; min-width: 0; }
.chat-card-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}
.chat-card-desc {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 1px;
}
.chat-card-arrow {
    color: #d1d5db;
    font-size: 12px;
    transition: transform 0.2s, color 0.2s;
}
.chat-card:hover .chat-card-arrow { transform: translateX(4px); color: var(--primary); }

.chat-footer {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #9ca3af;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .chat-bubble { width: 64px; height: 64px; font-size: 26px; margin: 20px; }
    .chat-popup { width: 360px; margin: 0 20px 12px; }
    .chat-header { padding: 24px 24px 32px; }
    .chat-agent-avatar { width: 48px; height: 48px; font-size: 20px; }
    .chat-agent-name { font-size: 16px; }
    .chat-greeting { padding: 0 24px 20px; }
    .chat-body { padding: 0 20px 16px; }
    .chat-card { padding: 14px; }
    .chat-card-icon { width: 48px; height: 48px; font-size: 22px; }
    .chat-footer { padding: 12px 24px; font-size: 12px; }
}

@media (max-width: 576px) {
    .chat-widget { left: 0; }
    .chat-bubble {
        width: 54px; height: 54px; font-size: 22px;
        margin: 16px;
        position: fixed;
        bottom: 0; right: 0;
    }
    .chat-popup {
        width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    .chat-popup.open { animation: chatSlideMobile 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes chatSlideMobile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    .chat-header { padding: 18px 20px 28px; }
    .chat-greeting { padding: 0 16px 16px; margin-top: -6px; }
    .chat-greeting-bubble { max-width: 90%; }
    .chat-body { padding: 0 12px 12px; }
    .chat-card { padding: 11px; }
    .chat-card-icon { width: 42px; height: 42px; font-size: 19px; }
}

@media (max-width: 380px) {
    .chat-bubble { width: 48px; height: 48px; font-size: 20px; margin: 12px; }
    .chat-header { padding: 14px 16px 24px; }
    .chat-agent-avatar { width: 38px; height: 38px; font-size: 16px; }
    .chat-agent-name { font-size: 14px; }
    .chat-greeting-bubble { padding: 10px 12px; }
    .chat-greeting-bubble p { font-size: 12px; }
    .chat-card-icon { width: 38px; height: 38px; font-size: 17px; }
    .chat-card-title { font-size: 13px; }
    .chat-card-desc { font-size: 11px; }
}
