/* =========================================================
   HEADER — TOP BAR
   ========================================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: transparent;
    z-index: 999999;   /* wins over every other overlay on the page */
}

.header_hold {
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =========================================================
   LOGO
   ========================================================= */

.header_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header_logo img {
    width: 35px;
    height: auto;
}

.header_logo p {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
}

/* =========================================================
   HEADER VARIANTS (role-based)
   ========================================================= */

body.role-shop-user {
    background: #f8fafc;
}

body.role-shop-user header {
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid #eef2f6;
}

/* Blur on a pseudo-element so it doesn't create a containing block
   for the fixed-position drawers / backdrop inside the header */
body.role-shop-user header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    z-index: -1;
    pointer-events: none;
}

body.role-shop-user .header_hold {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 0;
}

/* =========================================================
   NAV PILLS
   ========================================================= */

.nav-pill {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}
.nav-pill:hover {
    background: #f1f5f9;
    color: #ff7a00;
}
.nav-pill-active,
.nav-pill-active:hover {
    background: #0f172a;
    color: #fff;
}

/* =========================================================
   HAMBURGER (mobile only)
   ========================================================= */

.hamburger { display: none; }