/* NC Cart Layout — reference cart framework in Night Charm palette */
/* Cart is a normal WP page whose body is purple; shop/product bodies are
   #F4EDE6. Match the store-wide page background on the body itself so the
   margins beside the 1400px container are beige, not purple. */
body.nc-cart-layout{ background:#F4EDE6 !important; --ncl-p:#3E1038; --ncl-gold:#B2863C; --ncl-ink:#241226; --ncl-mut:#7C6C74; --ncl-line:#EADFD6; --ncl-cream:#FAF6F1; --ncl-band:#E4D2C2; }
/* the theme paints .site purple on normal pages; product/shop leave it clear */
body.nc-cart-layout .site.wp-site-blocks{ background:transparent !important; }
body.nc-cart-layout .content-area,
body.nc-cart-layout main.wrap,
body.nc-cart-layout .entry-content,
body.nc-cart-layout .content-container{ background:transparent !important; color:var(--ncl-ink) !important; }
/* Same content line as every other page (product detail): 1400 container
   with 40px inner padding => content sits at 60..1380 on a 1440 viewport. */
body.nc-cart-layout .site-main{ width:100% !important; max-width:none !important; }
body.nc-cart-layout .content-container.site-container{ max-width:1400px !important; padding-left:40px !important; padding-right:40px !important; margin-left:auto !important; margin-right:auto !important; float:none !important; }
body.nc-cart-layout .entry-content{ max-width:none !important; margin:0 !important; }
body.nc-cart-layout .ncl-page{ max-width:none; margin:0; padding:0 0 70px; box-sizing:border-box; font-family:inherit; }
body.nc-cart-layout .ncl-page *{ box-sizing:border-box; }
body.nc-cart-layout .ncl-head{ padding:54px 0 26px; }
body.nc-cart-layout .ncl-kicker{ display:block; color:var(--ncl-gold); font-size:10.5px; font-weight:800; letter-spacing:2.4px; text-transform:uppercase; margin-bottom:9px; }
body.nc-cart-layout .ncl-headrow{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
body.nc-cart-layout .ncl-title{ font-family:'Playfair Display',Georgia,serif; font-size:clamp(30px,3.2vw,44px); font-weight:600; line-height:1.1; margin:0; color:var(--ncl-p) !important; text-transform:none !important; }
body.nc-cart-layout .ncl-headlink,
body.nc-cart-layout .ncl-back,
body.nc-cart-layout .ncl-clear{ color:var(--ncl-gold) !important; font-size:12px; font-weight:700; text-decoration:none !important; background:none !important; border:0 !important; padding:0 !important; cursor:pointer; letter-spacing:.2px; }
body.nc-cart-layout .ncl-headlink span{margin-left:5px;}
body.nc-cart-layout .ncl-headlink:hover,
body.nc-cart-layout .ncl-back:hover,
body.nc-cart-layout .ncl-clear:hover{ color:var(--ncl-p) !important; }
body.nc-cart-layout .ncl-count{ margin-top:8px; color:var(--ncl-mut); font-size:12px; }

body.nc-cart-layout .ncl-band{ background:var(--ncl-band); border-radius:16px; padding:38px; }
body.nc-cart-layout .ncl-grid{ display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:26px; align-items:start; }
body.nc-cart-layout .ncl-card{ background:#fff; border:1px solid #EADFD6; border-radius:13px; padding:22px; box-shadow:0 2px 10px rgba(62,16,56,.06); }
body.nc-cart-layout .ncl-thead,
body.nc-cart-layout .ncl-item{ display:grid; grid-template-columns:minmax(0,1fr) 152px 116px 96px; gap:12px; align-items:center; }
body.nc-cart-layout .ncl-thead{ color:var(--ncl-gold); font-size:9.5px; font-weight:800; letter-spacing:1.5px; padding:2px 0 12px; border-bottom:1px solid var(--ncl-line); }
body.nc-cart-layout .ncl-item{ padding:17px 0; border-bottom:1px solid #F0E7DE; }
body.nc-cart-layout .ncl-item:last-child{ border-bottom:0; }
body.nc-cart-layout .ncl-prod{ position:relative; display:flex; align-items:center; gap:13px; padding-left:18px; min-width:0; }
body.nc-cart-layout .ncl-remove{ position:absolute; left:-2px; top:50%; transform:translateY(-50%); width:16px; height:16px; border:0; background:none; padding:0; display:flex; align-items:center; justify-content:center; color:#B9AAB2; cursor:pointer; }
body.nc-cart-layout .ncl-remove svg{ width:14px; height:14px; }
body.nc-cart-layout .ncl-remove:hover{ color:#C0392B; }
body.nc-cart-layout .ncl-thumb{ flex:0 0 70px; width:70px; height:70px; border-radius:9px; overflow:hidden; background:#f6f2ee; display:block; }
body.nc-cart-layout .ncl-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
body.nc-cart-layout .ncl-pinfo{ min-width:0; }
body.nc-cart-layout .ncl-pname{ display:block; color:var(--ncl-p) !important; font-size:13px; font-weight:800; text-decoration:none !important; line-height:1.35; }
body.nc-cart-layout .ncl-pname:hover{ color:var(--ncl-gold) !important; }
body.nc-cart-layout .ncl-pmeta{ margin-top:4px; color:#9A8994; font-size:10.5px; line-height:1.5; }
body.nc-cart-layout .ncl-price{ font-size:12px; color:var(--ncl-ink); white-space:nowrap; }
body.nc-cart-layout .ncl-price del{ display:inline; color:#9A8994; font-size:10.5px; margin-right:6px; }
body.nc-cart-layout .ncl-price span{ color:var(--ncl-p); font-weight:700; }
body.nc-cart-layout .ncl-qty{ display:inline-flex; align-items:center; justify-content:center; height:34px; border:1px solid var(--ncl-line); border-radius:9px; overflow:hidden; background:#fff; }
body.nc-cart-layout .ncl-qty button{ width:30px; height:32px; flex:0 0 30px; border:0; background:none; padding:0 !important; display:flex !important; align-items:center !important; justify-content:center !important; line-height:1 !important; color:var(--ncl-p); font-size:16px; cursor:pointer; }
body.nc-cart-layout .ncl-qty button:hover{ background:#F7F0E8; }
body.nc-cart-layout .ncl-qval{ width:26px; text-align:center; font-size:12px; font-weight:800; color:var(--ncl-ink); }
body.nc-cart-layout .ncl-lineprice{ font-size:12px; font-weight:800; color:var(--ncl-p); text-align:right; white-space:nowrap; }
body.nc-cart-layout .ncl-actions{ display:flex; align-items:center; justify-content:space-between; padding:20px 3px 0; }

body.nc-cart-layout .ncl-summary{ padding:24px 22px; }
body.nc-cart-layout .ncl-summary h2{ font-family:'Playfair Display',Georgia,serif; font-size:23px; font-weight:600; color:var(--ncl-p) !important; margin:0 0 18px !important; text-transform:none !important; }
body.nc-cart-layout .ncl-sumrow{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; font-size:13.5px; padding:10px 0; border-bottom:1px solid #EADFD6; color:#4A3542; }
body.nc-cart-layout .ncl-sumrow b{ color:var(--ncl-ink) !important; font-weight:800; font-size:13.5px; text-align:right; }
body.nc-cart-layout .ncl-sumrow b.ncl-green{ color:#3E8A52 !important; font-size:13px; font-weight:800; }
body.nc-cart-layout .ncl-hint{ color:#6E5E68 !important; font-size:11.5px; line-height:1.55; margin:7px 0 10px; }
/* Shipping underline sits below its explanatory line, not above it. */
body.nc-cart-layout .ncl-shiprow{ border-bottom:0 !important; padding-bottom:2px; }
body.nc-cart-layout .ncl-shiphint{ border-bottom:1px solid #EADFD6; padding-bottom:13px; margin-top:2px; margin-bottom:4px; }
body.nc-cart-layout .ncl-total{ display:flex; justify-content:space-between; align-items:baseline; padding:14px 0 4px; font-size:13px; font-weight:800; color:var(--ncl-p); }
body.nc-cart-layout .ncl-total b{ color:var(--ncl-p) !important; font-size:19px; }
body.nc-cart-layout .ncl-checkout{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:46px; margin-top:12px; border-radius:10px; background:var(--ncl-p); color:#fff !important; font-size:12px; font-weight:800; letter-spacing:.4px; text-decoration:none !important; transition:.2s; }
body.nc-cart-layout .ncl-checkout:hover{ background:#5A1B4E; color:#fff !important; }
body.nc-cart-layout .ncl-secure{ display:flex; gap:9px; align-items:flex-start; margin-top:17px; padding:13px; border:1px solid var(--ncl-line); border-radius:10px; color:var(--ncl-mut); font-size:10.5px; line-height:1.5; }
body.nc-cart-layout .ncl-secure svg{ width:18px; height:18px; flex:0 0 18px; color:var(--ncl-gold); }
body.nc-cart-layout .ncl-secure b{ color:var(--ncl-p) !important; }
body.nc-cart-layout .ncl-checks{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:8px; }
body.nc-cart-layout .ncl-checks li{ position:relative; padding-left:20px; color:var(--ncl-mut); font-size:10.5px; }
body.nc-cart-layout .ncl-checks li:before{ content:'✓'; position:absolute; left:0; top:-1px; color:#3E8A52; font-weight:800; }

/* empty state */
body.nc-cart-layout .ncl-band-empty{ padding:80px 20px 90px; }
body.nc-cart-layout .ncl-empty{ text-align:center; max-width:460px; margin:0 auto; }
body.nc-cart-layout .ncl-empty-icon{ width:58px; height:58px; margin:0 auto 20px; border-radius:50%; background:#fff; border:1px solid var(--ncl-line); display:flex; align-items:center; justify-content:center; color:var(--ncl-gold); box-shadow:0 8px 22px rgba(62,16,56,.05); }
body.nc-cart-layout .ncl-empty-icon svg{ width:26px; height:26px; }
body.nc-cart-layout .ncl-empty h2{ font-family:'Playfair Display',Georgia,serif; font-size:26px; font-weight:600; color:var(--ncl-p) !important; margin:0 0 10px !important; text-transform:none !important; }
body.nc-cart-layout .ncl-empty p{ color:var(--ncl-mut) !important; font-size:12.5px; line-height:1.65; margin:0 auto 22px; }
body.nc-cart-layout .ncl-pill{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 26px; border-radius:999px; background:var(--ncl-p); color:#fff !important; font-size:12px; font-weight:800; text-decoration:none !important; }
body.nc-cart-layout .ncl-pill:hover{ background:#5A1B4E; color:#fff !important; }

@media (max-width:900px){
  body.nc-cart-layout .content-container.site-container{ padding-left:20px !important; padding-right:20px !important; }
  body.nc-cart-layout .ncl-page{ padding:0 0 50px; }
  body.nc-cart-layout .ncl-head{ padding:34px 0 20px; }
  body.nc-cart-layout .ncl-band{ padding:20px; }
  body.nc-cart-layout .ncl-grid{ grid-template-columns:1fr; }
  body.nc-cart-layout .ncl-thead{ display:none; }
  body.nc-cart-layout .ncl-item{ grid-template-columns:minmax(0,1fr) 90px; row-gap:10px; }
  body.nc-cart-layout .ncl-price{ grid-column:2; text-align:right; }
  body.nc-cart-layout .ncl-qty{ grid-column:1; justify-self:start; }
  body.nc-cart-layout .ncl-lineprice{ grid-column:2; }
  body.nc-cart-layout .ncl-band-empty{ padding:58px 16px 66px; }
}
