/* Infomac Mega Menu v3.0 */
.imm-wrap { font-family: 'Segoe UI', system-ui, sans-serif; width: 100%; }
.imm-topbar { background: #1e3a5f; padding: 5px 16px; display: flex; align-items: center; justify-content: space-between; }
.imm-topbar span { color: #93c5fd; font-size: 11px; }
.imm-topbar strong { color: #fff; }
.imm-header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 9px 16px; display: flex; align-items: center; gap: 12px; }
.imm-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.imm-logo-icon { width: 34px; height: 34px; background: #0f172a; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.imm-dot { width: 7px; height: 7px; background: #e11d48; border-radius: 50%; display: block; }
.imm-stem { width: 3px; height: 11px; background: #fff; border-radius: 2px; display: block; }
.imm-logo-text { font-size: 17px; font-weight: 700; letter-spacing: -0.5px; color: #0f172a; }
.imm-logo-text em { color: #e11d48; font-style: normal; }
.imm-search { flex: 1; max-width: 400px; display: flex; border: 1.5px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.imm-search input { flex: 1; border: none; outline: none; padding: 7px 11px; font-size: 13px; background: #f8fafc; color: #0f172a; }
.imm-search button { background: #e11d48; border: none; color: #fff; padding: 7px 13px; cursor: pointer; font-size: 12px; }
.imm-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.imm-account { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #64748b; font-size: 10px; text-decoration: none; padding: 4px 7px; border-radius: 6px; }
.imm-account:hover { background: #f1f5f9; color: #0f172a; }
.imm-cart { display: flex; align-items: center; gap: 7px; background: #0f172a; color: #fff; border: none; border-radius: 8px; padding: 7px 13px; cursor: pointer; font-size: 12px; font-weight: 500; text-decoration: none; }
.imm-bar { background: #0f172a; position: relative; }
.imm-toggle { display: none; background: #0f172a; border: none; color: #e2e8f0; padding: 12px 18px; cursor: pointer; font-size: 14px; width: 100%; text-align: left; }
.imm-nav { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.imm-nav::-webkit-scrollbar { height: 3px; }
.imm-nav::-webkit-scrollbar-thumb { background: #e11d48; border-radius: 2px; }
.imm-nav > li { position: relative; flex-shrink: 0; }
.imm-nav > li > a { display: flex; align-items: center; gap: 5px; padding: 11px 12px; color: #cbd5e1; font-size: 12px; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s; }
.imm-nav > li > a:hover,
.imm-nav > li.open > a { color: #fff; border-bottom-color: #e11d48; background: rgba(255,255,255,0.07); }
.ia { font-size: 8px; opacity: 0.45; transition: transform 0.2s; }
.imm-nav > li.open > a .ia { transform: rotate(180deg); opacity: 1; }
.imm-nav > li.imft > a { background: #e11d48 !important; border-radius: 5px; margin: 5px 3px; padding: 5px 10px !important; border-bottom: none !important; color: #fff !important; }
.imm-nav > li.imft > a:hover { background: #be123c !important; }
.imbd { background: #fff; color: #e11d48; font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 20px; text-transform: uppercase; }
.ip { position: absolute; top: 100%; left: 0; background: #fff; border-top: 3px solid #e11d48; border-radius: 0 0 10px 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.22s cubic-bezier(0.4,0,0.2,1); pointer-events: none; z-index: 9999; }
.ip.ipr { left: auto; right: 0; }
.imm-nav > li.open .ip { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.ipi { padding: 14px 18px; display: flex; gap: 0; overflow-x: auto; max-height: 480px; overflow-y: auto; }
.ipi::-webkit-scrollbar { width: 4px; }
.ipi::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }
.ic { min-width: 145px; flex-shrink: 0; padding: 0 13px; border-right: 1px solid #f1f5f9; }
.ic:first-child { padding-left: 0; }
.ic:last-child { border-right: none; padding-right: 0; }
.ich { display: block; padding: 5px 0 7px; color: #0f172a; font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.7px; border-bottom: 2px solid #e11d48; margin-bottom: 7px; white-space: nowrap; }
.is { list-style: none; margin: 0; padding: 0 0 8px; }
.is li { margin-bottom: 1px; }
.is li a { display: block; padding: 4px 5px; border-radius: 3px; text-decoration: none; transition: background 0.15s; }
.is li a:hover { background: #fef2f4; }
.in { display: block; color: #0f172a; font-size: 12px; font-weight: 500; line-height: 1.3; }
.ir { display: block; color: #e11d48; font-size: 10px; font-weight: 600; font-family: 'Courier New', monospace; letter-spacing: 0.3px; margin-top: 1px; }
.is li a:hover .in { color: #e11d48; }

@media (max-width: 1024px) {
    .imm-toggle { display: block; }
    .imm-nav { display: none; flex-direction: column; padding-bottom: 8px; }
    .imm-nav.open { display: flex; }
    .imm-nav > li > a { padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); justify-content: space-between; }
    .ip, .ip.ipr { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none; border-top: none; border-radius: 0; background: rgba(255,255,255,0.04); display: none; max-height: none; width: 100%; }
    .imm-nav > li.open .ip { display: block; }
    .ipi { flex-wrap: wrap; padding: 8px 18px; max-height: 360px; overflow-y: auto; }
    .ic { min-width: 130px; border-right: none; padding: 0 8px 8px 0; }
    .ich { color: rgba(255,255,255,0.85); }
    .in { color: rgba(255,255,255,0.75); }
    .is li a:hover { background: rgba(255,255,255,0.07); }
    .is li a:hover .in { color: #fff; }
}
