/* DAXAN v0.24.0 — green header variant and search field cleanup. */
.announcement {
  color: var(--green-deep);
  background: #fff;
  border: 0;
}
.announcement a { color: inherit; }
.site-header,
.site-header.is-scrolled {
  color: #fff;
  background: var(--green-deep);
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header .header-shell > .brand,
.site-header .header-actions,
.site-header .primary-nav--left,
.site-header .primary-nav--right,
.site-header .menu-toggle { color: #fff; }
.site-header .brand img { filter: brightness(0) invert(1); }
.site-header .cart-count { color: var(--green-deep); background: #fff; }
.site-header .primary-nav > .menu > li > a::after,
.site-header .mega-trigger > span::after { background: currentColor; }
/* The light dropdown panels retain dark text, separate from the green bar. */
.site-header .mega,
.site-header .primary-nav .sub-menu { color: var(--ink); }
body .site-header .header-shell :is(button, a):focus-visible { outline-color: #fff; }
body .site-header .primary-nav .sub-menu a:focus-visible { outline-color: var(--green); }

/* One enclosing border, no extra bottom rule or overlapping input outline. */
.search-panel .search-form > div {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  overflow: visible;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-panel .search-form > div:focus-within {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
body .search-panel .search-form input[type="search"],
body .search-panel .search-form input[type="search"]:focus,
body .search-panel .search-form input[type="search"]:focus-visible {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 60px;
  height: auto;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--ink);
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.search-panel .search-form input::placeholder { color: var(--muted); opacity: 1; }
.search-panel .search-form button[type="submit"] {
  min-height: 60px;
  margin: 0;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  text-align: center;
  color: var(--green-deep);
}
body .search-panel .search-form button[type="submit"]:focus-visible {
  outline-offset: -5px;
}
.search-panel .popular-searches {
  width: min(960px, 100%);
  margin: 20px auto 0;
  align-items: baseline;
}
.search-panel .popular-searches a { border-bottom: 0; }
.search-panel .popular-searches a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Programmatically focused notices are not controls: avoid a second box
   around their existing status border. Links/buttons retain keyboard focus. */
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)[tabindex="-1"]:focus {
  outline: none;
}
@media (max-width: 620px) {
  body .search-panel .search-form input[type="search"],
  body .search-panel .search-form input[type="search"]:focus,
  body .search-panel .search-form input[type="search"]:focus-visible {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 16px;
  }
  .search-panel .search-form button[type="submit"] {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  .search-panel .popular-searches { gap: 10px 16px; }
}

/* v0.24.1: prose link decoration must not duplicate styled link/button rules. */
body .entry-content a.text-link,
body .daxan-policy-notice a.text-link {
  text-decoration: none !important;
  border-bottom: 0;
}
/* The theme's .text-link::after remains the single policy-link underline. */
body .entry-content a.button,
body a.wc-block-components-button,
body .entry-content a.wp-block-button__link {
  text-decoration: none !important;
}
body .wc-block-components-product-name { text-decoration: none; }
body .wc-block-components-product-name:hover { text-decoration: underline; }
