/* ==========================================================================
   EMUA HEADER — PREMIUM TECHNOLOGY E-COMMERCE
   Modern, Refined, Luxury, Commercial Tech Header Architecture
   ========================================================================== */

:root {
    --emua-hdr-bg: #0b1120;
    --emua-hdr-surface: #0f172a;
    --emua-hdr-topbar: #070a14;
    --emua-hdr-cat-bg: #090e1c;
    --emua-hdr-border: rgba(255, 255, 255, 0.08);
    --emua-hdr-border-hover: rgba(255, 255, 255, 0.2);
    --emua-hdr-text: #f8fafc;
    --emua-hdr-text-muted: #94a3b8;
    --emua-hdr-blue: #2563eb;
    --emua-hdr-blue-light: #60a5fa;
    --emua-hdr-blue-glow: rgba(37, 99, 235, 0.3);
    --emua-hdr-radius: 12px;
    --emua-hdr-radius-pill: 9999px;
    --emua-hdr-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --emua-hdr-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.emua-site-header {
    position: relative;
    z-index: 1020;
    font-family: var(--emua-hdr-font);
    color: var(--emua-hdr-text);
    background: var(--emua-hdr-bg);
    width: 100%;
}

    .emua-site-header * {
        box-sizing: border-box;
    }

    .emua-site-header a {
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

    /* Container */
    .emua-site-header .emua-container {
        width: min(1320px, calc(100% - 40px));
        margin-inline: auto;
        padding: 0;
    }

/* ==========================================================================
   1. TOPBAR: Announcement Marquee (Pure CSS, Infinite, Zero Jitter)
   ========================================================================== */
.emua-topbar {
    height: 34px;
    background: var(--emua-hdr-topbar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    user-select: none;
    z-index: 1022;
}

.emua-marquee-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    outline: none;
}

    /* Edge Fades for Cinematic Finish */
    .emua-marquee-wrap::before,
    .emua-marquee-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 48px;
        z-index: 2;
        pointer-events: none;
    }

    .emua-marquee-wrap::before {
        left: 0;
        background: linear-gradient(90deg, var(--emua-hdr-topbar) 0%, transparent 100%);
    }

    .emua-marquee-wrap::after {
        right: 0;
        background: linear-gradient(-90deg, var(--emua-hdr-topbar) 0%, transparent 100%);
    }

/* Marquee Track */
.emua-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    will-change: transform;
    animation: emuaMarqueeScroll 26s linear infinite;
    animation-play-state: running;
}

@keyframes emuaMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* The announcement strip keeps moving even when the pointer is over it. */

.emua-marquee-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: max-content;
    white-space: nowrap;
    padding: 0 16px;
    gap: 22px;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

    .marquee-item strong {
        color: #ffffff;
        font-weight: 700;
    }

.marquee-divider {
    color: rgba(96, 165, 250, 0.45);
    font-size: 10px;
}

.marquee-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    transition: all 0.15s ease;
}

    .marquee-link:hover {
        color: #38bdf8;
        text-decoration-color: #38bdf8;
    }

/* ==========================================================================
   2. MAIN HEADER: Command Center
   ========================================================================== */
.emua-main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(11, 17, 32, 0.94);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--emua-hdr-border);
    box-shadow: var(--emua-hdr-shadow);
}

.main-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 72px;
    padding: 10px 0;
}

/* --- BRAND LOGO --- */
.emua-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .emua-logo:hover {
        transform: scale(1.02);
        opacity: 0.95;
    }

.emua-wordmark {
    display: block;
    height: 44px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.emua-brand-tagline {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--emua-hdr-blue-light);
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    padding: 3px 7px;
    border-radius: var(--emua-hdr-radius-pill);
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- SEARCH BAR --- */
.emua-search {
    flex: 1;
    max-width: 580px;
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--emua-hdr-radius-pill);
    padding: 0 6px 0 16px;
    transition: all 0.2s ease;
}

.emua-search-icon {
    font-size: 15px;
    color: var(--emua-hdr-text-muted);
    flex-shrink: 0;
    margin-right: 10px;
    transition: color 0.2s ease;
}

.emua-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
}

    .emua-search input::placeholder {
        color: #94a3b8;
        font-size: 13px;
    }

.emua-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--emua-hdr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .emua-search-btn:hover {
        background: var(--emua-hdr-blue);
        color: #ffffff;
        transform: translateX(1px);
    }

.emua-search:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px var(--emua-hdr-blue-glow);
}

    .emua-search:focus-within .emua-search-icon {
        color: var(--emua-hdr-blue-light);
    }

/* --- HEADER ACTION BUTTONS --- */
.emua-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.emua-header-dropdown {
    position: relative;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--emua-hdr-border);
    border-radius: var(--emua-hdr-radius);
    color: #e2e8f0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .header-action-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--emua-hdr-border-hover);
        color: #ffffff;
        transform: translateY(-1px);
    }

    .header-action-btn.dropdown-toggle::after {
        display: none;
    }

.action-icon {
    font-size: 18px;
    color: var(--emua-hdr-blue-light);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-action-btn:hover .action-icon {
    transform: scale(1.08);
}

.action-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

    .action-text small {
        font-size: 10.5px;
        color: var(--emua-hdr-text-muted);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .action-text strong {
        font-size: 13px;
        color: #ffffff;
        font-weight: 650;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.action-arrow {
    font-size: 11px;
    color: var(--emua-hdr-text-muted);
    transition: transform 0.2s ease;
}

.dropdown.show .action-arrow {
    transform: rotate(180deg);
}

/* User avatar pill circle */
.header-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emua-hdr-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    flex-shrink: 0;
}

/* Cart Button Accent */
.cart-action-btn {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

    .cart-action-btn:hover {
        background: var(--emua-hdr-blue);
        border-color: var(--emua-hdr-blue);
        color: #ffffff;
    }

        .cart-action-btn:hover .action-icon,
        .cart-action-btn:hover .action-text small,
        .cart-action-btn:hover .action-text strong {
            color: #ffffff;
        }

.header-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--emua-hdr-radius-pill);
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--emua-hdr-bg);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Cart bounce feedback animation */
@keyframes cartBounceAnimation {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.cart-added-feedback {
    animation: cartBounceAnimation 0.45s ease;
}

/* Mobile Controls Wrapper */
.emua-mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--emua-hdr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.mobile-menu-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--emua-hdr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .mobile-action-btn:hover,
    .mobile-menu-button:hover {
        background: rgba(255, 255, 255, 0.15);
    }

.emua-mobile-search-wrap {
    display: none;
    padding-bottom: 10px;
}

.emua-mobile-search {
    max-width: 100%;
    height: 40px;
}

/* ==========================================================================
   3. DROPDOWN PANELS: Dark Luxury Surfaces
   ========================================================================== */
.emua-dropdown-panel {
    background: var(--emua-hdr-surface) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050 !important;
}

/* Store Panel */
.store-dropdown-panel {
    width: 360px !important;
    max-width: calc(100vw - 24px) !important;
}

.dropdown-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 6px;
}

.dropdown-badge {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--emua-hdr-blue-light);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.dropdown-header-custom h6 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #ffffff;
}

.store-count-badge {
    font-size: 10.5px;
    font-weight: 650;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 3px 8px;
    border-radius: var(--emua-hdr-radius-pill);
}

.dropdown-scroll-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 0 4px;
}

    .dropdown-scroll-list::-webkit-scrollbar {
        width: 4px;
    }

    .dropdown-scroll-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 4px;
    }

.store-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

    .store-item:hover {
        background: rgba(255, 255, 255, 0.05);
    }

.store-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--emua-hdr-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.store-item-info {
    flex: 1;
    min-width: 0;
}

.store-item-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.store-item-address {
    font-size: 11.5px;
    color: var(--emua-hdr-text-muted);
    line-height: 1.4;
    margin: 0 0 4px;
}

.store-item-phone {
    font-size: 11px;
    color: #38bdf8;
    font-weight: 600;
}

.dropdown-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 4px 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 6px;
}

.dropdown-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 650;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

    .dropdown-footer-btn.primary {
        background: var(--emua-hdr-blue);
        color: #ffffff;
    }

        .dropdown-footer-btn.primary:hover {
            background: #1d4ed8;
        }

    .dropdown-footer-btn.secondary {
        background: rgba(255, 255, 255, 0.07);
        color: #f1f5f9;
    }

        .dropdown-footer-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.14);
        }

/* Account Panel */
.account-dropdown-panel {
    width: 270px !important;
}

.dropdown-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 6px;
}

.dropdown-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--emua-hdr-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-user-details strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 700;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-user-details small {
    font-size: 11px;
    color: #38bdf8;
    font-weight: 550;
}

.dropdown-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 550;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

    .dropdown-menu-link:hover {
        background: rgba(255, 255, 255, 0.07);
        color: #ffffff;
    }

    .dropdown-menu-link i {
        font-size: 15px;
        color: var(--emua-hdr-text-muted);
    }

    .dropdown-menu-link:hover i {
        color: var(--emua-hdr-blue-light);
    }

    .dropdown-menu-link.link-highlight {
        color: #93c5fd;
        font-weight: 650;
    }

    .dropdown-menu-link.link-admin {
        color: #fde047;
        font-weight: 650;
    }

        .dropdown-menu-link.link-admin i {
            color: #facc15;
        }

.dropdown-divider-custom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 6px 0;
}

.dropdown-menu-link.link-logout {
    color: #f87171;
}

    .dropdown-menu-link.link-logout:hover {
        background: rgba(239, 68, 68, 0.12);
        color: #fca5a5;
    }

    .dropdown-menu-link.link-logout i {
        color: #f87171;
    }

/* Guest Dropdown Auth */
.dropdown-auth-guest {
    padding: 12px 10px;
    text-align: center;
}

.dropdown-guest-lead {
    font-size: 12px;
    color: var(--emua-hdr-text-muted);
    line-height: 1.45;
    margin: 0 0 14px;
}

.btn-emua-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.15s ease;
}

    .btn-emua-dropdown.primary {
        background: var(--emua-hdr-blue);
        color: #ffffff;
    }

        .btn-emua-dropdown.primary:hover {
            background: #1d4ed8;
        }

    .btn-emua-dropdown.secondary {
        background: rgba(255, 255, 255, 0.08);
        color: #f1f5f9;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

        .btn-emua-dropdown.secondary:hover {
            background: rgba(255, 255, 255, 0.16);
        }

/* ==========================================================================
   4. CATEGORY SUB-NAV BAR: Precision Tech Navigation
   ========================================================================== */
.emua-category-nav {
    background: var(--emua-hdr-cat-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1010;
}

.category-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    min-height: 44px;
}

.category-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    border-radius: 6px;
}

    .category-nav-item i {
        font-size: 15px;
        color: var(--emua-hdr-blue-light);
        transition: transform 0.18s ease, color 0.18s ease;
    }

    .category-nav-item:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }

        .category-nav-item:hover i {
            color: #ffffff;
            transform: scale(1.1);
        }

    .category-nav-item::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 16px;
        right: 16px;
        height: 2px;
        background: var(--emua-hdr-blue-light);
        border-radius: 2px 2px 0 0;
        opacity: 0;
        transform: scaleX(0.7);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .category-nav-item:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

/* ==========================================================================
   5. MOBILE DRAWER: Tailored Smartphone Experience
   ========================================================================== */
.mobile-category-menu {
    background: #080d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.mobile-menu-user-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}

.mobile-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-user-links a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 550;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    background: transparent;
    border: none;
    color: #f87171;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-categories-heading {
    margin-bottom: 10px;
}

    .mobile-categories-heading span {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.2px;
        color: var(--emua-hdr-blue-light);
        text-transform: uppercase;
    }

.mobile-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.mobile-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease;
}

    .mobile-cat-link i {
        color: var(--emua-hdr-blue-light);
        font-size: 16px;
    }

    .mobile-cat-link:active {
        background: rgba(37, 99, 235, 0.2);
        border-color: var(--emua-hdr-blue);
    }

.mobile-menu-footer-links {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .mobile-menu-footer-links a {
        display: flex;
        align-items: center;
        padding: 8px 0;
        color: #94a3b8;
        font-size: 13px;
        font-weight: 550;
    }

.mobile-hotline-strip {
    margin-top: 10px;
    padding: 10px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .action-text strong {
        max-width: 85px;
    }

    .emua-search {
        max-width: 460px;
    }
}

@media (max-width: 992px) {
    .emua-topbar {
        height: 30px;
    }

    .marquee-item {
        font-size: 11.5px;
    }

    .emua-category-nav {
        display: none;
    }

    .emua-header-actions {
        display: none;
    }

    .emua-mobile-controls {
        display: flex;
    }

    .main-header-wrapper {
        min-height: 62px;
        padding: 8px 0;
    }

    .emua-search {
        display: none;
    }

    .emua-mobile-search-wrap {
        display: block;
    }

    .emua-wordmark {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .emua-topbar {
        height: 28px;
    }

    .marquee-item {
        font-size: 11px;
    }

    .emua-brand-tagline {
        display: none;
    }

    .emua-wordmark {
        height: 34px;
    }

    .main-header-wrapper {
        min-height: 56px;
    }

    .mobile-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .emua-marquee-track {
        animation: none !important;
        transform: none !important;
        width: 100%;
        justify-content: center;
    }

    .emua-marquee-group:last-child {
        display: none !important;
    }

    .cart-added-feedback {
        animation: none !important;
    }
}

.emua-site-header a:focus-visible,
.emua-site-header button:focus-visible,
.emua-site-header input:focus-visible,
.emua-marquee-wrap:focus-visible {
    outline: 2px solid var(--emua-hdr-blue-light);
    outline-offset: 2px;
}
