.ni-header, .ni-bar { overflow: visible !important; }
.ni-root { font-family: 'Poppins', sans-serif; width: 100%; background: #fff; position: relative; }
.ni-header { background: #fff; border-bottom: 1px solid #e5e5e5; width: 100%; position: relative; z-index: 100; transition: background-color 0.3s, box-shadow 0.3s, height 0.3s, padding 0.3s; }
.ni-bar { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; height: 68px; gap: 0; transition: height 0.3s; }
.ni-logo { flex: 0 0 auto; margin-right: 32px; }
.ni-logo img { height: 38px; display: block; max-width: 100%; transition: height 0.3s; }
.ni-nav { list-style: none; display: flex; align-items: center; justify-content: center; flex: 1; gap: 4px; margin: 0; }
.ni-nav > li > a { text-decoration: none; color: #333; font-size: 13px; font-weight: 500; padding: 8px 14px; display: flex; align-items: center; gap: 5px; letter-spacing: .04em; border-radius: 6px; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.ni-nav > li > a:hover { background: #f5f5f5; color: #111; }
.ni-nav .ni-active > a { color: #d71c23; font-weight: 600; }
.ni-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }

/* Sticky Header Styling */
.ni-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
body.admin-bar .ni-sticky-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .ni-sticky-header {
    top: 46px;
  }
}

.ni-header.ni-scrolled {
  background: rgba(255, 255, 255, 0.95);
}
.ni-sticky-shadow.ni-header.ni-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.ni-header.ni-scrolled .ni-bar {
  height: 58px;
}
.ni-header.ni-scrolled .ni-logo img {
  height: 32px;
}

.ni-search-container { position: relative; }
.ni-search { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; background: #f9f9f9; height: 34px; overflow: hidden; margin: 0; }
.ni-search:focus-within { border-color: #d71c23; }
.ni-search input { border: none; background: transparent; padding: 0 10px; width: 160px; height: 34px; font-size: 12px; color: #111; font-family: 'Poppins', sans-serif; outline: none; }
.ni-search input::placeholder { color: #bbb; }
.ni-search-btn { width: 34px; height: 34px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; border-left: 1px solid #e5e5e5; color: #999; flex-shrink: 0; padding: 0; }
.ni-search-btn:hover { color: #d71c23; }\
.ni-search-icon-wrapper { display: flex; align-items: center; justify-content: center; }
.ni-search-icon-wrapper i { font-size: 14px; }
.ni-search-icon-wrapper svg { width: 14px; height: 14px; fill: currentColor; }
.ni-search-results { position: absolute; top: 100%; left: 0; right: 0; margin-top: 5px; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-height: 250px; overflow-y: auto; z-index: 1000; }
.ni-search-results a { display: block; padding: 10px 12px; color: #333; font-size: 12px; text-decoration: none; border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.ni-search-results a:last-child { border-bottom: none; }
.ni-search-results a:hover { background: #f9f9f9; color: #d71c23; }
.ni-search-no-results { padding: 10px 12px; color: #888; font-size: 12px; text-align: center; }

.ni-btn-outline { padding: 0 14px; height: 34px; border: 1px solid #ddd; color: #333; text-decoration: none; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; display: flex; align-items: center; transition: border-color 0.15s, color 0.15s; font-family: 'Poppins', sans-serif; }
.ni-btn-outline:hover { border-color: #d71c23; color: #d71c23; }
.ni-btn-fill { padding: 0 16px; height: 34px; background: #d71c23; color: #fff; text-decoration: none; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; border: none; cursor: pointer; font-family: 'Poppins', sans-serif; }
.ni-btn-fill:hover { opacity: 0.9; }
.ni-products { position: static; }
.ni-products:hover .ni-mega, .ni-products:focus-within .ni-mega { display: flex; }
.ni-mega { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: #fff; padding: 28px 32px; display: none; flex-direction: row; gap: 0; border-top: 2px solid #d71c23; border-bottom: 1px solid #e5e5e5; box-shadow: 0 12px 40px rgba(0,0,0,0.08); z-index: 9999; }
.ni-mega-col { flex: 1; padding: 0 20px; border-right: 1px solid #f0f0f0; }
.ni-mega-col:first-child { padding-left: 0; }
.ni-mega-col:last-child { border-right: none; flex: 0 0 220px; }
.ni-mega-col h4 { font-size: 13px; font-weight: 700; color: #d71c23; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.ni-mega-col h4 a { text-decoration: none; display: block; width: 100%; transition: opacity 0.15s; }
.ni-mega-col h4 a:hover { opacity: 0.8; }
.ni-mega-col a { display: block; padding: 3px 0; font-size: 12.5px; color: #555; text-decoration: none; font-weight: 400; line-height: 1.6; transition: color 0.1s; }
.ni-mega-col a:hover { color: #d71c23; }
.ni-mega-sub { margin-top: 16px; }
.ni-menu-card { background: #fafafa; padding: 16px; border-radius: 10px; border: 1px solid #eee; }
.ni-menu-card h3 { font-size: 13px; font-weight: 600; color: #111; margin-bottom: 6px; line-height: 1.4; }
.ni-menu-card p { font-size: 11.5px; color: #777; line-height: 1.6; margin-bottom: 14px; }
.ni-menu-btn { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 7px; background: #d71c23; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 12px; font-family: 'Poppins', sans-serif; width: 100%; }
.ni-menu-btn:hover { opacity: 0.9; }
.ni-visit-links { margin-bottom: 16px; }
.ni-visit-links a { display: block; padding: 3px 0; font-size: 12.5px; color: #555; text-decoration: none; line-height: 1.6; }
.ni-visit-links a:hover { color: #d71c23; }
.ni-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; margin-left: auto; }
.ni-hamburger span { width: 20px; height: 1.5px; background: #111; display: block; }
.ni-mobile-panel { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 300px; background: #fff; border-left: 1px solid #e5e5e5; z-index: 99999; flex-direction: column; overflow-y: auto; box-shadow: -16px 0 48px rgba(0,0,0,0.1); padding-bottom: 40px; }
.ni-mobile-panel.open { display: flex; }
.ni-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 99998; }
.ni-mobile-overlay.open { display: block; }
.ni-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #e5e5e5; }
.ni-mobile-logo img { height: 32px; display: block; max-width: 100%; }
.ni-close-btn { width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: transparent; color: #777; }
.ni-mobile-search { padding: 14px 20px; border-bottom: 1px solid #e5e5e5; }
.ni-mobile-search-wrap { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; background: #f9f9f9; height: 38px; overflow: hidden; margin: 0; }
.ni-mobile-search-wrap input { flex: 1; border: none; background: transparent; padding: 0 10px; font-size: 13px; color: #111; font-family: 'Poppins', sans-serif; outline: none; }
.ni-mobile-search-wrap button { width: 38px; height: 38px; border: none; background: transparent; border-left: 1px solid #e5e5e5; cursor: pointer; color: #777; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; }
.ni-mobile-links { padding: 6px 20px; }
.ni-mobile-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #eee; text-decoration: none; color: #111; font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'Poppins', sans-serif; }
.ni-mobile-accordion { display: none; padding: 4px 0 6px; }
.ni-mobile-accordion.open { display: block; }
.ni-mobile-acc-section { padding: 8px 0 2px; }
.ni-mobile-acc-section h5 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #d71c23; margin-bottom: 6px; }
.ni-mobile-acc-section h5 a { text-decoration: none; display: inline-block; }
.ni-mobile-acc-section a { display: block; padding: 4px 0; font-size: 12px; color: #555; text-decoration: none; }
.ni-mobile-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e5e5e5; margin-top: 6px; }
.ni-mobile-btn-outline { width: 100%; height: 40px; border: 1px solid #ccc; border-radius: 6px; font-size: 12px; font-weight: 500; color: #111; font-family: 'Poppins', sans-serif; cursor: pointer; background: transparent; }
.ni-mobile-btn-fill { width: 100%; height: 40px; background: #d71c23; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; color: #fff; font-family: 'Poppins', sans-serif; cursor: pointer; }
@media(max-width:1100px) { .ni-search-container { display: none; } .ni-btn-outline { display: none; } }
@media(max-width:900px) { .ni-nav { display: none; } .ni-right { display: none; } .ni-hamburger { display: flex; } .ni-bar { padding: 0 16px; } }