/* AMC Secure — header, search, mega menu (loads last) */

body:not(.admin-body) .market-header {
    position: relative !important;
    top: auto !important;
    z-index: 100 !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body:not(.admin-body) .market-header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background:
        radial-gradient(ellipse 120% 85% at 16% -28%, rgba(18, 168, 107, 0.1) 0%, transparent 54%),
        radial-gradient(ellipse 100% 72% at 90% -18%, rgba(100, 116, 139, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, #3d4858 0%, #2f3847 48%, #252d3a 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.45) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(20px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.08) !important;
}

body:not(.admin-body) .market-header-sticky-spacer {
    display: block !important;
    width: 100% !important;
    height: var(--market-header-sticky-height, 88px) !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
}

/* ── Utility bar — enterprise / discreet techno ── */
body:not(.admin-body) .home-utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px !important;
    max-height: none !important;
    height: auto !important;
    padding: 0 clamp(14px, 3vw, 36px) !important;
    background: #09090b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 10px !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2 !important;
    overflow: visible !important;
    white-space: normal !important;
}

body:not(.admin-body) .utility-bar-lead,
body:not(.admin-body) .home-utility-bar > span.utility-bar-lead {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(52vw, 480px);
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: nowrap !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(
        90deg,
        #4ade80 0%,
        #22c55e 10%,
        #7dd3fc 22%,
        #e0f2fe 32%,
        #c4b5fd 42%,
        #fde68a 52%,
        #ffffff 58%,
        #7dd3fc 66%,
        #34d399 78%,
        #22c55e 90%,
        #4ade80 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: utility-bar-neon-run 5s linear infinite;
    filter:
        drop-shadow(0 0 6px rgba(34, 197, 94, 0.35))
        drop-shadow(0 0 12px rgba(125, 211, 252, 0.22));
}

@keyframes utility-bar-neon-run {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 220% 50%;
    }
}

body:not(.admin-body) .home-utility-district-pin {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #a1a1aa;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

body:not(.admin-body) .home-utility-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
    margin-left: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    padding: 1px 0;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.15s ease;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
    box-shadow: none !important;
}

body:not(.admin-body) .home-utility-location:hover {
    opacity: 0.88;
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

body:not(.admin-body) .home-utility-location::before {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .loc-live-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
}

body:not(.admin-body) .loc-live-status__icon {
    display: block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    fill: #22c55e;
    color: #22c55e;
    filter:
        drop-shadow(0 0 5px rgba(34, 197, 94, 0.85))
        drop-shadow(0 0 12px rgba(34, 197, 94, 0.45));
    animation: loc-pin-live-blink 1.6s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes loc-pin-live-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter:
            drop-shadow(0 0 5px rgba(34, 197, 94, 0.9))
            drop-shadow(0 0 12px rgba(34, 197, 94, 0.5));
    }

    50% {
        opacity: 0.35;
        transform: scale(0.92);
        filter:
            drop-shadow(0 0 2px rgba(34, 197, 94, 0.35))
            drop-shadow(0 0 5px rgba(34, 197, 94, 0.15));
    }
}

body:not(.admin-body) .loc-live-status__label,
body:not(.admin-body) .home-utility-location .location-gps-tag {
    flex: 0 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #22c55e;
    font-size: 8.5px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow:
        0 0 6px rgba(34, 197, 94, 0.95),
        0 0 14px rgba(34, 197, 94, 0.55),
        0 0 22px rgba(22, 163, 74, 0.35);
}

body:not(.admin-body) .loc-live-divider {
    display: block;
    flex: 0 0 1px;
    align-self: stretch;
    width: 1px;
    min-height: 11px;
    margin: 1px 0;
    background: rgba(255, 255, 255, 0.08);
}

body:not(.admin-body) .loc-live-track,
body:not(.admin-body) .loc-address-shell {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible !important;
}

body:not(.admin-body) .loc-live-track,
body:not(.admin-body) .loc-address-flow,
body:not(.admin-body) .home-utility-location .location-multicolor {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    min-width: 0;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em;
}

body:not(.admin-body) .loc-track-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    min-width: 0;
}

body:not(.admin-body) .loc-track {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: normal;
    word-break: break-word;
}

body:not(.admin-body) .loc-track--primary {
    color: #fde68a;
    font-weight: 700;
    text-shadow:
        0 0 7px rgba(253, 230, 138, 0.7),
        0 0 14px rgba(251, 191, 36, 0.35),
        0 1px 0 rgba(0, 0, 0, 0.45);
}

body:not(.admin-body) .loc-track--region {
    color: #7dd3fc;
    font-weight: 700;
    text-shadow:
        0 0 7px rgba(125, 211, 252, 0.65),
        0 0 14px rgba(14, 165, 233, 0.3),
        0 1px 0 rgba(0, 0, 0, 0.45);
}

body:not(.admin-body) .loc-track--pin {
    color: #6ee7b7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow:
        0 0 7px rgba(110, 231, 183, 0.7),
        0 0 14px rgba(52, 211, 153, 0.35),
        0 1px 0 rgba(0, 0, 0, 0.45);
}

body:not(.admin-body) .loc-track--fallback {
    background: linear-gradient(90deg, #fde68a 0%, #7dd3fc 52%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.35));
}

body:not(.admin-body) .loc-track__sep {
    display: inline;
    margin: 0 5px;
    color: #a78bfa;
    font-weight: 500;
    user-select: none;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.45);
}

/* Legacy loc-part support (portal previews) */
body:not(.admin-body) .location-multicolor {
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
}

body:not(.admin-body) .loc-part--street,
body:not(.admin-body) .loc-part--local,
body:not(.admin-body) .loc-part--area {
    color: #fde68a;
    text-shadow: 0 0 7px rgba(253, 230, 138, 0.65);
}

body:not(.admin-body) .loc-part--district {
    color: #7dd3fc;
    text-shadow: 0 0 7px rgba(125, 211, 252, 0.6);
}

body:not(.admin-body) .loc-part--state {
    color: #c4b5fd;
    text-shadow: 0 0 7px rgba(196, 181, 253, 0.55);
}

body:not(.admin-body) .loc-part--pin {
    color: #6ee7b7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 800;
    text-shadow: 0 0 7px rgba(110, 231, 183, 0.65);
}

body:not(.admin-body) .loc-part--country {
    color: #fda4af;
    text-shadow: 0 0 7px rgba(253, 164, 175, 0.5);
}

body:not(.admin-body) .loc-sep,
body:not(.admin-body) .loc-pin-divider {
    display: inline;
    margin: 0 5px;
    color: #a78bfa;
    text-shadow: 0 0 6px rgba(167, 139, 250, 0.4);
}

body:not(.admin-body) .search-location-text {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: max-content;
    text-align: center;
}

body:not(.admin-body) .search-location-stack {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    min-width: 0;
    line-height: 1.1;
    text-align: center;
}

body:not(.admin-body) .search-loc-district {
    display: block !important;
    flex: none !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    color: #0369a1 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    -webkit-text-fill-color: #0369a1 !important;
}

body:not(.admin-body) .search-loc-pin {
    display: block !important;
    flex: none !important;
    width: 100%;
    margin-top: 1px;
    overflow: visible;
    color: #047857 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap;
    -webkit-text-fill-color: #047857 !important;
}

body:not(.admin-body) .location-search-line--mobile {
    display: none !important;
}

body:not(.admin-body) .search-country-control {
    gap: 0 !important;
}

body:not(.admin-body) .topbar {
    display: grid !important;
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    min-height: 54px !important;
    padding: 5px clamp(14px, 3vw, 36px) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body:not(.admin-body) .topbar::before,
body:not(.admin-body) .topbar::after {
    display: none !important;
}

body:not(.admin-body) .logo-glow-ring {
    width: auto !important;
    height: auto !important;
}

body:not(.admin-body) .market-brand > .logo-glow-ring img {
    width: auto !important;
    height: auto !important;
}

/* Company name — compact PNG, width locked to slogan */
body:not(.admin-body) .brand-wordmark {
    display: inline-grid;
    grid-template-columns: minmax(0, max-content);
    justify-items: stretch;
    align-items: center;
    gap: 3px;
    overflow: visible !important;
    width: max-content;
    min-width: 0;
    max-width: min(100%, 360px);
    padding: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    background: transparent;
    box-shadow: none;
}

body:not(.admin-body) .brand-wordmark-img {
    display: block;
    grid-row: 1;
    width: 100%;
    height: clamp(62px, 6.6vw, 68px);
    max-height: 68px;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    filter:
        drop-shadow(0 0 10px rgba(18, 168, 107, 0.16))
        contrast(1.08)
        saturate(1.1);
}

body:not(.admin-body) .brand-tagline {
    display: block;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1px;
    font-family: var(--font-ui, Inter), system-ui, sans-serif;
    font-size: clamp(9px, 0.85vw, 10.5px) !important;
    font-weight: 800;
    line-height: 1.2 !important;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(
        90deg,
        #86efac 0%,
        #22c55e 20%,
        #fde68a 38%,
        #7dd3fc 56%,
        #c4b5fd 74%,
        #12a86b 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42));
}

body:not(.admin-body) .brand-tagline::before,
body:not(.admin-body) .brand-tagline::after {
    display: none;
    content: none;
}

/* Search — aligned pill bar: location | flag | input | currency | submit */
body:not(.admin-body) .market-search,
body:not(.admin-body) .ui-glass-search,
body:not(.admin-body) .global-homepage .market-search {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, max-content) max-content minmax(0, 1fr) auto auto !important;
    grid-template-areas: "location country input currency submit" !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: min(100%, 920px) !important;
    min-height: 58px !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 3px 4px 3px 4px !important;
    overflow: visible !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 8px 24px rgba(15, 23, 42, 0.1) !important;
}

body:not(.admin-body) .market-search > .search-divider {
    display: none !important;
}

body:not(.admin-body) .market-search:focus-within,
body:not(.admin-body) .ui-glass-search:focus-within,
body:not(.admin-body) .global-homepage .market-search:focus-within {
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 3px rgba(56, 189, 248, 0.1),
        0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

body:not(.admin-body) .market-search > .search-location-control,
body:not(.admin-body) .global-homepage .market-search > .search-location-control {
    grid-area: location !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    gap: 2px !important;
    min-width: 0 !important;
    max-width: 128px !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 4px 2px 4px 8px !important;
    border: 0 !important;
    border-right: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--amc-ink) !important;
    overflow: visible !important;
    cursor: pointer;
}

body:not(.admin-body) .market-search > .search-location-control svg {
    display: block !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    fill: #22c55e !important;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.35));
}

body:not(.admin-body) .market-search > .search-location-control .search-location-text,
body:not(.admin-body) .market-search > .search-location-control .search-location-stack {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 2px !important;
    overflow: visible !important;
}

body:not(.admin-body) .market-search > .search-location-control strong {
    display: none !important;
}

body:not(.admin-body) .market-search > .search-location-control small {
    display: none !important;
}

body:not(.admin-body) .market-search > .search-country-control {
    grid-area: country !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    border: 0 !important;
    border-right: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-search > input,
body:not(.admin-body) .global-homepage .market-search > input {
    grid-area: input !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 10px 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body:not(.admin-body) .market-search > input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

body:not(.admin-body) .market-search > .search-currency-control {
    grid-area: currency !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-search > .search-submit-button,
body:not(.admin-body) .global-homepage .market-search > .search-submit-button {
    grid-area: submit !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 32%),
        linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
    cursor: pointer;
    flex-shrink: 0 !important;
}

body:not(.admin-body) .market-search > .search-submit-button svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
}

body:not(.admin-body) .search-country-control select,
body:not(.admin-body) .search-currency-control select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

body:not(.admin-body) .country-mark {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 34px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 1px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(15, 23, 42, 0.08),
        0 3px 8px rgba(15, 23, 42, 0.18) !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

body:not(.admin-body) .country-mark::before,
body:not(.admin-body) .country-mark::after {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .country-flag-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    filter: saturate(1.12) contrast(1.06);
}

body:not(.admin-body) .currency-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #15803d !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

body:not(.admin-body) .market-search > .search-suggestions {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 4px !important;
    left: 4px !important;
    z-index: 300 !important;
    border-radius: 16px !important;
}

/* Commerce header — bare icons only (no tile, border or box) */
body:not(.admin-body) .header-actions {
    display: flex !important;
    align-items: center !important;
}

body:not(.admin-body) .header-actions--commerce,
body:not(.admin-body) .market-header .header-actions--commerce {
    display: flex !important;
    gap: clamp(6px, 1vw, 10px) !important;
    align-items: center !important;
}

body:not(.admin-body) .header-actions--commerce .header-action,
body:not(.admin-body) .header-actions--commerce .cart-button,
body:not(.admin-body) .market-header .header-actions--commerce .header-action,
body:not(.admin-body) .market-header .header-actions--commerce .cart-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 4px 8px 4px 5px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 23, 42, 0.1) 55%, rgba(15, 23, 42, 0.18) 100%) !important;
    background-image: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(0, 0, 0, 0.22) !important;
    color: #f8fafc !important;
    font: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.admin-body) .header-actions--commerce .header-action__glyph {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(0, 0, 0, 0.12) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 10px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .header-actions--commerce .header-action--portal > .header-action__icon,
body:not(.admin-body) .header-actions--commerce .header-action--portal .header-action__glyph {
    border-color: rgba(125, 211, 252, 0.55) !important;
    background:
        linear-gradient(145deg, #38bdf8 0%, #0284c7 52%, #0369a1 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(3, 105, 161, 0.55),
        0 4px 14px rgba(14, 165, 233, 0.45) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--wishlist > .header-action__icon {
    border-color: rgba(253, 164, 175, 0.55) !important;
    background:
        linear-gradient(145deg, #fb7185 0%, #e11d48 52%, #be123c 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(190, 18, 60, 0.55),
        0 4px 14px rgba(244, 63, 94, 0.42) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--compare > .header-action__icon {
    border-color: rgba(196, 181, 253, 0.55) !important;
    background:
        linear-gradient(145deg, #a78bfa 0%, #7c3aed 52%, #6d28d9 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(109, 40, 217, 0.55),
        0 4px 14px rgba(139, 92, 246, 0.42) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--cart .header-action__glyph,
body:not(.admin-body) .header-actions--commerce .cart-button .header-action__glyph {
    border-color: rgba(253, 186, 116, 0.58) !important;
    background:
        linear-gradient(145deg, #fb923c 0%, #ea580c 52%, #c2410c 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(194, 65, 12, 0.55),
        0 4px 14px rgba(249, 115, 22, 0.45) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--portal .header-action__label {
    color: #7dd3fc !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--wishlist .header-action__label {
    color: #fda4af !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--compare .header-action__label {
    color: #c4b5fd !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--cart .header-action__label,
body:not(.admin-body) .header-actions--commerce .cart-button .header-action__label {
    color: #fdba74 !important;
}

body:not(.admin-body) .header-actions--commerce .header-action:hover,
body:not(.admin-body) .header-actions--commerce .cart-button:hover,
body:not(.admin-body) .market-header .header-actions--commerce .header-action:hover,
body:not(.admin-body) .market-header .header-actions--commerce .cart-button:hover {
    transform: translateY(-1px) !important;
    filter: none !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(15, 23, 42, 0.08) 55%, rgba(15, 23, 42, 0.14) 100%) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16),
        0 6px 16px rgba(0, 0, 0, 0.28) !important;
    opacity: 1;
    color: #f8fafc !important;
}

body:not(.admin-body) .header-actions--commerce .header-action__label {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #f8fafc;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    transition: color 180ms ease;
}

body:not(.admin-body) .header-actions--commerce .header-action:hover .header-action__label,
body:not(.admin-body) .header-actions--commerce .cart-button:hover .header-action__label {
    color: #f8fafc;
}

body:not(.admin-body) .header-actions--commerce .header-action > .header-action__icon,
body:not(.admin-body) .header-actions--commerce .header-action__glyph .header-action__icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    pointer-events: none;
    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35))
        brightness(1.08)
        contrast(1.08);
    transition: transform 160ms ease, filter 160ms ease;
}

body:not(.admin-body) .header-actions--commerce .header-action > .header-action__icon {
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(0, 0, 0, 0.12) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 10px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .header-actions--commerce .header-action:hover .header-action__icon,
body:not(.admin-body) .header-actions--commerce .cart-button:hover .header-action__icon {
    transform: translateY(-1px) scale(1.05);
    filter:
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.38))
        brightness(1.14)
        contrast(1.1);
}

body:not(.admin-body) .header-actions--commerce .cart-button {
    position: relative !important;
}

body:not(.admin-body) .header-actions--commerce .header-action__glyph [data-cart-count] {
    position: absolute;
    top: -6px !important;
    right: -8px !important;
    display: grid;
    place-items: center;
    min-width: 18px !important;
    width: auto !important;
    height: 18px !important;
    padding: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
}

body:not(.admin-body) .header-actions--commerce .cart-button .header-action__label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    background: transparent !important;
    color: #fdba74 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.35),
        0 0 12px rgba(255, 255, 255, 0.08) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action__glyph [data-cart-count]:empty,
body:not(.admin-body) .header-actions--commerce .header-action__glyph [data-cart-count][data-count="0"] {
    display: none;
}

/* Legacy header-action tile rules — skip commerce toolbar */
body:not(.admin-body) .header-actions:not(.header-actions--commerce) .header-action,
body:not(.admin-body) .header-actions:not(.header-actions--commerce) .cart-button {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 12px !important;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 18px rgba(15, 23, 42, 0.12) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

/* Category nav — darker gray bar */
body:not(.admin-body) .category-nav,
body:not(.admin-body) .global-homepage .category-nav,
body.global-homepage .category-nav {
    position: static !important;
    top: auto !important;
    z-index: 1 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 clamp(12px, 2.5vw, 32px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    background:
        linear-gradient(
            180deg,
            #b8c0ca 0%,
            #a8b2be 48%,
            #97a3b0 100%
        ) !important;
    border-top: 1px solid rgba(71, 85, 105, 0.34) !important;
    border-bottom: 1px solid rgba(51, 65, 85, 0.38) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    scrollbar-width: none;
}

body:not(.admin-body) .category-nav::-webkit-scrollbar {
    display: none;
}

body:not(.admin-body) .category-nav::before {
    display: none !important;
}

body:not(.admin-body) .nav-item {
    position: relative !important;
    flex: 0 0 auto !important;
}

body:not(.admin-body) .nav-all-trigger,
body:not(.admin-body) .category-nav .nav-link,
body:not(.admin-body) .category-nav > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer;
    flex: 0 0 auto !important;
    transition: color 160ms ease, box-shadow 160ms ease;
}

body:not(.admin-body) .category-nav .nav-link:hover,
body:not(.admin-body) .category-nav > a:hover,
body:not(.admin-body) .nav-all-trigger:hover,
body:not(.admin-body) .global-homepage .category-nav a:hover,
body:not(.admin-body) .global-homepage .category-nav button:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: inset 0 -2px 0 #0f172a !important;
    color: #020617 !important;
    transform: none !important;
}

body:not(.admin-body) .nav-all-trigger {
    margin-right: 0;
    padding: 0 12px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
}

body:not(.admin-body) .nav-all-trigger svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

body:not(.admin-body) .category-nav .nav-link.is-active,
body:not(.admin-body) .category-nav > a.is-active {
    color: #0369a1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: inset 0 -3px 0 #0284c7 !important;
}

body:not(.admin-body) .category-nav .nav-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    flex: 0 0 22px !important;
    padding: 2px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 6px !important;
    background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 100%) !important;
    color: #0f172a !important;
    opacity: 1 !important;
    overflow: visible !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(15, 23, 42, 0.12),
        0 2px 6px rgba(15, 23, 42, 0.16) !important;
}

body:not(.admin-body) .category-nav .nav-icon::before,
body:not(.admin-body) .category-nav .nav-icon::after,
body:not(.admin-body) .global-homepage .category-nav .nav-icon::before,
body:not(.admin-body) .global-homepage .category-nav .nav-icon::after {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .category-nav .nav-icon svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    flex: none !important;
}

/* Hover mega dropdowns — fixed so horizontal scroll bar does not clip them */
body:not(.admin-body) .nav-item--mega .nav-mega-panel {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    z-index: 240 !important;
    display: block !important;
    width: min(380px, 88vw) !important;
    padding: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(18px) saturate(1.35) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(4px) !important;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
}

body:not(.admin-body) .nav-item--mega.is-mega-open .nav-mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

body:not(.admin-body) .nav-mega-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

body:not(.admin-body) .nav-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}

body:not(.admin-body) .nav-mega-col a {
    display: block;
    padding: 5px 7px;
    border-radius: 7px;
    color: var(--amc-text);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

body:not(.admin-body) .nav-mega-col a:hover {
    background: rgba(18, 168, 107, 0.08);
    color: var(--amc-green-700);
}

/* All mega panel — compact glass multi-color */
body:not(.admin-body) .site-mega-backdrop {
    position: fixed;
    inset: 0;
    z-index: 205;
    background: rgba(7, 17, 37, 0.32);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body:not(.admin-body) .site-mega-backdrop[hidden] {
    display: none !important;
}

body:not(.admin-body) .site-mega-all {
    position: absolute;
    top: 100%;
    right: clamp(12px, 2.5vw, 32px);
    left: clamp(12px, 2.5vw, 32px);
    z-index: 220;
    max-width: 980px;
    margin: 0 auto;
}

body:not(.admin-body) .site-mega-all[hidden] {
    display: none !important;
}

body:not(.admin-body) .site-mega-all-inner {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
        linear-gradient(135deg, rgba(11, 78, 162, 0.06), rgba(18, 168, 107, 0.06));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    animation: headerMegaIn 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.admin-body) .site-mega-all-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(90deg, rgba(11, 78, 162, 0.1), rgba(18, 168, 107, 0.08), rgba(139, 92, 246, 0.08));
}

body:not(.admin-body) .site-mega-all-head strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--amc-ink);
}

body:not(.admin-body) .site-mega-all-head button {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

body:not(.admin-body) .site-mega-all-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    padding: 8px 12px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(248, 250, 252, 0.92);
}

body:not(.admin-body) .site-mega-all-mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #fff;
    color: var(--amc-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

body:not(.admin-body) .site-mega-all-mobile a:hover {
    border-color: rgba(18, 168, 107, 0.35);
    color: #0f8f58;
}

body:not(.admin-body) .site-mega-all-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-height: min(52vh, 360px);
    padding: 6px;
    overflow: auto;
}

body:not(.admin-body) .site-mega-all-col {
    padding: 6px 8px;
}

body:not(.admin-body) .site-mega-all-col h3 {
    margin: 0 0 6px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body:not(.admin-body) .site-mega-all-col--service h3 {
    color: #047857;
    background: rgba(18, 168, 107, 0.1);
}

body:not(.admin-body) .site-mega-all-col--product h3 {
    color: #0b4ea2;
    background: rgba(11, 78, 162, 0.1);
}

body:not(.admin-body) .site-mega-all-col--software h3 {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.1);
}

body:not(.admin-body) .site-mega-all-col--quick h3 {
    color: #0e7490;
    background: rgba(14, 116, 144, 0.1);
}

body:not(.admin-body) .site-mega-all-col a {
    display: block;
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--amc-text);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

body:not(.admin-body) .site-mega-all-col a:hover {
    background: rgba(255, 255, 255, 0.72);
    color: var(--amc-ink);
}

body:not(.admin-body) .site-mega-all-col--quick {
    border-left: 1px solid rgba(148, 163, 184, 0.12);
}

@keyframes headerMegaIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    body:not(.admin-body) .brand-wordmark small.brand-tagline {
        display: none;
    }

    body:not(.admin-body) .brand-wordmark-img {
        width: auto;
        height: clamp(58px, 6.8vw, 66px);
        max-height: 66px;
        max-width: min(100%, 310px);
    }

    body:not(.admin-body) .brand-wordmark {
        max-width: min(100%, 320px);
        align-items: center;
    }

    body:not(.admin-body) .market-search,
    body:not(.admin-body) .global-homepage .market-search {
        grid-template-columns: minmax(0, max-content) auto minmax(0, 1fr) auto auto !important;
        grid-template-areas: "location country input currency submit" !important;
    }

    body:not(.admin-body) .home-utility-district-pin {
        display: inline-flex;
    }
}

@media (max-width: 900px) {
    body:not(.admin-body) .topbar {
        grid-template-columns: 1fr auto !important;
    }

    body:not(.admin-body) .market-brand {
        grid-column: 1 / -1;
    }

    body:not(.admin-body) .market-search {
        grid-column: 1 / 2;
    }

    body:not(.admin-body) .site-mega-all-grid {
        grid-template-columns: 1fr 1fr;
    }

    body:not(.admin-body) .nav-item--mega .nav-mega-panel {
        display: none !important;
    }
}

@media (max-width: 640px) {
    body:not(.admin-body) .utility-bar-lead,
    body:not(.admin-body) .home-utility-bar > span.utility-bar-lead {
        display: none;
    }

    body:not(.admin-body) .home-utility-district-pin {
        display: inline-flex;
    }

    body:not(.admin-body) .home-utility-location {
        max-width: 100%;
    }

    body:not(.admin-body) .market-search,
    body:not(.admin-body) .global-homepage .market-search {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "input submit" !important;
        max-width: 100% !important;
        min-height: 44px !important;
        max-height: none !important;
        padding: 4px 5px 4px 12px !important;
    }

    body:not(.admin-body) .market-search > .search-location-control,
    body:not(.admin-body) .market-search > .search-country-control,
    body:not(.admin-body) .market-search > .search-currency-control {
        display: none !important;
    }

    body:not(.admin-body) .header-actions--commerce .header-action,
    body:not(.admin-body) .header-actions--commerce .cart-button,
    body:not(.admin-body) .market-header .header-actions--commerce .header-action,
    body:not(.admin-body) .market-header .header-actions--commerce .cart-button {
        gap: 6px !important;
    }

    body:not(.admin-body) .header-actions--commerce .header-action__label,
    body:not(.admin-body) .header-actions--commerce .header-action__caret {
        display: none;
    }

    body:not(.admin-body) .header-actions--commerce .header-action__icon {
        width: 22px !important;
        height: 22px !important;
    }

    body:not(.admin-body) .header-actions--commerce,
    body:not(.admin-body) .market-header .header-actions--commerce {
        gap: 12px !important;
    }

    body:not(.admin-body) .header-actions:not(.header-actions--commerce) .header-action,
    body:not(.admin-body) .header-actions:not(.header-actions--commerce) .cart-button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 12px !important;
    }

    body:not(.admin-body) .site-mega-all {
        right: 8px;
        left: 8px;
    }

    body:not(.admin-body) .site-mega-all-grid {
        grid-template-columns: 1fr;
        max-height: 62vh;
    }

    body:not(.admin-body) .site-mega-all-col--quick {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
    }
}

body.mega-menu-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.admin-body) .site-mega-all-inner,
    body:not(.admin-body) .nav-item--mega .nav-mega-panel,
    body:not(.admin-body) .header-action,
    body:not(.admin-body) .header-actions--commerce .header-action__icon,
    body:not(.admin-body) .loc-live-status__icon,
    body:not(.admin-body) .utility-bar-lead {
        animation: none !important;
        transition: none !important;
    }

    body:not(.admin-body) .utility-bar-lead,
    body:not(.admin-body) .home-utility-bar > span.utility-bar-lead {
        background: linear-gradient(90deg, #4ade80, #7dd3fc, #c4b5fd, #fde68a) !important;
        background-size: 100% 100% !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
    }
}

/* Beat legacy app.css header tile rules for commerce icons */
body:not(.admin-body) .market-header .header-actions--commerce a,
body:not(.admin-body) .market-header .header-actions--commerce button,
body:not(.admin-body) .market-header .header-actions--commerce .cart-button,
body:not(.admin-body) .header-actions--commerce a,
body:not(.admin-body) .header-actions--commerce button,
body:not(.admin-body) .header-actions--commerce .cart-button {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

/* Keep menubar dark gray on all public pages */
body:not(.admin-body) .market-header .category-nav,
body:not(.admin-body) .global-homepage .market-header .category-nav {
    background: linear-gradient(180deg, #b8c0ca 0%, #a8b2be 48%, #97a3b0 100%) !important;
}

/* Dark gray header on all public pages */
body:not(.admin-body).global-homepage .market-header-sticky,
body.global-homepage .market-header-sticky {
    background:
        radial-gradient(ellipse 120% 85% at 16% -28%, rgba(18, 168, 107, 0.1) 0%, transparent 54%),
        radial-gradient(ellipse 100% 72% at 90% -18%, rgba(100, 116, 139, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, #3d4858 0%, #2f3847 48%, #252d3a 100%) !important;
}

body:not(.admin-body) .global-homepage .market-header,
body.global-homepage .market-header {
    background: transparent !important;
}

/* Company wordmark image — override app.css logo img sizing */
body:not(.admin-body) .market-header .market-brand .brand-wordmark,
body:not(.admin-body) .market-brand .brand-wordmark {
    display: inline-grid !important;
    grid-template-columns: minmax(0, max-content) !important;
    justify-items: stretch !important;
    width: max-content !important;
    max-width: min(100%, 360px) !important;
    gap: 3px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-header .market-brand img.brand-wordmark-img,
body:not(.admin-body) .market-brand img.brand-wordmark-img,
body:not(.admin-body) .global-homepage .market-brand img.brand-wordmark-img {
    display: block !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: clamp(62px, 6.6vw, 68px) !important;
    max-height: 68px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter:
        drop-shadow(0 0 10px rgba(18, 168, 107, 0.16))
        contrast(1.08)
        saturate(1.1) !important;
    flex: 0 0 auto !important;
}

body:not(.admin-body) .market-header .brand-wordmark small.brand-tagline,
body:not(.admin-body) .market-brand .brand-wordmark small.brand-tagline {
    display: block !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-family: var(--font-ui, Inter), system-ui, sans-serif !important;
    font-size: clamp(9px, 0.85vw, 10.5px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 1px !important;
    text-align: center !important;
    white-space: nowrap !important;
    background: linear-gradient(
        90deg,
        #86efac 0%,
        #22c55e 20%,
        #fde68a 38%,
        #7dd3fc 56%,
        #c4b5fd 74%,
        #12a86b 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.42)) !important;
    animation: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

@media (max-width: 760px) {
    body:not(.admin-body) .market-header .brand-wordmark,
    body:not(.admin-body) .market-brand .brand-wordmark {
        max-width: min(100%, 280px) !important;
    }

    body:not(.admin-body) .market-header .market-brand img.brand-wordmark-img,
    body:not(.admin-body) .market-brand img.brand-wordmark-img {
        width: 100% !important;
        height: clamp(54px, 11.5vw, 62px) !important;
        max-height: 62px !important;
        max-width: 100% !important;
    }

    body:not(.admin-body) .market-header .brand-wordmark small.brand-tagline,
    body:not(.admin-body) .market-brand .brand-wordmark small.brand-tagline {
        white-space: normal !important;
        font-size: 8px !important;
    }
}

/* Search bar — beat app.css late overrides (pin visible, center district, embedded input) */
body:not(.admin-body) .market-header .market-search,
body:not(.admin-body) .market-search,
body:not(.admin-body) .global-homepage .market-search {
    display: grid !important;
    grid-template-columns: minmax(0, max-content) max-content minmax(0, 1fr) 38px 46px !important;
    grid-template-areas: "location country input currency submit" !important;
    column-gap: 0 !important;
    align-items: center !important;
    min-height: 58px !important;
    max-width: min(100%, 920px) !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 3px 4px 3px 5px !important;
}

body:not(.admin-body) .market-header .market-search > .search-location-control,
body:not(.admin-body) .market-search > .search-location-control,
body:not(.admin-body) .global-homepage .market-search > .search-location-control {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    max-width: 128px !important;
    width: max-content !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 2px 4px 8px !important;
    border: 0 !important;
    border-right: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
    gap: 2px !important;
}

body:not(.admin-body) .market-header .market-search > .search-location-control:hover,
body:not(.admin-body) .market-search > .search-location-control:hover,
body:not(.admin-body) .global-homepage .market-search > .search-location-control:hover {
    background: transparent !important;
}

body:not(.admin-body) .market-header .market-search > .search-location-control svg,
body:not(.admin-body) .market-search > .search-location-control svg,
body:not(.admin-body) .global-homepage .market-search > .search-location-control svg {
    display: block !important;
}

body:not(.admin-body) .market-header .market-search > .search-location-control > .search-location-text,
body:not(.admin-body) .market-search > .search-location-control > .search-location-text,
body:not(.admin-body) .global-homepage .market-search > .search-location-control > .search-location-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    max-width: none !important;
}

body:not(.admin-body) .market-header .market-search .search-location-stack,
body:not(.admin-body) .market-search .search-location-stack,
body:not(.admin-body) .global-homepage .market-search .search-location-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    text-align: center !important;
    overflow: visible !important;
}

body:not(.admin-body) .market-header .market-search .search-loc-district,
body:not(.admin-body) .market-search .search-loc-district,
body:not(.admin-body) .market-header .market-search .search-loc-pin,
body:not(.admin-body) .market-search .search-loc-pin,
body:not(.admin-body) .market-search > .search-location-control span.search-loc-district,
body:not(.admin-body) .market-search > .search-location-control span.search-loc-pin {
    display: block !important;
    flex: none !important;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
}

body:not(.admin-body) .market-header .market-search .search-loc-district,
body:not(.admin-body) .market-search .search-loc-district {
    color: #0369a1 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    -webkit-text-fill-color: #0369a1 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

body:not(.admin-body) .market-header .market-search .search-loc-pin,
body:not(.admin-body) .market-search .search-loc-pin {
    color: #047857 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    -webkit-text-fill-color: #047857 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

body:not(.admin-body) .market-header .market-search > input,
body:not(.admin-body) .market-search > input,
body:not(.admin-body) .global-homepage .market-search > input {
    align-self: stretch !important;
    margin: 0 !important;
    padding: 0 10px 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    line-height: normal !important;
}

body:not(.admin-body) .market-header .search-country-control,
body:not(.admin-body) .market-search .search-country-control {
    margin: 0 !important;
    padding: 0 !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    border: 0 !important;
    border-right: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-header .country-mark,
body:not(.admin-body) .market-search .country-mark {
    width: 48px !important;
    height: 34px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 1px !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(15, 23, 42, 0.08),
        0 3px 8px rgba(15, 23, 42, 0.18) !important;
    color: transparent !important;
}

body:not(.admin-body) .market-header .country-mark::before,
body:not(.admin-body) .market-header .country-mark::after,
body:not(.admin-body) .market-search .country-mark::before,
body:not(.admin-body) .market-search .country-mark::after {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .market-header .country-flag-img,
body:not(.admin-body) .market-search .country-flag-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    filter: saturate(1.12) contrast(1.06) !important;
}

body:not(.admin-body) .market-header .market-search input,
body:not(.admin-body) .market-header .market-search > input {
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Beat app.css span { display: grid } on location control */
body:not(.admin-body) .market-search > .search-location-control span.search-location-stack,
body:not(.admin-body) .global-homepage .market-search > .search-location-control span.search-location-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    width: max-content !important;
    overflow: visible !important;
}

body:not(.admin-body) .market-search > .search-location-control span.search-loc-district,
body:not(.admin-body) .market-search > .search-location-control span.search-loc-pin,
body:not(.admin-body) .global-homepage .market-search > .search-location-control span.search-loc-district,
body:not(.admin-body) .global-homepage .market-search > .search-location-control span.search-loc-pin {
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* Tight pack: district ▸ flag ▸ search — override app.css fixed widths */
body:not(.admin-body) .market-header .market-search > .search-country-control,
body:not(.admin-body) .market-search > .search-country-control,
body:not(.admin-body) .global-homepage .market-search > .search-country-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    margin-block: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-inline: 0 !important;
    border-right: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    place-items: unset !important;
}

body:not(.admin-body) .market-header .market-search > .search-location-control > .search-location-text,
body:not(.admin-body) .market-search > .search-location-control > .search-location-text,
body:not(.admin-body) .global-homepage .market-search > .search-location-control > .search-location-text {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: max-content !important;
}

body:not(.admin-body) .market-header .market-search > input[type="search"],
body:not(.admin-body) .market-search > input[type="search"],
body:not(.admin-body) .global-homepage .market-search > input[type="search"] {
    padding: 0 10px 0 6px !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* District column — compact, flag flush beside */
body:not(.admin-body) .market-header .market-search > .search-location-control,
body:not(.admin-body) .market-search > .search-location-control,
body:not(.admin-body) .global-homepage .market-search > .search-location-control {
    min-width: 0 !important;
    max-width: 128px !important;
    width: max-content !important;
    padding: 4px 2px 4px 8px !important;
}

body:not(.admin-body) .market-search > .search-location-control .search-location-text,
body:not(.admin-body) .market-search > .search-location-control .search-location-stack,
body:not(.admin-body) .global-homepage .market-search > .search-location-control .search-location-text,
body:not(.admin-body) .global-homepage .market-search > .search-location-control .search-location-stack {
    min-width: 0 !important;
    max-width: 108px !important;
    width: max-content !important;
}

body:not(.admin-body) .market-search .search-loc-district,
body:not(.admin-body) .market-search .search-loc-pin,
body:not(.admin-body) .market-header .market-search .search-loc-district,
body:not(.admin-body) .market-header .market-search .search-loc-pin {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

/* Currency + search submit — inside strip, no overlap */
body:not(.admin-body) .market-header .market-search > .search-currency-control,
body:not(.admin-body) .market-search > .search-currency-control,
body:not(.admin-body) .global-homepage .market-search > .search-currency-control {
    grid-area: currency !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: auto !important;
    margin: 0 !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-header .market-search .currency-mark,
body:not(.admin-body) .market-search .currency-mark,
body:not(.admin-body) .global-homepage .market-search .currency-mark {
    font-size: 17px !important;
    line-height: 1 !important;
    color: #15803d !important;
}

body:not(.admin-body) .market-header .market-search > .search-submit-button,
body:not(.admin-body) .market-search > .search-submit-button,
body:not(.admin-body) .global-homepage .market-search > .search-submit-button {
    grid-area: submit !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 32%),
        linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
    flex-shrink: 0 !important;
}

body:not(.admin-body) .market-header .market-search > .search-submit-button svg,
body:not(.admin-body) .market-search > .search-submit-button svg,
body:not(.admin-body) .global-homepage .market-search > .search-submit-button svg {
    width: 17px !important;
    height: 17px !important;
}

/* Fixed top band (utility + topbar); menubar scrolls */
body:not(.admin-body) .market-header-sticky,
body:not(.admin-body).global-homepage .market-header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

body:not(.admin-body) .market-header-sticky-spacer {
    display: block !important;
    width: 100% !important;
    pointer-events: none !important;
}

body:not(.admin-body) .market-header,
body:not(.admin-body).global-homepage .market-header {
    position: relative !important;
    top: auto !important;
    z-index: 100 !important;
}

body:not(.admin-body) .market-header .category-nav,
body:not(.admin-body) .global-homepage .market-header .category-nav {
    position: static !important;
    top: auto !important;
}

/* overflow-x:hidden on html/body breaks position:sticky (kept for other layouts) */
html,
body:not(.admin-body) {
    overflow-x: clip !important;
}

/* Commerce toolbar — compact, bold 3D icons */
body:not(.admin-body) .market-header .header-actions--commerce,
body:not(.admin-body) .header-actions--commerce {
    gap: clamp(6px, 1vw, 10px) !important;
}

body:not(.admin-body) .market-header .header-actions--commerce .header-action,
body:not(.admin-body) .market-header .header-actions--commerce .cart-button,
body:not(.admin-body) .header-actions--commerce .header-action,
body:not(.admin-body) .header-actions--commerce .cart-button {
    gap: 6px !important;
    padding: 4px 8px 4px 5px !important;
    border-radius: 10px !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 23, 42, 0.1) 55%, rgba(15, 23, 42, 0.18) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(0, 0, 0, 0.22) !important;
    color: #f8fafc !important;
}

body:not(.admin-body) .header-actions--commerce .header-action__glyph {
    width: 34px !important;
    height: 34px !important;
}

body:not(.admin-body) .header-actions--commerce .header-action > .header-action__icon,
body:not(.admin-body) .header-actions--commerce .header-action__glyph .header-action__icon {
    width: 30px !important;
    height: 30px !important;
    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35))
        brightness(1.08)
        contrast(1.08) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--portal > .header-action__icon {
    background: linear-gradient(145deg, #38bdf8 0%, #0284c7 52%, #0369a1 100%) !important;
    border-color: rgba(125, 211, 252, 0.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(3, 105, 161, 0.55),
        0 4px 14px rgba(14, 165, 233, 0.45) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--wishlist > .header-action__icon {
    background: linear-gradient(145deg, #fb7185 0%, #e11d48 52%, #be123c 100%) !important;
    border-color: rgba(253, 164, 175, 0.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(190, 18, 60, 0.55),
        0 4px 14px rgba(244, 63, 94, 0.42) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--compare > .header-action__icon {
    background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 52%, #6d28d9 100%) !important;
    border-color: rgba(196, 181, 253, 0.55) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(109, 40, 217, 0.55),
        0 4px 14px rgba(139, 92, 246, 0.42) !important;
}

body:not(.admin-body) .header-actions--commerce .cart-button .header-action__glyph {
    background: linear-gradient(145deg, #fb923c 0%, #ea580c 52%, #c2410c 100%) !important;
    border-color: rgba(253, 186, 116, 0.58) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -2px 0 rgba(194, 65, 12, 0.55),
        0 4px 14px rgba(249, 115, 22, 0.45) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action__label,
body:not(.admin-body) .header-actions--commerce .cart-button .header-action__label {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.35),
        0 0 12px rgba(255, 255, 255, 0.08) !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--portal .header-action__label {
    color: #7dd3fc !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--wishlist .header-action__label {
    color: #fda4af !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--compare .header-action__label {
    color: #c4b5fd !important;
}

body:not(.admin-body) .header-actions--commerce .header-action--cart .header-action__label,
body:not(.admin-body) .header-actions--commerce .cart-button .header-action__label {
    color: #fdba74 !important;
}

/* Menubar — restore linked icons, bold text, high visibility */
body:not(.admin-body) .category-nav .nav-icon,
body:not(.admin-body) .global-homepage .category-nav .nav-icon,
body.global-homepage .category-nav .nav-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    flex: 0 0 22px !important;
    padding: 2px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 6px !important;
    background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 100%) !important;
    color: #0f172a !important;
    opacity: 1 !important;
    overflow: visible !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(15, 23, 42, 0.12),
        0 2px 6px rgba(15, 23, 42, 0.16) !important;
}

body:not(.admin-body) .category-nav .nav-icon::before,
body:not(.admin-body) .category-nav .nav-icon::after,
body:not(.admin-body) .global-homepage .category-nav .nav-icon::before,
body:not(.admin-body) .global-homepage .category-nav .nav-icon::after {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .category-nav .nav-icon svg,
body:not(.admin-body) .global-homepage .category-nav .nav-icon svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    flex: none !important;
}

body:not(.admin-body) .category-nav .nav-link,
body:not(.admin-body) .category-nav > a,
body:not(.admin-body) .category-nav .nav-all-trigger {
    gap: 7px !important;
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    text-shadow: none !important;
}

body:not(.admin-body) .category-nav .nav-link > span,
body:not(.admin-body) .category-nav > a > span {
    color: inherit !important;
    font: inherit !important;
    line-height: 1.1 !important;
}

body:not(.admin-body) .category-nav .nav-link:hover,
body:not(.admin-body) .category-nav > a:hover,
body:not(.admin-body) .category-nav .nav-all-trigger:hover {
    color: #020617 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: inset 0 -2px 0 #0f172a !important;
}

body:not(.admin-body) .category-nav .nav-link.is-active,
body:not(.admin-body) .category-nav > a.is-active {
    color: #0369a1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: inset 0 -3px 0 #0284c7 !important;
}

body:not(.admin-body) .category-nav .nav-icon--home { color: #fff !important; background: linear-gradient(145deg, #22c55e 0%, #15803d 100%) !important; border-color: rgba(187, 247, 208, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--service,
body:not(.admin-body) .category-nav .nav-icon--services { color: #fff !important; background: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%) !important; border-color: rgba(186, 230, 253, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--product,
body:not(.admin-body) .category-nav .nav-icon--products { color: #fff !important; background: linear-gradient(145deg, #fb923c 0%, #ea580c 100%) !important; border-color: rgba(254, 215, 170, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--software { color: #fff !important; background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 100%) !important; border-color: rgba(221, 214, 254, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--etender,
body:not(.admin-body) .category-nav .nav-icon--tenders { color: #fff !important; background: linear-gradient(145deg, #fbbf24 0%, #d97706 100%) !important; border-color: rgba(253, 230, 138, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--career,
body:not(.admin-body) .category-nav .nav-icon--careers { color: #fff !important; background: linear-gradient(145deg, #f472b6 0%, #db2777 100%) !important; border-color: rgba(251, 207, 232, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--blog { color: #fff !important; background: linear-gradient(145deg, #2dd4bf 0%, #0d9488 100%) !important; border-color: rgba(153, 246, 228, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--recruitment,
body:not(.admin-body) .category-nav .nav-icon--recrutment { color: #fff !important; background: linear-gradient(145deg, #818cf8 0%, #4f46e5 100%) !important; border-color: rgba(199, 210, 254, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--about-us { color: #fff !important; background: linear-gradient(145deg, #64748b 0%, #334155 100%) !important; border-color: rgba(203, 213, 225, 0.55) !important; }
body:not(.admin-body) .category-nav .nav-icon--contact-us { color: #fff !important; background: linear-gradient(145deg, #34d399 0%, #059669 100%) !important; border-color: rgba(167, 243, 208, 0.55) !important; }

body:not(.admin-body) .category-nav .nav-all-trigger {
    font-weight: 800 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body:not(.admin-body) .category-nav .nav-all-trigger svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #0f172a !important;
    stroke-width: 2.4 !important;
}

/* Menubar terminal overrides — beat app.css dot icons & late nav rules */
body:not(.admin-body) .market-header .category-nav,
body.global-homepage .market-header .category-nav {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
}

body:not(.admin-body) .market-header .category-nav a,
body:not(.admin-body) .market-header .category-nav .nav-link,
body:not(.admin-body) .market-header .category-nav button,
body:not(.admin-body) .market-header .category-nav .nav-all-trigger,
body.global-homepage .market-header .category-nav a,
body.global-homepage .market-header .category-nav .nav-link {
    gap: 7px !important;
    height: 40px !important;
    min-height: 0 !important;
    max-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

body:not(.admin-body) .market-header .category-nav .nav-link > span:not(.nav-icon),
body:not(.admin-body) .market-header .category-nav > a > span:not(.nav-icon) {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

body:not(.admin-body) .market-header .category-nav a:hover,
body:not(.admin-body) .market-header .category-nav .nav-link:hover,
body:not(.admin-body) .market-header .category-nav button:hover {
    color: #020617 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: inset 0 -2px 0 #0f172a !important;
    transform: none !important;
}

body:not(.admin-body) .market-header .category-nav .nav-link.is-active,
body:not(.admin-body) .market-header .category-nav > a.is-active {
    color: #0369a1 !important;
    background: transparent !important;
    box-shadow: inset 0 -3px 0 #0284c7 !important;
}

/* Header top location — kill ellipsis / dot-clamp from app.css */
body:not(.admin-body) .market-header .home-utility-bar,
body:not(.admin-body) .global-homepage .home-utility-bar,
body:not(.admin-body) .home-utility-bar {
    min-height: 24px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 clamp(14px, 3vw, 36px) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    background: #09090b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

body:not(.admin-body) .market-header .home-utility-bar span::before,
body:not(.admin-body) .market-header .home-utility-bar a::before,
body:not(.admin-body) .home-utility-bar > span:first-child::before {
    display: none !important;
    content: none !important;
}

body:not(.admin-body) .market-header .home-utility-bar span,
body:not(.admin-body) .market-header .home-utility-bar a,
body:not(.admin-body) .market-header .home-utility-bar strong,
body:not(.admin-body) .market-header .home-utility-location,
body:not(.admin-body) .market-header .home-utility-location .location-multicolor,
body:not(.admin-body) .market-header .home-utility-location .loc-address-flow {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
}

body:not(.admin-body) .market-header .home-utility-bar .utility-bar-lead,
body:not(.admin-body) .home-utility-bar > span.utility-bar-lead {
    max-width: min(52vw, 480px) !important;
    white-space: nowrap !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background-size: 220% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: utility-bar-neon-run 5s linear infinite !important;
}

body:not(.admin-body) .market-header .home-utility-location {
    display: inline-flex !important;
    width: auto !important;
    flex: 1 1 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 1px 0 !important;
}

@media (max-width: 640px) {
    body:not(.admin-body) .home-utility-location {
        width: 100% !important;
        max-width: 100% !important;
    }

    body:not(.admin-body) .loc-track--pin {
        font-size: 10px;
    }

    body:not(.admin-body) .loc-live-status__icon {
        width: 12px;
        height: 12px;
    }

    body:not(.admin-body) .loc-live-status__label {
        font-size: 8px;
    }
}
