/* Noa & Dje theme -- SIDE CART DRAWER
   z-index schaal: header 100 / search backdrop 9998 / search panel 10000 /
   header-tijdens-search 10001 / SIDE CART 10100 / toast 11000 */

.nd-sc-backdrop {
  position: fixed; inset: 0;
  background: rgba(61,46,39,.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 10099;
}
.nd-sc-backdrop.is-open { opacity: 1; pointer-events: auto; }

.nd-sc {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--bg);
  z-index: 10100;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .38s var(--ease);
  box-shadow: -12px 0 40px rgba(137,112,98,.18);
}
.nd-sc.is-open { transform: translateX(0); }
.nd-sc[hidden] { display: none; }

.nd-sc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(137,112,98,.12);
  background: var(--cream);
  flex-shrink: 0;
}
.nd-sc-head h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.nd-sc-head .nd-sc-count { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); display: block; margin-top: 2px; }
.nd-sc-close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1;
  color: var(--text);
  border-radius: 0;
  transition: background .2s, color .2s;
}
.nd-sc-close:hover { background: var(--rose); color: #fff; }

.nd-sc-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; }
.nd-sc-body.is-loading { opacity: .45; pointer-events: none; }

.nd-sc-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(137,112,98,.1);
}
.nd-sc-item:last-child { border-bottom: none; }
.nd-sc-thumb { display: block; width: 78px; height: 96px; overflow: hidden; background: var(--cream); }
.nd-sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nd-sc-info { min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.nd-sc-name { font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.nd-sc-name:hover { color: var(--rose); }
.nd-sc-meta { font-size: .72rem; color: var(--brown); letter-spacing: .04em; }
.nd-sc-meta p { margin: 0; font-size: .72rem; color: var(--brown); }
.nd-sc-price { font-family: var(--font-body); font-size: .92rem; font-weight: 700; color: var(--rose); }
.nd-sc-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.nd-sc-qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(137,112,98,.2); }
.nd-sc-qty button { width: 30px; height: 30px; display: grid; place-items: center; font-size: .95rem; font-weight: 700; border-radius: 0; transition: background .2s; }
.nd-sc-qty button:hover { background: var(--cream); }
.nd-sc-qty span { min-width: 30px; text-align: center; font-size: .82rem; font-weight: 700; }
.nd-sc-remove { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); border-bottom: 1px solid transparent; }
.nd-sc-remove:hover { color: var(--rose); border-bottom-color: var(--rose); }

.nd-sc-empty { text-align: center; padding: 3rem 1rem; }
.nd-sc-empty span { font-size: 2rem; color: var(--dusty); display: block; margin-bottom: .8rem; }
.nd-sc-empty p { margin-bottom: 1.4rem; font-size: .9rem; }

.nd-sc-foot {
  border-top: 1px solid rgba(137,112,98,.12);
  padding: 1.2rem 1.4rem 1.4rem;
  background: var(--offwhite);
  flex-shrink: 0;
}
.nd-sc-sub { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .4rem; }
.nd-sc-sub b { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.nd-sc-sub .nd-sc-total { font-family: var(--font-body); font-size: 1.18rem; font-weight: 700; color: var(--rose); }
.nd-sc-note { font-size: .72rem; color: var(--brown); margin-bottom: 1rem; }
.nd-sc-actions { display: grid; gap: .6rem; }
.nd-sc-actions .btn { width: 100%; min-width: 100%; }

.nd-sc-ship { margin-bottom: 1rem; }
.nd-sc-ship-bar { height: 5px; background: rgba(137,112,98,.15); position: relative; overflow: hidden; margin-top: .45rem; }
.nd-sc-ship-bar i { position: absolute; inset: 0; width: 0; background: var(--sage); transition: width .5s var(--ease); }
.nd-sc-ship p { font-size: .72rem; color: var(--brown); margin: 0; }
.nd-sc-ship p b { color: var(--rose); }

/* toast */
.nd-toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: #fff;
  padding: .85rem 1.4rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  max-width: min(420px, 90vw);
  text-align: center;
}
.nd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nd-toast.is-error { background: #b3261e; }

/* laad-state op add-to-cart knoppen */
.nd-adding { position: relative; pointer-events: none; opacity: .7; }

body.nd-sc-open { overflow: hidden; }
