/* ============================================================
   v2 主题覆盖层 —— 让内页（下单/订单/搜索）与新版首页同一套语言
   只覆盖视觉，不改任何表单结构与 JS
   ============================================================ */

:root{
  --paper:#F4F4F0; --ink:#111310; --ink-2:#4B5048; --ink-3:#7B8076;
  --rule:#D9DBD2; --accent:#1B6B3A; --accent-press:#14532B;
}

body.theme-nature{
  background:var(--paper) !important;
  color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,-apple-system,sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* ---------- 页头 ---------- */
body.theme-nature .header{
  background:var(--paper) !important;
  box-shadow:none !important;
  border-bottom:0 !important;
  padding:14px 0;
}
body.theme-nature .header .wordmark{
  font-weight:700;
  font-size:19px;
  letter-spacing:.02em;
  color:var(--ink);
  display:inline-block;
  padding-top:6px;
}
body.theme-nature .header .wordmark:hover{color:var(--ink)}
body.theme-nature .navbar-brand{display:none !important}

body.theme-nature .navbar-light .navbar-nav .nav-link{
  color:var(--ink-2) !important;
  font-size:15px;
  padding:8px 14px;
}
body.theme-nature .navbar-light .navbar-nav .nav-link:hover,
body.theme-nature .navbar-light .navbar-nav .nav-link.active{color:var(--ink) !important}

body.theme-nature .header .form-control{
  border-radius:0;
  border:0;
  border-bottom:2px solid var(--ink);
  background:transparent;
  box-shadow:none;
}

/* ---------- 主体 ---------- */
body.theme-nature .main-container{
  padding:44px 0 90px;
  min-height:60vh;
}

/* 卡片：白纸、无圆角、无阴影 */
body.theme-nature .card{
  background:#fff;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin-bottom:22px;
}
body.theme-nature .card-header,
body.theme-nature .card-footer{
  background:#fff;
  border:0;
  border-radius:0;
  padding:20px 24px;
}
body.theme-nature .card-header h5,
body.theme-nature .card-header h4{
  font-size:18px;
  font-weight:600;
  letter-spacing:-.01em;
  margin:0;
}
body.theme-nature .card-body{padding:26px 24px}

/* 商品图区 */
body.theme-nature .card-img-top{
  padding:34px !important;
  background:#fff;
}
body.theme-nature .card-title{
  font-size:26px;
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:700;
  margin-bottom:14px;
}

/* 徽标 */
body.theme-nature .badge{
  border-radius:0;
  font-weight:400;
  font-size:12px;
  padding:5px 9px;
  letter-spacing:.02em;
}
body.theme-nature .badge.bg-success{background:#E7EBE1 !important;color:var(--accent)}
body.theme-nature .badge.bg-warning{background:#F0EBDF !important;color:#8A6A1F}
body.theme-nature .badge.bg-danger{background:#F0E1DF !important;color:#8A2F1F}
body.theme-nature .badge.bg-dark{background:#EDEDE7 !important;color:var(--ink-2)}

/* 表单 */
body.theme-nature .form-control{
  border-radius:0;
  border:1px solid #C9CCC2;
  background:#fff;
  font-size:15px;
  padding:10px 12px;
  height:auto;
  box-shadow:none;
  color:var(--ink);
}
body.theme-nature .form-control:focus{
  border-color:var(--ink);
  box-shadow:none;
  outline:none;
}
body.theme-nature .form-control::placeholder{color:var(--ink-3)}
body.theme-nature .form-group{margin-bottom:14px}
body.theme-nature label,
body.theme-nature .buy-form h6,
body.theme-nature .col-12 > h6{
  font-size:14px;
  color:var(--ink-2);
  font-weight:400;
  margin-bottom:6px;
}

/* 数量步进器 */
body.theme-nature .input-group-text,
body.theme-nature .input-group .btn{
  border-radius:0 !important;
  border:1px solid #C9CCC2;
  background:#fff;
  color:var(--ink);
}
body.theme-nature .input-group .form-control{
  border-left:0;
  border-right:0;
  text-align:center;
}

/* 支付方式 */
body.theme-nature .form-check-input{
  border-radius:0;
  border:1px solid #C9CCC2;
  margin-top:.35em;
}
body.theme-nature .form-check-input:checked{
  background-color:var(--accent);
  border-color:var(--accent);
}
body.theme-nature .form-check-label{font-size:15px;color:var(--ink)}

/* 按钮：统一成方角实心 */
body.theme-nature .btn{
  border-radius:0;
  font-size:16px;
  font-weight:600;
  letter-spacing:.02em;
  padding:12px 26px;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
body.theme-nature .btn-outline-primary,
body.theme-nature .btn-primary,
body.theme-nature .btn-success{
  background:var(--accent);
  border:0;
  color:#fff;
}
body.theme-nature .btn-outline-primary:hover,
body.theme-nature .btn-primary:hover,
body.theme-nature .btn-success:hover{
  background:var(--accent-press);
  color:#fff;
}
body.theme-nature .btn-secondary{
  background:var(--ink);
  border:0;
  color:#fff;
}
body.theme-nature .btn-secondary:hover{background:#2A2E28;color:#fff}
body.theme-nature #submit{
  width:100%;
  margin-top:8px;
  padding:15px 26px;
  font-size:17px;
}

/* 商品描述 */
body.theme-nature .card .card-body,
body.theme-nature .card-body p,
body.theme-nature .card-body li{
  color:var(--ink-2);
  font-size:15px;
  line-height:1.85;
}

/* 弹窗 */
body.theme-nature .modal-content{
  border-radius:0;
  border:0;
  box-shadow:0 12px 40px rgba(17,19,16,.18);
}
body.theme-nature .modal-header,
body.theme-nature .modal-footer{border-color:var(--rule)}

/* 页脚 */
body.theme-nature .footer,
body.theme-nature footer.footer{
  background:var(--ink) !important;
  color:#A7AB9F !important;
  border-top:0;
  padding:48px 0 40px;
  font-size:14px;
}
body.theme-nature .footer a{color:#A7AB9F}
body.theme-nature .footer a:hover{color:#fff}

/* 订单查询页等表单卡片 */
body.theme-nature .search-order .card,
body.theme-nature .order-search .card{margin-top:0}

/* 表格（订单信息） */
body.theme-nature .table{border-color:var(--rule)}
body.theme-nature .table > :not(caption) > * > *{
  border-color:var(--rule);
  padding:12px 10px;
  font-size:15px;
}

/* ---------- 压过 site-nature.css（它用了 #submit 这类 id 选择器）---------- */
body.theme-nature #submit{
  background:var(--accent);
  border:0;
  color:#fff;
  border-radius:0;
  width:100%;
  margin-top:8px;
  padding:15px 26px;
  font-size:17px;
  font-weight:600;
  letter-spacing:.02em;
}
body.theme-nature #submit:hover{background:var(--accent-press)}
body.theme-nature .header .btn-secondary{
  background:var(--ink);
  border-color:var(--ink);
  border-radius:0;
  color:#fff;
}
body.theme-nature .form-control:focus{
  border-color:var(--ink);
  box-shadow:none;
}
body.theme-nature .form-check-input:checked{
  background-color:var(--accent);
  border-color:var(--accent);
}
body.theme-nature .nav-pills .nav-link.active,
body.theme-nature .nav-tabs .nav-link.active,
body.theme-nature .nav-link.active[data-bs-toggle="tab"]{
  background:var(--ink);
  border-color:var(--ink);
  border-radius:0;
  color:#fff !important;
}
body.theme-nature .btn,
body.theme-nature .btn-primary,
body.theme-nature .btn-outline-primary,
body.theme-nature .btn-success,
body.theme-nature .btn-secondary{border-radius:0 !important}

/* 页头：导航靠右，和首页一致 */
body.theme-nature .header .navbar-nav.me-auto{margin-left:auto !important;margin-right:0 !important}
body.theme-nature .header .container > .row{align-items:center}

/* 商品提示条（脚本运行时插入的 .site-tip）*/
body.theme-nature .site-tip{
  background:#EDEDE7;
  color:var(--ink-2);
  border-left:3px solid var(--accent);
  border-radius:0;
  padding:11px 14px;
  font-size:14px;
  line-height:1.6;
  margin:0 0 16px;
}

/* 导航高亮：去掉绿色胶囊 */
body.theme-nature .header .nav-link.active{
  background:transparent !important;
  color:var(--ink) !important;
  border-radius:0 !important;
  font-weight:600;
}
body.theme-nature .footer{padding:28px 0 !important}
body.theme-nature .footer a{margin-left:4px}
