/* ---- NAFTA shop ----
   Cart, checkout and confirmation. Hand-authored — NOT generated by build.mjs,
   so it survives a rebuild.

   Follows the same system as the rest of the site: League Gothic uppercase
   headers, IBM Plex Mono for meta/labels, Inter for body, 1px black borders,
   square corners (pills excepted), and the 0.22/1/0.36/1 easing curve.

   Every class is prefixed nf- so it can never collide with the generated
   n1…n211 classes in nafta.css. */

:root {
  --nf-black: #080808;
  --nf-ink: #242525;
  --nf-lime: #b4d92f;
  --nf-lime-dark: #7d9c16;
  --nf-coral: #f36f62;
  --nf-light: #f3f5f4;
  --nf-mid: #dfe3e4;
  --nf-grey: #c9cdd0;
  --nf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- base (self-contained: the shop pages don't load nafta.css) ---- */

.nf-page {
  margin: 0;
  background: var(--nf-light);
  color: var(--nf-black);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nf-page *,
.nf-page *::before,
.nf-page *::after { box-sizing: border-box; }

/* Any author-set `display` beats the UA sheet's [hidden] rule, and most
   components here are flex — so state toggled with the hidden attribute would
   never actually hide. Assert it once, globally (as normalize.css does): the
   subscription panel is injected into the generated product pages, which don't
   carry .nf-page on <body>, so this cannot be scoped. */
[hidden] { display: none !important; }

.nf-page a { color: var(--nf-black); text-decoration: none; }
.nf-page a:hover { color: var(--nf-lime-dark); }
.nf-page img { max-width: 100%; }
.nf-page input,
.nf-page button,
.nf-page select,
.nf-page textarea { font-family: inherit; }
.nf-page :focus-visible { outline: 2px solid var(--nf-black); outline-offset: 3px; }

@keyframes nfMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nfRise { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .nf-page *,
  .nf-page *::before,
  .nf-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- type ---- */

.nf-display {
  margin: 0;
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.nf-h1 { font-size: clamp(56px, 8vw, 128px); }
.nf-h2 { font-size: clamp(40px, 5vw, 72px); line-height: 0.86; }
.nf-h3 { font-size: clamp(28px, 3vw, 40px); line-height: 0.9; }

.nf-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nf-eyebrow {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

.nf-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.4;
  color: var(--nf-ink);
}

/* ---- chrome: marquee + nav ---- */

.nf-sticky { position: sticky; top: 0; z-index: 50; }

.nf-marquee {
  background: var(--nf-lime);
  border-bottom: 1px solid var(--nf-black);
  overflow: hidden;
  padding: 9px 0;
}

.nf-marquee__track {
  display: flex;
  width: max-content;
  animation: nfMarquee 30s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nf-marquee__track span { padding-right: 24px; }

.nf-nav {
  height: 72px;
  background: rgba(243, 245, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nf-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 16px;
}

.nf-nav__brand { display: flex; align-items: baseline; gap: 10px; }

.nf-nav__logo {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 40px;
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.nf-nav__tag {
  display: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nf-nav__right { display: flex; align-items: center; gap: 12px; }

/* the runtime-injected cart link, also used by the shop pages' own nav */
.nf-navcart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--nf-black);
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 320ms var(--nf-ease), color 320ms var(--nf-ease);
}

.nf-navcart:hover { background: var(--nf-lime); color: var(--nf-black); }

.nf-navcart__count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--nf-black);
  color: #fff;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.nf-navcart:hover .nf-navcart__count { background: var(--nf-black); color: #fff; }

.nf-crumbs {
  border-bottom: 1px solid var(--nf-black);
  padding: 12px clamp(16px, 4vw, 48px);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

/* ---- buttons ---- */

.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--nf-black);
  color: #fff;
  border: 1px solid var(--nf-black);
  border-radius: 0;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 160ms var(--nf-ease), background 320ms var(--nf-ease),
    color 320ms var(--nf-ease);
}

.nf-btn:hover {
  background: var(--nf-lime);
  color: var(--nf-black);
  transform: translateY(-3px);
}

/* `.nf-page a` (0,1,1) outranks `.nf-btn` (0,1,0), which would leave anchor
   buttons black-on-black. Re-assert the button colours at anchor specificity. */
.nf-page a.nf-btn { color: #fff; }
.nf-page a.nf-btn:hover { color: var(--nf-black); }

.nf-btn--ghost { background: transparent; color: var(--nf-black); }
.nf-btn--ghost:hover { background: var(--nf-black); color: #fff; }
.nf-page a.nf-btn--ghost { color: var(--nf-black); }
.nf-page a.nf-btn--ghost:hover { color: #fff; }

.nf-btn--block { width: 100%; justify-content: space-between; }

.nf-btn--coral:hover { background: var(--nf-coral); color: var(--nf-black); }

.nf-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.nf-btn[disabled]:hover {
  background: var(--nf-black);
  color: #fff;
  transform: none;
}

.nf-pill {
  display: inline-flex;
  border: 1px solid var(--nf-black);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---- layout ---- */

.nf-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 48px) clamp(64px, 8vw, 120px);
}

.nf-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }

.nf-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

@media (min-width: 900px) {
  .nf-nav__tag { display: inline; }
  .nf-grid { grid-template-columns: 1.3fr 0.7fr; }
  .nf-aside { position: sticky; top: 104px; }
}

/* ---- cart lines ---- */

.nf-lines { border-top: 1px solid var(--nf-black); }

.nf-line {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px clamp(16px, 2vw, 24px);
  padding: 24px 0;
  border-bottom: 1px solid var(--nf-black);
}

.nf-line__media {
  display: block;
  width: 88px;
  height: 110px;
  border: 1px solid var(--nf-black);
  background: var(--nf-mid);
  overflow: hidden;
}

.nf-line__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 650ms var(--nf-ease);
}

.nf-line__media:hover img { transform: scale(1.05); }

.nf-line__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.nf-line__title {
  margin: 0;
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.nf-line__meta {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

.nf-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nf-stepper { display: flex; align-items: stretch; border: 1px solid var(--nf-black); }

.nf-stepper button {
  background: transparent;
  border: none;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 320ms var(--nf-ease);
}

.nf-stepper button:hover:not([disabled]) { background: var(--nf-lime); }
.nf-stepper button[disabled] { opacity: 0.3; cursor: not-allowed; }
.nf-stepper button:first-child { border-right: 1px solid var(--nf-black); }
.nf-stepper button:last-child { border-left: 1px solid var(--nf-black); }

.nf-stepper__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 12px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 600;
}

.nf-line__price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.nf-remove {
  background: none;
  border: none;
  padding: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-ink);
  cursor: pointer;
  border-bottom: 1px solid var(--nf-ink);
  transition: color 320ms var(--nf-ease), border-color 320ms var(--nf-ease);
}

.nf-remove:hover { color: var(--nf-coral); border-color: var(--nf-coral); }

@media (min-width: 640px) {
  .nf-line { grid-template-columns: 120px 1fr; }
  .nf-line__media { width: 120px; height: 150px; }
  .nf-line__title { font-size: 42px; }
}

/* ---- summary card ---- */

.nf-card {
  border: 1px solid var(--nf-black);
  background: #fff;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nf-card--lime { background: var(--nf-lime); }
.nf-card--mid { background: var(--nf-mid); }

.nf-card__title {
  margin: 0;
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 0.9;
  text-transform: uppercase;
}

.nf-rows { display: flex; flex-direction: column; gap: 12px; }

.nf-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.nf-row__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-row__value { font-family: "IBM Plex Mono", monospace; font-size: 15px; font-weight: 600; }

.nf-row--total {
  border-top: 1px solid var(--nf-black);
  padding-top: 16px;
  align-items: baseline;
}

.nf-row--total .nf-row__label { font-size: 13px; }

.nf-row--total .nf-row__value {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.nf-note {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

.nf-freeship {
  border: 1px solid var(--nf-black);
  background: var(--nf-light);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-freeship__bar { height: 6px; background: #fff; border: 1px solid var(--nf-black); overflow: hidden; }
.nf-freeship__fill { height: 100%; background: var(--nf-lime); transition: width 650ms var(--nf-ease); }

.nf-badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- empty state ---- */

.nf-empty {
  border: 1px solid var(--nf-black);
  background: var(--nf-mid);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0 6px,
    rgba(201, 205, 208, 0) 6px 14px
  );
  padding: clamp(40px, 8vw, 96px) clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ---- forms ---- */

.nf-fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }

.nf-section { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--nf-black); }
.nf-section:first-of-type { border-top: 1px solid var(--nf-black); }

.nf-section__head { display: flex; flex-direction: column; gap: 8px; }

.nf-fields { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px) {
  .nf-fields--2 { grid-template-columns: 1fr 1fr; }
  .nf-fields--3 { grid-template-columns: 2fr 1fr 1fr; }
  .nf-field--wide { grid-column: 1 / -1; }
}

.nf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.nf-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nf-input,
.nf-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--nf-black);
  border-radius: 0;
  padding: 15px 16px;
  font-size: 15px;
  color: var(--nf-black);
  outline: none;
  transition: background 320ms var(--nf-ease), box-shadow 160ms var(--nf-ease);
}

.nf-input::placeholder { color: #9aa0a2; }
.nf-input:focus,
.nf-select:focus { background: var(--nf-light); box-shadow: inset 0 -3px 0 0 var(--nf-lime); }

.nf-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--nf-black) 50%),
    linear-gradient(135deg, var(--nf-black) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.nf-input[aria-invalid="true"],
.nf-select[aria-invalid="true"] { box-shadow: inset 0 -3px 0 0 var(--nf-coral); }

.nf-error {
  min-height: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8402f;
}

/* ---- payment method radios ---- */

.nf-methods { display: flex; flex-direction: column; gap: 10px; }

.nf-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--nf-black);
  background: transparent;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 320ms var(--nf-ease);
}

.nf-method:hover { background: var(--nf-mid); }
.nf-method:has(input:checked) { background: var(--nf-lime); }

.nf-method input { margin: 3px 0 0; accent-color: var(--nf-black); width: 16px; height: 16px; }

.nf-method__body { display: flex; flex-direction: column; gap: 5px; }

.nf-method__name {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 26px;
  line-height: 0.9;
  text-transform: uppercase;
}

.nf-method__note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

/* ---- mini order summary (checkout aside) ---- */

.nf-mini { display: flex; flex-direction: column; gap: 14px; }

.nf-mini__line { display: flex; gap: 12px; align-items: center; }

.nf-mini__media {
  width: 52px;
  height: 64px;
  flex: none;
  border: 1px solid var(--nf-black);
  background: var(--nf-mid);
  object-fit: cover;
  object-position: center 35%;
}

.nf-mini__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.nf-mini__name {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.nf-mini__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

.nf-mini__price {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- confirmation ---- */

.nf-confirm {
  background: var(--nf-lime);
  border-bottom: 1px solid var(--nf-black);
  padding: clamp(56px, 9vw, 128px) clamp(16px, 4vw, 48px);
  animation: nfRise 650ms var(--nf-ease) both;
}

.nf-confirm__inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.nf-orderno {
  display: inline-flex;
  background: var(--nf-black);
  color: #fff;
  padding: 10px 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.nf-steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--nf-black); border: 1px solid var(--nf-black); }

@media (min-width: 760px) { .nf-steps { grid-template-columns: repeat(3, 1fr); } }

.nf-step { background: var(--nf-light); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.nf-step__num { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--nf-lime-dark); }
.nf-step__title { font-family: "League Gothic", "Arial Narrow", sans-serif; font-size: 30px; line-height: 0.9; text-transform: uppercase; }
.nf-step__copy { margin: 0; font-size: 15px; line-height: 1.45; color: var(--nf-ink); }

/* ---- footer ---- */

.nf-footer {
  background: var(--nf-black);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) 0;
  overflow: hidden;
}

.nf-footer a { color: #fff; }
.nf-footer a:hover { color: var(--nf-lime); }

.nf-footer__cols {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.nf-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

.nf-footer__head {
  margin: 0 0 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-grey);
}

.nf-footer__word {
  margin: 0;
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(96px, 26vw, 420px);
  line-height: 0.7;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  height: 0.62em;
  overflow: hidden;
}

.nf-footer__base {
  border-top: 1px solid var(--nf-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 20px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-grey);
}

/* ---- product page: purchase mode + subscription plan ----
   These render inside the generated product pages, which use the design
   export's inline styles — so this block stands alone and assumes nothing. */

.nf-modes { display: flex; flex-direction: column; gap: 12px; }

.nf-modes__label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-black);
}

.nf-modes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.nf-mode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--nf-black);
  border-radius: 0;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  transition: background 320ms var(--nf-ease);
}

.nf-mode:hover { background: var(--nf-mid); }
.nf-mode[aria-pressed="true"] { background: var(--nf-black); }
.nf-mode[aria-pressed="true"] .nf-mode__name,
.nf-mode[aria-pressed="true"] .nf-mode__note { color: #fff; }

.nf-mode__name {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 28px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--nf-black);
}

.nf-mode__note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-ink);
}

/* the −20% flag on the subscription toggle */
.nf-mode__flag {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--nf-lime);
  color: var(--nf-black);
  border: 1px solid var(--nf-black);
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nf-sub { display: flex; flex-direction: column; gap: 12px; }

.nf-sub__card {
  border: 1px solid var(--nf-black);
  background: var(--nf-lime);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-sub__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nf-sub__name {
  margin: 0;
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 34px;
  line-height: 0.9;
  text-transform: uppercase;
}

.nf-sub__note {
  margin: 4px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-sub__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }

.nf-sub__amount {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 46px;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.nf-sub__per {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-sub__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--nf-black);
}

.nf-sub__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(8, 8, 8, 0.25);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-sub__list li:last-child { border-bottom: none; }
.nf-sub__list li > span:last-child { font-weight: 600; text-align: right; }
.nf-sub__list s { opacity: 0.5; }

/* ---- subscription markers in cart / checkout ---- */

.nf-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nf-black);
  color: #fff;
  border-radius: 999px;
  padding: 4px 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nf-tag--save { background: var(--nf-lime); color: var(--nf-black); }

.nf-line__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.nf-row--muted .nf-row__label,
.nf-row--muted .nf-row__value { color: var(--nf-ink); }

.nf-row--save .nf-row__value { color: var(--nf-lime-dark); }

.nf-recurring {
  border: 1px solid var(--nf-black);
  background: var(--nf-light);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-recurring__amount {
  font-family: "League Gothic", "Arial Narrow", sans-serif;
  font-size: 28px;
  line-height: 0.9;
  text-transform: uppercase;
}

/* ---- "Para todo lo que te mueve" photo tiles ----
   Applied only to tiles that have a real photo; the rest keep the design's
   hatched placeholder. The figure keeps its generated classes (border, aspect
   ratio), so a photo tile and a placeholder tile line up exactly. */

.nf-moment {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  background-image: none !important;
}

.nf-moment__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 650ms var(--nf-ease);
}

.nf-moment:hover .nf-moment__img { transform: scale(1.04); }

/* the label pill floats over the photo, top-left, matching the placeholder */
.nf-moment__pill { position: absolute; top: 16px; left: 16px; z-index: 1; }

/* keeps a white-on-black pill readable over a bright photo */
.nf-moment::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.35), rgba(8, 8, 8, 0));
  pointer-events: none;
}

/* ---- utility ---- */

.nf-hidden { display: none !important; }
.nf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
