/* ============================================================
   HedgeLists Global Header Overrides
   Applied on top of Kadence's default header styles
   ============================================================ */

/* --- Logo: split-color "Hedge" (black) + "Lists" (blue) --- */
.site-branding .site-title {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}
.site-branding .site-title a {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 19px;
    text-decoration: none;
    color: #111;
}
.site-branding .site-title a .logo-accent {
    color: #2EA3F2;
}

/* --- Navigation items --- */
.header-navigation .menu-item > a {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color 0.15s;
}
.header-navigation .menu-item > a:hover,
.header-navigation .menu-item.current-menu-item > a {
    color: #2EA3F2;
}

/* --- Header base --- */
.site-header {
    background: #fff;
    position: relative;
}

/* --- Sticky header bottom border --- */
.item-is-fixed .site-header,
.header-sticky-active .site-header,
.site-header.item-is-stuck {
    border-bottom: 0.5px solid #E5E7EB;
}

/* --- "My Account" text link in header --- */
.hl-header-account a {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color 0.15s;
}
.hl-header-account a:hover {
    color: #2EA3F2;
}

/* --- "Get Free Sample" button in header --- */
.hl-header-cta a {
    display: inline-block;
    background: #2EA3F2;
    color: #fff;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.15s;
    line-height: 1.2;
}
.hl-header-cta a:hover {
    opacity: 0.88;
    color: #fff;
}

/* --- WooCommerce cart icon in header --- */
.header-cart-wrap .header-cart-button {
    color: #111;
}
.header-cart-wrap .header-cart-button:hover {
    color: #2EA3F2;
}

/* --- Mega menu trigger — add down arrow indicator --- */
.menu-item.hl-mega-trigger > a .nav-drop-title-wrap::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.menu-item.hl-mega-trigger > a:hover .nav-drop-title-wrap::after {
    opacity: 1;
}

/* --- Responsive tweaks --- */
@media (max-width: 1024px) {
    .hl-header-account,
    .hl-header-cta {
        display: none;
    }
}
