/* ============================================= */
/* FILE: header-navigation.css                   */
/* SECTION: Stellar Header & Navigation Styles   */
/* Full Theme Isolation & Live Domain Hardening  */
/* ============================================= */

/* ============================================= */
/* DUPLICATE THEME HEADER SUPPRESSION            */
/* ============================================= */
body:has(.stellar-header-wrap) #masthead,
body:has(.stellar-header-wrap) .site-header:not(.stellar-header-top):not(.top),
body:has(.stellar-header-wrap) #site-header,
body:has(.stellar-header-wrap) .ast-main-header-wrap,
body:has(.stellar-header-wrap) .main-header-bar,
body:has(.stellar-header-wrap) .ast-mobile-header-wrap,
body.has-stellar-header #masthead,
body.has-stellar-header .site-header:not(.stellar-header-top):not(.top),
body.has-stellar-header #site-header,
body.has-stellar-header .ast-main-header-wrap,
body.has-stellar-header .main-header-bar,
body.has-stellar-header .ast-mobile-header-wrap {
  display: none !important;
}

/* ---------- Global Viewport Containment ---------- */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ---------- Header Scoped Design Tokens ---------- */
.stellar-header-wrap {
  overflow: visible;
  max-width: 100%;
  width: 100%;
  --cream: #F9F0E1;
  --paper: #FFFAF1;
  --sage: #9FABA0;
  --sage-ink: #5B7262;
  --forest: #1F3328;
  --forest-2: #2B4535;
  --brass: #A7843F;
  --ink: #23302A;
  --muted: #63705F;
  --line: #E3D8C3;
  --plate: #F3E8D3;
  --bg: #F9F0E1;
  --surface: #FFFAF1;
  --text: #23302A;
  --onforest: #F4EBDA;
  --font-serif: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  line-height: normal;
  z-index: 100;
}

.stellar-header-wrap *,
.stellar-header-wrap *::before,
.stellar-header-wrap *::after {
  box-sizing: border-box;
}

.stellar-header-wrap[data-theme="dark"],
[data-theme="dark"] .stellar-header-wrap {
  --bg: #15211B;
  --surface: #1C2B23;
  --text: #EDE4D2;
  --muted: #AAB5A6;
  --line: #31463A;
  --plate: #22342A;
  --sage-ink: #A9BDAD;
  --brass: #CDA85F;
  --forest: #0F1914;
  --forest-2: #1A2A21;
}

/* ============================================= */
/* ANNOUNCEMENT BAR                              */
/* ============================================= */
.stellar-header-wrap .ann,
.stellar-header-wrap .stellar-header-ann {
  background: var(--st-ann-bg, #1F3328);
  color: var(--st-ann-color, #F4EBDA);
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.4;
}

.stellar-header-wrap .ann-track,
.stellar-header-wrap .stellar-header-ann .ann-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 8px 0;
  animation: stellar-header-marq 38s linear infinite;
  will-change: transform;
}

.stellar-header-wrap .ann-track span,
.stellar-header-wrap .stellar-header-ann .ann-track span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--st-ann-color, #F4EBDA);
  font-size: 13.5px;
}

.stellar-header-wrap .ann-track svg,
.stellar-header-wrap .stellar-header-ann .ann-track svg {
  flex: none;
  opacity: .85;
  display: inline-block;
  color: var(--st-ann-color, #F4EBDA);
  stroke: currentColor;
}

@keyframes stellar-header-marq {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================= */
/* HEADER TOP BAR                                */
/* ============================================= */
.stellar-header-wrap header.top,
.stellar-header-wrap header.stellar-header-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--st-header-bg, rgba(249, 240, 225, 0.96));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 216, 195, 0.6);
  width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .stellar-header-wrap header.top,
body.admin-bar .stellar-header-wrap header.stellar-header-top {
  top: 32px;
}

@media screen and (max-width: 782px) {

  body.admin-bar .stellar-header-wrap header.top,
  body.admin-bar .stellar-header-wrap header.stellar-header-top {
    top: 46px;
  }
}

.stellar-header-wrap .top .wrap,
.stellar-header-wrap header.stellar-header-top .wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  height: 72px;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.2vw, 64px);
  width: 100%;
  box-sizing: border-box;
}

/* ---------- Brand ---------- */
.stellar-header-wrap .brand,
.stellar-header-wrap header.stellar-header-top .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.stellar-header-wrap .brand img,
.stellar-header-wrap header.stellar-header-top .brand img {
  height: 44px;
  width: 44px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

.stellar-header-wrap .brand b,
.stellar-header-wrap header.stellar-header-top .brand b {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .14em;
  color: var(--st-brand-color, #5B7262);
  line-height: 1;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Main Nav ---------- */
.stellar-header-wrap nav.main,
.stellar-header-wrap header.stellar-header-top nav.main {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 0 12px;
  padding: 0;
  border: none;
  background: transparent;
  list-style: none;
}

.stellar-header-wrap nav.main ul,
.stellar-header-wrap header.stellar-header-top nav.main ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  background: transparent;
}

.stellar-header-wrap nav.main li,
.stellar-header-wrap header.stellar-header-top nav.main li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.stellar-header-wrap nav.main a,
.stellar-header-wrap header.stellar-header-top nav.main a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--st-nav-color, #63705F);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  background: transparent;
  box-shadow: none;
  line-height: 1.4;
  transition: color .15s ease, border-color .15s ease;
}

.stellar-header-wrap nav.main a[aria-current="page"],
.stellar-header-wrap nav.main a.is-active,
.stellar-header-wrap nav.main li.current-menu-item>a,
.stellar-header-wrap nav.main li.current_page_item>a,
.stellar-header-wrap nav.main li.current-page-ancestor>a,
.stellar-header-wrap nav.main a:hover,
.stellar-header-wrap header.stellar-header-top nav.main a[aria-current="page"],
.stellar-header-wrap header.stellar-header-top nav.main a.is-active,
.stellar-header-wrap header.stellar-header-top nav.main li.current-menu-item>a,
.stellar-header-wrap header.stellar-header-top nav.main li.current_page_item>a,
.stellar-header-wrap header.stellar-header-top nav.main li.current-page-ancestor>a,
.stellar-header-wrap header.stellar-header-top nav.main a:hover {
  color: var(--st-nav-active-color, #23302A);
  border-bottom-color: var(--st-nav-indicator, #A7843F);
  text-decoration: none;
}

/* ---------- Tools ---------- */
.stellar-header-wrap .tools,
.stellar-header-wrap header.stellar-header-top .tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

/* ---------- Icon Buttons ---------- */
.stellar-header-wrap .icon-btn,
.stellar-header-wrap header.stellar-header-top .icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: #23302A;
  padding: 0;
  margin: 0;
  box-shadow: none;
  outline: none;
  line-height: 1;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}

.stellar-header-wrap .icon-btn:hover,
.stellar-header-wrap header.stellar-header-top .icon-btn:hover {
  background: #F3E8D3;
  color: #1F3328;
}

.stellar-header-wrap .icon-btn svg,
.stellar-header-wrap header.stellar-header-top .icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  display: block;
}

/* ---------- Cart Badge ---------- */
.stellar-header-wrap .badge,
.stellar-header-wrap header.stellar-header-top .badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--st-badge-bg, #A7843F);
  color: var(--st-badge-color, #fff);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  font-family: var(--font-sans);
  border: none;
  box-shadow: none;
}

.stellar-header-wrap .badge[data-n="0"],
.stellar-header-wrap header.stellar-header-top .badge[data-n="0"] {
  display: none !important;
}

/* ---------- Pill Buttons ---------- */
.stellar-header-wrap .pill-btn,
.stellar-header-wrap header.stellar-header-top .pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  outline: none;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.stellar-header-wrap .pill-btn svg,
.stellar-header-wrap header.stellar-header-top .pill-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  display: block;
}

/* Track pill */
.stellar-header-wrap .pill-btn.track,
.stellar-header-wrap header.stellar-header-top .pill-btn.track {
  background: var(--st-track-bg, #1F6B47);
  color: var(--st-track-color, #fff);
  border: 1px solid transparent;
  box-shadow: 0 6px 16px -6px rgba(31, 107, 71, .55);
}

.stellar-header-wrap .pill-btn.track:hover,
.stellar-header-wrap .pill-btn.track[aria-current="page"],
.stellar-header-wrap header.stellar-header-top .pill-btn.track:hover,
.stellar-header-wrap header.stellar-header-top .pill-btn.track[aria-current="page"] {
  opacity: 0.92;
}

/* Login pill */
.stellar-header-wrap .pill-btn.login,
.stellar-header-wrap header.stellar-header-top .pill-btn.login {
  font-weight: 500;
  border: 1px solid #E3D8C3;
  color: var(--st-login-color, #23302A);
  background: var(--st-login-bg, #FFFAF1);
  margin: 0 4px 0 6px;
  box-shadow: none;
}

.stellar-header-wrap .pill-btn.login:hover,
.stellar-header-wrap .pill-btn.login[aria-current="page"],
.stellar-header-wrap header.stellar-header-top .pill-btn.login:hover,
.stellar-header-wrap header.stellar-header-top .pill-btn.login[aria-current="page"] {
  border-color: #5B7262;
  opacity: 0.92;
}

/* ---------- Responsive visibility helpers ---------- */
.stellar-header-wrap .show-m,
.stellar-header-wrap header.stellar-header-top .show-m {
  display: none;
}

.stellar-header-wrap .hide-m,
.stellar-header-wrap header.stellar-header-top .hide-m {
  display: inline-flex;
}

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 1180px) {

  .stellar-header-wrap nav.main,
  .stellar-header-wrap header.stellar-header-top nav.main {
    gap: 18px;
    margin-left: 4px;
  }

  .stellar-header-wrap .top .wrap,
  .stellar-header-wrap header.stellar-header-top .wrap {
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .stellar-header-wrap nav.main,
  .stellar-header-wrap header.stellar-header-top nav.main {
    display: none !important;
  }

  .stellar-header-wrap .tools .hide-m,
  .stellar-header-wrap header.stellar-header-top .tools .hide-m {
    display: none !important;
  }

  .stellar-header-wrap .tools .show-m,
  .stellar-header-wrap header.stellar-header-top .tools .show-m {
    display: grid !important;
  }

  .stellar-header-wrap .tools .track-icon-m {
    display: none !important;
  }

  .stellar-header-wrap .top .wrap,
  .stellar-header-wrap header.stellar-header-top .wrap {
    position: relative !important;
    height: 64px;
    padding: 0 16px;
    gap: 10px;
    flex-wrap: nowrap !important;
  }

  .stellar-header-wrap .brand,
  .stellar-header-wrap header.stellar-header-top .brand {
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
  }

  .stellar-header-wrap .brand img,
  .stellar-header-wrap header.stellar-header-top .brand img {
    height: 38px;
    width: 38px;
  }

  .stellar-header-wrap .brand b,
  .stellar-header-wrap header.stellar-header-top .brand b {
    font-size: 19px;
    letter-spacing: .08em;
  }

  .stellar-header-wrap .tools,
  .stellar-header-wrap header.stellar-header-top .tools {
    gap: 4px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .stellar-header-wrap .icon-btn,
  .stellar-header-wrap header.stellar-header-top .icon-btn {
    width: 38px;
    height: 38px;
  }

  .stellar-header-wrap .icon-btn svg,
  .stellar-header-wrap header.stellar-header-top .icon-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {

  .stellar-header-wrap .top .wrap,
  .stellar-header-wrap header.stellar-header-top .wrap {
    padding: 0 12px;
    gap: 6px;
    height: 56px;
  }

  .stellar-header-wrap .brand,
  .stellar-header-wrap header.stellar-header-top .brand {
    gap: 6px;
  }

  .stellar-header-wrap .brand img,
  .stellar-header-wrap header.stellar-header-top .brand img {
    height: 32px;
    width: 32px;
  }

  .stellar-header-wrap .brand b,
  .stellar-header-wrap header.stellar-header-top .brand b {
    font-size: 16px;
    letter-spacing: .06em;
  }

  .stellar-header-wrap .tools,
  .stellar-header-wrap header.stellar-header-top .tools {
    gap: 2px;
  }

  .stellar-header-wrap .icon-btn,
  .stellar-header-wrap header.stellar-header-top .icon-btn {
    width: 34px;
    height: 34px;
  }

  .stellar-header-wrap .icon-btn svg,
  .stellar-header-wrap header.stellar-header-top .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .stellar-header-wrap .badge,
  .stellar-header-wrap header.stellar-header-top .badge {
    top: 1px;
    right: 0;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 3px;
  }

  .stellar-header-wrap .ann,
  .stellar-header-wrap .stellar-header-ann {
    font-size: 12px;
  }

  .stellar-header-wrap .ann-track,
  .stellar-header-wrap .stellar-header-ann .ann-track {
    gap: 20px;
    padding: 5px 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .stellar-header-wrap .ann-track,
  .stellar-header-wrap .stellar-header-ann .ann-track {
    animation: none !important;
  }
}

/* ============================================= */
/* SIMPLE INLINE AJAX SEARCH                     */
/* ============================================= */
.stellar-header-wrap .stellar-header-search {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.stellar-header-wrap .stellar-header-search button.stellar-search-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  color: #23302A !important;
  font-family: inherit !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  transition: background 0.15s ease !important;
}

.stellar-header-wrap .stellar-header-search button.stellar-search-toggle:hover {
  background: #F3E8D3 !important;
}

.stellar-header-wrap .stellar-search-form {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.stellar-header-wrap .stellar-search-field-wrap,
.stellar-search-field-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

.stellar-header-wrap .stellar-header-search.is-open .stellar-search-field-wrap,
.stellar-header-search.is-open .stellar-search-field-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 290px !important;
  height: 42px !important;
  padding: 0 8px 0 14px !important;
  border: 1.5px solid #D8CCB8 !important;
  border-radius: 999px !important;
  background: #FFFAF1 !important;
  box-shadow: 0 4px 14px -2px rgba(35, 48, 42, 0.12) !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.stellar-header-wrap .stellar-header-search.is-open .stellar-search-field-wrap:focus-within,
.stellar-header-search.is-open .stellar-search-field-wrap:focus-within {
  border-color: #5B7262 !important;
  box-shadow: 0 4px 18px -2px rgba(35, 48, 42, 0.14), 0 0 0 3px rgba(91, 114, 98, 0.14) !important;
}

.stellar-header-wrap .stellar-field-icon,
.stellar-field-icon {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  color: #7A8778 !important;
  flex-shrink: 0 !important;
  margin: 0 8px 0 0 !important;
  stroke: currentColor !important;
  display: block !important;
}

.stellar-header-wrap .stellar-search-field-wrap input.stellar-search-input,
.stellar-header-wrap .stellar-search-field-wrap input[type="search"],
.stellar-header-wrap .stellar-search-field-wrap input[type="text"],
.stellar-search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  outline-width: 0 !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #23302A !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.stellar-header-wrap .stellar-search-field-wrap input.stellar-search-input:focus,
.stellar-header-wrap .stellar-search-field-wrap input[type="search"]:focus,
.stellar-header-wrap .stellar-search-field-wrap input[type="text"]:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Ensure ALL native WebKit search decorations and clear buttons are completely suppressed */
.stellar-header-wrap .stellar-search-field-wrap input::-webkit-search-decoration,
.stellar-header-wrap .stellar-search-field-wrap input::-webkit-search-cancel-button,
.stellar-header-wrap .stellar-search-field-wrap input::-webkit-search-results-button,
.stellar-header-wrap .stellar-search-field-wrap input::-webkit-search-results-decoration,
input.stellar-search-input::-webkit-search-decoration,
input.stellar-search-input::-webkit-search-cancel-button,
input.stellar-search-input::-webkit-search-results-button,
input.stellar-search-input::-webkit-search-results-decoration,
input.stellar-drawer-search-input::-webkit-search-decoration,
input.stellar-drawer-search-input::-webkit-search-cancel-button,
input.stellar-drawer-search-input::-webkit-search-results-button,
input.stellar-drawer-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.stellar-header-wrap .stellar-search-field-wrap input::placeholder {
  color: #8D998C !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.stellar-header-wrap .stellar-search-spinner {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  border: 2px solid #E3D8C3 !important;
  border-top-color: #A7843F !important;
  border-radius: 50% !important;
  animation: stellar-header-spin 0.65s linear infinite !important;
  flex-shrink: 0 !important;
  margin: 0 6px 0 0 !important;
}

@keyframes stellar-header-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.stellar-header-wrap .stellar-search-field-wrap button.stellar-search-close,
.stellar-search-close {
  background: transparent !important;
  border: none !important;
  border-width: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: #7A8778 !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  transition: color 0.15s ease, background 0.15s ease !important;
}

.stellar-header-wrap .stellar-search-field-wrap button.stellar-search-close:hover,
.stellar-search-close:hover {
  color: #1F3328 !important;
  background: #EFE3CE !important;
}

.stellar-header-wrap .stellar-search-field-wrap button.stellar-search-close svg,
.stellar-search-close svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  display: block !important;
  margin: auto !important;
}

/* Floating Results Dropdown */
.stellar-header-wrap .stellar-search-dropdown,
.stellar-search-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: 340px !important;
  max-width: min(340px, calc(100vw - 24px)) !important;
  background: #FFFAF1 !important;
  border: 1px solid #E3D8C3 !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px -4px rgba(35, 48, 42, 0.22) !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  max-height: 420px !important;
  display: none;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.stellar-header-wrap .stellar-header-search:not(.is-open) .stellar-search-dropdown {
  display: none !important;
}

.stellar-header-wrap .stellar-dropdown-list {
  overflow-y: auto !important;
  max-height: 300px !important;
  padding: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.stellar-header-wrap .stellar-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: inherit !important;
  background: transparent !important;
  transition: background 0.15s ease !important;
}

.stellar-header-wrap .stellar-dropdown-item:hover,
.stellar-header-wrap .stellar-dropdown-item.is-active {
  background: #F3E8D3 !important;
  outline: none !important;
}

.stellar-header-wrap .stellar-drop-thumb {
  width: 38px !important;
  height: 38px !important;
  border-radius: 6px !important;
  object-fit: contain !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  background: #EFE6D5 !important;
  border: 1px solid #E3D8C3 !important;
  flex-shrink: 0 !important;
}

.stellar-header-wrap .stellar-drop-placeholder {
  display: grid !important;
  place-items: center !important;
  color: #9FABA0 !important;
}

.stellar-header-wrap .stellar-drop-placeholder svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

.stellar-header-wrap .stellar-drop-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

.stellar-header-wrap .stellar-drop-meta {
  font-size: 10.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.stellar-header-wrap .stellar-drop-cat {
  color: #5B7262 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.stellar-header-wrap .stellar-badge-sale {
  background: #1F6B47 !important;
  color: #ffffff !important;
  padding: 0 4px !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
  font-size: 9.5px !important;
}

.stellar-header-wrap .stellar-drop-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #23302A !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.stellar-header-wrap mark.stellar-highlight {
  background: rgba(167, 132, 63, 0.25) !important;
  color: #1F3328 !important;
  font-weight: 700 !important;
  padding: 0 2px !important;
  border-radius: 2px !important;
}

.stellar-header-wrap .stellar-drop-price {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1F6B47 !important;
  white-space: nowrap !important;
  margin-left: auto !important;
  text-align: right !important;
  padding-left: 6px !important;
}

.stellar-header-wrap .stellar-drop-price del {
  font-size: 11px !important;
  color: #8D998C !important;
  font-weight: 400 !important;
  margin-right: 3px !important;
}

.stellar-header-wrap .stellar-drop-price ins {
  text-decoration: none !important;
  color: #1F6B47 !important;
}

.stellar-header-wrap .stellar-dropdown-footer {
  padding: 8px 12px !important;
  background: #F8EFE0 !important;
  border-top: 1px solid #E8DECC !important;
  text-align: center !important;
}

.stellar-header-wrap .stellar-dropdown-view-all {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1F3328 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.stellar-header-wrap .stellar-dropdown-view-all:hover {
  color: #A7843F !important;
}

.stellar-header-wrap .stellar-dropdown-view-all svg {
  width: 13px !important;
  height: 13px !important;
}

.stellar-header-wrap .stellar-dropdown-empty {
  padding: 16px !important;
  font-size: 13px !important;
  color: #63705F !important;
  text-align: center !important;
}

/* ============================================= */
/* MOBILE HAMBURGER BUTTON & OFF-CANVAS DRAWER   */
/* ============================================= */

/* --- Hamburger Button --- */
.stellar-header-wrap .stellar-hamburger-btn,
.stellar-hamburger-btn {
  position: relative;
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: var(--st-nav-color, #23302A);
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.stellar-header-wrap .stellar-hamburger-btn:hover,
.stellar-hamburger-btn:hover {
  background: #F3E8D3;
  color: #1F3328;
}

.stellar-hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
  position: relative;
}

.stellar-hamburger-bars .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburger active morph state */
.stellar-hamburger-btn.is-open .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.stellar-hamburger-btn.is-open .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.stellar-hamburger-btn.is-open .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .stellar-header-wrap .stellar-hamburger-btn,
  .stellar-hamburger-btn {
    display: grid !important;
  }

  .stellar-header-wrap .tools {
    position: static !important;
  }

  .stellar-header-wrap .stellar-header-search {
    position: static !important;
  }

  .stellar-header-wrap .stellar-search-form {
    position: static !important;
  }

  /* Full-width Mobile Search Bar Overlay inside Header */
  .stellar-header-wrap .stellar-header-search.is-open .stellar-search-field-wrap,
  .stellar-header-search.is-open .stellar-search-field-wrap {
    position: absolute !important;
    top: 50% !important;
    left: 12px !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    height: 46px !important;
    z-index: 200 !important;
    background: #FFFAF1 !important;
    border: 1.5px solid #5B7262 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(35, 48, 42, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 10px 0 14px !important;
    box-sizing: border-box !important;
  }

  /* Full-width Mobile Search Dropdown */
  .stellar-header-wrap .stellar-search-dropdown,
  .stellar-search-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    max-height: 65vh !important;
    z-index: 999999 !important;
    border-radius: 14px !important;
    background: #FFFAF1 !important;
    border: 1px solid #E3D8C3 !important;
    box-shadow: 0 16px 40px rgba(35, 48, 42, 0.3) !important;
    box-sizing: border-box !important;
  }

  .stellar-header-wrap .stellar-dropdown-list {
    max-height: calc(65vh - 55px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* --- Backdrop --- */
.stellar-mobile-backdrop,
.stellar-header-wrap .stellar-mobile-backdrop {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(15, 25, 20, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stellar-mobile-backdrop.is-open,
.stellar-header-wrap .stellar-mobile-backdrop.is-open,
body.stellar-drawer-open .stellar-mobile-backdrop {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* --- Mobile Drawer --- */
.stellar-mobile-drawer,
.stellar-header-wrap .stellar-mobile-drawer {
  --cream: #F9F0E1;
  --paper: #FFFAF1;
  --sage: #9FABA0;
  --sage-ink: #5B7262;
  --forest: #1F3328;
  --forest-2: #2B4535;
  --brass: #A7843F;
  --ink: #23302A;
  --muted: #63705F;
  --line: #E3D8C3;
  --plate: #F3E8D3;
  --bg: #F9F0E1;
  --surface: #FFFAF1;
  --text: #23302A;
  --font-serif: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  display: none !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #FFFAF1 !important;
  z-index: 999999 !important;
  box-shadow: -10px 0 35px rgba(35, 48, 42, 0.25) !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  font-family: var(--font-sans) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.admin-bar .stellar-mobile-drawer,
body.admin-bar .stellar-header-wrap .stellar-mobile-drawer {
  top: 32px !important;
  height: calc(100vh - 32px) !important;
  height: calc(100dvh - 32px) !important;
}

@media (max-width: 782px) {
  body.admin-bar .stellar-mobile-drawer,
  body.admin-bar .stellar-header-wrap .stellar-mobile-drawer {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
  }
}

.stellar-mobile-drawer.is-open,
.stellar-header-wrap .stellar-mobile-drawer.is-open {
  display: flex !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

.stellar-drawer-inner,
.stellar-header-wrap .stellar-drawer-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 18px 18px 24px !important;
  box-sizing: border-box !important;
  gap: 16px !important;
}

/* Drawer Header */
.stellar-drawer-head,
.stellar-header-wrap .stellar-drawer-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #E3D8C3 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.stellar-drawer-head .brand,
.stellar-header-wrap .stellar-drawer-head .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.stellar-drawer-head .brand img,
.stellar-header-wrap .stellar-drawer-head .brand img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.stellar-drawer-head .brand b,
.stellar-header-wrap .stellar-drawer-head .brand b {
  font-family: var(--font-serif, "Marcellus", serif) !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  letter-spacing: 0.12em !important;
  color: var(--st-brand-color, #5B7262) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.stellar-drawer-close,
.stellar-header-wrap .stellar-drawer-close {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  border: 1px solid #E3D8C3 !important;
  background: #F9F0E1 !important;
  color: #23302A !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 0 0 8px !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.stellar-drawer-close:hover,
.stellar-header-wrap .stellar-drawer-close:hover {
  background: #EFE3CE !important;
  color: #1F3328 !important;
}

.stellar-drawer-close svg,
.stellar-header-wrap .stellar-drawer-close svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

/* Drawer Search */
.stellar-drawer-search,
.stellar-header-wrap .stellar-drawer-search {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-search form,
.stellar-header-wrap .stellar-drawer-search form {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stellar-drawer-search-input,
.stellar-header-wrap .stellar-drawer-search-input {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  background: #F9F0E1 !important;
  border: 1px solid #E3D8C3 !important;
  border-radius: 999px !important;
  padding: 0 16px 0 38px !important;
  font-size: 13.5px !important;
  font-family: var(--font-sans) !important;
  color: #23302A !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.stellar-drawer-search-input:focus,
.stellar-header-wrap .stellar-drawer-search-input:focus {
  border-color: #5B7262 !important;
  box-shadow: 0 0 0 3px rgba(91, 114, 98, 0.12) !important;
}

.stellar-drawer-search .stellar-field-icon,
.stellar-header-wrap .stellar-drawer-search .stellar-field-icon {
  position: absolute !important;
  left: 13px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  stroke: #63705F !important;
  pointer-events: none !important;
}

/* Drawer Nav Menu */
.stellar-drawer-nav,
.stellar-header-wrap .stellar-drawer-nav {
  flex: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-menu,
.stellar-header-wrap .stellar-drawer-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-menu li,
.stellar-header-wrap .stellar-drawer-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-menu li a,
.stellar-header-wrap .stellar-drawer-menu li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #23302A !important;
  text-decoration: none !important;
  background: transparent !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.stellar-drawer-menu li a:hover,
.stellar-drawer-menu li a.is-active,
.stellar-drawer-menu li a[aria-current="page"],
.stellar-drawer-menu li.current-menu-item > a,
.stellar-header-wrap .stellar-drawer-menu li a:hover,
.stellar-header-wrap .stellar-drawer-menu li a.is-active,
.stellar-header-wrap .stellar-drawer-menu li a[aria-current="page"],
.stellar-header-wrap .stellar-drawer-menu li.current-menu-item > a {
  background: #F3E8D3 !important;
  color: #1F3328 !important;
}

.stellar-drawer-arrow,
.stellar-header-wrap .stellar-drawer-arrow {
  width: 16px !important;
  height: 16px !important;
  stroke: #63705F !important;
  transition: transform 0.15s ease, stroke 0.15s ease !important;
  flex-shrink: 0 !important;
}

.stellar-drawer-menu li a:hover .stellar-drawer-arrow,
.stellar-drawer-menu li a.is-active .stellar-drawer-arrow,
.stellar-header-wrap .stellar-drawer-menu li a:hover .stellar-drawer-arrow,
.stellar-header-wrap .stellar-drawer-menu li a.is-active .stellar-drawer-arrow {
  stroke: #1F3328 !important;
  transform: translateX(2px) !important;
}

/* Nested submenus for WP Menu */
.stellar-drawer-menu .sub-menu,
.stellar-header-wrap .stellar-drawer-menu .sub-menu {
  list-style: none !important;
  margin: 2px 0 4px 16px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.stellar-drawer-menu .sub-menu a,
.stellar-header-wrap .stellar-drawer-menu .sub-menu a {
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  color: #63705F !important;
}

/* Drawer Actions */
.stellar-drawer-actions,
.stellar-header-wrap .stellar-drawer-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding-top: 16px !important;
  border-top: 1px solid #E3D8C3 !important;
  margin-top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-action-btn,
.stellar-header-wrap .stellar-drawer-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 44px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-family: var(--font-sans) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.stellar-drawer-action-btn svg,
.stellar-header-wrap .stellar-drawer-action-btn svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
}

.stellar-drawer-action-btn.track,
.stellar-header-wrap .stellar-drawer-action-btn.track {
  background: #1F6B47 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(31, 107, 71, 0.3) !important;
  border: none !important;
}

.stellar-drawer-action-btn.login,
.stellar-header-wrap .stellar-drawer-action-btn.login {
  background: #FFFAF1 !important;
  border: 1px solid #E3D8C3 !important;
  color: #23302A !important;
}

.stellar-drawer-action-btn.cart,
.stellar-header-wrap .stellar-drawer-action-btn.cart {
  background: #F3E8D3 !important;
  border: 1px solid #E3D8C3 !important;
  color: #1F3328 !important;
}

.stellar-drawer-action-btn:active,
.stellar-header-wrap .stellar-drawer-action-btn:active {
  transform: scale(0.98) !important;
}

/* Drawer Footer */
.stellar-drawer-footer,
.stellar-header-wrap .stellar-drawer-footer {
  padding-top: 14px !important;
  border-top: 1px dashed #E3D8C3 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.stellar-drawer-badge,
.stellar-header-wrap .stellar-drawer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #5B7262 !important;
}

.stellar-drawer-badge svg,
.stellar-header-wrap .stellar-drawer-badge svg {
  stroke: currentColor !important;
  flex-shrink: 0 !important;
}

.stellar-drawer-location,
.stellar-header-wrap .stellar-drawer-location {
  margin: 0 !important;
  font-size: 11.5px !important;
  color: #63705F !important;
}

/* Body Scroll Lock */
body.stellar-drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}