/* NC Mini Cart — slide-out cart drawer, Night Charm plum/gold palette */
.nmc-overlay{
  position:fixed; inset:0; z-index:90000;
  background:rgba(36,18,38,.5); opacity:0; visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
}
.nmc-overlay.show{ opacity:1; visibility:visible; }
.nmc-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:90001;
  width:420px; max-width:100vw;
  display:flex; flex-direction:column;
  background:#FAF6F1; color:#241226;
  box-shadow:-16px 0 50px rgba(36,18,38,.22);
  transform:translateX(102%); visibility:hidden;
  transition:transform .36s cubic-bezier(.22,.68,0,1), visibility .36s;
  font-family:'Manrope',sans-serif;
}
.nmc-drawer.open{ transform:translateX(0); visibility:visible; }
body.nmc-open{ overflow:hidden; }

/* head */
.nmc-head{
  flex:0 0 auto; display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px 18px; background:#3E1038; color:#fff;
}
.nmc-title{
  margin:0; font-family:'Playfair Display',Georgia,serif; font-weight:600;
  font-size:20px; display:flex; align-items:center; gap:10px; white-space:nowrap;
}
.nmc-count{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:24px; height:24px; padding:0 7px; border-radius:999px;
  background:#B2863C; color:#fff; font-family:'Manrope',sans-serif;
  font-size:12px; font-weight:800;
}
.nmc-close{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.45);
  background:transparent; color:#fff; cursor:pointer;
  display:flex !important; align-items:center !important; justify-content:center !important;
  padding:0 !important; line-height:1 !important; font-size:0 !important;
  transition:background .2s, color .2s;
}
.nmc-close svg{ display:block; width:16px; height:16px; flex:0 0 16px; }
.nmc-close:hover{ background:#fff; color:#3E1038; }

/* body */
.nmc-body{ flex:1 1 auto; overflow-y:auto; padding:8px 20px; }
.nmc-empty{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; height:100%; min-height:280px; color:#7C6C74; gap:12px;
}
.nmc-empty svg{ color:#B2863C; }
.nmc-empty p{ margin:0; font-size:15px; font-weight:600; color:#3E1038; }
.nmc-shop-link{
  color:#B2863C !important; font-size:12px; font-weight:800; letter-spacing:.6px;
  text-transform:uppercase; text-decoration:underline !important;
}

/* items */
.nmc-item{
  display:flex; gap:14px; padding:18px 0; border-bottom:1px solid #EADFD6;
}
.nmc-item:last-child{ border-bottom:none; }
.nmc-thumb{
  flex:0 0 84px; width:84px; height:96px; border-radius:10px; overflow:hidden;
  background:#F4EDE6;
}
.nmc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.nmc-detail{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
.nmc-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.nmc-name{
  color:#3E1038 !important; font-size:13.5px; font-weight:700; line-height:1.35;
  text-decoration:none !important; display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden;
}
.nmc-name:hover{ color:#B2863C !important; }
.nmc-remove{
  flex:0 0 auto; width:24px; height:24px; border:none; background:transparent;
  color:#7C6C74; cursor:pointer;
  display:flex !important; align-items:center !important; justify-content:center !important;
  padding:0 !important; line-height:1 !important; font-size:0 !important;
  transition:color .2s;
}
.nmc-remove svg{ display:block; width:13px; height:13px; flex:0 0 13px; }
.nmc-remove:hover{ color:#C0396B; }
.nmc-unit{ margin-top:5px; font-size:12px; color:#7C6C74; }
.nmc-bot{ margin-top:auto; padding-top:12px; display:flex; align-items:center; justify-content:space-between; }
.nmc-qty{
  display:inline-flex; align-items:center; border:1px solid #E2D5CA; border-radius:8px;
  height:34px; background:#fff; overflow:hidden;
}
.nmc-qty button{
  flex:0 0 30px; width:30px !important; height:100%; padding:0 !important;
  border:none; background:transparent; color:#3E1038;
  display:flex !important; align-items:center !important; justify-content:center !important;
  font-size:16px; line-height:1 !important; cursor:pointer; transition:background .2s;
}
.nmc-qty button:hover{ background:#F4EDE6; }
.nmc-qval{
  min-width:26px; height:100%; display:inline-flex; align-items:center; justify-content:center;
  text-align:center; font-size:13px; font-weight:700; color:#3E1038;
}
.nmc-line{ font-size:15px; font-weight:800; color:#B2863C; }

/* foot */
.nmc-foot{
  flex:0 0 auto; padding:18px 24px 24px; border-top:1px solid #EADFD6;
  background:#fff;
}
body.nc-skin .nmc-subtotal{ display:flex; align-items:center; justify-content:space-between; font-size:15px; color:#3E1038 !important; }
body.nc-skin .nmc-subtotal strong{ font-size:20px; font-weight:800; color:#3E1038 !important; white-space:nowrap; }
.nmc-taxnote{ margin:6px 0 16px; font-size:11px; color:#7C6C74; }
.nmc-checkout{
  display:flex; align-items:center; justify-content:center; width:100%; height:50px;
  border-radius:8px; background:#3E1038; color:#fff !important; text-decoration:none !important;
  font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase;
  transition:background .2s;
}
.nmc-checkout:hover{ background:#5A1B4E; }
.nmc-viewcart{
  display:block; text-align:center; margin-top:14px; font-size:12px; font-weight:700;
  color:#B2863C !important; text-decoration:underline !important;
}

@media (max-width:600px){
  .nmc-drawer{ width:100vw; }
  .nmc-head{ padding:18px 20px 16px; }
  .nmc-body{ padding:6px 18px; }
  .nmc-foot{ padding:16px 20px 20px; }
}
