/* Neon（第三套主题）：呼贝运营 ·「草原清风」配色（白底 + 草原绿点缀 + 天空蓝辅助） */
:root{
  --neo-bg: #f4f7f5;
  --neo-surface: #ffffff;
  --neo-text: #16211c;
  --neo-muted: rgba(22,33,28,.62);
  --neo-border: rgba(16,40,32,.10);
  --neo-shadow: 0 12px 34px rgba(16,40,32,.10);
  --neo-shadow-sm: 0 4px 16px rgba(16,40,32,.06);
  --neo-radius: 14px;
  --neo-radius-sm: 10px;
  /* 品牌色 */
  --neo-primary: #0e8a63;
  --neo-primary-2: #0b6f50;
  --neo-primary-soft: rgba(14,138,99,.10);
  --neo-sky: #1c7ed6;
  --neo-gold: #d9a441;
  /* 价格/促销色 */
  --neo-price: #e8590c;
  /* 兼容旧变量名（其它 neon 样式仍引用 --neo-red） */
  --neo-red: var(--neo-primary);
  --neo-red-2: var(--neo-primary-2);
}

body.theme-neon{
  background:
    radial-gradient(1200px 460px at 50% -200px, rgba(14,138,99,.12), rgba(28,126,214,.06) 58%, transparent 72%),
    var(--neo-bg);
  color: var(--neo-text);
}
.theme-neon a{ color: inherit; }
.theme-neon a:hover{ color: var(--neo-primary-2); }

.neo-container{
  width: min(1240px, 100% - 32px);
  margin: 0 auto;
}

/* Topbar：品牌渐变条 */
.neo-topbar{
  background: linear-gradient(90deg, #0b6f50, #0e8a63 44%, #1c7ed6);
  border-bottom: 0;
}
.neo-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 9px 0;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}
.neo-topbar .sep{ margin: 0 8px; opacity:.5; }
.neo-topbar a{ color: rgba(255,255,255,.92); }
.neo-topbar a:hover{ color:#fff; text-decoration: underline; }

.neo-top-ads{ position: relative; }
.neo-top-ads img{ width:100%; display:block; }

/* Masthead */
.neo-masthead{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--neo-border);
  box-shadow: 0 6px 24px rgba(16,40,32,.05);
}
.neo-masthead-inner{
  display:flex;
  align-items:center;
  gap: 22px;
  padding: 14px 0;
}
.neo-logo{ display:flex; align-items:center; }
.neo-logo img{ height: 56px; width:auto; display:block; }
.neo-search-col{ flex: 1; min-width: 520px; }
.neo-search-wrap{ width: 100%; }
.neo-search{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 2px solid var(--neo-primary);
  background: #fff;
  border-radius: 12px;
  padding: 5px 5px 5px 10px;
  box-shadow: 0 0 0 4px var(--neo-primary-soft);
}
.neo-search .search-ipt{
  border: none !important;
  background: transparent !important;
  outline: none;
  height: 30px;
  line-height: 30px;
}
.neo-search .search-btn{
  border: 0;
  border-radius: 9px;
  padding: 0 24px;
  height: 34px;
  line-height: 34px;
  background: linear-gradient(135deg, var(--neo-primary), var(--neo-primary-2));
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  transition: filter .15s ease;
}
.neo-search .search-btn:hover{ filter: brightness(1.07); }
/* common.css 中 .wst-search .search-btn 为 position:absolute，未覆盖时与 flex 冲突，导致按钮上移错位 */
.neo-search.wst-search{
  margin-left: 0;
  margin-top: 0;
  height: auto;
}
.neo-search.wst-search .search-btn{
  position: static;
  top: auto;
  right: auto;
  float: none;
  width: auto;
  min-width: 84px;
}
.neo-search.wst-search .search-ipt{
  float: none;
  width: auto !important;
  flex: 1 1 200px;
  min-width: 0;
  padding-left: 12px !important;
  height: 32px;
  line-height: 32px;
}
.neo-search.wst-search .j-search-box{
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.neo-search.wst-search .j-search-type{
  position: relative;
  left: auto;
  top: auto;
  float: none;
  width: 78px;
  height: 32px;
  line-height: 32px;
  box-sizing: border-box;
  border-right: 1px solid var(--neo-border);
}
.neo-search.wst-search .j-type-list{
  top: 100%;
  margin-top: 6px;
}
.neo-hotwords{
  display:flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--neo-muted);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.neo-hotwords a{ color: var(--neo-muted); }
.neo-hotwords a:hover{ color: var(--neo-primary); }
.neo-hotwords a:first-child{ color: var(--neo-price); }

.neo-mast-actions{ display:flex; align-items:center; }
.neo-cart-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--neo-border);
  background: var(--neo-primary-soft);
  color: var(--neo-primary-2);
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease;
}
.neo-cart-link:hover{
  background: var(--neo-primary);
  color: #fff;
  border-color: var(--neo-primary);
}

@media (max-width: 980px){
  .neo-search-col{ min-width: 0; }
  .neo-hotwords{ display:none; }
}

/* Subnav */
.neo-subnav{
  border-top: 1px solid var(--neo-border);
  background: #fff;
}
.neo-subnav-row{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
}
.neo-subnav-primary a{
  display:inline-flex;
  align-items:center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(22,33,28,.76);
  transition: background-color .15s ease, color .15s ease;
}
.neo-subnav-primary a.is-active,
.neo-subnav-primary a:hover{
  background: var(--neo-primary-soft);
  color: var(--neo-primary-2);
  font-weight: 700;
}
.neo-subnav-sep{ flex: 1; }
.neo-subnav-mall a{ margin-left: 10px; color: var(--neo-muted); }
.neo-subnav-mall a:hover{ color: var(--neo-primary-2); }

/* Footer */
.neo-footer{
  margin-top: 30px;
  background: linear-gradient(180deg, #ffffff, #f3f7f5);
  border-top: 1px solid var(--neo-border);
}
.neo-footer-inner{
  display:flex;
  gap: 24px;
  padding: 26px 0;
  align-items:flex-start;
  justify-content:space-between;
}
.neo-footer-brand{
  display:flex;
  gap: 12px;
  align-items:center;
}
.neo-footer-logo{ height: 42px; width: auto; display:block; }
.neo-footer-name{ font-weight: 700; }
.neo-footer-sub{ color: var(--neo-muted); font-size: 13px; margin-top:2px; }
.neo-footer-links-row a{ margin-left: 12px; color: var(--neo-muted); }
.neo-footer-links-row a:hover{ color: var(--neo-primary-2); }
.neo-footer-copy{ margin-top: 8px; color: var(--neo-muted); font-size: 12px; line-height: 1.7; }
.neo-footer-copy a{ color: var(--neo-primary-2); }

/* Buttons / inputs（尽量只覆盖组件，不“全站乱改”） */
.theme-neon .wst-sec-but,
.theme-neon .wst-login-but,
.theme-neon .wst-regist-but,
.theme-neon button,
.theme-neon input[type="submit"]{
  border-radius: 999px;
}
.theme-neon input[type="text"],
.theme-neon input[type="password"],
.theme-neon textarea{
  border-radius: 8px;
}

/* 右侧快捷条：Neon 首页 __STYLE__ 为 neon，须单独引用 default 的 right_cart 资源；此处做主题微调 */
.theme-neon .j-global-toolbar .toolbar-wrap{
  z-index: 10050;
  filter: drop-shadow(-4px 0 12px rgba(0,0,0,.12));
}
.theme-neon .j-global-toolbar .toolbar{
  border-right-color: var(--neo-primary);
}
.theme-neon .j-global-toolbar .toolbar-tab{
  transition: background-color .15s ease, filter .15s ease;
}
.theme-neon .j-global-toolbar .toolbar-tab:hover,
.theme-neon .j-global-toolbar .toolbar-tab.tbar-tab-selected{
  background-color: var(--neo-primary-2);
}
