/* ==========================================================================
   Elevaan Network — Site Header (3-Tier Modern Layout)
   ========================================================================== */

/* Fixed wrapper for smooth sticky / hide on scroll */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

#site-header.is-hidden {
  transform: translateY(-100%);
}

body {
  padding-top: var(--header-height, 104px);
}

body.page-home {
  padding-top: var(--header-height, 104px);
}

.site-header {
  background: var(--color-header-bg, #ffffff);
  border-bottom: none;
  position: relative;
  width: 100%;
  box-shadow: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   1. TOP UTILITY BAR (Row 1)
   ========================================================================== */

.header-topbar {
  background: var(--color-header-bg, #ffffff);
  font-size: 13.5px;
  line-height: 1;
  max-height: 40px;
  opacity: 1;
  overflow: visible;
  position: relative;
  z-index: 150;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid #f2f2f2;
}

.site-header.is-scrolled .header-topbar {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom-color: transparent;
  pointer-events: none;
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  padding: 0 50px;
}

.header-topbar-left,
.header-topbar-right {
  display: flex;
  align-items: center;
  align-items: center;
  gap: 28px;
}

.topbar-guest-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.topbar-link {
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.topbar-link:hover {
  text-decoration: underline;
}

/* Auth Tools in Topbar */
.topbar-auth-tools {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
  height: 100%;
}

.topbar-auth-tools .nav-account {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.topbar-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #0d0d0d;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  vertical-align: middle;
  height: 100%;
}

.topbar-account-toggle:hover {
  text-decoration: underline;
}

.nav-account-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 1px;
}

.nav-dropdown.open .nav-account-chevron {
  transform: rotate(180deg);
}

.topbar-auth-tools .nav-account-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  line-height: normal;
  display: inline-block;
  vertical-align: middle;
}

.topbar-auth-tools .nav-notify-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1c1c1d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.15s ease;
}

.topbar-auth-tools .nav-notify-icon {
  width: 13px;
  height: 13px;
  filter: brightness(0) invert(1);
}



/* ==========================================================================
   2. MAIN HEADER (Row 2)
   ========================================================================== */

.header-main {
  background: var(--color-header-bg, #ffffff);
  border-bottom: none;
}

body.page-home .header-main {
  border-bottom: none;
}

.header-main-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 50px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  z-index: 2;
}

.logo-img {
  display: block;
  width: 135px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-header-text, #1c1c1d);
  white-space: nowrap;
}

.logo-text[hidden],
.logo-img[hidden] {
  display: none !important;
}

/* Search Area */
.header-search-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 320px);
  max-width: 710px;
  min-width: 0;
  z-index: 5;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
}

.header-search-box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px 0 18px;
  border: 2px solid #111111;
  border-radius: 9999px;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-search-box:focus-within {
  border-color: #0064d2;
  box-shadow: 0 0 0 3px rgba(0, 100, 210, 0.14);
}

.header-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #595959;
  margin-right: 10px;
  flex-shrink: 0;
}

.header-search-icon svg {
  width: 17px;
  height: 17px;
}

.header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-sans);
  color: #111111;
  padding: 0;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-search-input::placeholder {
  color: #707070;
  font-weight: 400;
  opacity: 1;
}

.header-search-input::-webkit-input-placeholder {
  color: #707070;
  font-weight: 400;
  opacity: 1;
}

.header-search-input::-moz-placeholder {
  color: #707070;
  font-weight: 400;
  opacity: 1;
}

.header-search-input:-ms-input-placeholder {
  color: #707070;
  font-weight: 400;
  opacity: 1;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 36px;
  background: #0064d2;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  flex-shrink: 0;
  letter-spacing: 0;
  transition: background-color 0.15s ease, transform 0.12s ease;
  box-shadow: none;
}

.header-search-btn:hover {
  background: #0053ba;
  box-shadow: none;
}

.header-search-btn:active {
  background: #00479e;
  transform: scale(0.98);
}

.header-search-btn-text {
  display: inline;
}

.header-search-btn-icon {
  display: none;
}

/* ==========================================================================
   Main Header Actions: Notification & Shopping Cart (Row 2 Right)
   ========================================================================== */

.header-main-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  z-index: 6;
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #0d0d0d;
  background: transparent;
  border: none;
  text-decoration: none !important;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.header-icon-btn:hover {
  background: #f4f4f5;
  text-decoration: none !important;
}

.header-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.header-notify-icon {
  width: 20px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.header-cart-icon {
  width: 24px;
  height: 24px;
  display: block;
  stroke: #0d0d0d;
}

/* Red Circular Badge with White Number matching user screenshot */
.header-badge,
.nav-notify-badge,
.header-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-badge[hidden],
.nav-notify-badge[hidden],
.header-cart-badge[hidden] {
  display: none !important;
}

/* Search Suggestions dropdown */
.header-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: calc(100% - 128px);
  z-index: 150;
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}

.header-suggest[hidden] {
  display: none;
}

.header-suggest-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: #6b7280;
}

.header-suggest-item {
  width: 100%;
  display: block;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--color-text, #16181c);
  font-family: var(--font-sans);
  transition: background-color 0.12s ease;
}

.header-suggest-item:hover,
.header-suggest-item.is-active {
  background: #f3f4f6;
}

.header-suggest-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Actions (Guest / Auth) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-guest-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-signin-link {
  font-size: 15px;
  font-weight: 600;
  color: #1c1c1d;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-signin-link:hover {
  text-decoration: underline;
}

.btn-join,
.btn.btn-dark.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 26px;
  min-width: 80px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.18s ease, transform 0.12s ease;
  box-sizing: border-box;
}

.btn-join:hover,
.btn.btn-dark.btn-join:hover {
  background: #2b2b2b;
  color: #ffffff;
}

.btn-join:active {
  transform: scale(0.98);
}

/* User Account & Notifications */
.header-auth-tools {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.nav-account {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-account-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--color-header-text, #1c1c1d);
}

.nav-account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
  display: block;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex !important;
}

.nav-dropdown.open .nav-account-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu a,
.nav-dropdown-action {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #1c1c1d);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.12s, color 0.12s;
  box-sizing: border-box;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-action:hover {
  background: #f3f4f6;
  color: #707070;
}

.nav-dropdown-action.nav-signout,
#navSignOut {
  color: #dc2626 !important;
  font-weight: 600;
}

.nav-dropdown-action.nav-signout:hover,
#navSignOut:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

/* Notifications */
.nav-notify {
  position: relative;
}

.nav-notify-btn {
  background: transparent;
}

.nav-notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.14);
  z-index: 160;
  overflow: hidden;
}

.nav-notify-panel[hidden] {
  display: none !important;
}

.nav-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-notify-head strong {
  font-size: 14px;
  font-weight: 700;
}

.nav-notify-mark {
  border: none;
  background: none;
  color: #0066ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.nav-notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.nav-notify-empty {
  padding: 28px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
}

.nav-notify-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f4f6;
}

.nav-notify-item:hover {
  background: #f9fafb;
}

/* Force hiding rules for auth / guest toggles */
[data-header-guest].header-auth-hidden,
[data-header-auth].header-auth-hidden,
[data-header-guest][hidden],
[data-header-auth][hidden] {
  display: none !important;
}

/* Mobile Controls */
.header-mobile-controls {
  grid-column: 3;
  justify-self: end;
  display: none;
  align-items: center;
  gap: 12px;
}

.header-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-header-text, #1c1c1d);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ==========================================================================
   3. CATEGORIES BAR (Row 3) - REMOVED
   ========================================================================== */

.header-categories {
  display: none !important;
}

/* ==========================================================================
   4. MOBILE COLLAPSIBLE DRAWER
   ========================================================================== */

.header-collapsible {
  display: none;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1040px) {
  .header-topbar-inner {
    gap: 16px;
  }

  .header-topbar-left,
  .header-topbar-right {
    gap: 18px;
  }

  .header-categories-inner {
    gap: 20px;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {

  body,
  body.page-home {
    padding-top: 64px;
  }

  .header-topbar {
    display: none;
  }

  .header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
  }

  .header-search-wrapper {
    flex: 1;
    max-width: none;
  }

  .header-mobile-controls {
    display: flex;
  }

  .header-guest-actions {
    display: none;
  }

  .nav-account-name {
    display: none !important;
  }

  .header-search-btn {
    padding: 0 18px;
    font-size: 14px;
  }

  .header-search-box {
    padding: 0 14px;
  }

  .header-search-input {
    font-size: 13.5px;
  }

  .header-categories-inner {
    justify-content: flex-start;
    padding-left: var(--container-pad, 20px);
    padding-right: var(--container-pad, 20px);
  }

  .header-collapsible {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-collapsible.open {
    display: flex;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.mobile-menu-open {
    overflow: hidden !important;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f2;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-drawer-logo img {
    height: 28px;
    width: auto;
    display: block;
  }

  .mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
    padding: 0;
  }

  .mobile-drawer-close:hover,
  .mobile-drawer-close:active {
    background: #f3f4f6;
    color: #111827;
    transform: scale(1.05);
  }

  .mobile-drawer-body {
    flex: 1;
    padding: 20px 20px 36px;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-nav-link {
    display: block;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border: none !important;
    border-bottom: none !important;
    transition: color 0.15s ease;
  }

  .mobile-nav-link::before,
  .mobile-nav-link::after,
  .mobile-nav-arrow {
    display: none !important;
    content: none !important;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    color: #0066ff;
  }

  .mobile-nav-divider {
    display: block !important;
    height: 1px;
    background: #e5e7eb;
    margin: 18px 0 16px;
    border: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    padding-top: 0;
  }

  .mobile-signin {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #111827;
    background: none;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .mobile-signin:hover {
    color: #0066ff;
    background: none;
  }

  .mobile-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #111827;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.15s ease;
  }

  .mobile-join-btn:hover {
    background: #000000;
  }

  .mobile-signout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    font-size: 15.5px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .mobile-signout-btn:hover {
    background: #fee2e2;
  }
}

@media (max-width: 768px) {

  /* Smooth hide/show on scroll for mobile header */
  #site-header {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #site-header.is-hidden,
  .site-header.is-hidden {
    transform: translateY(-100%) !important;
  }

  #site-header.is-scrolled .site-header,
  .site-header.is-scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid #e8eaed !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  body,
  body.page-home {
    padding-top: 114px !important;
  }

  .site-header .container,
  .site-header .header-topbar-inner,
  .site-header .header-main-inner,
  .site-header .header-categories-wrap,
  .site-header .header-categories-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .header-main-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 52px !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
    row-gap: 8px !important;
  }

  /* Row 1: Logo on left, Cart & Burger on right */
  .logo {
    order: 1 !important;
    flex-shrink: 0 !important;
    z-index: 2 !important;
  }

  .header-main-right {
    order: 2 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 2 !important;
  }

  .header-mobile-controls {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    margin-left: 4px !important;
    z-index: 2 !important;
  }

  /* Row 2: Searchbar placed directly below mobile header */
  .header-search-wrapper {
    order: 4 !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 2px 0 0 !important;
    display: block !important;
    flex: 0 0 100% !important;
    z-index: 1 !important;
  }

  /* Unified searchbar: input on left has black border, blue button has NO border */
  .header-search {
    display: flex !important;
    align-items: stretch !important;
    height: 40px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    gap: 0 !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .header-search-box {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 12px !important;
    border: 1px solid #111111 !important;
    border-right: none !important;
    /* No border connecting to button */
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.18s ease !important;
  }

  .header-search:focus-within .header-search-box {
    border-color: #006efc !important;
  }

  /* Hide left search icon on mobile (only right blue button has search icon) */
  .header-search-box .header-search-icon {
    display: none !important;
  }

  .header-search-input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #111111 !important;
    background: transparent !important;
    padding: 0 !important;
    line-height: normal !important;
  }

  .header-search-input::placeholder {
    color: #707070 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
  }

  /* Right solid blue button with white search icon - NO black border */
  .header-search-btn {
    width: 48px !important;
    min-width: 48px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    background: #006efc !important;
    /* Requested color #006efc */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease !important;
  }

  .header-search-btn:hover {
    background: #005ce0 !important;
  }

  .header-search-btn-text {
    display: none !important;
  }

  .header-search-btn-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  /* Search suggestions dropdown positioned under the searchbar */
  .header-suggest {
    left: 0 !important;
    width: 100% !important;
    top: calc(100% + 4px) !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 640px) {
  .logo-img {
    width: 110px;
    height: 26px;
  }

  .header-categories-inner {
    height: 38px;
    gap: 16px;
  }

  .cat-link {
    font-size: 12.5px;
  }

  .mobile-search-area {
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   Header Max-Width & Slider Alignment (>1300px: 1400px; <=1300px: default)
   ========================================================================== */

.site-header .container,
.site-header .header-topbar-inner,
.site-header .header-main-inner,
.site-header .header-categories-wrap,
.site-header .header-categories-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

@media (min-width: 1301px) {

  .site-header .container,
  .site-header .header-topbar-inner,
  .site-header .header-main-inner,
  .site-header .header-categories-wrap,
  .site-header .header-categories-inner {
    max-width: 1400px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (max-width: 1300px) {

  .site-header .container,
  .site-header .header-topbar-inner,
  .site-header .header-main-inner,
  .site-header .header-categories-wrap,
  .site-header .header-categories-inner {
    max-width: 1300px;
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

@media (max-width: 768px) {

  .site-header .container,
  .site-header .header-topbar-inner,
  .site-header .header-main-inner,
  .site-header .header-categories-wrap,
  .site-header .header-categories-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}