/* ============================================================
   INVENTO — Premium Inventory Management System
   Design System v3.0 — Full overhaul
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
    --bg:          #05080f;
    --bg-alt:      #080d17;
    --surface:     rgba(13, 19, 35, 0.85);
    --surface-alt: rgba(18, 26, 46, 0.75);
    --border:      rgba(255, 255, 255, 0.055);
    --border-hover:rgba(99, 102, 241, 0.35);

    --primary:     #6366f1;
    --primary-lt:  #818cf8;
    --primary-glow:rgba(99, 102, 241, 0.18);
    --primary-dim: rgba(99, 102, 241, 0.08);

    --success:     #10b981;
    --success-glow:rgba(16, 185, 129, 0.15);
    --danger:      #f43f5e;
    --danger-glow: rgba(244, 63, 94, 0.15);
    --warning:     #f59e0b;
    --warning-glow:rgba(245, 158, 11, 0.15);
    --info:        #0ea5e9;
    --info-glow:   rgba(14, 165, 233, 0.15);
    --purple-glow: rgba(168, 85, 247, 0.15);

    --text-1: #f1f5f9;
    --text-2: #cbd5e1;
    --text-3: #94a3b8;
    --text-4: #64748b;
    --text-5: #475569;

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
    --shadow-primary: 0 8px 30px rgba(99,102,241,0.25);

    --transition-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow:   0.4s  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 0%   0%,   rgba(99, 102, 241, 0.07) 0px, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 0%,   rgba(168, 85, 247, 0.05) 0px, transparent 60%),
        radial-gradient(ellipse 50% 30% at 50%  100%, rgba(16, 185, 129, 0.04) 0px, transparent 60%);
    background-attachment: fixed;
    color: var(--text-1);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar        { width: 5px; height: 5px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: rgba(99,102,241,0.25); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.45); }

/* ── Typography ─────────────────────────────────────────── */
.font-mono, code, pre { font-family: 'JetBrains Mono', 'Fira Code', monospace; }

/* ── Icon sizing — ensures Lucide SVGs are always explicit ── */
svg[data-lucide],
i[data-lucide] svg,
i[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    stroke-width: 1.75;
}
/* Make sure SVGs inside i elements fit their container properly when not replaced */
i[data-lucide] svg {
    width: 100%;
    height: 100%;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1);    }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
@keyframes shimmer {
    from { background-position: -1000px 0; }
    to   { background-position:  1000px 0; }
}

.animate-fade-in    { animation: fade-in-up 0.4s var(--transition-slow) forwards; }
.animate-scale-in   { animation: scale-in  0.3s var(--transition-normal) forwards; }
.animate-pulse      { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-spin       { animation: spin  0.8s linear infinite; }

/* ── Glass Card ─────────────────────────────────────────── */
.glass-card {
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(9, 14, 27, 0.85)  100%);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    transition: border-color var(--transition-fast),
                box-shadow   var(--transition-fast),
                transform    var(--transition-fast);
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 4px 16px rgba(79,70,229,0.35);
    border: 1px solid rgba(99,102,241,0.5);
    color: #fff;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,70,229,0.5);
    border-color: #818cf8;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-secondary {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    color: var(--text-1);
    transform: translateY(-1px);
}
.btn-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Form Inputs ─────────────────────────────────────────── */
input, select, textarea {
    font-family: 'Inter', sans-serif;
    background: rgba(10, 15, 30, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: var(--text-1) !important;
    border-radius: var(--radius-md) !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
    width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-4) !important; }
input:focus, select:focus, textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
    outline: none !important;
    background: rgba(10, 15, 30, 0.9) !important;
}
select option {
    background: #0d1322;
    color: var(--text-1);
}

/* ── Status Badges ───────────────────────────────────────── */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    white-space: nowrap;
    line-height: 1.5;
}
.badge-premium::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 9999px;
    background: currentColor;
    flex-shrink: 0;
    display: inline-block;
}
.badge-premium-pending    { background: var(--warning-glow); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-premium-labeled    { background: var(--info-glow);    color: #38bdf8; border: 1px solid rgba(14,165,233,0.25); }
.badge-premium-sold       { background: var(--success-glow); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-premium-delivered  { background: var(--success-glow); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-premium-completed  { background: var(--success-glow); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-premium-shipped    { background: var(--info-glow);    color: #38bdf8; border: 1px solid rgba(14,165,233,0.25); }
.badge-premium-dispatched { background: var(--info-glow);    color: #38bdf8; border: 1px solid rgba(14,165,233,0.25); }
.badge-premium-packaged   { background: var(--warning-glow); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-premium-damaged    { background: var(--danger-glow);  color: #fb7185; border: 1px solid rgba(244,63,94,0.25);  }
.badge-premium-returned   { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }
.badge-premium-rejected   { background: rgba(239,68,68,0.15);  color: #f87171; border: 1px solid rgba(239,68,68,0.25);  }
.badge-premium-cancelled  { background: rgba(239,68,68,0.15);  color: #f87171; border: 1px solid rgba(239,68,68,0.25);  }

/* ── Premium Table ───────────────────────────────────────── */
.premium-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}
.premium-table thead tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(8,13,26,0.5);
}
.premium-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-4);
    padding: 0.85rem 1.25rem;
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.premium-table th:last-child { text-align: center; }
.premium-table td {
    padding: 0.85rem 1.25rem;
    vertical-align: middle;
    font-size: 0.875rem;
    color: var(--text-2);
    border-bottom: 1px solid rgba(255,255,255,0.030);
    font-variant-numeric: tabular-nums;
}
.premium-table tbody tr {
    transition: background var(--transition-fast);
    border-left: 2px solid transparent;
}
.premium-table tbody tr:hover {
    background: rgba(99,102,241,0.04);
    border-left-color: var(--primary);
}
.premium-table tbody tr:last-child td { border-bottom: none; }

/* Column width hints */
.premium-table .col-code   { width: 8rem;  white-space: nowrap; }
.premium-table .col-image  { width: 4rem;  }
.premium-table .col-date   { width: 7rem;  white-space: nowrap; }
.premium-table .col-action { width: 10rem; text-align: center; }

/* ── Sidebar ─────────────────────────────────────────────── */
#sidebar {
    transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}
#mainContentArea {
    transition: margin-left 0.28s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-link {
    position: relative;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    color: #9aa5be;  /* premium slate-indigo tint — not plain grey, not bright white */
    font-weight: 600;
}
.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform var(--transition-fast);
}
.sidebar-link:hover {
    background: rgba(99,102,241,0.06) !important;
    color: #c7d2fe !important;  /* indigo-200 — vibrant but soft */
    text-decoration: none !important;
    transform: translateX(3px);
}
.sidebar-link.active {
    background: linear-gradient(135deg, rgba(99,102,241,0.14) 0%, rgba(99,102,241,0.05) 100%) !important;
    border-color: rgba(99,102,241,0.18) !important;
    color: #e0e7ff !important;  /* indigo-100 — premium white-indigo */
    box-shadow: 0 4px 20px -4px rgba(99,102,241,0.2) !important;
    text-decoration: none !important;
}
.sidebar-link.active::before  { transform: scaleY(1); }
.sidebar-link i { flex-shrink: 0; transition: all var(--transition-fast); }
.sidebar-link.active i {
    color: var(--primary-lt);
    filter: drop-shadow(0 0 6px rgba(99,102,241,0.55));
}

/* Collapsed sidebar */
.collapsed #sidebar           { width: 80px !important; }
.collapsed #mainContentArea   { margin-left: 80px !important; }
.collapsed #sidebar .nav-label,
.collapsed #sidebar .user-info-text { opacity: 0 !important; display: none !important; }
.collapsed #sidebar #sidebarHeader  { padding-left: 0.5rem !important; padding-right: 0.5rem !important; justify-content: center !important; }
.collapsed #sidebar .sidebar-link   { justify-content: center !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0.35rem !important; margin-right: 0.35rem !important; }
.collapsed #sidebar .sidebar-link i { margin-right: 0 !important; }
.collapsed #sidebar .sidebar-profile-box { justify-content: center !important; padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.collapsed #sidebar .logout-text    { display: none !important; }
.collapsed #sidebar .logout-btn-elem { padding-left: 0 !important; padding-right: 0 !important; width: 2.5rem !important; height: 2.5rem !important; justify-content: center !important; }
.collapsed #sidebarCollapseBtn i    { transform: rotate(180deg); }
#sidebarCollapseBtn i { transition: transform 0.25s cubic-bezier(0.4,0,0.2,1); }

/* ── Tab Buttons ─────────────────────────────────────────── */
.tab-button {
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}
.tab-button:not([class*="bg-indigo"]):not([class*="bg-rose"]) {
    border-color: rgba(255,255,255,0.06);
    color: var(--text-3);
}
.tab-button:not([class*="bg-indigo"]):not([class*="bg-rose"]):hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-1);
}

/* ── Product Image Container (inventory table) ───────────── */
.product-image-container {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(10,15,30,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.product-image-container:hover {
    transform: scale(1.06);
    border-color: var(--primary);
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-image-container.fallback { color: var(--text-5); }
.product-image-container svg {
    width: 18px;
    height: 18px;
}

/* ── Order Item Chips (orders table) ─────────────────────── */
.order-items-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 280px;
}
.order-item-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
    background: rgba(10,15,30,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    max-width: 160px;
}
.order-item-chip-img {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(10,15,30,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.order-item-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-item-chip-img svg {
    width: 12px;
    height: 12px;
}
.order-item-chip-details { min-width: 0; line-height: 1.15; }
.order-item-chip-code    { font-size: 10px; font-weight: 700; color: #818cf8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-chip-name    { font-size: 9px;  color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95px; }

/* ── Dispatch Catalog Cards ──────────────────────────────── */
.catalog-card {
    background: rgba(15,22,40,0.55);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}
.catalog-card:hover {
    border-color: rgba(99,102,241,0.4);
    background: rgba(20,30,55,0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.catalog-card.selected {
    border-color: var(--primary) !important;
    background: rgba(99,102,241,0.09) !important;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.25), var(--shadow-md) !important;
}
.catalog-card-image-box {
    width: 100%;
    height: 115px;
    margin-top: 1.1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10,15,30,0.55);
    border: 1px solid rgba(255,255,255,0.055);
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-card-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: 4px;
}
.catalog-card-image-box svg {
    width: 32px;
    height: 32px;
}
.catalog-card-marker {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 9999px;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(10,15,30,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-5);
    transition: all var(--transition-fast);
}
.catalog-card-marker svg { width: 12px; height: 12px; stroke-width: 2.5; }
.catalog-card.selected .catalog-card-marker {
    background: var(--primary) !important;
    border-color: #818cf8 !important;
    color: white !important;
}
.catalog-card-code { font-size: 0.8rem; font-weight: 700; color: var(--text-1); text-align: center; line-height: 1.3; }
.catalog-card-name { font-size: 0.7rem; color: var(--text-3); margin-top: 0.2rem; text-align: center; line-height: 1.3; }
.catalog-card-qty  { font-size: 0.7rem; color: var(--text-2); font-weight: 600; margin-top: 0.2rem; text-align: center; }
.catalog-card-dispatch-btn {
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.42rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.22);
    color: #fbbf24;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: 'Inter', sans-serif;
}
.catalog-card-dispatch-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #000;
    transform: translateY(-1px);
}

/* ── Detail / Modal Item Image ───────────────────────────── */
.detail-item-image-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10,15,30,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-item-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-item-image-box svg {
    width: 22px;
    height: 22px;
}

/* ── Empty State ─────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 3rem 1.5rem;
    color: var(--text-4);
    text-align: center;
}
.empty-state svg { width: 2rem; height: 2rem; opacity: 0.4; }
.empty-state p   { font-size: 0.875rem; font-weight: 500; }
.empty-state span { font-size: 0.75rem; color: var(--text-5); }

/* ── Spinner ─────────────────────────────────────────────── */
.premium-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255,255,255,0.05);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

/* ── Misc Utilities ──────────────────────────────────────── */
.pointer-events-none { pointer-events: none; }

/* Action icon buttons inside tables */
.tbl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}
.tbl-btn svg { width: 14px; height: 14px; }
.tbl-btn-indigo  { color: #818cf8; background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.2); }
.tbl-btn-indigo:hover  { background: #6366f1; color: #fff; border-color: #6366f1; transform: translateY(-1px); }
.tbl-btn-amber   { color: #fbbf24; background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); }
.tbl-btn-amber:hover   { background: #f59e0b; color: #000; border-color: #f59e0b; transform: translateY(-1px); }
.tbl-btn-emerald { color: #34d399; background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); }
.tbl-btn-emerald:hover { background: #10b981; color: #fff; border-color: #10b981; transform: translateY(-1px); }
.tbl-btn-rose    { color: #fb7185; background: rgba(244,63,94,0.1);  border-color: rgba(244,63,94,0.2);  }
.tbl-btn-rose:hover    { background: #f43f5e; color: #fff; border-color: #f43f5e; transform: translateY(-1px); }

/* Category chip inline */
.cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(30,41,59,0.7);
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap;
}

/* Pricing row mini layout */
.pricing-block { line-height: 1.4; }
.pricing-block .price-main { font-size: 0.9rem; font-weight: 800; color: var(--text-1); }
.pricing-block .price-sub  { font-size: 0.65rem; color: var(--text-4); font-weight: 500; margin-top: 2px; }

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .glass-card:hover, .btn-primary:hover, .btn-secondary:hover,
    .tbl-btn:hover, .catalog-card:hover, .product-image-container:hover {
        transform: none !important;
    }
}

/* ── Touch: kill sticky hover states ─────────────────────── */
@media (hover: none) {
    .glass-card:hover { transform: none; box-shadow: var(--shadow-md); }
    .btn-primary:hover, .btn-secondary:hover { transform: none; }
    .tbl-btn:hover { transform: none; }
}