/* Primary top-level menu items - ensure black text with improved spacing and typography */
#header-outer #top nav > ul > li > a,
#header-outer .sf-menu > li > a,
#top nav > ul > li > a {
    color: var(--black-100) !important;
    font-size: 1.05rem !important; /* Slightly larger font */
    padding: 0 12px !important; /* Horizontal spacing between menu items - reduced from 16px */
    margin: 0 2px !important; /* Additional margin for breathing room - reduced from 3px */
    white-space: nowrap !important; /* Prevent text wrapping */
}

/* Special handling for Schools Shop navigation item to prevent wrapping */
#header-outer #top nav > ul > li > a[href*="schools"]:contains("Shop"),
#header-outer #top nav > ul > li > a[title*="Schools Shop"],
#header-outer .sf-menu > li > a[href*="schools"]:contains("Shop") {
    font-size: 0.95rem !important; /* Slightly smaller to fit */
    padding: 0 16px !important; /* Reduced horizontal padding */
    letter-spacing: -0.02em !important; /* Tighter letter spacing */
}

/* Menu hover states - keep text black */
#header-outer #top nav > ul > li > a:hover,
#header-outer .sf-menu > li > a:hover,
#top nav > ul > li > a:hover,
#header-outer #top nav > ul > li.sfHover > a,
#header-outer .sf-menu > li.sfHover > a,
#header-outer #top nav > ul > li:hover > a {
    color: var(--black-100) !important;
}

/* Animated underline effect for top-level navigation - direct on anchor links */
#header-outer #top nav > ul > li:not([class*="button_"]) > a,
#header-outer .sf-menu > li:not([class*="button_"]) > a {
    position: relative;
}

#header-outer #top nav > ul > li:not([class*="button_"]) > a:after,
#header-outer .sf-menu > li:not([class*="button_"]) > a:after {
    transition: transform 0.3s ease-out, border-color 0.3s ease-out;
    position: absolute;
    display: block;
    bottom: -6px;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    border-top: 2px solid var(--ul-red-200);
    content: "";
    z-index: 1;
}

/* Show underline on hover OR when sfHover/menu-item-over classes are present */
/* Using both :hover and class selectors ensures smooth transition regardless of JavaScript timing */
#header-outer #top nav > ul > li:not([class*="button_"]) > a:hover:after,
#header-outer .sf-menu > li:not([class*="button_"]):hover > a:after,
#header-outer .sf-menu > li.sfHover:not([class*="button_"]) > a:after,
#header-outer .sf-menu > li.menu-item-over:not([class*="button_"]) > a:after,
#header-outer .sf-menu .current-menu-item:not([class*="button_"]) > a:after,
#header-outer .sf-menu .current-menu-ancestor:not([class*="button_"]) > a:after {
    transform: scaleX(1);
}
/*
=============================================
  HEADER & NAVIGATION STYLES
=============================================
*/

/* Mega Menu General Styling
   Note: Let Salient handle width/padding for consistent positioning */
#header-outer .sf-menu li.megamenu > .sub-menu {
    background-color: #ffffff !important; /* Pure white background */
    border: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Mega Menu Columns Layout */
#header-outer .sf-menu li.megamenu > .sub-menu > li {
    width: 22%; 
    margin: 0 1.5%;
    float: left;
    padding: 16px 0 !important; /* inner vertical breathing room */
    border: none !important;
    box-sizing: border-box; /* keep column width stable when padding is applied */
}

/* Edge padding for the first/last columns to create horizontal breathing room */
#header-outer .sf-menu li.megamenu > .sub-menu > li:first-child { padding-left: 35px; }
#header-outer .sf-menu li.megamenu > .sub-menu > li:last-child { padding-right: 35px; }

/* Increased horizontal padding for all mega menu columns */
#header-outer .sf-menu li.megamenu > .sub-menu > li {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Column Headings (e.g., Teamwear, Schools) */
#header-outer .sf-menu li.megamenu > .sub-menu > li > a {
    color: var(--black-100) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
    background: none !important;
    pointer-events: none; /* Headings are not links */
}

/* Sub-menu List (under each heading) */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#header-outer .sf-menu li.megamenu > .sub-menu > li ul li {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Individual Links in the Sub-menu */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul li a {
    color: var(--neutral-800) !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    padding: 16px 0 !important; /* Increased from 12px for more breathing room */
    display: block;
    /* Only transition color and padding, NOT border properties to prevent fade-out */
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    background: none !important;
    line-height: 1.5 !important; /* Improved line height for better readability */
    /* Force solid border with full opacity at all times */
    border-bottom-color: rgba(234, 234, 234, 1) !important;
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

/* Hover effect for links */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul li a:hover {
    color: var(--ul-red-200) !important;
    background-color: transparent !important;
    padding-left: 5px !important;
}

/* Remove border from the last link in each list */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul li:last-child a {
    border-bottom: none !important;
}

/* CRITICAL: Force borders to stay visible at all times, overriding any parent hover effects */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul li a,
#header-outer .sf-menu li.megamenu.sfHover > .sub-menu > li ul li a,
#header-outer .sf-menu li.megamenu.menu-item-over > .sub-menu > li ul li a,
#header-outer .sf-menu li.megamenu.sfHover.menu-item-over > .sub-menu > li ul li a {
    border-bottom-color: rgba(234, 234, 234, 1) !important; /* Force full opacity */
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

/* Also ensure last child still has no border in all states */
#header-outer .sf-menu li.megamenu > .sub-menu > li ul li:last-child a,
#header-outer .sf-menu li.megamenu.sfHover > .sub-menu > li ul li:last-child a,
#header-outer .sf-menu li.megamenu.menu-item-over > .sub-menu > li ul li:last-child a {
    border-bottom: none !important;
}

/* Regular dropdown menu (non-mega menu) background and styling */
#header-outer .sf-menu > li > .sub-menu {
    background-color: #ffffff !important; /* Pure white background for dropdown menus */
}

/* Regular dropdown menu (non-mega menu) second-level navigation improvements */
#header-outer .sf-menu > li > .sub-menu > li > a {
    padding: 16px 30px !important; /* Increased horizontal padding from 20px to 30px */
    line-height: 1.5 !important; /* Better line height for readability */
    margin: 2px 0 !important; /* Small margin for additional breathing room */
}

/* Regular dropdown submenu items */
#header-outer .sf-menu .sub-menu a {
    padding: 16px 30px !important; /* Increased horizontal padding for all submenu items */
    line-height: 1.5 !important;
} 

/*
=============================================
  PAGE HEADER ALIGNMENT - FORCE LEFT ALIGN
=============================================
*/

/* Override center and right alignment to force left alignment */
#page-header-bg[data-text-alignment="center"],
.page-header-no-bg[data-text-alignment="center"],
#page-header-bg[data-text-alignment="right"],
.page-header-no-bg[data-text-alignment="right"],
#page-header-bg,
.page-header-no-bg {
    text-align: left !important;
}

/* Ensure page header content is left-aligned and matches container padding */
#page-header-bg[data-text-alignment="center"] .span_6,
.page-header-no-bg[data-text-alignment="center"] .span_6,
#page-header-bg[data-text-alignment="right"] .span_6,
.page-header-no-bg[data-text-alignment="right"] .span_6,
#page-header-bg .span_6,
.page-header-no-bg .span_6 {
    left: 0 !important;
    width: 100% !important;
    text-align: left !important;
    padding-left: 0 !important; /* Remove any extra left padding */
}

/* Page header titles - align with breadcrumb container and ensure proper spacing */
#page-header-bg[data-text-alignment="center"] h1,
.page-header-no-bg[data-text-alignment="center"] h1,
#page-header-bg[data-text-alignment="right"] h1,
.page-header-no-bg[data-text-alignment="right"] h1,
#page-header-bg h1,
.page-header-no-bg h1,
#page-header-bg .span_6 h1,
.page-header-no-bg .span_6 h1,
#page-header-bg .container h1,
.page-header-no-bg .container h1 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: none !important;
    margin-top: 30px !important; /* Increased space between breadcrumb and title */
    padding-left: 0 !important;
}

#page-header-bg[data-text-alignment="center"] .subheader,
.page-header-no-bg[data-text-alignment="center"] .subheader,
#page-header-bg[data-text-alignment="right"] .subheader,
.page-header-no-bg[data-text-alignment="right"] .subheader,
#page-header-bg .subheader,
.page-header-no-bg .subheader {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: none !important;
}

/*
=============================================
  CONSISTENT PAGE HEADER BREADCRUMB STYLING
=============================================
*/

/* Hide Yoast breadcrumbs - use only breadcrumb-container */
#breadcrumbs,
#breadcrumbs.yoast,
.yoast-breadcrumbs {
  display: none;
}

/* Target breadcrumb-container and other non-Yoast breadcrumbs with bold red larger font */
body #page-header-bg .breadcrumb-container,
body .page-header-no-bg .breadcrumb-container,
body .breadcrumb-container,
body #page-header-bg .woocommerce-breadcrumb,
body .page-header-no-bg .woocommerce-breadcrumb,
body .woocommerce-breadcrumb,
body #page-header-bg .product-breadcrumb,
body .page-header-no-bg .product-breadcrumb,
body .product-breadcrumb,
body #page-header-bg .category-breadcrumb,
body .page-header-no-bg .category-breadcrumb,
body .category-breadcrumb,
body .single-product .category-breadcrumb,
body .category-featured-header .product-breadcrumb {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family-base);
  margin-bottom: 0; /* Remove bottom margin - let page title handle spacing */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 0; /* Ensure proper alignment */
  margin-left: 0;
}

/* Specific container alignment for breadcrumbs */
body #page-header-bg .container .breadcrumb-container,
body .page-header-no-bg .container .breadcrumb-container,
body #page-header-bg .container .woocommerce-breadcrumb,
body .page-header-no-bg .container .woocommerce-breadcrumb {
  padding-left: 0;
  margin-left: 0;
}

/* Remove left padding/margin from breadcrumb spans */
body .breadcrumb-container span,
body .woocommerce-breadcrumb span,
body .product-breadcrumb span,
body .category-breadcrumb span,
body #page-header-bg .breadcrumb-container span,
body .page-header-no-bg .breadcrumb-container span,
body #page-header-bg .woocommerce-breadcrumb span,
body .page-header-no-bg .woocommerce-breadcrumb span {
  padding-left: 0;
  margin-left: 0;
}

/* Remove left padding/margin from breadcrumb span containers */
body .breadcrumb-container span span,
body .woocommerce-breadcrumb span span,
body .product-breadcrumb span span,
body .category-breadcrumb span span {
  padding-left: 0;
  margin-left: 0;
}

/* All breadcrumb links - bold red styling (excluding hidden Yoast breadcrumbs) */
body #page-header-bg .breadcrumb-container a,
body .page-header-no-bg .breadcrumb-container a,
body .breadcrumb-container a,
body #page-header-bg .woocommerce-breadcrumb a,
body .page-header-no-bg .woocommerce-breadcrumb a,
body .woocommerce-breadcrumb a,
body #page-header-bg .product-breadcrumb a,
body .page-header-no-bg .product-breadcrumb a,
body .product-breadcrumb a,
body #page-header-bg .category-breadcrumb a,
body .page-header-no-bg .category-breadcrumb a,
body .category-breadcrumb a,
body .single-product .category-breadcrumb a,
body .category-featured-header .product-breadcrumb a {
  color: var(--ul-red-200);
  font-weight: 700;
  font-size: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Ensure non-link breadcrumb parts (current item spans) are also brand red */
body .category-breadcrumb,
body .woocommerce-breadcrumb,
body .breadcrumb-container {
  color: var(--ul-red-200);
}
body .category-breadcrumb span,
body .category-breadcrumb .parent-category,
body .woocommerce-breadcrumb span,
body .breadcrumb-container span {
  color: var(--ul-red-200);
}

/* Breadcrumb link hover states (excluding hidden Yoast breadcrumbs) */
body #page-header-bg .breadcrumb-container a:hover,
body .page-header-no-bg .breadcrumb-container a:hover,
body .breadcrumb-container a:hover,
body #page-header-bg .woocommerce-breadcrumb a:hover,
body .page-header-no-bg .woocommerce-breadcrumb a:hover,
body .woocommerce-breadcrumb a:hover,
body #page-header-bg .product-breadcrumb a:hover,
body .page-header-no-bg .product-breadcrumb a:hover,
body .product-breadcrumb a:hover,
body #page-header-bg .category-breadcrumb a:hover,
body .page-header-no-bg .category-breadcrumb a:hover,
body .category-breadcrumb a:hover,
body .single-product .category-breadcrumb a:hover,
body .category-featured-header .product-breadcrumb a:hover {
  color: var(--ul-red-300);
  text-decoration: none;
}

/* Breadcrumb separators - consistent red styling */
body .breadcrumb-container .breadcrumb_sep,
body .breadcrumb-container .delimiter,
body .woocommerce-breadcrumb .delimiter,
body .product-breadcrumb .breadcrumb-separator,
body .category-breadcrumb .breadcrumb-separator,
body .single-product .category-breadcrumb .breadcrumb-separator,
body .category-featured-header .product-breadcrumb .breadcrumb-separator {
  color: var(--ul-red-200);
  font-weight: 700;
  margin: 0 8px;
}

/* Ensure all breadcrumb text elements inherit the bold red styling (excluding hidden Yoast) */
body #page-header-bg .breadcrumb-container *,
body .page-header-no-bg .breadcrumb-container *,
body .breadcrumb-container *,
body #page-header-bg .woocommerce-breadcrumb *,
body .page-header-no-bg .woocommerce-breadcrumb *,
body .woocommerce-breadcrumb *,
body #page-header-bg .product-breadcrumb *,
body .page-header-no-bg .product-breadcrumb *,
body .product-breadcrumb *,
body #page-header-bg .category-breadcrumb *,
body .page-header-no-bg .category-breadcrumb *,
body .category-breadcrumb *,
body .single-product .category-breadcrumb *,
body .category-featured-header .product-breadcrumb * {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

/* Breadcrumbs - Consolidated from multiple files */

/* Category featured header breadcrumb - special case for dark backgrounds */
/* Using white text for visibility but maintaining bold larger font consistency */
body .category-featured-header .product-breadcrumb {
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body .category-featured-header .product-breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

body .category-featured-header .product-breadcrumb a:hover {
  color: white;
}

body .category-featured-header .breadcrumb-separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

/* Clean up - Yoast breadcrumbs are now hidden, only need breadcrumb-container styling */

/* Hide trailing separators that come before hidden items */
.woocommerce-breadcrumb span:last-child:not([href]) + .delimiter,
.breadcrumb-container span:last-child:not([href]) + .breadcrumb_sep,
.breadcrumb-separator:last-of-type {
  display: none;
}

/* Responsive breadcrumb font sizes - maintain bold red styling */
/* Breakpoints: Mobile 0-767px | Tablet 768-1023px | Desktop 1024px+ */
@media screen and (max-width: 1023px) {
  body #page-header-bg .breadcrumb-container,
  body .page-header-no-bg .breadcrumb-container,
  body .breadcrumb-container,
  body #page-header-bg .woocommerce-breadcrumb,
  body .page-header-no-bg .woocommerce-breadcrumb,
  body .woocommerce-breadcrumb,
  body #page-header-bg .product-breadcrumb,
  body .page-header-no-bg .product-breadcrumb,
  body .product-breadcrumb,
  body #page-header-bg .category-breadcrumb,
  body .page-header-no-bg .category-breadcrumb,
  body .category-breadcrumb,
  body .single-product .category-breadcrumb,
  body .category-featured-header .product-breadcrumb {
    font-size: 0.9rem;
    font-weight: 700; /* Maintain bold on tablet */
  }
}

@media screen and (max-width: 640px) /* Mobile breakpoint - standardized */ {
  body #page-header-bg .breadcrumb-container,
  body .page-header-no-bg .breadcrumb-container,
  body .breadcrumb-container,
  body #page-header-bg .woocommerce-breadcrumb,
  body .page-header-no-bg .woocommerce-breadcrumb,
  body .woocommerce-breadcrumb,
  body #page-header-bg .product-breadcrumb,
  body .page-header-no-bg .product-breadcrumb,
  body .product-breadcrumb,
  body #page-header-bg .category-breadcrumb,
  body .page-header-no-bg .category-breadcrumb,
  body .category-breadcrumb,
  body .single-product .category-breadcrumb,
  body .category-featured-header .product-breadcrumb {
    font-size: 0.85rem;
    font-weight: 700; /* Maintain bold on mobile */
  }

  /* Category featured header mobile breadcrumb adjustments */
  .category-featured-header .product-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .category-featured-header .breadcrumb-separator {
    margin: 0 0.5rem;
  }
}

/*
=============================================
  PAGE HEADER HEIGHT RESPONSIVE STYLES
=============================================
*/

/* Only apply height adjustments to default headers (60px), not custom ones */
/* Tablet breakpoint - slight increase for default headers only */
@media screen and (max-width: 1023px) {
  #page-header-wrap:not([style*="height"]),
  #page-header-bg:not([style*="height"]) {
    height: 100px !important;
    min-height: 100px !important;
  }
  
  /* Target default 60px headers specifically */
  #page-header-wrap[style="height: 60px"],
  #page-header-bg[style*="height:60px"],
  #page-header-bg[style*="height: 60px"] {
    height: 100px !important;
    min-height: 100px !important;
  }
  
  /* For pages without background images */
  .page-header-no-bg {
    padding-top: 45px !important;
    padding-bottom: 25px !important;
  }
}

/* Mobile breakpoint - more substantial increase for default headers only */
@media screen and (max-width: 640px) /* Mobile breakpoint - standardized */ {
  #page-header-wrap:not([style*="height"]),
  #page-header-bg:not([style*="height"]) {
    height: 130px !important;
    min-height: 130px !important;
  }
  
  /* Target default 60px headers specifically */
  #page-header-wrap[style="height: 60px"],
  #page-header-bg[style*="height:60px"],
  #page-header-bg[style*="height: 60px"] {
    height: 130px !important;
    min-height: 130px !important;
  }
  
  /* For pages without background images */
  .page-header-no-bg {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
  }
  
  /* Ensure content positioning works properly - but not for custom heights */
  #page-header-bg:not([style*="height"]) .container,
  #page-header-bg:not([style*="height"]) .row {
    height: 100%;
    display: flex;
    align-items: center;
  }
}

/* Very small mobile screens - maximum height for default headers only */
@media screen and (max-width: 374px) {
  #page-header-wrap:not([style*="height"]),
  #page-header-bg:not([style*="height"]) {
    height: 150px !important;
    min-height: 150px !important;
  }
  
  /* Target default 60px headers specifically */
  #page-header-wrap[style="height: 60px"],
  #page-header-bg[style*="height:60px"],
  #page-header-bg[style*="height: 60px"] {
    height: 150px !important;
    min-height: 150px !important;
  }
  
  /* For pages without background images */
  .page-header-no-bg {
    padding-top: 70px !important;
    padding-bottom: 50px !important;
  }
}

/*
=============================================
  MOBILE MENU FIX
=============================================
*/

/* Fix mobile menu overlay - prevent content bleeding through */
@media (max-width: 1023px) {
    /* Ensure mobile menu has solid background */
    .slide-out-widget-area.open,
    #slide-out-widget-area.open,
    body #slide-out-widget-area {
        background-color: var(--ul-red-200) !important;
        opacity: 1 !important;
        z-index: 100000 !important;
    }
    
    /* Ensure menu toggle button is above everything and clickable */
    .slide-out-widget-area-toggle,
    body .slide-out-widget-area-toggle,
    body #header-outer .slide-out-widget-area-toggle {
        z-index: 100002 !important;
        pointer-events: all !important;
        position: relative;
    }

    /* Menu content should be above overlay */
    #slide-out-widget-area nav,
    #slide-out-widget-area .inner,
    #slide-out-widget-area .inner-wrap {
        position: relative;
        z-index: 100001 !important;
    }

    /* Ensure menu links are visible and white */
    #slide-out-widget-area nav ul li a {
        color: #ffffff !important;
        position: relative;
        z-index: 100001;
    }

    /* Mobile menu typography - ensure sans-serif font */
    #slide-out-widget-area,
    #slide-out-widget-area nav,
    #slide-out-widget-area nav ul,
    #slide-out-widget-area nav ul li,
    #slide-out-widget-area nav ul li a,
    #slide-out-widget-area .off-canvas-menu-container,
    #slide-out-widget-area .off-canvas-menu-container li a,
    body.material #slide-out-widget-area nav > ul > li > a,
    body.material #slide-out-widget-area .off-canvas-menu-container > ul > li > a {
        font-family: 'Stolzl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em;
    }

    /* Sub-menu items slightly lighter weight */
    #slide-out-widget-area nav ul li ul li a,
    #slide-out-widget-area .off-canvas-menu-container ul li ul li a {
        font-weight: 500 !important;
    }
}

/*
=============================================
  CUSTOMIZER INTEGRATION - HEADER
=============================================
*/

/* Special red color for specific menu item (menu-item-658) */
#header-outer #top nav ul li#menu-item-658 a span {
    color: var(--ul-red-200) !important;
}

/* Center navigation menu items - only on mobile, desktop handles this in media query */
@media screen and (max-width: 999px) {
    #header-outer #top nav,
    #header-outer #top nav > ul,
    #header-outer .sf-menu {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* Navigation menu item padding - improved spacing */
#header-outer #top nav > ul > li > a,
#header-outer .sf-menu > li > a,
#top nav > ul > li > a {
    padding: 0 0.75rem !important; /* 12px */
}

/* Special button menu item (menu-item-2223) styling - Contact Us button */
/* High specificity to override Salient's button_solid_color styling */
#header-outer #top nav > ul > li#menu-item-2223 > a,
body #header-outer #top nav > ul > li#menu-item-2223 > a,
#header-outer[data-lhe="default"] #top nav > ul > li#menu-item-2223 > a,
#header-outer.transparent #top nav > ul > li#menu-item-2223 > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--ul-red-200) !important;
    color: var(--neutral-100) !important;
    border: 2px solid var(--ul-red-200) !important;
    border-radius: 3.125rem !important; /* 50px */
    padding: 0.5rem 0.875rem !important; /* 8px 14px - reduced from 16px */
    font-size: 0.875rem !important; /* 14px */
    box-shadow: 0 0.25rem 0.938rem var(--ul-red-30) !important; /* 0 4px 15px */
    transition: all ease-in-out 0.2s !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.03125rem !important; /* 0.5px */
    text-transform: uppercase !important;
    margin: 0 0.25rem !important; /* Add small margin to separate from other items */
}

/* Remove any pseudo-elements from Salient theme */
#header-outer #top nav > ul > li#menu-item-2223 > a:before,
#header-outer #top nav > ul > li#menu-item-2223 > a:after {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

/* Ensure text color for spans inside */
#header-outer #top nav ul li#menu-item-2223 a span,
#header-outer #top nav ul li#menu-item-2223 a .menu-title-text {
    color: var(--neutral-100) !important;
}

/* Ensure span text stays white on hover */
#header-outer #top nav ul li#menu-item-2223:hover a span,
#header-outer #top nav ul li#menu-item-2223 a:hover span,
#header-outer #top nav ul li#menu-item-2223:hover a .menu-title-text,
#header-outer #top nav ul li#menu-item-2223 a:hover .menu-title-text,
/* Ensure text stays white when menu-item-over class is present */
#header-outer #top nav ul li#menu-item-2223.menu-item-over a span,
#header-outer #top nav ul li#menu-item-2223.menu-item-over:hover a span,
#header-outer #top nav ul li#menu-item-2223.menu-item-over a:hover span,
#header-outer #top nav ul li#menu-item-2223.menu-item-over a .menu-title-text,
#header-outer #top nav ul li#menu-item-2223.menu-item-over:hover a .menu-title-text,
#header-outer #top nav ul li#menu-item-2223.menu-item-over a:hover .menu-title-text {
    color: var(--neutral-100) !important;
}

/* Hover state - including .sfHover class used by Salient theme */
/* CRITICAL: Explicit opacity and visibility to prevent disappearing */
#header-outer #top nav > ul > li#menu-item-2223 > a:hover,
body #header-outer #top nav > ul > li#menu-item-2223 > a:hover,
#header-outer[data-lhe="default"] #top nav > ul > li#menu-item-2223 > a:hover,
#header-outer #top nav > ul > li#menu-item-2223:hover > a,
body #header-outer #top nav > ul > li#menu-item-2223:hover > a,
#header-outer #top nav > ul > li#menu-item-2223.sfHover > a,
body #header-outer #top nav > ul > li#menu-item-2223.sfHover > a,
#header-outer .sf-menu > li#menu-item-2223.sfHover > a,
#header-outer[data-lhe="default"] #top nav .sf-menu > li#menu-item-2223.sfHover > a,
#header-outer.transparent #top nav > ul > li#menu-item-2223 > a:hover,
#header-outer.transparent.dark-slide #top nav > ul > li#menu-item-2223 > a:hover,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a:hover,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223:hover > a,
#header-outer .sf-menu > li.button_solid_color#menu-item-2223.sfHover > a,
/* Handle menu-item-over class to prevent white text on white background */
#header-outer #top nav > ul > li#menu-item-2223.menu-item-over > a,
body #header-outer #top nav > ul > li#menu-item-2223.menu-item-over > a,
#header-outer #top nav > ul > li#menu-item-2223.menu-item-over:hover > a,
#header-outer #top nav > ul > li#menu-item-2223.menu-item-over > a:hover {
    background-color: var(--ul-red-300) !important;
    border-color: var(--ul-red-300) !important;
    color: var(--neutral-100) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-0.125rem) !important; /* -2px */
    box-shadow: 0 0.375rem 1.25rem var(--ul-red-50) !important; /* 0 6px 20px */
}

/* Disable hover pseudo-elements that might create white overlay */
#header-outer #top nav > ul > li#menu-item-2223 > a:hover:before,
#header-outer #top nav > ul > li#menu-item-2223 > a:hover:after,
#header-outer #top nav > ul > li#menu-item-2223.sfHover > a:before,
#header-outer #top nav > ul > li#menu-item-2223.sfHover > a:after,
#header-outer .sf-menu > li#menu-item-2223.sfHover > a:before,
#header-outer .sf-menu > li#menu-item-2223.sfHover > a:after,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a:before,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a:after,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a:hover:before,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a:hover:after,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223.sfHover > a:before,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223.sfHover > a:after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
}

/* Ensure the list item itself doesn't get white background on hover */
#header-outer #top nav > ul > li#menu-item-2223:hover,
#header-outer #top nav > ul > li#menu-item-2223.sfHover,
#header-outer .sf-menu > li#menu-item-2223.sfHover,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223:hover,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223.sfHover,
#header-outer .sf-menu > li.button_solid_color#menu-item-2223.sfHover,
/* Prevent white background when menu-item-over class is present */
#header-outer #top nav > ul > li#menu-item-2223.menu-item-over,
#header-outer #top nav > ul > li#menu-item-2223.menu-item-over:hover {
    background-color: transparent !important;
    background: transparent !important;
}

/* Salient button_solid_color class specific overrides */
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a,
body #header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a {
    background-color: var(--ul-red-200) !important;
    color: var(--neutral-100) !important;
    opacity: 1 !important;
}

#header-outer #top nav > ul > li.button_solid_color#menu-item-2223 > a span,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223:hover > a span,
#header-outer #top nav > ul > li.button_solid_color#menu-item-2223.sfHover > a span {
    color: var(--neutral-100) !important;
}

/* Breadcrumb font size */
.breadcrumb-container,
.category-breadcrumb2 {
    font-size: 0.875rem !important; /* 14px */
}

/* Breadcrumb text color override for specific breadcrumb type */
.category-breadcrumb2 .breadcrumb-inner span {
    color: var(--neutral-1000) !important;
}

/*
=============================================
  ARCHIVE PAGE HEADER STYLING
=============================================
*/

/* Archive page featured categories section - hide on archive pages */
.archive.woocommerce-page .featured-categories-section {
    display: none !important;
}

/* Archive page hero title styling */
.archive.woocommerce-page .hero-title {
    font-weight: 600;
    font-size: 2.75rem; /* 44px */
    line-height: 3.375rem; /* 54px */
    margin-bottom: 0.5rem; /* 8px */
}

/*
=============================================
  HEADER RESPONSIVE STYLES - BREAKPOINT FIXES
  Using Salient's standard breakpoint: 999px mobile, 1000px desktop
=============================================
*/

/* Hide desktop navigation on mobile (max-width: 999px) - when hamburger menu should show */
@media screen and (max-width: 999px) {
    /* Hide desktop navigation menu completely - but keep hamburger menu visible */
    #header-outer #top nav:not(.mobile-nav),
    #header-outer #top nav > ul:not(.mobile-menu),
    #header-outer #top .sf-menu:not(.mobile-menu),
    #header-outer #top .span_9 nav,
    #header-outer #top .span_9 nav > ul,
    #header-outer #top .span_9 .sf-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Hide the navigation container but keep hamburger menu area visible */
    #header-outer #top .span_9 nav {
        display: none !important;
    }
    
    /* Ensure hamburger menu stays visible */
    #header-outer #top .slide-out-widget-area-toggle,
    #header-outer #top .mobile-icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Prevent desktop nav from appearing under logo */
    #header-outer #top .row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Logo should be on left, hamburger on right */
    #header-outer #top .span_3 {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    
    /* Ensure span_9 container stays visible for hamburger menu */
    #header-outer #top .span_9 {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }
}

/* Desktop (min-width: 1000px) - Show desktop navigation */
@media screen and (min-width: 1000px) {
    /* Ensure header container doesn't overflow and constrains to theme width */
    #header-outer #top .container {
        max-width: var(--container-width, 1425px);
        padding-left: 2rem;
        padding-right: 2rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center both logo and nav as a group */
    #header-outer #top .row {
        justify-content: center !important;
        gap: 2rem !important;
    }
    
    /* Logo container - only take space needed */
    #header-outer #top .span_3 {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: auto !important;
    }
    
    /* Navigation container - only take space needed, NOT full width */
    /* Keep position static for mega menu positioning relative to container */
    #header-outer #top .span_9 {
        flex: 0 0 auto !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        position: static !important;
    }
    
    /* Navigation wrapper - ensure it doesn't restrict mega menu positioning */
    #header-outer #top .span_9 nav {
        width: 100%;
        position: relative;
    }
    
    /* Navigation menu - center menu items */
    #header-outer #top nav > ul,
    #header-outer .sf-menu {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    /* Ensure mega menu items use correct positioning */
    #header-outer #top nav > ul > .megamenu {
        position: inherit !important;
    }
    
    /* Menu items - prevent wrapping */
    #header-outer #top nav > ul > li,
    #header-outer .sf-menu > li {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    /* Hide mobile hamburger menu on desktop */
    #header-outer #top .slide-out-widget-area-toggle,
    #header-outer #top .mobile-icon {
        display: none !important;
    }
}

/* Fix header outer container overflow issues */
/* Only apply overflow restrictions on mobile to prevent issues with mega menus */
@media screen and (max-width: 999px) {
    #header-outer {
        overflow-x: hidden !important;
    }
    
    #header-outer #top {
        overflow-x: hidden !important;
    }
}

/* Desktop - no overflow restrictions to allow mega menus to display */
@media screen and (min-width: 1000px) {
    #header-outer {
        overflow: visible !important;
    }
    
    #header-outer #top {
        overflow: visible !important;
    }
}

#header-outer {
    width: 100% !important;
    max-width: 100% !important;
}

#header-outer #top {
    width: 100% !important;
}

/* Fix any flexbox issues with header layout */
#header-outer #top .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
}
