/* Hover fade → View | Add to cart */
.nf-atc-host {
  position: relative;
}

.nf-atc-host > img,
.nf-atc-host .nf-gender-media-link img,
.nf-atc-host img {
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-atc-veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.15) 0%,
    rgba(8, 8, 8, 0.45) 55%,
    rgba(8, 8, 8, 0.62) 100%
  );
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-atc-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: 9.5rem;
  transform: translate(-50%, calc(-50% + 10px));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-atc-action {
  border: none;
  cursor: pointer;
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.nf-atc-view {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.nf-atc-view:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.nf-atc-add {
  background: rgba(12, 12, 12, 0.92);
  color: #fff;
  border: 1px solid rgba(12, 12, 12, 0.92);
}

.nf-atc-add:hover {
  background: #000;
}

.nf-atc-action:active {
  transform: scale(0.98);
}

/* Hover ATC gated below — touch devices use bottom actions without dimming */

/* Fine pointer only — keep gallery images crisp on touch */
@media (hover: hover) and (pointer: fine) {
  .nf-atc-host:hover .nf-atc-veil,
  .nf-atc-host:focus-within .nf-atc-veil,
  article.group:hover .nf-atc-veil,
  .nf-gender-card:hover .nf-atc-veil {
    opacity: 1;
  }

  .nf-atc-host:hover .nf-atc-actions,
  .nf-atc-host:focus-within .nf-atc-actions,
  article.group:hover .nf-atc-actions,
  .nf-gender-card:hover .nf-atc-actions {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  .nf-atc-host:hover > img,
  .nf-atc-host:hover .nf-gender-media-link img,
  .nf-atc-host:focus-within > img,
  article.group:hover .nf-atc-host img,
  .nf-gender-card:hover .nf-atc-host img {
    opacity: 0.72;
    filter: grayscale(0.15) brightness(0.92);
  }
}

@media (hover: none), (pointer: coarse) {
  .nf-atc-veil {
    opacity: 1;
    background: linear-gradient(
      180deg,
      transparent 42%,
      rgba(8, 8, 8, 0.28) 72%,
      rgba(8, 8, 8, 0.55) 100%
    );
  }

  .nf-atc-actions {
    top: auto;
    bottom: 0.65rem;
    left: 50%;
    width: calc(100% - 1.1rem);
    min-width: 0;
    opacity: 1;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  .nf-atc-host > img,
  .nf-atc-host .nf-gender-media-link img,
  .nf-atc-host img {
    opacity: 1;
    filter: none;
  }

  .nf-atc-host:hover .nf-atc-actions,
  .nf-atc-host:focus-within .nf-atc-actions,
  article.group:hover .nf-atc-actions,
  .nf-gender-card:hover .nf-atc-actions {
    transform: translateX(-50%);
  }
}

/* Lightbox — adapts to portrait / landscape / square */
body.nf-lightbox-open {
  overflow: hidden;
}

.nf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 1.75rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nf-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nf-lightbox[hidden] {
  display: none !important;
}

.nf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.nf-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.35s ease,
    max-height 0.35s ease;
  overflow: hidden;
}

.nf-lightbox.is-open .nf-lightbox-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Landscape: wide stage, meta beside on desktop */
.nf-lightbox-panel.is-landscape {
  width: min(1080px, 100%);
}

@media (min-width: 860px) {
  .nf-lightbox-panel.is-landscape {
    grid-template-columns: 1.35fr 0.75fr;
    max-height: min(86vh, 640px);
  }

  .nf-lightbox-panel.is-portrait {
    grid-template-columns: 0.95fr 0.85fr;
    width: min(820px, 100%);
    max-height: min(90vh, 780px);
  }

  .nf-lightbox-panel.is-square {
    grid-template-columns: 1.05fr 0.85fr;
    width: min(900px, 100%);
    max-height: min(88vh, 700px);
  }
}

.nf-lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 12, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nf-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.nf-lightbox-media {
  position: relative;
  min-height: 38vh;
  overflow: hidden;
  background: #0d0d0d;
  isolation: isolate;
}

@media (min-width: 860px) {
  .nf-lightbox-media {
    min-height: 100%;
  }

  .nf-lightbox-panel.is-portrait .nf-lightbox-media {
    min-height: min(78vh, 720px);
  }

  .nf-lightbox-panel.is-landscape .nf-lightbox-media {
    min-height: min(70vh, 560px);
  }
}

.nf-lightbox-bloom {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(42px) saturate(0.7) brightness(0.45);
  opacity: 0.55;
  transform: scale(1.08);
  pointer-events: none;
}

.nf-lightbox-bloom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.25) 0%,
    rgba(8, 8, 8, 0.55) 100%
  );
}

.nf-lightbox-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.35rem);
}

.nf-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.04) saturate(0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-lightbox-img.is-shown {
  opacity: 1;
  transform: scale(1);
}

/* Portrait: taller framed stage */
.nf-lightbox-panel.is-portrait .nf-lightbox-stage {
  padding: clamp(0.9rem, 2.2vw, 1.6rem);
}

.nf-lightbox-panel.is-portrait .nf-lightbox-img {
  max-height: min(72vh, 680px);
  width: auto;
}

/* Landscape: full-width contain, generous side padding */
.nf-lightbox-panel.is-landscape .nf-lightbox-stage {
  padding: clamp(0.85rem, 2.4vw, 1.75rem) clamp(1rem, 3vw, 2rem);
}

.nf-lightbox-panel.is-landscape .nf-lightbox-img {
  max-width: 100%;
  max-height: min(58vh, 520px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nf-lightbox-panel.is-square .nf-lightbox-img {
  max-height: min(62vh, 560px);
  max-width: min(100%, 560px);
}

.nf-lightbox-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.6rem 1.45rem 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
}

@media (min-width: 860px) {
  .nf-lightbox-meta {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem 1.85rem;
  }
}

.nf-lightbox-kicker {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.nf-lightbox-name {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.28;
}

.nf-lightbox-price {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.nf-lightbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

.nf-lightbox-note {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

.nf-opt-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nf-opt-label {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.nf-opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nf-opt-chip {
  min-height: 2.2rem;
  min-width: 2.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nf-opt-chip:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.nf-opt-chip.is-on {
  background: #fff;
  color: #0c0c0c;
  border-color: #fff;
}

.nf-lightbox-add {
  margin-top: 0.85rem;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  background: #fff;
  color: #0c0c0c;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nf-lightbox-add:hover {
  opacity: 0.88;
}

.nf-lightbox-add:active {
  transform: scale(0.98);
}

@media (max-width: 859px) {
  .nf-lightbox {
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 110;
  }

  .nf-lightbox-panel {
    width: 100%;
    max-width: 100%;
    max-height: none;
    min-height: min(100%, 100dvh);
    display: flex;
    flex-direction: column;
    overflow: visible;
    border-radius: 1rem 1rem 0 0;
    transform: translateY(24px);
  }

  .nf-lightbox.is-open .nf-lightbox-panel {
    transform: translateY(0);
  }

  .nf-lightbox-media {
    flex: 0 0 auto;
    min-height: 0;
    height: min(42vh, 360px);
    max-height: min(42vh, 360px);
  }

  .nf-lightbox-panel.is-landscape .nf-lightbox-media,
  .nf-lightbox-panel.is-portrait .nf-lightbox-media,
  .nf-lightbox-panel.is-square .nf-lightbox-media {
    min-height: 0;
    height: min(42vh, 360px);
    max-height: min(42vh, 360px);
  }

  .nf-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .nf-lightbox-img,
  .nf-lightbox-panel.is-landscape .nf-lightbox-img,
  .nf-lightbox-panel.is-portrait .nf-lightbox-img,
  .nf-lightbox-panel.is-square .nf-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .nf-lightbox-meta {
    flex: 1 1 auto;
    padding: 1.25rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .nf-lightbox-close {
    width: 2.75rem;
    height: 2.75rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .nf-opt-chip {
    min-height: 2.4rem;
    min-width: 2.5rem;
  }

  .nf-atc-actions {
    width: calc(100% - 1.5rem);
    gap: 0.45rem;
  }

  .nf-atc-action {
    flex: 1 1 auto;
    min-height: 2.65rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.58rem;
  }
}

/* Toast */
.nf-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 95;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  padding: 0.85rem 1.25rem;
  background: rgba(12, 12, 12, 0.94);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.nf-cart-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Navbar bag pulse + badge — professional add feedback */
header .nf-bag-btn {
  position: relative;
  transform-origin: center center;
  will-change: transform;
}

header .nf-bag-btn.nf-bag-pop-in {
  animation: nf-bag-squeeze 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

header .nf-bag-btn.nf-bag-pop-out {
  animation: nf-bag-release 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

header .nf-bag-btn.nf-bag-pop::after {
  content: "";
  position: absolute;
  inset: 0.1rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0;
  pointer-events: none;
  animation: nf-bag-ring 0.7s ease-out forwards;
}

.nf-bag-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.nf-bag-spark.is-on {
  animation: nf-bag-spark 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nf-bag-count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #0c0c0c;
  color: #fff;
  font-size: 0.55rem;
  letter-spacing: 0;
  line-height: 1.05rem;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

header:not([class*="text-black"]) .nf-bag-count {
  background: #fff;
  color: #0c0c0c;
}

header.nf-header-elevated[class*="bg-white"] .nf-bag-count,
header[class*="text-black"] .nf-bag-count {
  background: #0c0c0c;
  color: #fff;
}

.nf-bag-count.is-on {
  opacity: 1;
  transform: scale(1);
}

.nf-bag-count.nf-bag-count-pop {
  animation: nf-bag-badge 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes nf-bag-squeeze {
  0% {
    transform: scale(1) rotate(0deg);
  }
  55% {
    transform: scale(0.82) rotate(-6deg);
  }
  100% {
    transform: scale(1.18) rotate(4deg);
  }
}

@keyframes nf-bag-release {
  0% {
    transform: scale(1.18) rotate(4deg);
  }
  40% {
    transform: scale(0.94) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes nf-bag-ring {
  0% {
    opacity: 0.55;
    transform: scale(0.75);
  }
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

@keyframes nf-bag-spark {
  0% {
    opacity: 0.9;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(10px, -18px) scale(0.2);
  }
}

@keyframes nf-bag-badge {
  0% {
    transform: scale(0.55);
  }
  45% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-atc-veil,
  .nf-atc-actions,
  .nf-atc-host img,
  .nf-lightbox,
  .nf-lightbox-panel,
  .nf-cart-toast,
  header .nf-bag-btn.nf-bag-pop,
  header .nf-bag-btn.nf-bag-pop-in,
  header .nf-bag-btn.nf-bag-pop-out,
  .nf-bag-count.nf-bag-count-pop,
  .nf-bag-spark {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Vanilla bag drawer (piece page / no React) ---------- */
body.nf-bag-open {
  overflow: hidden;
}

.nf-bag-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.nf-bag-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.nf-bag-drawer[hidden] {
  display: none !important;
}

.nf-bag-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(4px);
}

.nf-bag-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  background: #faf9f7;
  color: #111;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(104%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-bag-drawer.is-open .nf-bag-panel {
  transform: none;
}

.nf-bag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nf-bag-title {
  margin: 0;
  letter-spacing: 0.22em;
}

.nf-bag-close {
  border: none;
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  min-width: 2.5rem;
  min-height: 2.5rem;
  color: #111;
}

.nf-bag-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.nf-bag-empty {
  margin: 2.5rem 0 1rem;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

.nf-bag-shop {
  display: block;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.nf-bag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.nf-bag-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.85rem;
  align-items: start;
}

.nf-bag-thumb {
  display: block;
  width: 4.5rem;
  height: 5.5rem;
  overflow: hidden;
  background: #eceae6;
}

.nf-bag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.nf-bag-meta {
  min-width: 0;
}

.nf-bag-name {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #111;
  text-decoration: none;
}

.nf-bag-name:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nf-bag-attrs {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.45);
}

.nf-bag-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.nf-bag-qty button {
  min-width: 1.85rem;
  min-height: 1.85rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}

.nf-bag-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
}

.nf-bag-remove {
  border: none !important;
  background: transparent !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  min-width: auto !important;
  padding: 0 0.25rem;
}

.nf-bag-price {
  margin: 0;
  font-size: 0.78rem;
  white-space: nowrap;
}

.nf-bag-foot {
  padding: 1rem 1.25rem 1.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #fff;
}

.nf-bag-subrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.nf-bag-subtotal {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.15rem;
}

.nf-bag-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nf-bag-continue {
  border: none;
  background: transparent;
  cursor: pointer;
  min-height: 2.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

@media (max-width: 480px) {
  .nf-bag-panel {
    width: 100%;
  }

  .nf-bag-line {
    grid-template-columns: 4rem 1fr;
  }

  .nf-bag-price {
    grid-column: 2;
    justify-self: start;
  }
}
