/* ============================================================
   统一宽度系统：与页头 .nchb-container 完全一致
   max-width:1400px + padding 40px(>980px) / 24px(<=980px)
   即「LOGO 左缘 → 购物车右缘」。一级/二级分类页所有框架
   直接铺满这个内容盒，不再用硬编码 -43px 出血(只在某一视口碰巧对齐)。
   ============================================================ */
:root{ --nc-edge-pad:40px; }
@media (max-width:980px){ :root{ --nc-edge-pad:24px; } }
body.ncb-active .content-container.site-container{
  max-width:1400px !important;
  padding-left:var(--nc-edge-pad) !important;
  padding-right:var(--nc-edge-pad) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  float:none !important;
}
body.ncb-active .site-main{ width:100% !important; max-width:none !important; }

/* NC Category Banner — dark editorial intro card on the four product archives */
/* Light canvas on WooCommerce product pages (shop / categories / single product) */
body.ncb-bg,
body.ncb-bg .site,
body.ncb-bg #inner-wrap,
body.ncb-bg #primary,
body.ncb-bg .content-container,
body.ncb-bg .content-area,
body.ncb-bg #main,
body.ncb-bg .site-main,
body.ncb-bg .woocommerce{ background-color:#F4EDE6 !important; }
body.ncb-active #primary{ margin-top:32px !important; }
/* breadcrumb (current path) above the banner */
body.ncb-active .ncb-crumbs{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  margin:0 0 16px; padding:0 76px;
  font-family:'Manrope',sans-serif; font-size:11px; letter-spacing:.4px;
  line-height:1.4;
  /* 容器自身也要定色：父级 body.nc-skin 是深色调 #EFE4E9，
     任何未单独设色的文本节点都会继承成近白色 */
  color:#6E5A66 !important;
}
body.ncb-active .ncb-crumbs a{
  /* !important is required: nc-boutique-skin ships a global
     `body.nc-skin a{color:#C9A15A!important}` that turned every crumb link
     into pale gold (2.07:1 on the cream page) — it read as near-white. */
  color:#6E5A66 !important; text-decoration:none; font-weight:600;
  transition:color .2s;
}
body.ncb-active .ncb-crumbs a:hover{ color:#B2863C !important; }
body.ncb-active .ncb-crumb-sep{ color:#C9A15A; font-size:12px; line-height:1; }
body.ncb-active .ncb-crumb-current{ color:#3E1038 !important; font-weight:800; }
body.ncb-active .ncb-banner{
  position:relative;
  display:flex;
  align-items:center;
  min-height:680px;
  width:100%;
  max-width:none;
  margin:0 0 34px;
  padding:76px 76px;
  border-radius:16px;
  overflow:hidden;
  background-color:#3E1038;
  background-size:cover;
  background-position:center;
  color:#fff;
  box-shadow:0 18px 50px rgba(62,16,56,.16);
  isolation:isolate;
}
body.ncb-active .ncb-overlay{
  position:absolute; inset:0; z-index:0;
  background:linear-gradient(90deg, rgba(32,8,29,.94) 0%, rgba(44,11,39,.86) 34%, rgba(52,13,46,.5) 62%, rgba(52,13,46,.08) 100%);
}
body.ncb-active .ncb-content{
  position:relative; z-index:1;
  max-width:560px;
}
/* eyebrow */
body.ncb-active .ncb-eyebrow{
  display:inline-block;
  margin:0 0 20px;
  font-family:'Manrope',sans-serif;
  font-size:12px; font-weight:800; letter-spacing:3px;
  text-transform:uppercase;
  color:#C9A15A;
}
/* title */
body.ncb-active .ncb-title{
  margin:0 0 20px;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(40px,4.4vw,64px);
  font-weight:600; line-height:1.08; letter-spacing:-.5px;
  color:#fff; text-transform:none;
}
/* description */
body.ncb-active .ncb-desc{
  margin:0 0 30px;
  max-width:470px;
  font-family:'Manrope',sans-serif;
  font-size:15px; line-height:1.75;
  color:#EADBD9;
}
/* buttons */
body.ncb-active .ncb-actions{ display:flex; flex-wrap:wrap; gap:12px; margin:0 0 34px; }
body.ncb-active .ncb-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px;
  border-radius:3px;
  font-family:'Manrope',sans-serif; font-size:11px; font-weight:800; letter-spacing:1.4px;
  text-transform:uppercase; text-decoration:none;
  transition:background .25s, color .25s, transform .25s, border-color .25s;
  cursor:pointer;
}
body.ncb-active .ncb-btn span{ font-size:15px; line-height:1; }
body.ncb-active .ncb-btn-solid{ background:#B2863C; color:#fff; border:1px solid #B2863C; }
body.ncb-active .ncb-btn-solid:hover{ background:#C9A15A; border-color:#C9A15A; color:#fff; transform:translateY(-2px); }
body.ncb-active .ncb-btn-ghost{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.5); }
body.ncb-active .ncb-btn-ghost:hover{ background:rgba(255,255,255,.12); color:#fff; border-color:#fff; }
/* perk row */
body.ncb-active .ncb-perks{ display:flex; flex-wrap:wrap; gap:26px; }
body.ncb-active .ncb-perk{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Manrope',sans-serif; font-size:11px; font-weight:700; letter-spacing:.8px;
  text-transform:uppercase; color:#F3E7E0;
}
body.ncb-active .ncb-perk svg{
  width:32px; height:32px; padding:7px; box-sizing:border-box;
  border:1px solid rgba(201,161,90,.7); border-radius:50%;
  color:#C9A15A; flex:none;
}

/* child category row */
body.ncb-active .ncb-subcats{
  display:flex; flex-wrap:nowrap; align-items:center; gap:10px;
  margin:0 0 30px; padding:0;
  overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none;
}
body.ncb-active .ncb-subcats::-webkit-scrollbar{ display:none; }
body.ncb-active .ncb-subcat{
  flex:0 0 auto;
  padding:11px 20px;
  border:1px solid rgba(62,16,56,.2);
  border-radius:999px;
  background:#FAF6F1;
  color:#3E1038;
  font-family:'Manrope',sans-serif; font-size:11px; font-weight:800; letter-spacing:1.1px;
  text-transform:uppercase; text-decoration:none; white-space:nowrap;
  transition:background .25s, color .25s, border-color .25s, transform .25s;
}
body.ncb-active .ncb-subcat:hover{
  background:#3E1038; color:#fff; border-color:#3E1038; transform:translateY(-2px);
}

/* product grid + sorting row: align to banner width (bleed 43px each side) */
body.ncb-active .site-main ul.products,
body.ncb-active .site-main .kadence-shop-top-row{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* sorting dropdown: light background + dark text so options are legible */
body.nc-skin.ncb-active .woocommerce-ordering select,
body.nc-skin.ncb-active .woocommerce-ordering select:focus{
  background:#FAF6F1!important;
  color:#3E1038!important;
  border:1px solid rgba(62,16,56,.35)!important;
}
body.ncb-active .woocommerce-ordering select option{
  background:#FAF6F1!important;
  color:#3E1038!important;
}

/* ---------- responsive ---------- */
@media (max-width: 900px){
  body.ncb-active .ncb-banner{ min-height:560px; width:100%; margin:0 0 34px; padding:60px 44px; }
  body.ncb-active .ncb-crumbs{ margin:0 0 14px; padding:0 44px; }
  body.ncb-active .ncb-content{ max-width:520px; }
  body.ncb-active .ncb-subcats{
    flex-wrap:wrap; overflow:visible; margin:0 0 22px; padding:0;
  }
  body.ncb-active .site-main ul.products,
  body.ncb-active .site-main .kadence-shop-top-row{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
@media (max-width: 600px){
  body.ncb-active .ncb-banner{
    min-height:460px; width:100%; margin:0 0 26px; padding:40px 24px 34px;
    border-radius:12px; background-position:64% center;
  }
  body.ncb-active .ncb-crumbs{ margin:0 0 12px; padding:0 24px; font-size:10px; gap:7px; }
  body.ncb-active .ncb-overlay{
    background:linear-gradient(90deg, rgba(32,8,29,.94) 0%, rgba(44,11,39,.88) 55%, rgba(52,13,46,.6) 100%);
  }
  body.ncb-active .ncb-content{ max-width:100%; }
  body.ncb-active .ncb-eyebrow{ font-size:10px; margin-bottom:14px; }
  body.ncb-active .ncb-title{ font-size:clamp(34px,9vw,46px); margin-bottom:14px; }
  body.ncb-active .ncb-desc{ font-size:13.5px; line-height:1.7; margin-bottom:24px; }
  body.ncb-active .ncb-actions{ gap:10px; margin-bottom:26px; }
  body.ncb-active .ncb-btn{ padding:12px 18px; font-size:10px; letter-spacing:1px; }
  body.ncb-active .ncb-perks{ gap:14px 20px; }
  body.ncb-active .ncb-perk{ font-size:9.5px; gap:7px; }
  body.ncb-active .ncb-perk svg{ width:28px; height:28px; padding:6px; }
  body.ncb-active .ncb-subcat{ padding:10px 16px; font-size:10px; letter-spacing:.8px; }
}
