/* Right-side Sparade drawer — Figma node 3762:60180 */

.nb-favpop__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-favpop__overlay.is-open {
  opacity: 1;
}

.nb-favpop {
  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-favpop.is-open {
  pointer-events: auto;
}

.nb-favpop[hidden],
.nb-favpop__overlay[hidden] {
  display: none !important;
}

.nb-favpop__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-favpop.is-open .nb-favpop__panel {
  transform: translateX(0);
}

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

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

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

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

.nb-favpop__headCount {
  margin: 4px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 21.125px;
  color: rgba(0, 0, 0, 0.7);
}

.nb-favpop__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-favpop__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

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

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

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

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

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

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

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

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

.nb-favpop__name {
  margin: 4px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.25px;
}

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

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

.nb-favpop__color {
  margin: 4px 0 0;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
  color: rgba(0, 0, 0, 0.8);
}

.nb-favpop__price {
  margin: 8px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 22.5px;
  color: #0f0f0d;
}

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

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

.nb-favpop__remove {
  width: 18px;
  height: 22px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f0f0d;
  cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.nb-favpop__remove svg {
  display: block;
}

.nb-favpop__remove:hover {
  color: #ff5a5f;
}

.nb-favpop__remove .product-card__heart-path {
  fill: currentColor;
  stroke: currentColor;
}

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

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

.nb-favpop__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-favpop__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-favpop__emptyCta:hover {
  filter: brightness(1.08);
}

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

.nb-favpop__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nb-favpop__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-favpop__btn:hover {
  filter: brightness(1.08);
}

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

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

.nb-favpop__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-top: 4px;
}

.nb-favpop__link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: Inter, "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #0f0f0d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nb-favpop__link:hover {
  opacity: 0.7;
}

.nb-favpop__link:disabled,
.nb-favpop__link[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  text-decoration: none;
  pointer-events: none;
}

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

  .nb-favpop__head,
  .nb-favpop__body,
  .nb-favpop__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

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