/* Right-side Varukorg drawer — Figma node 3781:69255 */

.nb-cartpop__overlay {
  position: fixed;
  top: var(--nb-header-height, 94px);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nb-cartpop__overlay.is-open {
  opacity: 1;
}

.nb-cartpop {
  position: fixed;
  top: var(--nb-header-height, 94px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.nb-cartpop.is-open {
  pointer-events: auto;
}

.nb-cartpop[hidden],
.nb-cartpop__overlay[hidden] {
  display: none !important;
}

.nb-cartpop__panel {
  width: 448px;
  max-width: 100%;
  height: calc(100vh - var(--nb-header-height, 94px));
  height: calc(100dvh - var(--nb-header-height, 94px));
  background: #fff;
  border: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  pointer-events: auto;
}

.nb-cartpop.is-open .nb-cartpop__panel {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .nb-cartpop__overlay,
  .nb-cartpop__panel {
    transition: none;
  }
}

.nb-cartpop__head {
  padding: 32px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.nb-cartpop__headCopy {
  min-width: 0;
}

.nb-cartpop__headTitle {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #0f0f0d;
}

.nb-cartpop__headCount {
  margin: 4px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 21.125px;
  color: #6b6b66;
}

.nb-cartpop__close {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  color: #1c1b1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nb-cartpop__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nb-cartpop__body {
  overflow: auto;
  min-height: 0;
  padding: 32px 24px 0;
}

.nb-cartpop__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nb-cartpop__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(72px, auto);
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(15, 15, 13, 0.08);
}

.nb-cartpop__item:last-child {
  border-bottom: 1px solid rgba(15, 15, 13, 0.08);
}

.nb-cartpop__thumb {
  width: 88px;
  height: 88px;
  background: #f2f0eb;
  overflow: hidden;
  display: block;
}

.nb-cartpop__thumb img,
.nb-cartpop__imgEl {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-cartpop__info {
  min-width: 0;
  padding-top: 4px;
}

.nb-cartpop__eyebrow {
  margin: 0;
  color: rgba(10, 52, 76, 0.7);
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.nb-cartpop__name {
  margin: 4px 0 0;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 20.625px;
}

.nb-cartpop__name a {
  color: #0f0f0d;
  text-decoration: none;
}

.nb-cartpop__name a:hover {
  text-decoration: underline;
}

.nb-cartpop__color {
  margin: 2px 0 0;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: #6b6b66;
}

.nb-cartpop__note {
  margin: 8px 0 0;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: #6b6b66;
}

.nb-cartpop__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.nb-cartpop__qty {
  box-sizing: border-box;
  height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 15, 13, 0.2);
  background: #fff;
}

.nb-cartpop__qtyBtn {
  appearance: none;
  width: 30px;
  height: 23px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #6b6b66;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 22.5px;
  cursor: pointer;
}

.nb-cartpop__qtyVal {
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0d;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
}

.nb-cartpop__remove {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: #6b6b66;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nb-cartpop__remove:hover {
  color: #0f0f0d;
}

.nb-cartpop__price {
  margin: 0;
  padding-top: 4px;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 22.5px;
  color: #0f0f0d;
  text-align: right;
  white-space: nowrap;
}

.nb-cartpop__price .woocommerce-Price-amount,
.nb-cartpop__price bdi,
.nb-cartpop__price ins {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.nb-cartpop__price del {
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 400;
}

.nb-cartpop__empty {
  padding: 24px 0 16px;
}

.nb-cartpop__emptyTitle {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #0f0f0d;
}

.nb-cartpop__emptyText {
  margin: 0 0 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

.nb-cartpop__emptyCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 3px;
  background: #1c1b1f;
  color: #fff;
  text-decoration: none;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  box-sizing: border-box;
}

.nb-cartpop__emptyCta:hover {
  filter: brightness(1.08);
}

.nb-cartpop__footer {
  padding: 24px 24px 64px;
}

.nb-cartpop__sums {
  border-top: 1px solid rgba(15, 15, 13, 0.08);
  padding-top: 20px;
}

.nb-cartpop__sumRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

.nb-cartpop__sumRow + .nb-cartpop__sumRow {
  margin-top: 6px;
  padding-bottom: 20px;
}

.nb-cartpop__sumLabel {
  color: rgba(0, 0, 0, 0.7);
}

.nb-cartpop__sumValue {
  color: #0f0f0d;
  text-align: right;
  white-space: nowrap;
}

.nb-cartpop__sumValue .woocommerce-Price-amount,
.nb-cartpop__sumValue bdi {
  font: inherit;
  color: inherit;
}

.nb-cartpop__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-cartpop__btn {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  border: 1px solid transparent;
  background: #1c1b1f;
  color: #fff;
}

.nb-cartpop__btn:hover {
  filter: brightness(1.08);
}

.nb-cartpop__btn--outline {
  background: transparent;
  color: #0f0f0d;
  border-color: rgba(15, 15, 13, 0.25);
}

.nb-cartpop__btn--outline:hover {
  filter: none;
  background: rgba(15, 15, 13, 0.04);
}

@media (max-width: 900px) {
  .nb-cartpop__panel {
    width: 100%;
    box-shadow: none;
  }

  .nb-cartpop__head,
  .nb-cartpop__body,
  .nb-cartpop__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nb-cartpop__footer {
    padding-bottom: 32px;
  }
}
