/* 
 * NiceMoDz Theme Styles
 * Ported from gaming-marketplace-landing-page
 */

:root {
  /* Premium tech / elite gaming dashboard palette */
  --background: oklch(0.14 0.005 240);
  --foreground: oklch(0.97 0 0);

  --card: oklch(0.18 0.006 240);
  --card-foreground: oklch(0.97 0 0);

  --popover: oklch(0.18 0.006 240);
  --popover-foreground: oklch(0.97 0 0);

  /* Electric lime — signature accent */
  --primary: oklch(0.88 0.22 130);
  --primary-foreground: oklch(0.14 0.005 240);

  --secondary: oklch(0.22 0.006 240);
  --secondary-foreground: oklch(0.97 0 0);

  --muted: oklch(0.22 0.006 240);
  --muted-foreground: oklch(0.65 0.01 240);

  --accent: oklch(0.24 0.008 240);
  --accent-foreground: oklch(0.97 0 0);

  --destructive: oklch(0.65 0.22 25);
  --destructive-foreground: oklch(0.97 0 0);

  --border: oklch(0.24 0.008 240);
  --input: oklch(0.24 0.008 240);
  --checkout-input-bg: oklch(0.20 0.006 240);
  --ring: oklch(0.88 0.22 130);

  --chart-1: oklch(0.88 0.22 130);
  --chart-2: oklch(0.7 0.15 200);
  --chart-3: oklch(0.8 0.18 60);
  --chart-4: oklch(0.6 0.12 280);
  --chart-5: oklch(0.5 0.08 240);

  --radius: 0.5rem;

  --sidebar: oklch(0.16 0.005 240);
  --sidebar-foreground: oklch(0.97 0 0);
  --sidebar-primary: oklch(0.88 0.22 130);
  --sidebar-primary-foreground: oklch(0.14 0.005 240);
  --sidebar-accent: oklch(0.22 0.006 240);
  --sidebar-accent-foreground: oklch(0.97 0 0);
  --sidebar-border: oklch(0.26 0.008 240);
  --sidebar-ring: oklch(0.88 0.22 130);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
}

.nmg-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--foreground);
  text-decoration: none;
}

.nmg-brand--image {
  flex: 0 1 auto;
}

.nmg-site-header__inner {
  min-width: 0;
}

.nmg-header-actions {
  min-width: 0;
  flex-shrink: 0;
}

.nmg-brand__image {
  display: block;
  width: auto;
  height: 2.7rem;
  max-width: min(14.8rem, 44vw);
  object-fit: contain;
}

.nmg-brand--footer .nmg-brand__image {
  height: 3.3rem;
  max-width: min(17rem, 100%);
}

.nmg-brand__mark {
  position: relative;
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--primary);
  border-radius: 0.72rem;
  background:
    radial-gradient(circle at 34% 20%, oklch(0.88 0.22 130 / 0.28), transparent 42%),
    linear-gradient(145deg, oklch(0.11 0.005 240), oklch(0.045 0.005 240));
  box-shadow:
    0 0 0 1px oklch(0.88 0.22 130 / 0.18),
    0 0.9rem 1.9rem oklch(0.88 0.22 130 / 0.16),
    inset 0 1px 0 oklch(1 0 0 / 0.08);
}

.nmg-brand__mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 0.62rem;
  background:
    linear-gradient(135deg, oklch(1 0 0 / 0.08), transparent 45%),
    linear-gradient(315deg, oklch(0.88 0.22 130 / 0.12), transparent 50%);
  pointer-events: none;
}

.nmg-brand__svg {
  position: relative;
  z-index: 1;
  width: 1.84rem;
  height: 1.84rem;
  filter: drop-shadow(0 0 0.45rem oklch(0.88 0.22 130 / 0.5));
}

.nmg-brand__emblem,
.nmg-brand__bolt {
  fill: var(--primary);
}

.nmg-brand__bolt {
  opacity: 0.96;
}

.nmg-brand__copy {
  display: grid;
  min-width: 0;
  gap: 0.13rem;
  padding-left: 0.68rem;
  border-left: 1px solid oklch(1 0 0 / 0.16);
  line-height: 1;
}

.nmg-brand__name {
  background: linear-gradient(180deg, oklch(1 0 0) 0%, oklch(0.96 0 0) 58%, oklch(0.82 0.006 240) 100%);
  background-clip: text;
  color: transparent;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-shadow:
    0 1px 0 oklch(0 0 0 / 0.42),
    0 0 0.5rem oklch(1 0 0 / 0.12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nmg-brand__meta {
  max-width: 10rem;
  overflow: hidden;
  color: var(--muted-foreground);
  font-family: "Geist Mono", "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nmg-brand--footer .nmg-brand__mark {
  width: 2.3rem;
  height: 2.3rem;
}

.nmg-brand--footer .nmg-brand__meta {
  max-width: 13rem;
}

@media (max-width: 420px) {
  .nmg-brand {
    gap: 0.56rem;
  }

  .nmg-header-actions {
    gap: 0.375rem !important;
  }

  .nmg-brand__image {
    height: 2.2rem;
    max-width: 44vw;
  }

  .nmg-brand__mark {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.62rem;
  }

  .nmg-brand__svg {
    width: 1.58rem;
    height: 1.58rem;
  }

  .nmg-brand__name {
    font-size: 0.86rem;
  }

  .nmg-brand__copy {
    padding-left: 0.54rem;
  }

  .nmg-brand__meta {
    max-width: 7.2rem;
    font-size: 0.55rem;
  }
}

@media (max-width: 380px) {
  .nmg-header-actions > .nmg-currency-switcher {
    display: none;
  }
}

@media (max-width: 340px) {
  .nmg-brand__image {
    height: 2rem;
    max-width: 42vw;
  }

  .nmg-header-actions .nmg-header-cart,
  .nmg-header-actions .nmg-header-account,
  .nmg-header-actions #menu-toggle {
    width: 2rem !important;
    height: 2rem !important;
  }
}

/* Subtle technical grid backdrop */
.bg-grid {
  background-image:
    linear-gradient(to right, oklch(0.26 0.008 240 / 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.26 0.008 240 / 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
}

.bg-grid-fade {
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Marquee animation for wall of love */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 120s linear infinite;
}
.animate-marquee-reverse {
  animation: marquee 140s linear infinite reverse;
}
.pause-on-hover:hover .animate-marquee,
.pause-on-hover:hover .animate-marquee-reverse {
  animation-play-state: paused;
}

/* Review cards in wall carousel */
.nmg-review-card[data-expandable-check] {
  position: relative;
  z-index: 1;
}

.nmg-review-card[data-expandable-check] .nmg-review-card__body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.nmg-review-card[data-expandable-check] .nmg-review-card__body-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(to bottom, transparent, oklch(0.18 0.006 240));
}

.nmg-review-card[data-expandable-check].is-expandable .nmg-review-card__body-wrap::after {
  opacity: 1;
}

.nmg-review-card[data-expandable-check].is-long {
  min-height: 11.5rem;
}

.nmg-review-card[data-expandable-check].is-expandable:hover,
.nmg-review-card[data-expandable-check].is-expandable:focus-within {
  z-index: 40;
  min-height: auto;
  box-shadow: 0 16px 48px oklch(0 0 0 / 0.45);
  border-color: oklch(0.88 0.22 130 / 0.35);
}

.nmg-review-card[data-expandable-check].is-expandable:hover .nmg-review-card__body,
.nmg-review-card[data-expandable-check].is-expandable:focus-within .nmg-review-card__body {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.nmg-review-card[data-expandable-check].is-expandable:hover .nmg-review-card__body-wrap::after,
.nmg-review-card[data-expandable-check].is-expandable:focus-within .nmg-review-card__body-wrap::after {
  opacity: 0;
}

.nmg-line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.nmg-hover-marquee {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.nmg-hover-marquee__text {
  display: inline-block;
  transform: translateX(0);
}

.nmg-hover-marquee.is-overflowing .nmg-hover-marquee__text {
  padding-right: 1.5rem;
  will-change: transform;
}

.group:hover .nmg-hover-marquee.is-overflowing .nmg-hover-marquee__text,
.group:focus-visible .nmg-hover-marquee.is-overflowing .nmg-hover-marquee__text {
  animation: nmg-hover-marquee 7s ease-in-out infinite alternate;
}

@keyframes nmg-hover-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--nmg-marquee-distance, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee,
  .animate-marquee-reverse,
  .animate-ping {
    animation: none !important;
  }

  .nmg-review-card[data-expandable-check].is-expandable .nmg-review-card__body {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .nmg-review-card[data-expandable-check].is-expandable .nmg-review-card__body-wrap::after {
    opacity: 0;
  }

  .group:hover .nmg-hover-marquee.is-overflowing .nmg-hover-marquee__text,
  .group:focus-visible .nmg-hover-marquee.is-overflowing .nmg-hover-marquee__text {
    animation: none;
  }
}

/* Soft live status pulse */
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.6); }
}
.status-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: currentColor;
  animation: status-pulse 2s ease-in-out infinite;
}

/* WooCommerce Compatibility */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  padding: 0 !important;
  margin: 2rem 0 !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 1.25rem !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product:hover {
  border-color: oklch(0.88 0.22 130 / 0.4) !important;
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-top: 1rem !important;
}

.woocommerce ul.products li.product .price {
  color: var(--primary) !important;
  font-family: "Geist Mono", "JetBrains Mono", monospace !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.2s ease !important;
}

.woocommerce a.button:hover {
  background-color: oklch(0.88 0.22 130 / 0.9) !important;
}

.nmg-icon {
  display: inline-block;
  vertical-align: middle;
}

header.sticky {
  border-bottom: 1px solid oklch(0.26 0.008 240 / 0.6) !important;
  box-shadow: none !important;
}

.nmg-hero-chip {
  border-color: oklch(0.26 0.008 240 / 0.8) !important;
  background-color: oklch(0.18 0.006 240 / 0.4) !important;
  box-shadow: none !important;
}

.nmg-hero-chip:hover {
  border-color: oklch(0.88 0.22 130 / 0.3) !important;
}

.nmg-hero-chip svg {
  color: oklch(0.88 0.22 130) !important;
}

.nmg-hero-chip span {
  color: oklch(0.65 0.01 240) !important;
}

.woocommerce .products::before,
.woocommerce .products::after {
  display: none !important;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0 !important;
  display: flex;
  gap: 0.5rem;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 2.25rem;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem;
  background: var(--card) !important;
  color: var(--foreground) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.woocommerce a.added_to_cart {
  display: none !important;
}

.nmg-single-product-purchase .single-product-cart form.cart {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
}

.nmg-single-product-purchase .single-product-cart .nmg-qty-stepper {
  width: 100%;
  justify-content: center;
}

.nmg-single-product-purchase .nmg-single-product__price .amount,
.nmg-single-product-purchase .nmg-single-product__price ins .amount {
  color: var(--foreground);
  text-decoration: none;
}

.nmg-single-product-purchase .nmg-single-product__price del .amount {
  color: oklch(0.65 0.01 240);
  font-size: 1rem;
}

.nmg-single-product-purchase .single_add_to_cart_button.nmg-shop-add-btn,
.nmg-single-product-purchase .nmg-single-product__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.35),
    0 10px 28px oklch(0.88 0.22 130 / 0.14) !important;
  cursor: pointer !important;
  transform: none !important;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

.nmg-single-product-purchase .nmg-single-product__cta-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.nmg-single-product-purchase .nmg-single-product__cta-label {
  line-height: 1;
}

.nmg-single-product-purchase .single_add_to_cart_button.nmg-shop-add-btn:hover,
.nmg-single-product-purchase .nmg-single-product__cta:hover {
  background: oklch(0.88 0.22 130 / 0.94) !important;
  color: var(--primary-foreground) !important;
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.45),
    0 14px 36px oklch(0.88 0.22 130 / 0.18) !important;
  transform: translateY(-1px) !important;
}

.nmg-single-product-purchase .single_add_to_cart_button.nmg-shop-add-btn:active,
.nmg-single-product-purchase .nmg-single-product__cta:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 0 oklch(0.88 0.22 130 / 0.25) !important;
}

.nmg-single-product-purchase .single_add_to_cart_button.nmg-shop-add-btn:focus-visible,
.nmg-single-product-purchase .nmg-single-product__cta:focus-visible {
  outline: 2px solid oklch(0.88 0.22 130 / 0.65);
  outline-offset: 2px;
}

/* Single product — platform picker (matches checkout payment cards) */
.nmg-platform-picker {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.14 0.005 240 / 0.55);
}

.nmg-platform-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.nmg-platform-picker__label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
}

.nmg-platform-picker__required {
  padding: 0.125rem 0.5rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.12);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-platform-picker__hint {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: oklch(0.65 0.01 240);
}

.nmg-platform-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.nmg-platform-picker__option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.nmg-platform-picker__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nmg-platform-picker__card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4.5rem;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: oklch(0.18 0.006 240 / 0.35);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nmg-platform-picker__option:hover .nmg-platform-picker__card {
  background: var(--card);
}

.nmg-platform-picker__option.is-selected .nmg-platform-picker__card,
.nmg-platform-picker__input:checked + .nmg-platform-picker__card {
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.88 0.22 130 / 0.06);
}

.nmg-platform-picker__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: oklch(0.68 0.01 240);
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nmg-platform-picker__option.is-selected .nmg-platform-picker__icon,
.nmg-platform-picker__input:checked + .nmg-platform-picker__card .nmg-platform-picker__icon {
  border-color: oklch(0.88 0.22 130 / 0.4);
  color: var(--primary);
}

.nmg-platform-picker__glyph {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  fill: none !important;
  stroke: currentColor;
}

.nmg-platform-icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  color: inherit;
  fill: currentColor;
  stroke: none;
  overflow: visible;
}

.nmg-platform-picker__copy {
  flex: 1;
  min-width: 0;
}

.nmg-platform-picker__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.2;
}

.nmg-platform-picker__meta {
  display: block;
  margin-top: 0.125rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-platform-picker__indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid oklch(0.35 0.008 240);
  border-radius: 9999px;
  background: transparent;
  color: transparent;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-platform-picker__check {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  stroke-width: 2.5;
}

.nmg-platform-picker__option.is-selected .nmg-platform-picker__indicator,
.nmg-platform-picker__input:checked + .nmg-platform-picker__card .nmg-platform-picker__indicator {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.12);
}

.nmg-platform-picker__radio {
  display: none;
}

.single-product-cart-v0 .nmg-platform-picker {
  margin-bottom: 0.25rem;
}

/* Single product — layout A2 */
.nmg-single-product {
  overflow-x: clip;
}

.nmg-single-product__hero {
  background: linear-gradient(180deg, oklch(0.12 0.005 240 / 0.65) 0%, var(--background) 100%);
  overflow-x: clip;
}

.nmg-single-product .nmg-single-product-details__title {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: wrap;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 767px) {
  .nmg-single-product .nmg-single-product-gallery,
  .nmg-single-product .nmg-single-product-details,
  .nmg-single-product .nmg-single-product-purchase {
    width: 100%;
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .nmg-single-product .nmg-single-product-details__title {
    max-width: calc(100vw - 2rem);
  }
}

@media (max-width: 479px) {
  .nmg-single-product .nmg-single-product-details__title {
    font-size: 1.75rem;
    letter-spacing: 0;
    line-height: 1.12;
  }
}

.nmg-single-product-purchase {
  max-width: 100%;
}

.nmg-single-product-purchase .nmg-platform-picker {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nmg-single-product-purchase .nmg-platform-picker__head {
  margin-bottom: 0.5rem;
}

.nmg-single-product-purchase .nmg-platform-picker__hint {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.nmg-single-product-purchase .nmg-platform-picker__grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.nmg-single-product-purchase .nmg-platform-picker__card {
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.75rem;
  gap: 0.625rem;
}

.nmg-single-product-purchase .nmg-platform-picker__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.4375rem;
}

.nmg-single-product-purchase .nmg-platform-picker__glyph {
  width: 1rem;
  height: 1rem;
}

.nmg-single-product-purchase .nmg-platform-icon {
  width: 1.375rem;
  height: 1.375rem;
}

.nmg-single-product-purchase .nmg-platform-picker__title {
  font-size: 0.875rem;
  line-height: 1.2;
}

.nmg-single-product-purchase .nmg-platform-picker__meta {
  margin-top: 0.125rem;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.nmg-single-product-purchase .nmg-platform-picker__indicator {
  width: 1.125rem;
  height: 1.125rem;
  border-width: 1.5px;
}

.nmg-single-product-purchase .nmg-platform-picker__option.is-selected .nmg-platform-picker__card,
.nmg-single-product-purchase .nmg-platform-picker__input:checked + .nmg-platform-picker__card {
  border-color: oklch(0.88 0.22 130 / 0.65);
  background: oklch(0.88 0.22 130 / 0.08);
  box-shadow: inset 0 0 0 1px oklch(0.88 0.22 130 / 0.18);
}

.nmg-single-product-purchase__pay-chip {
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
}

.nmg-payment-icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 1.25rem;
  aspect-ratio: 1 / 1;
  color: inherit;
  stroke: currentColor;
}

.nmg-payment-icon--chip {
  height: 1.125rem;
}

.nmg-payment-icon--md {
  height: 1.25rem;
}

.nmg-payment-icon--lg {
  height: 1.5rem;
}

.nmg-single-product-purchase__pay-chip {
  gap: 0.4rem;
}

.nmg-single-product-purchase__pay-chip .nmg-payment-icon {
  color: oklch(0.88 0.22 130 / 0.85);
}

.nmg-social-icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 1.125rem;
  aspect-ratio: 1 / 1;
  fill: currentColor;
  color: inherit;
}

.nmg-social-icon--sm {
  height: 1rem;
}

.nmg-social-icon--md {
  height: 1.125rem;
}

.nmg-social-icon--lg {
  height: 1.375rem;
}

.nmg-single-product-purchase #wccf_product_field_master_container:empty {
  display: none;
}

.nmg-single-product-purchase .nmg-single-product__price-row {
  padding-top: 0.125rem;
}

.nmg-single-product-purchase .nmg-single-product__price {
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  line-height: 1.05;
}

.nmg-single-product-purchase .single-product-cart form.cart {
  gap: 0.875rem;
}

.nmg-single-product-gallery__main {
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.65);
}

.nmg-single-product-gallery [data-nmg-gallery-stage],
.nmg-single-product-gallery__thumb > span {
  aspect-ratio: 3 / 2;
}

.nmg-single-product-gallery .nmg-single-product-gallery__zoom {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.nmg-single-product-gallery .nmg-single-product-gallery__zoom:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.nmg-single-product-gallery .nmg-single-product-gallery__zoom.hidden {
  display: none;
}

.nmg-single-product-gallery .nmg-single-product-gallery__hero,
.nmg-single-product-gallery .nmg-single-product-gallery__thumb img {
  object-fit: contain !important;
  object-position: center;
}

.nmg-single-product-gallery__video iframe {
  display: block;
  border: 0;
}

.nmg-single-product-gallery__thumb--video span {
  position: relative;
}

.nmg-single-product-gallery .nmg-single-product-gallery__thumb--video img {
  object-fit: cover !important;
}

.nmg-single-product-gallery__thumb--video span::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: oklch(0.88 0.22 130 / 0.92);
  color: oklch(0.14 0.005 240);
  font-size: 0.75rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nmg-product-lightbox-open {
  overflow: hidden;
}

.nmg-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
}

.nmg-product-lightbox[hidden] {
  display: none;
}

.nmg-product-lightbox__frame {
  display: flex;
  max-width: min(1120px, 96vw);
  max-height: 88vh;
  align-items: center;
  justify-content: center;
}

.nmg-product-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.nmg-product-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.97 0 0 / 0.18);
  border-radius: 999px;
  background: oklch(0.14 0.005 240 / 0.9);
  color: var(--foreground);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.nmg-product-lightbox__close:hover,
.nmg-product-lightbox__close:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.nmg-single-product-gallery .grid-cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
  max-width: 20rem;
}

.nmg-single-product-review-strip__track .nmg-review-card {
  width: min(340px, 85vw);
}

.nmg-single-product-tabs ol.commentlist {
  display: none !important;
}

.nmg-single-product-tabs .woocommerce-noreviews {
  margin-bottom: 1.5rem;
}

.nmg-single-product__hero .nmg-single-product__breadcrumb {
  opacity: 0.85;
}

.nmg-single-product-gallery__thumb.is-active {
  box-shadow: 0 0 0 1px oklch(0.88 0.22 130 / 0.25);
}

.nmg-single-product-purchase form.cart {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.nmg-single-product__price-row {
  order: 3;
}

.nmg-single-product-purchase .nmg-platform-picker {
  order: 1;
}

.nmg-single-product-purchase .single_add_to_cart_button.nmg-shop-add-btn {
  order: 5;
}

/* TM Extra Product Options — purchase sidebar */
.nmg-single-product-purchase #tm-extra-product-options,
.nmg-single-product-purchase .tm-extra-product-options {
  order: 2;
  width: 100%;
}

.nmg-single-product-purchase .tc-totals-form,
.nmg-single-product-purchase #tm-epo-totals {
  order: 4;
}

.nmg-single-product-purchase form.cart input[name="tm-epo-counter"],
.nmg-single-product-purchase form.cart input.tc-add-to-cart {
  order: 99;
  display: none !important;
}

.nmg-single-product-purchase #tm-extra-product-options .tm-extra-product-options-fields,
.nmg-single-product-purchase #tm-extra-product-options .cpf-section {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nmg-single-product-purchase #tm-extra-product-options .tm-extra-product-options-fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.nmg-single-product-purchase #tm-extra-product-options .cpf-element {
  margin: 0;
}

.nmg-single-product-purchase #tm-extra-product-options .tc-epo-label,
.nmg-single-product-purchase #tm-extra-product-options .tm-epo-element-label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nmg-single-product-purchase #tm-extra-product-options .tm-epo-required {
  color: var(--primary);
  margin-right: 0.2rem;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap,
.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap-inner,
.nmg-single-product-purchase #tm-extra-product-options .tc-element-container {
  width: 100%;
}

.nmg-single-product-purchase #tm-extra-product-options select.tmcp-field,
.nmg-single-product-purchase #tm-extra-product-options input.tmcp-field:not([type="checkbox"]):not([type="radio"]),
.nmg-single-product-purchase #tm-extra-product-options textarea.tmcp-field {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem;
  background: var(--checkout-input-bg) !important;
  background-color: var(--checkout-input-bg) !important;
  color: var(--foreground) !important;
  padding: 0.625rem 2.25rem 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.4;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-single-product-purchase #tm-extra-product-options textarea.tmcp-field {
  min-height: 6.5rem;
  resize: vertical;
  padding: 0.75rem 0.875rem;
}

.nmg-single-product-purchase #tm-extra-product-options select.tmcp-field {
  background-image:
    linear-gradient(45deg, transparent 50%, oklch(0.88 0.22 130 / 0.85) 50%),
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.85) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 1.125rem) calc(50% + 0.125rem),
    calc(100% - 0.75rem) calc(50% + 0.125rem) !important;
  background-size: 0.375rem 0.375rem, 0.375rem 0.375rem !important;
  background-repeat: no-repeat !important;
  cursor: pointer;
}

.nmg-single-product-purchase #tm-extra-product-options select.tmcp-field option {
  background: oklch(0.18 0.006 240);
  color: var(--foreground);
}

.nmg-single-product-purchase #tm-extra-product-options select.tmcp-field:focus,
.nmg-single-product-purchase #tm-extra-product-options select.tmcp-field:focus-visible,
.nmg-single-product-purchase #tm-extra-product-options input.tmcp-field:focus,
.nmg-single-product-purchase #tm-extra-product-options input.tmcp-field:focus-visible,
.nmg-single-product-purchase #tm-extra-product-options textarea.tmcp-field:focus,
.nmg-single-product-purchase #tm-extra-product-options textarea.tmcp-field:focus-visible {
  outline: none;
  border-color: oklch(0.88 0.22 130 / 0.55) !important;
  box-shadow: 0 0 0 2px oklch(0.88 0.22 130 / 0.12);
}

.nmg-single-product-purchase #tm-extra-product-options .tc-price {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  color: oklch(0.88 0.22 130 / 0.9);
  white-space: nowrap;
}

.nmg-single-product-purchase #tm-extra-product-options .tc-field-label-wrap.no-price + .tc-element-container,
.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap-inner .tc-element-container {
  flex: 1 1 auto;
  min-width: 0;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap-inner .tc-price {
  flex: 0 0 auto;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap-inner .tc-price:empty,
.nmg-single-product-purchase #tm-extra-product-options .tc-price[data-price="0"],
.nmg-single-product-purchase #tm-extra-product-options .tc-price .amount:empty {
  display: none;
}

.nmg-single-product-purchase #tm-extra-product-options .cpf-element.nmg-epo-hide-field-price .tc-price {
  display: none !important;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap.tmcp-checkbox-wrap,
.nmg-single-product-purchase #tm-extra-product-options .cpf-type-checkbox .tmcp-field-wrap-inner {
  align-items: flex-start;
}

.nmg-single-product-purchase #tm-extra-product-options .tmcp-checkbox-wrap label,
.nmg-single-product-purchase #tm-extra-product-options .tm-epo-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--foreground);
  cursor: pointer;
}

.nmg-single-product-purchase #tm-extra-product-options input[type="checkbox"].tmcp-field {
  width: 1rem;
  height: 1rem;
  min-height: 1rem;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.nmg-single-product-purchase #tm-extra-product-options .tc-chars,
.nmg-single-product-purchase #tm-extra-product-options .tc-chars-remaining,
.nmg-single-product-purchase #tm-extra-product-options .tmcp-ul-wrap + .tc-chars-remaining {
  margin-top: 0.375rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.nmg-single-product-purchase #tm-extra-product-options .cpf-hidden,
.nmg-single-product-purchase #tm-extra-product-options .tmcp-field-wrap.tc-hidden,
.nmg-single-product-purchase #tm-extra-product-options .cpf-element.tc-hidden {
  display: none !important;
}

.nmg-single-product-purchase .nmg-single-product__price-row {
  order: 3;
}

.nmg-single-product-purchase .nmg-single-product__price {
  margin: 0;
}

.nmg-single-product-review-strip__track {
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: oklch(0.88 0.22 130 / 0.35) transparent;
}

.nmg-single-product-review-strip__track::-webkit-scrollbar {
  height: 6px;
}

.nmg-single-product-review-strip__track::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.35);
}

.nmg-single-product-review-strip__track .nmg-review-card {
  scroll-snap-align: start;
  min-height: 100%;
}

.nmg-single-product__prose :where(h2, h3, h4) {
  color: var(--foreground);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nmg-single-product__prose :where(ul, ol) {
  padding-left: 1.25rem;
}

.prose :where(p, li) {
  color: oklch(0.65 0.01 240);
}

/* Single product — section dividers use border-border/40 utility */
.nmg-single-product-delivery {
  border-color: oklch(0.24 0.008 240 / 0.48);
}

.nmg-single-product-review-strip .nmg-review-card {
  border-color: oklch(0.24 0.008 240 / 0.55);
}

.nmg-review-all-modal__panel {
  width: min(72rem, calc(100vw - 2.5rem));
  max-height: min(92vh, 960px);
}

.nmg-review-all-modal__title {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--foreground);
}

.nmg-review-all-modal__meta {
  margin: 0.375rem 0 0;
}

.nmg-review-all-modal__body {
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 0.25rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: oklch(0.88 0.22 130 / 0.45) oklch(0.18 0.006 240 / 0.6);
}

.nmg-review-all-modal__body::-webkit-scrollbar {
  width: 8px;
}

.nmg-review-all-modal__body::-webkit-scrollbar-track {
  background: oklch(0.18 0.006 240 / 0.6);
  border-radius: 9999px;
  margin: 0.25rem 0;
}

.nmg-review-all-modal__body::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.45);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.nmg-review-all-modal__body::-webkit-scrollbar-thumb:hover {
  background: oklch(0.88 0.22 130 / 0.7);
  background-clip: padding-box;
}

.nmg-review-all-modal__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .nmg-review-all-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }
}

.nmg-review-all-modal__grid .nmg-review-card {
  height: 100%;
}

.nmg-single-product-review-strip__all {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .nmg-review-all-modal .nmg-review-modal__panel {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .nmg-review-all-modal .nmg-review-modal__header {
    padding: 1rem 1.125rem;
  }

  .nmg-review-all-modal__title {
    font-size: 1.0625rem;
  }

  .nmg-review-all-modal .nmg-review-modal__body {
    padding: 0.875rem 1.125rem calc(1.125rem + env(safe-area-inset-bottom));
  }

  .nmg-review-all-modal__grid {
    gap: 0.875rem;
  }
}

/* Single product — same-category related + compact delivery */
.nmg-single-product-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.nmg-single-product-related__title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.nmg-single-product-related__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.nmg-single-product-related__icon .nmg-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nmg-single-product-related__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nmg-single-product-related__label {
  color: var(--foreground);
}

.nmg-single-product-related__game {
  margin-left: 0.35rem;
  color: var(--primary);
}

.nmg-single-product-related__view-all {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nmg-single-product-related__view-all:hover {
  opacity: 0.85;
}

.nmg-single-product-related__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nmg-single-product-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.nmg-related-card {
  border: 1px solid oklch(0.26 0.008 240 / 0.62);
  border-radius: 1rem;
  background: oklch(0.13 0.01 240 / 0.72);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.nmg-related-card:hover {
  border-color: oklch(0.88 0.22 130 / 0.42);
  background: oklch(0.15 0.01 240 / 0.82);
}

.nmg-related-card__link {
  display: flex;
  align-items: stretch;
  gap: 1.125rem;
  min-height: 9.25rem;
  padding: 1.125rem;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .nmg-related-card__link {
    min-height: 9.75rem;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

.nmg-related-card__thumb {
  position: relative;
  flex: 0 0 38%;
  width: 38%;
  max-width: 8.25rem;
  min-width: 6.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid oklch(0.34 0.01 240 / 0.55);
  border-radius: 0.75rem;
  background: oklch(0.1 0.01 240);
}

.nmg-related-card__thumb img,
.nmg-related-card__thumb svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nmg-related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 0.125rem 0.25rem 0.125rem 0;
}

.nmg-related-card__copy {
  min-width: 0;
}

.nmg-related-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

@media (min-width: 1024px) {
  .nmg-related-card__title {
    font-size: 1.125rem;
  }
}

.nmg-related-card__sub {
  margin: 0.4rem 0 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.35;
  color: oklch(0.58 0.01 240);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nmg-related-card__foot {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
}

.nmg-related-card__code {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid oklch(0.38 0.01 240 / 0.65);
  border-radius: 0.375rem;
  background: oklch(0.1 0.01 240 / 0.85);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: oklch(0.72 0.01 240);
}

.nmg-related-card__platform {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: oklch(0.55 0.01 240);
}

.nmg-related-card__price {
  margin-left: auto;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .nmg-related-card__price {
    font-size: 1.1875rem;
  }
}

.nmg-related-card__price .amount {
  color: inherit;
}

.nmg-related-card__arrow {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 1;
}

.nmg-related-card__arrow .nmg-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.nmg-single-product-delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid oklch(0.28 0.01 240 / 0.65);
  border-radius: 0.75rem;
  background: oklch(0.12 0.01 240 / 0.65);
}

.nmg-single-product-delivery--solo {
  margin-top: 0;
}

.nmg-single-product-delivery__main {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
}

.nmg-single-product-delivery__icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.nmg-single-product-delivery__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: oklch(0.68 0.01 240);
}

.nmg-single-product-delivery__faq {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.nmg-single-product-delivery__faq:hover {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .nmg-single-product-related__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nmg-related-card__link {
    min-height: 0;
  }

  .nmg-single-product-delivery {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Track order — WooCommerce notices + legacy form cleanup */
.nmg-track-order .woocommerce-message,
.nmg-track-order .woocommerce-info,
.nmg-track-order .woocommerce-error {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.nmg-track-order .woocommerce-message,
.nmg-track-order .woocommerce-info {
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  background: oklch(0.88 0.22 130 / 0.08);
  color: var(--foreground);
}

.nmg-track-order .woocommerce-error {
  border: 1px solid oklch(0.65 0.2 25 / 0.45);
  background: oklch(0.65 0.2 25 / 0.1);
  color: oklch(0.75 0.15 25);
}

.nmg-track-order .track_order .clear {
  display: none;
}

.nmg-track-order .form-row-first,
.nmg-track-order .form-row-last {
  width: 100%;
  float: none;
}

/* CURCY: hide floating sidebar (header switcher replaces it) */
.woocommerce-multi-currency.wmc-sidebar.wmc-bottom {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Header currency switcher — theme-native dropdown */
.nmg-currency-switcher {
  position: relative;
  z-index: 50;
}

.nmg-currency-switcher__wrap {
  position: relative;
}

.nmg-currency-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.6rem 0 0.45rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-currency-switcher__trigger:hover,
.nmg-currency-switcher.is-open .nmg-currency-switcher__trigger {
  border-color: oklch(0.88 0.22 130 / 0.55);
  box-shadow: 0 0 0 1px oklch(0.88 0.22 130 / 0.15);
}

.nmg-currency-switcher__code {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
}

.nmg-currency-switcher__flag {
  flex-shrink: 0;
  transform: scale(0.9);
  transform-origin: center;
}

.nmg-currency-switcher__chevron {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s ease;
}

.nmg-currency-switcher.is-open .nmg-currency-switcher__chevron {
  transform: rotate(-135deg) translateY(1px);
}

.nmg-currency-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 10.5rem;
  max-height: min(18rem, 70vh);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: var(--card);
  box-shadow: 0 20px 48px -24px oklch(0 0 0 / 0.85);
  z-index: 80;
}

.nmg-currency-switcher__menu[hidden] {
  display: none !important;
}

.nmg-currency-switcher__item {
  margin: 0;
  padding: 0;
}

.nmg-currency-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.375rem;
  color: oklch(0.65 0.01 240);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nmg-currency-switcher__option:hover,
.nmg-currency-switcher__option:focus-visible {
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--foreground);
  outline: none;
}

#mobile-menu .nmg-currency-switcher__wrap {
  width: 100%;
}

#mobile-menu .nmg-currency-switcher__trigger {
  width: 100%;
  justify-content: space-between;
}

#mobile-menu .nmg-currency-switcher__menu {
  position: static;
  width: 100%;
  margin-top: 0.5rem;
  max-height: none;
  box-shadow: none;
}

/* Legacy CURCY shortcode fallback (if native renderer unavailable) */
.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.layout5,
.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  width: auto !important;
  min-height: 2.25rem;
  padding: 0 1.65rem 0 0.45rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem !important;
  background: var(--card) !important;
  color: var(--foreground) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency {
  right: 0;
  left: auto;
  width: auto !important;
  min-width: 10.5rem;
  padding: 0.35rem !important;
  border: 1px solid var(--border) !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0.625rem !important;
  background: var(--card) !important;
  box-shadow: 0 20px 48px -24px oklch(0 0 0 / 0.85);
}

.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a,
.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a span {
  color: oklch(0.65 0.01 240) !important;
}

.nmg-currency-switcher--legacy .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a:hover {
  background: oklch(0.88 0.22 130 / 0.12) !important;
  color: var(--foreground) !important;
}

.nmg-currency-switcher--legacy .wmc-current-currency-code,
.nmg-currency-switcher--legacy .wmc-sub-currency-code {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground) !important;
}

.nmg-currency-switcher--legacy .wmc-currency-wrapper .wmc-current-currency-arrow::after {
  color: var(--primary) !important;
  font-size: 0.6rem !important;
}

.nmg-currency-switcher--fallback .woocommerce-multi-currency.wmc-shortcode.layout3 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  max-width: 7.5rem;
  overflow-x: auto;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  scrollbar-width: none;
}

.nmg-currency-switcher--fallback .woocommerce-multi-currency.wmc-shortcode.layout3::-webkit-scrollbar {
  display: none;
}

/* Cart — landing CartView (components/cart-view.tsx) */
.nmg-cart-layout__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nmg-cart-layout__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .nmg-cart-collaterals {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

.nmg-cart-collaterals {
  width: 100%;
  float: none;
  margin: 0;
}

.nmg-cart-lines {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  overflow: hidden;
}

.nmg-cart-lines__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.nmg-cart-lines__count,
.nmg-cart-lines__clear {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  text-decoration: none;
}

.nmg-cart-lines__clear:hover {
  color: oklch(0.65 0.2 25);
}

.nmg-cart-lines__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nmg-cart-line {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

.nmg-cart-line:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .nmg-cart-line {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.nmg-cart-line__info {
  min-width: 0;
  flex: 1;
}

.nmg-cart-line__game {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-cart-line__title {
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.nmg-cart-line__title a {
  color: inherit;
  text-decoration: none;
}

.nmg-cart-line__title a:hover {
  color: var(--primary);
}

.nmg-cart-line__unit {
  margin-top: 0.25rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  color: oklch(0.65 0.01 240);
}

.nmg-cart-line__unit .amount,
.nmg-cart-line__unit .woocommerce-Price-amount {
  color: oklch(0.65 0.01 240) !important;
}

.nmg-cart-line__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nmg-cart-line__subtotal {
  width: 5rem;
  text-align: right;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.nmg-cart-line__subtotal .amount,
.nmg-cart-line__subtotal .woocommerce-Price-amount {
  color: var(--foreground) !important;
}

.nmg-cart-form-actions {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nmg-cart-qty {
  flex-shrink: 0;
  width: auto;
  max-width: none;
}

/* Qty stepper — landing CartView (− 1 +) */
.nmg-qty-stepper {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
}

.nmg-qty-stepper__icon {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
}

.nmg-qty-stepper .nmg-qty-minus,
.nmg-qty-stepper .nmg-qty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: oklch(0.65 0.01 240);
  cursor: pointer;
  transition: color 0.15s ease;
}

.nmg-qty-stepper .nmg-qty-minus:hover,
.nmg-qty-stepper .nmg-qty-plus:hover {
  color: var(--foreground);
}

.nmg-qty-stepper .nmg-qty-stepper__input,
.nmg-qty-stepper .qty {
  width: 2rem;
  min-width: 2rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--foreground);
  text-align: center;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 2.25rem;
  box-shadow: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.nmg-qty-stepper .qty:focus {
  outline: none;
  box-shadow: none;
}

.nmg-qty-stepper .qty::-webkit-outer-spin-button,
.nmg-qty-stepper .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nmg-cart-qty .nmg-qty-stepper {
  vertical-align: middle;
}

/* Cart shell treats .input-text as full-width — keep stepper compact */
.nmg-wc-shell .nmg-qty-stepper .input-text.qty,
.nmg-wc-shell .nmg-qty-stepper .nmg-qty-stepper__input {
  width: 2rem !important;
  min-width: 2rem !important;
  max-width: 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  height: 2.25rem !important;
  line-height: 2.25rem !important;
  box-sizing: border-box;
}

.nmg-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  color: oklch(0.65 0.01 240);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nmg-cart-remove:hover {
  background: oklch(0.65 0.2 25 / 0.1);
  color: oklch(0.65 0.2 25);
}

.nmg-cart-remove__icon {
  width: 1rem;
  height: 1rem;
}

/* Order summary aside */
.nmg-cart-layout .nmg-cart-totals,
.nmg-cart-layout .cart_totals.nmg-cart-totals {
  width: 100%;
  float: none;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.nmg-cart-totals__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-cart-totals__title {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
  color: var(--foreground);
}

.nmg-cart-totals__list {
  margin: 1.5rem 0 0;
  padding: 0;
}

.nmg-cart-totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.nmg-cart-totals__row + .nmg-cart-totals__row {
  margin-top: 0.75rem;
}

.nmg-cart-totals__row dt,
.nmg-cart-totals__row dd {
  margin: 0;
}

.nmg-cart-totals__row dt {
  color: oklch(0.65 0.01 240);
}

.nmg-cart-totals__row dd {
  font-family: Geist Mono, ui-monospace, monospace;
  color: var(--foreground);
}

.nmg-cart-totals__highlight {
  color: var(--primary) !important;
}

.nmg-cart-totals__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nmg-cart-totals__total-label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-cart-totals__total-value {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.nmg-cart-totals__total-value strong,
.nmg-cart-totals__total-value .amount,
.nmg-cart-totals__total-value .woocommerce-Price-amount,
.nmg-cart-totals__total-value bdi {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  letter-spacing: inherit;
  color: var(--foreground) !important;
}

.nmg-cart-totals__checkout {
  margin: 1.5rem 0 0;
  padding: 0;
}

.nmg-cart-totals a.nmg-cart-totals__checkout-btn,
.nmg-cart-totals .checkout-button.nmg-cart-totals__checkout-btn {
  display: inline-flex !important;
  width: 100%;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 9999px !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  padding: 0 1rem !important;
}

.nmg-cart-totals a.nmg-cart-totals__checkout-btn:hover,
.nmg-cart-totals .checkout-button.nmg-cart-totals__checkout-btn:hover {
  background: oklch(0.88 0.22 130 / 0.9) !important;
  color: var(--primary-foreground) !important;
}

.nmg-cart-totals__continue {
  margin: 0.5rem 0 0;
}

.nmg-cart-totals a.nmg-cart-totals__continue-link {
  display: inline-flex;
  width: 100%;
  height: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  padding: 0 1rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nmg-cart-totals__continue-link:hover {
  border-color: oklch(0.88 0.22 130 / 0.45);
  color: var(--primary);
}

.nmg-cart-totals__footnote {
  margin: 1.25rem 0 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: oklch(0.65 0.01 240);
}

/* Cart & checkout shell */
.nmg-wc-shell .woocommerce {
  width: 100%;
}

.nmg-checkout-section .woocommerce-billing-fields > h3,
.nmg-checkout-section .woocommerce-shipping-fields > h3 {
  display: none;
}

.nmg-wc-shell #order_review_heading {
  display: none;
}

.nmg-checkout-summary-head + #order_review_heading {
  display: none;
}

.nmg-wc-shell .woocommerce-message,
.nmg-wc-shell .woocommerce-info,
.nmg-wc-shell .woocommerce-error {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.nmg-wc-shell .woocommerce-message,
.nmg-wc-shell .woocommerce-info {
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  background: oklch(0.88 0.22 130 / 0.08);
  color: var(--foreground);
}

.nmg-wc-shell .woocommerce-error {
  border: 1px solid oklch(0.65 0.2 25 / 0.45);
  background: oklch(0.65 0.2 25 / 0.1);
  color: oklch(0.75 0.15 25);
}

.nmg-wc-shell .cart_totals:not(.nmg-cart-totals) {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.25rem 1.5rem;
}

.nmg-wc-shell .cart_totals:not(.nmg-cart-totals) > h2 {
  font-size: 0.6875rem;
  font-family: Geist Mono, ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  margin: 0 0 1rem;
}

.nmg-wc-shell .cart_totals table {
  width: 100%;
  border: 0;
}

.nmg-wc-shell .cart_totals th,
.nmg-wc-shell .cart_totals td {
  border: 0;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  background: transparent !important;
}

.nmg-wc-shell .cart_totals .order-total th,
.nmg-wc-shell .cart_totals .order-total td {
  font-size: 1rem;
  font-weight: 600;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.nmg-wc-shell .wc-proceed-to-checkout {
  margin-top: 1.25rem;
}

.nmg-wc-shell .wc-proceed-to-checkout .checkout-button,
.nmg-wc-shell .button,
.nmg-wc-shell button.button,
.nmg-wc-shell input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  border: 0;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nmg-wc-shell .wc-proceed-to-checkout .checkout-button:hover,
.nmg-wc-shell .button:hover,
.nmg-wc-shell button.button:hover,
.nmg-wc-shell input.button:hover {
  background: oklch(0.88 0.22 130 / 0.9) !important;
}

.nmg-wc-shell .input-text:not(.qty),
.nmg-wc-shell input[type="text"]:not(.qty),
.nmg-wc-shell input[type="email"],
.nmg-wc-shell input[type="tel"],
.nmg-wc-shell input[type="password"],
.nmg-wc-shell input[type="number"]:not(.qty),
.nmg-wc-shell select,
.nmg-wc-shell textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
}

.nmg-checkout-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nmg-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}

.nmg-wc-shell .nmg-checkout-aside #order_review {
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  padding: 0 !important;
  overflow: visible;
}

.nmg-checkout-summary-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.nmg-checkout-summary-card .woocommerce-checkout-review-order-table,
.nmg-checkout-review-table-fallback {
  display: none !important;
}

.nmg-checkout-summary-card .nmg-checkout-review__items {
  margin-top: 1.25rem;
}

.nmg-wc-shell #payment {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  background: transparent !important;
}

.nmg-wc-shell #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.nmg-wc-shell #payment ul.payment_methods li {
  margin: 0 0 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
}

.nmg-wc-shell #payment .payment_box {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.18 0.006 240 / 0.6);
  color: var(--foreground);
}

.nmg-wc-shell .select2-container--default .select2-selection--single,
.nmg-wc-shell select#billing_country,
.nmg-wc-shell select#shipping_country {
  height: auto;
  min-height: 2.75rem;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem !important;
  background: var(--background) !important;
  color: var(--foreground) !important;
}

.nmg-wc-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--foreground) !important;
  line-height: 2.5rem;
}

.nmg-wc-shell .select2-dropdown {
  border-color: var(--border) !important;
  background: var(--card) !important;
  color: var(--foreground);
}

.nmg-wc-shell .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: oklch(0.88 0.22 130 / 0.15) !important;
  color: var(--foreground) !important;
}

.nmg-wc-shell #customer_details .col-1,
.nmg-wc-shell #customer_details .col-2 {
  width: 100%;
  float: none;
  margin: 0;
}

.nmg-wc-shell .nmg-checkout-aside #order_review_heading {
  display: none;
}

.nmg-wc-shell .woocommerce-billing-fields > h3,
.nmg-wc-shell .woocommerce-shipping-fields > h3 {
  font-size: 0.6875rem;
  font-family: Geist Mono, ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  margin: 0 0 1rem;
}

/* CheckoutFlow section headers — must not inherit WC billing h3 label styles */
.nmg-checkout-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.nmg-checkout-section__step {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: oklch(0.88 0.22 130 / 0.1);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.nmg-checkout-section__intro {
  flex: 1;
  min-width: 0;
}

.nmg-checkout-section__title {
  margin: 0;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-transform: none;
  color: var(--foreground);
}

.nmg-checkout-section__description {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.nmg-checkout-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--checkout-block-gap);
  margin-top: var(--checkout-block-gap);
}

.nmg-wc-shell .woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
}

.nmg-header-account {
  color: var(--foreground);
  text-decoration: none;
}

.nmg-header-account.is-active {
  border-color: oklch(0.88 0.22 130 / 0.6);
  color: var(--primary);
  background: oklch(0.88 0.22 130 / 0.08);
}

.nmg-account-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nmg-account-layout {
    grid-template-columns: 304px minmax(0, 1fr);
  }
}

.nmg-account-layout::before,
.nmg-account-layout::after {
  display: none !important;
}

.nmg-account-layout__nav,
.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin: 0;
}

.nmg-account-nav-card {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.88 0.22 130 / 0.2);
  border-radius: 0.875rem;
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.08), transparent 34%),
    linear-gradient(180deg, oklch(0.16 0.006 240), oklch(0.115 0.004 240));
  box-shadow: 0 1.25rem 3.5rem oklch(0 0 0 / 0.28);
  padding: 1.125rem;
}

.nmg-account-nav-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.22 130 / 0.65), transparent);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .nmg-account-layout__nav,
  .nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 5rem;
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .nmg-account-layout__nav::-webkit-scrollbar,
  .nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar {
    display: none;
  }
}

.nmg-account-nav-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.5rem 0.5rem 1rem;
  border-bottom: 1px solid oklch(0.88 0.22 130 / 0.12);
  margin-bottom: 0.875rem;
}

.nmg-account-nav-card__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background:
    linear-gradient(180deg, oklch(0.88 0.22 130 / 0.2), oklch(0.88 0.22 130 / 0.08));
  color: var(--primary);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08);
}

.nmg-account-nav-card__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-nav-card__title {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--foreground);
}

.nmg-account-nav-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.16);
  border-radius: 0.625rem;
  background: oklch(0.88 0.22 130 / 0.06);
  margin-bottom: 1rem;
  padding: 0.75rem 0.875rem;
  color: oklch(0.72 0.01 240);
  font-size: 0.75rem;
  line-height: 1;
}

.nmg-account-nav-card__status strong {
  position: relative;
  color: var(--primary);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nmg-account-nav-card__status strong::before {
  content: "";
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  margin-right: 0.375rem;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 0 1rem oklch(0.88 0.22 130 / 0.9);
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1023px) {
  .nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  padding: 0.375rem 0.625rem;
  color: oklch(0.7 0.01 240);
  font-size: 0.875rem !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  border-color: oklch(0.88 0.22 130 / 0.16);
  background: oklch(0.2 0.006 240 / 0.75);
  color: var(--foreground);
  transform: translateX(2px);
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  border-color: oklch(0.88 0.22 130 / 0.32);
  background:
    linear-gradient(90deg, oklch(0.88 0.22 130 / 0.18), oklch(0.88 0.22 130 / 0.06));
  color: var(--primary);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06), 0 0.875rem 2rem oklch(0.88 0.22 130 / 0.08);
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: oklch(0.75 0.15 25);
}

.nmg-account-nav-card__link-icon {
  display: inline-flex;
  width: 1.875rem;
  height: 1.875rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: oklch(0.22 0.006 240 / 0.72);
  color: currentColor;
}

.nmg-account-nav-card__link-icon svg {
  width: 0.9375rem !important;
  height: 0.9375rem !important;
  stroke-width: 2 !important;
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation li.is-active .nmg-account-nav-card__link-icon {
  background: oklch(0.88 0.22 130 / 0.16);
}

.nmg-account-nav-card__link-label {
  min-width: 0;
  flex: 1;
  padding-top: 0.0625rem;
  color: inherit;
  font-size: 0.875rem !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
}

.nmg-account-nav-card__link-arrow {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0;
  transform: translateX(-0.25rem);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation a:hover .nmg-account-nav-card__link-arrow,
.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-navigation li.is-active .nmg-account-nav-card__link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nmg-account-nav-card ul {
  display: grid !important;
  gap: 0.625rem !important;
}

.nmg-account-nav-card li {
  margin: 0 !important;
  padding: 0 !important;
}

.nmg-account-nav-card li::before,
.nmg-account-nav-card li::after {
  display: none !important;
}

.nmg-account-nav-card a {
  display: grid !important;
  grid-template-columns: 2.25rem minmax(0, 1fr) 0.875rem;
  min-height: 2.75rem !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.9375rem !important;
  line-height: 1.15 !important;
}

.nmg-account-nav-card__link-icon {
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 0.625rem !important;
}

.nmg-account-nav-card__link-icon svg {
  width: 1rem !important;
  height: 1rem !important;
}

.nmg-account-nav-card__link-label {
  display: block !important;
  font-size: 0.9375rem !important;
  line-height: 1.15 !important;
}

.nmg-account-layout__content,
.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  min-width: 0;
  border: 1px solid oklch(0.72 0.01 240 / 0.16);
  border-radius: 0.875rem;
  background:
    radial-gradient(circle at 16% 0%, oklch(0.88 0.22 130 / 0.06), transparent 34rem),
    linear-gradient(180deg, oklch(0.155 0.006 240), oklch(0.105 0.004 240));
  box-shadow: 0 1.25rem 3.5rem oklch(0 0 0 / 0.22);
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .nmg-account-layout__content,
  .nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-content {
    padding: 1.75rem;
  }
}

.nmg-wc-shell .woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
}

.nmg-wc-shell .woocommerce-account .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  min-height: 4.5rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.13), oklch(0.88 0.22 130 / 0.04) 42%, oklch(0.15 0.006 240 / 0.86)),
    oklch(0.135 0.006 240);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06), 0 1rem 2.5rem oklch(0 0 0 / 0.18);
  color: var(--foreground);
  margin: 0;
  padding: 1rem 1.125rem;
  font-weight: 650;
  line-height: 1.5;
}

.nmg-wc-shell .woocommerce-account .woocommerce-info::before {
  content: "";
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background:
    linear-gradient(180deg, oklch(0.88 0.22 130 / 0.2), oklch(0.88 0.22 130 / 0.08)),
    oklch(0.16 0.006 240);
  box-shadow: inset 0 0 0 0.45rem oklch(0.88 0.22 130 / 0.08);
}

.nmg-wc-shell .woocommerce-account .woocommerce-info .button,
.nmg-wc-shell .woocommerce-account .button {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 0.875rem 2rem oklch(0.88 0.22 130 / 0.22);
  color: oklch(0.08 0.02 130);
  padding: 0 1.125rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nmg-wc-shell .woocommerce-account .woocommerce-info .button {
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  min-height: 0 !important;
  height: auto !important;
  margin-left: 0.25rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--primary) !important;
  padding: 0 !important;
  font-size: 0.625rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
  transform: none;
  white-space: nowrap;
}

.nmg-wc-shell .woocommerce-account .woocommerce-info .button:hover,
.nmg-wc-shell .woocommerce-account .button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 1.1rem 2.4rem oklch(0.88 0.22 130 / 0.28);
}

.nmg-wc-shell .woocommerce-account .woocommerce-info .button:hover {
  box-shadow: none;
  transform: none;
}

@media (max-width: 640px) {
  .nmg-wc-shell .woocommerce-account .woocommerce-info {
    align-items: flex-start;
    flex-direction: column;
  }
}

.nmg-account-empty-orders {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.32);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.1), oklch(0.88 0.22 130 / 0.035) 44%, oklch(0.15 0.006 240 / 0.9)),
    oklch(0.135 0.006 240);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06), 0 1rem 2.5rem oklch(0 0 0 / 0.16);
  padding: 1rem 1.125rem;
}

.nmg-account-empty-orders__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.5625rem;
  background: oklch(0.88 0.22 130 / 0.1);
  color: var(--primary);
}

.nmg-account-empty-orders p {
  margin: 0;
  flex: 0 1 auto;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.45;
}

.nmg-account-empty-orders a {
  display: inline-flex;
  align-items: center;
  margin-left: 0.125rem;
  color: var(--primary);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
  text-underline-offset: 0.25rem;
}

.nmg-account-empty-orders a:hover {
  color: oklch(0.94 0.2 130);
}

@media (max-width: 640px) {
  .nmg-account-empty-orders {
    align-items: flex-start;
    flex-direction: column;
  }

  .nmg-account-empty-orders a {
    margin-left: 0;
  }
}

.nmg-account-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nmg-account-dashboard__hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  border: 1px solid oklch(0.88 0.22 130 / 0.25);
  border-radius: 0.75rem;
  background: oklch(0.88 0.22 130 / 0.06);
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .nmg-account-dashboard__hero {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

.nmg-account-dashboard__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-account-dashboard__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.1;
  color: var(--foreground);
}

.nmg-account-dashboard__copy {
  max-width: 44rem;
  margin: 0.625rem 0 0;
  color: oklch(0.72 0.01 240);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.nmg-account-dashboard__logout {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nmg-account-dashboard__logout:hover {
  border-color: oklch(0.88 0.22 130 / 0.45);
  color: var(--primary);
}

.nmg-account-dashboard__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nmg-account-dashboard__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nmg-account-dashboard__card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.14 0.005 240 / 0.45);
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.nmg-account-dashboard__card:hover {
  border-color: oklch(0.88 0.22 130 / 0.35);
  background: oklch(0.18 0.006 240 / 0.65);
  transform: translateY(-1px);
}

.nmg-account-dashboard__card-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--primary);
}

.nmg-account-dashboard__card-copy {
  min-width: 0;
  flex: 1;
}

.nmg-account-dashboard__card-title {
  display: block;
  font-weight: 600;
  line-height: 1.25;
  color: var(--foreground);
}

.nmg-account-dashboard__card-body {
  display: block;
  margin-top: 0.25rem;
  color: oklch(0.65 0.01 240);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.nmg-account-dashboard__card-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: oklch(0.65 0.01 240);
}

.nmg-wc-shell .woocommerce-account table.shop_table,
.nmg-wc-shell .woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.14 0.005 240 / 0.45);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.nmg-wc-shell .woocommerce-account table.shop_table th,
.nmg-wc-shell .woocommerce-account table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1rem;
  background: transparent !important;
}

.nmg-wc-shell .woocommerce-account table.shop_table tr:last-child th,
.nmg-wc-shell .woocommerce-account table.shop_table tr:last-child td {
  border-bottom: 0;
}

.nmg-account-orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 58rem;
}

.nmg-account-orders__intro {
  border: 1px solid oklch(0.88 0.22 130 / 0.2);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.1), transparent 42%),
    oklch(0.14 0.005 240 / 0.72);
  padding: 1.125rem;
}

.nmg-account-orders__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-account-orders__title {
  margin: 0.375rem 0 0;
  color: var(--foreground);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.nmg-account-orders__copy {
  max-width: 42rem;
  margin: 0.625rem 0 0;
  color: oklch(0.72 0.01 240);
  font-size: 0.875rem;
  line-height: 1.6;
}

.nmg-account-orders__list {
  display: grid;
  gap: 0.875rem;
}

.nmg-account-order-card {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.12 0.004 240 / 0.62);
  padding: 1rem;
}

@media (min-width: 900px) {
  .nmg-account-order-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.125rem;
  }
}

.nmg-account-order-card__main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 760px) {
  .nmg-account-order-card__main {
    grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 2.3fr);
    align-items: center;
  }
}

.nmg-account-order-card__head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.nmg-account-order-card__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background: oklch(0.88 0.22 130 / 0.09);
  color: var(--primary);
}

.nmg-account-order-card__label,
.nmg-account-order-card__detail span {
  display: block;
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-order-card__number {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.nmg-account-order-card__number:hover {
  color: var(--primary);
}

.nmg-account-order-card__details {
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .nmg-account-order-card__details {
    grid-template-columns: minmax(8.5rem, 1fr) minmax(8rem, 0.9fr) minmax(10rem, 1.15fr);
  }
}

.nmg-account-order-card__detail {
  min-width: 0;
  border: 1px solid oklch(0.72 0.01 240 / 0.12);
  border-radius: 0.625rem;
  background: oklch(0.09 0.003 240 / 0.5);
  padding: 0.75rem;
}

.nmg-account-order-card__detail strong {
  display: block;
  min-width: 0;
  margin-top: 0.45rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.nmg-account-order-card__detail--date strong,
.nmg-account-order-card__detail--total strong {
  white-space: nowrap;
}

.nmg-account-order-card__detail--total .amount,
.nmg-account-order-card__detail--total .woocommerce-Price-amount,
.nmg-account-order-card__detail--total bdi,
.nmg-account-order-card__detail--total .woocommerce-Price-currencySymbol {
  display: inline !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0 !important;
  line-height: inherit !important;
  white-space: nowrap;
}

.nmg-account-order-card__detail--total .amount,
.nmg-account-order-card__detail--total .woocommerce-Price-amount {
  margin-right: 0.25rem;
}

.nmg-account-order-card__status {
  width: max-content;
  max-width: 100%;
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--primary) !important;
  padding: 0.35rem 0.55rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem !important;
  letter-spacing: 0.06em;
  line-height: 1 !important;
  text-transform: uppercase;
}

.nmg-account-order-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .nmg-account-order-card__actions {
    justify-content: flex-end;
  }
}

.nmg-account-order-card__actions .button {
  min-height: 2.75rem !important;
  padding-inline: 1.35rem !important;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .nmg-account-order-card__actions .button {
    width: 100%;
  }
}

.nmg-wc-shell .woocommerce-account fieldset {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.nmg-wc-shell .woocommerce-account legend {
  padding: 0 0.5rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-wc-shell .woocommerce-account address,
.nmg-wc-shell .woocommerce-account .woocommerce-Address {
  border-color: var(--border);
  color: var(--foreground);
}

.nmg-account-details-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 58rem;
}

.nmg-account-details-form__intro {
  border: 1px solid oklch(0.88 0.22 130 / 0.2);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.1), transparent 42%),
    oklch(0.14 0.005 240 / 0.72);
  padding: 1.125rem;
}

.nmg-account-details-form__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-account-details-form__title {
  margin: 0.375rem 0 0;
  color: var(--foreground);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.nmg-account-details-form__copy {
  max-width: 42rem;
  margin: 0.625rem 0 0;
  color: oklch(0.72 0.01 240);
  font-size: 0.875rem;
  line-height: 1.6;
}

.nmg-account-details-section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.12 0.004 240 / 0.62);
  padding: 1rem;
}

@media (min-width: 768px) {
  .nmg-account-details-section {
    padding: 1.125rem;
  }
}

.nmg-account-details-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12);
}

.nmg-account-details-section__icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background: oklch(0.88 0.22 130 / 0.09);
  color: var(--primary);
}

.nmg-account-details-section__title {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.nmg-account-details-section__note {
  margin: 0.25rem 0 0;
  color: oklch(0.65 0.01 240);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.nmg-account-details-form__grid {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 760px) {
  .nmg-account-details-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nmg-account-details-form .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nmg-account-details-form label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.45rem;
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
}

.nmg-account-details-form .required {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.nmg-account-details-form input[type="text"],
.nmg-account-details-form input[type="email"],
.nmg-account-details-form input[type="password"] {
  width: 100%;
  min-height: 2.875rem;
  border: 1px solid oklch(0.72 0.01 240 / 0.18);
  border-radius: 0.625rem;
  background: oklch(0.09 0.003 240 / 0.72);
  color: var(--foreground);
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.nmg-account-details-form input[type="text"]:focus,
.nmg-account-details-form input[type="text"]:focus-visible,
.nmg-account-details-form input[type="email"]:focus,
.nmg-account-details-form input[type="email"]:focus-visible,
.nmg-account-details-form input[type="password"]:focus,
.nmg-account-details-form input[type="password"]:focus-visible {
  outline: none;
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.105 0.004 240 / 0.92);
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.11);
}

.nmg-account-details-form__hint {
  display: block;
  margin-top: 0.5rem;
  color: oklch(0.65 0.01 240);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.45;
}

.nmg-account-details-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid oklch(0.72 0.01 240 / 0.12);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

@media (max-width: 520px) {
  .nmg-account-details-form__actions {
    justify-content: stretch;
  }

  .nmg-account-details-form__actions .button {
    width: 100%;
  }
}

.nmg-account-view-order {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 58rem;
}

.nmg-account-view-order__hero,
.nmg-account-view-order__section,
.nmg-account-view-order__metric {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.12 0.004 240 / 0.62);
}

.nmg-account-view-order__hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-color: oklch(0.88 0.22 130 / 0.2);
  background:
    linear-gradient(135deg, oklch(0.88 0.22 130 / 0.1), transparent 42%),
    oklch(0.14 0.005 240 / 0.72);
  padding: 1.125rem;
}

@media (min-width: 760px) {
  .nmg-account-view-order__hero {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.nmg-account-view-order__hero-main {
  min-width: 0;
}

.nmg-account-view-order__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-account-view-order__title {
  margin: 0.375rem 0 0;
  color: var(--foreground);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.nmg-account-view-order__copy {
  max-width: 42rem;
  margin: 0.625rem 0 0;
  color: oklch(0.72 0.01 240);
  font-size: 0.875rem;
  line-height: 1.6;
}

.nmg-account-view-order__status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  border-radius: 9999px;
  padding: 0.45rem 0.7rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__status--attention {
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--primary);
}

.nmg-account-view-order__status--success {
  background: oklch(0.76 0.18 150 / 0.13);
  color: oklch(0.86 0.2 145);
}

.nmg-account-view-order__status--danger {
  background: oklch(0.65 0.2 25 / 0.13);
  color: oklch(0.78 0.19 25);
}

.nmg-account-view-order__overview {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .nmg-account-view-order__overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .nmg-account-view-order__overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nmg-account-view-order__metric {
  min-width: 0;
  padding: 0.875rem;
}

.nmg-account-view-order__metric span,
.nmg-account-view-order__note time {
  display: block;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-view-order__metric strong {
  display: block;
  min-width: 0;
  margin-top: 0.45rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__metric .amount,
.nmg-account-view-order__metric .woocommerce-Price-amount,
.nmg-account-view-order__metric bdi,
.nmg-account-view-order__metric .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.nmg-account-view-order__section {
  padding: 1rem;
}

@media (min-width: 768px) {
  .nmg-account-view-order__section {
    padding: 1.125rem;
  }
}

.nmg-account-view-order__section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12);
  margin-bottom: 0.875rem;
}

.nmg-account-view-order__section-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background: oklch(0.88 0.22 130 / 0.09);
  color: var(--primary);
}

.nmg-account-view-order__section h3 {
  margin: 0.25rem 0 0;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.nmg-account-view-order__notes {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nmg-account-view-order__note {
  border: 1px solid oklch(0.72 0.01 240 / 0.12);
  border-radius: 0.625rem;
  background: oklch(0.09 0.003 240 / 0.5);
  padding: 0.875rem;
}

.nmg-account-view-order__note-content {
  margin-top: 0.625rem;
  color: oklch(0.72 0.01 240);
  font-size: 0.875rem;
  line-height: 1.65;
}

.nmg-account-view-order__note-content p,
.nmg-account-view-order__note-content ol,
.nmg-account-view-order__note-content ul {
  margin-top: 0;
  margin-bottom: 0.625rem;
}

.nmg-account-view-order__note-content :last-child {
  margin-bottom: 0;
}

.nmg-account-view-order__note-content strong,
.nmg-account-view-order__note-content b {
  color: var(--foreground);
}

.nmg-account-view-order__note-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.nmg-account-view-order__details-output {
  display: grid;
  gap: 1rem;
}

.nmg-account-view-order__receipt-grid,
.nmg-account-view-order__customer-grid {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 900px) {
  .nmg-account-view-order__receipt-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    align-items: start;
  }

  .nmg-account-view-order__customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nmg-account-view-order__receipt-panel {
  min-width: 0;
  border: 1px solid oklch(0.72 0.01 240 / 0.12);
  border-radius: 0.75rem;
  background: oklch(0.09 0.003 240 / 0.5);
  padding: 0.875rem;
}

.nmg-account-view-order__mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12);
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
}

.nmg-account-view-order__mini-head span {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-view-order__mini-head strong {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nmg-account-view-order__items,
.nmg-account-view-order__totals {
  display: grid;
  gap: 0.625rem;
}

.nmg-account-view-order__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
}

.nmg-account-view-order__item-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.nmg-account-view-order__item-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.22);
  border-radius: 0.625rem;
  background: oklch(0.88 0.22 130 / 0.09);
  color: var(--primary);
}

.nmg-account-view-order__item-name {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.3;
}

.nmg-account-view-order__item-qty {
  display: inline-flex;
  margin-top: 0.25rem;
  color: oklch(0.65 0.01 240);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__item-total {
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 800;
  white-space: nowrap;
}

.nmg-account-view-order__item-meta {
  border-top: 1px solid oklch(0.72 0.01 240 / 0.1);
  margin-left: 3rem;
  padding-top: 0.625rem;
  color: oklch(0.72 0.01 240);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.nmg-account-view-order__item-meta p,
.nmg-account-view-order__item-meta dl {
  margin: 0;
}

.nmg-account-view-order__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.1);
  padding-bottom: 0.625rem;
}

.nmg-account-view-order__total-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nmg-account-view-order__total-row span {
  color: oklch(0.72 0.01 240);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
}

.nmg-account-view-order__total-row strong {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.nmg-account-view-order__total-row:last-child span,
.nmg-account-view-order__total-row:last-child strong {
  color: var(--primary);
}

.nmg-account-view-order__address {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  color: var(--foreground);
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.55;
}

.nmg-account-view-order__address span {
  display: block;
}

.nmg-account-view-order__data-list {
  display: grid;
  gap: 0.625rem;
}

.nmg-account-view-order__data-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
  gap: 0.875rem;
  align-items: baseline;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.1);
  padding-bottom: 0.625rem;
}

.nmg-account-view-order__data-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nmg-account-view-order__data-row span {
  color: oklch(0.65 0.01 240);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__data-row strong {
  min-width: 0;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__receipt-panel--fields {
  max-width: 100%;
}

.nmg-account-view-order__fields-output {
  display: grid;
  gap: 0.625rem;
  justify-items: stretch;
  color: var(--foreground);
  text-align: left;
}

.nmg-account-view-order__fields-output > :first-child:is(h1, h2, h3, h4, p) {
  display: none;
}

.nmg-account-view-order .woocommerce-order-details,
.nmg-account-view-order .woocommerce-customer-details,
.nmg-account-view-order .wccf_order_checkout_field_values {
  margin: 0 !important;
}

.nmg-account-view-order .woocommerce-order-details__title,
.nmg-account-view-order .woocommerce-column__title,
.nmg-account-view-order .woocommerce-customer-details h2,
.nmg-account-view-order .wccf_order_checkout_field_values h2,
.nmg-account-view-order .wccf_order_checkout_field_values h3 {
  display: none;
  margin: 0;
}

.nmg-account-view-order__fields-output > h2,
.nmg-account-view-order__fields-output > h3 {
  display: none;
}

.nmg-account-view-order .woocommerce-order-details__title,
.nmg-account-view-order .woocommerce-column__title,
.nmg-account-view-order .woocommerce-customer-details h2 {
  margin: 0 0 0.75rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.nmg-account-view-order .woocommerce-table--order-details {
  width: 100%;
  border: 1px solid oklch(0.72 0.01 240 / 0.12) !important;
  border-radius: 0.625rem !important;
  background: oklch(0.09 0.003 240 / 0.5) !important;
  overflow: hidden;
}

.nmg-account-view-order .woocommerce-table--order-details th,
.nmg-account-view-order .woocommerce-table--order-details td {
  border-color: oklch(0.72 0.01 240 / 0.12) !important;
  padding: 0.875rem !important;
  vertical-align: top;
}

.nmg-account-view-order .woocommerce-table--order-details th {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 800;
}

.nmg-account-view-order .woocommerce-table--order-details td,
.nmg-account-view-order .woocommerce-table--order-details tfoot td,
.nmg-account-view-order .woocommerce-table--order-details tfoot th {
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: 1.45;
}

.nmg-account-view-order .woocommerce-table--order-details .amount,
.nmg-account-view-order .woocommerce-table--order-details .woocommerce-Price-amount,
.nmg-account-view-order .woocommerce-table--order-details bdi,
.nmg-account-view-order .woocommerce-table--order-details .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.nmg-account-view-order .wccf_order_checkout_field_values table {
  border: 1px solid oklch(0.72 0.01 240 / 0.12) !important;
  border-radius: 0.625rem !important;
  background: oklch(0.09 0.003 240 / 0.5) !important;
  color: var(--foreground);
  padding: 0.875rem !important;
  line-height: 1.65;
}

.nmg-account-view-order .wccf_order_checkout_field_values table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  padding: 0 !important;
}

.nmg-account-view-order__fields-output table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.nmg-account-view-order .wccf_order_checkout_field_values th,
.nmg-account-view-order .wccf_order_checkout_field_values td {
  border: 0 !important;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12) !important;
  padding: 0.75rem 0.875rem !important;
  color: var(--foreground);
  vertical-align: top;
}

.nmg-account-view-order .wccf_order_checkout_field_values tr {
  display: grid;
  grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
  gap: 0.875rem;
  align-items: baseline;
}

.nmg-account-view-order__fields-output tr {
  display: grid;
  grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
  gap: 0.875rem;
  align-items: baseline;
}

.nmg-account-view-order .wccf_order_checkout_field_values th {
  width: auto;
  color: oklch(0.65 0.01 240) !important;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: left !important;
  text-transform: uppercase;
}

.nmg-account-view-order .wccf_order_checkout_field_values td {
  font-size: 0.875rem !important;
  font-weight: 750;
  line-height: 1.35;
  text-align: left !important;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__fields-output th,
.nmg-account-view-order__fields-output td {
  border: 0 !important;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12) !important;
  padding: 0.75rem 0.875rem !important;
  color: var(--foreground);
  vertical-align: top;
}

.nmg-account-view-order__fields-output th {
  color: oklch(0.65 0.01 240) !important;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: left !important;
  text-transform: uppercase;
}

.nmg-account-view-order__fields-output td {
  font-size: 0.875rem !important;
  font-weight: 750;
  line-height: 1.35;
  text-align: left !important;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__fields-output tr:last-child th,
.nmg-account-view-order__fields-output tr:last-child td {
  border-bottom: 0 !important;
}

.nmg-account-view-order__fields-output p,
.nmg-account-view-order__fields-output dl,
.nmg-account-view-order__fields-output div {
  margin: 0;
}

.nmg-account-view-order__fields-output > * + * {
  margin-top: 0.5rem;
}

.nmg-account-view-order .wccf_order_checkout_field_values tr:last-child th,
.nmg-account-view-order .wccf_order_checkout_field_values tr:last-child td {
  border-bottom: 0 !important;
}

.nmg-account-view-order__fields-output:not(:has(table)) {
  display: grid;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.45;
}

/* New View Order Improvements */
.nmg-account-view-order__hero-actions {
  margin-top: 1.25rem;
}

.nmg-account-view-order__hero-side {
  flex-shrink: 0;
}

.nmg-account-view-order__tracker-panel {
  position: relative;
  padding: 1.25rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.12 0.004 240 / 0.62);
  margin-top: -0.5rem;
}

.nmg-account-view-order__tracker-track {
  position: relative;
  height: 4px;
  background: oklch(0.72 0.01 240 / 0.12);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.nmg-account-view-order__tracker-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px oklch(0.88 0.22 130 / 0.3);
}

.nmg-account-view-order__tracker-steps {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.nmg-account-view-order__tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}

.nmg-account-view-order__tracker-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: oklch(0.72 0.01 240 / 0.2);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nmg-account-view-order__tracker-step.is-active .nmg-account-view-order__tracker-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px oklch(0.88 0.22 130 / 0.12);
}

.nmg-account-view-order__tracker-label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  transition: color 0.3s ease;
}

.nmg-account-view-order__tracker-step.is-active .nmg-account-view-order__tracker-label {
  color: var(--primary);
}

.nmg-account-view-order__item-thumb {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border: 1px solid oklch(0.72 0.01 240 / 0.12);
  border-radius: 0.625rem;
  background: oklch(0.09 0.003 240 / 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nmg-account-view-order__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nmg-account-view-order__item-thumb .nmg-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.nmg-account-view-order__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nmg-account-view-order__copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
  color: oklch(0.65 0.01 240);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nmg-account-view-order__copy-btn:hover {
  border-color: var(--primary);
  background: oklch(0.88 0.22 130 / 0.1);
  color: var(--primary);
}

.nmg-account-view-order__copy-btn.is-copied {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.nmg-account-view-order__note--latest {
  border-color: oklch(0.88 0.22 130 / 0.28) !important;
  background: oklch(0.88 0.22 130 / 0.03) !important;
  box-shadow: inset 0 0 12px oklch(0.88 0.22 130 / 0.02);
}

.nmg-account-view-order__note-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__metric:hover {
  border-color: oklch(0.88 0.22 130 / 0.25);
  background: oklch(0.18 0.006 240 / 0.45);
}

.nmg-account-view-order__dashboard {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .nmg-account-view-order__dashboard {
    grid-template-columns: minmax(0, 1.35fr) minmax(18.5rem, 0.65fr);
    align-items: start;
  }
}

.nmg-account-view-order__dashboard-main,
.nmg-account-view-order__dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nmg-account-view-order__items-table {
  display: grid;
  gap: 0.875rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.16);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, oklch(0.12 0.006 240 / 0.74), oklch(0.065 0.003 240 / 0.92)),
    oklch(0.07 0.003 240);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.035),
    0 22px 44px oklch(0 0 0 / 0.24);
  padding: 0.75rem;
}

@media (min-width: 900px) {
  .nmg-account-view-order__items-table {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.52fr);
    align-items: start;
  }
}

.nmg-account-view-order__receipt-strip {
  display: grid;
  gap: 0.625rem;
  border: 1px solid oklch(0.72 0.01 240 / 0.1);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, oklch(0.88 0.22 130 / 0.055), transparent 42%),
    oklch(0.045 0.002 240 / 0.88);
  padding: 0.75rem;
}

@media (min-width: 680px) {
  .nmg-account-view-order__receipt-strip {
    grid-template-columns: 1.05fr 0.85fr 1.15fr 1fr;
  }
}

@media (min-width: 900px) {
  .nmg-account-view-order__receipt-strip {
    grid-column: 1 / -1;
  }
}

.nmg-account-view-order__receipt-strip-item {
  display: grid;
  min-width: 0;
  gap: 0.375rem;
  border-top: 1px solid oklch(0.72 0.01 240 / 0.09);
  padding-top: 0.625rem;
}

.nmg-account-view-order__receipt-strip-item:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 680px) {
  .nmg-account-view-order__receipt-strip-item {
    border-top: 0;
    border-left: 1px solid oklch(0.72 0.01 240 / 0.09);
    padding-top: 0;
    padding-left: 0.75rem;
  }

  .nmg-account-view-order__receipt-strip-item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

.nmg-account-view-order__receipt-strip-item span {
  color: oklch(0.65 0.01 240);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__receipt-strip-item strong {
  min-width: 0;
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__receipt-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid currentColor;
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
}

.nmg-account-view-order__receipt-status::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: currentColor;
  box-shadow: 0 0 0.75rem currentColor;
}

.nmg-account-view-order__receipt-status--success {
  color: var(--primary) !important;
}

.nmg-account-view-order__receipt-status--attention {
  color: oklch(0.84 0.16 85) !important;
}

.nmg-account-view-order__receipt-status--danger {
  color: oklch(0.72 0.2 25) !important;
}

.nmg-account-view-order__items-card {
  min-width: 0;
  border: 1px solid oklch(0.72 0.01 240 / 0.1);
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 15% 0%, oklch(0.88 0.22 130 / 0.055), transparent 38%),
    oklch(0.055 0.002 240 / 0.72);
  overflow: hidden;
}

.nmg-account-view-order__receipt-card-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.1);
  padding: 0.875rem 1rem;
}

.nmg-account-view-order__receipt-card-head > span:last-child,
.nmg-account-view-order__summary-head > span:last-child {
  color: var(--foreground);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.nmg-account-view-order__receipt-card-icon {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.88 0.22 130 / 0.18);
  border-radius: 0.45rem;
  background: oklch(0.88 0.22 130 / 0.08);
  color: var(--primary);
}

.nmg-account-view-order__items-card .nmg-account-view-order__item-thumb {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 0.5rem;
  background: oklch(0.08 0.003 240 / 0.78);
}

.nmg-account-view-order__table-head {
  display: none;
  background: oklch(0.15 0.005 240 / 0.42);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12);
}

@media (min-width: 768px) {
  .nmg-account-view-order__table-head {
    display: none;
    grid-template-columns: minmax(0, 1fr) 3.75rem 6.75rem;
    gap: 1rem;
    align-items: center;
  }
}

.nmg-account-view-order__th {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-view-order__th--qty,
.nmg-account-view-order__th--price {
  text-align: right;
}

.nmg-account-view-order__table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.875rem;
  padding: 1rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.08);
  transition: background-color 0.2s ease;
}

.nmg-account-view-order__table-row:last-child {
  border-bottom: 0;
}

.nmg-account-view-order__table-row:hover {
  background-color: oklch(0.88 0.22 130 / 0.02);
}

@media (min-width: 768px) {
  .nmg-account-view-order__table-row {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(5rem, auto));
    gap: 0.875rem;
    align-items: end;
    padding: 1rem;
  }
}

.nmg-account-view-order__td--service {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .nmg-account-view-order__td--service {
    grid-column: auto;
  }
}

.nmg-account-view-order__item-copy {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
}

.nmg-account-view-order__item-config {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  align-items: center;
  color: oklch(0.72 0.01 240);
  font-size: 0.75rem;
  line-height: 1.4;
}

.nmg-account-view-order__item-config .nmg-account-view-order__item-meta {
  border-top: 0;
  margin-left: 0;
  padding-top: 0;
  font-size: inherit;
  line-height: inherit;
}

.nmg-account-view-order__item-config .nmg-account-view-order__item-meta,
.nmg-account-view-order__meta-chip,
.nmg-account-view-order__item-sku {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  border: 1px solid oklch(0.72 0.01 240 / 0.1);
  border-radius: 9999px;
  background: oklch(0.13 0.004 240 / 0.34);
  padding: 0.25rem 0.5rem;
}

.nmg-account-view-order__meta-label {
  color: oklch(0.65 0.01 240);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.nmg-account-view-order__meta-value {
  min-width: 0;
  color: var(--foreground);
  font-size: 0.6875rem;
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.nmg-account-view-order__td--config {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nmg-account-view-order__td--qty,
.nmg-account-view-order__td--price {
  display: grid;
  gap: 0.35rem;
  border: 1px solid oklch(0.72 0.01 240 / 0.1);
  border-radius: 0.5rem;
  background: oklch(0.12 0.004 240 / 0.36);
  padding: 0.625rem 0.75rem;
  text-align: left;
}

@media (min-width: 768px) {
  .nmg-account-view-order__td--qty,
  .nmg-account-view-order__td--price {
    min-width: 5rem;
  }
}

.nmg-account-view-order__td strong {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 850;
}

.nmg-account-view-order__mobile-label {
  color: oklch(0.65 0.01 240);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .nmg-account-view-order__mobile-label {
    display: inline;
  }
}

.nmg-account-view-order__item-sku {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-view-order__table-footer {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: flex-start;
  gap: 0.625rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.16);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, oklch(0.15 0.026 135 / 0.42), oklch(0.06 0.005 240 / 0.78)),
    oklch(0.07 0.004 240);
  padding: 1rem;
}

.nmg-account-view-order__summary-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  border-bottom: 1px solid oklch(0.72 0.01 240 / 0.12);
  margin-bottom: 0.125rem;
  padding-bottom: 0.75rem;
}

.nmg-account-view-order__summary-head > span:last-child {
  color: var(--primary);
}

.nmg-account-view-order__footer-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1.25rem;
  align-items: baseline;
  min-height: 1.7rem;
}

.nmg-account-view-order__footer-row:last-child {
  align-items: center;
  min-height: auto;
  border: 1px solid oklch(0.88 0.22 130 / 0.18);
  border-radius: 0.5rem;
  background: oklch(0.88 0.22 130 / 0.07);
  margin-top: 0.375rem;
  padding: 0.75rem;
}

.nmg-account-view-order__footer-row:last-child .nmg-account-view-order__footer-label {
  color: var(--foreground);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nmg-account-view-order__footer-label {
  font-size: 0.8125rem;
  color: oklch(0.72 0.01 240);
}

.nmg-account-view-order__footer-value {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--foreground);
  text-align: right;
  white-space: nowrap;
}

.nmg-account-view-order__footer-row:last-child .nmg-account-view-order__footer-value {
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.nmg-account-view-order__td--price .amount,
.nmg-account-view-order__td--price .woocommerce-Price-amount,
.nmg-account-view-order__td--price bdi,
.nmg-account-view-order__td--price .woocommerce-Price-currencySymbol,
.nmg-account-view-order__footer-value .amount,
.nmg-account-view-order__footer-value .woocommerce-Price-amount,
.nmg-account-view-order__footer-value bdi,
.nmg-account-view-order__footer-value .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.nmg-account-view-order__fulfillment-panel {
  margin-top: 1rem;
  border: 1px solid oklch(0.72 0.01 240 / 0.15);
  border-radius: 0.75rem;
  background: oklch(0.14 0.005 240);
  padding: 1rem;
}

.nmg-account-view-order__fulfillment-content {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
}

.nmg-account-view-order__fulfillment-content table {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

.nmg-account-view-order__fulfillment-content tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .nmg-account-view-order__fulfillment-content tr {
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
}

.nmg-account-view-order__fulfillment-content th {
  width: 140px !important;
  flex-shrink: 0;
  font-family: Geist Mono, ui-monospace, monospace !important;
  font-size: 0.625rem !important;
  color: oklch(0.65 0.01 240) !important;
  text-align: left !important;
  padding: 0 !important;
}

.nmg-account-view-order__fulfillment-content td {
  padding: 0 !important;
  font-weight: 600;
}

.nmg-account-view-order__customer-hero {

  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}

.nmg-account-view-order__customer-hero {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.875rem;
}

@media (min-width: 900px) {
  .nmg-account-view-order__customer-hero {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.nmg-account-view-order__billing-large {
  border: 1px solid oklch(0.72 0.01 240 / 0.15);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, oklch(0.88 0.22 130 / 0.04), transparent 45%),
    oklch(0.12 0.004 240 / 0.62);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nmg-account-view-order__billing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nmg-account-view-order__billing-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--primary);
}

.nmg-account-view-order__billing-title {
  margin: 0.125rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.nmg-account-view-order__billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid oklch(0.72 0.01 240 / 0.08);
}

.nmg-account-view-order__billing-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nmg-account-view-order__billing-label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-account-view-order__billing-value {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--foreground);
  overflow-wrap: anywhere;
}

/* Order received / thank you */
.nmg-order-received {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 54rem;
  margin-inline: auto;
}

.nmg-order-received__banner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  border-radius: 0.75rem;
  background: oklch(0.88 0.22 130 / 0.08);
  padding: 1rem 1.25rem;
}

.nmg-order-received__banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.18);
  color: oklch(0.88 0.22 130);
}

.nmg-order-received__banner .woocommerce-thankyou-order-received {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.nmg-order-received__overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .nmg-order-received__overview {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

.nmg-order-received__overview li {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1rem 1.125rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  line-height: 1.4;
}

.nmg-order-received__overview li strong {
  display: block;
  margin-top: 0.375rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--foreground);
  word-break: break-word;
}

.nmg-order-received__card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.25rem 1.5rem;
}

.nmg-order-received__card--error {
  border-color: oklch(0.65 0.2 25 / 0.45);
  background: oklch(0.65 0.2 25 / 0.08);
}

.nmg-order-received__instructions {
  border-color: oklch(0.88 0.22 130 / 0.4);
  background: oklch(0.88 0.22 130 / 0.06);
}

.nmg-order-received__card-label {
  margin: 0 0 0.875rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-order-received__card-label--action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: oklch(0.88 0.22 130);
}

.nmg-order-received__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.15);
}

.nmg-order-received__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.nmg-order-received__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nmg-order-received__btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
}

.nmg-order-received__btn--primary:hover {
  background: oklch(0.88 0.22 130 / 0.85);
  border-color: oklch(0.88 0.22 130 / 0.85);
}

.nmg-order-received__btn--ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.nmg-order-received__btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nmg-order-received__instructions-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--foreground);
}

.nmg-order-received__instructions-body ol,
.nmg-order-received__instructions-body ul {
  margin: 0;
  padding-left: 1.25rem;
}

.nmg-order-received__instructions-body li + li {
  margin-top: 0.5rem;
}

.nmg-order-received__instructions-body p {
  margin: 0 0 0.75rem;
}

.nmg-order-received__instructions-body p:last-child {
  margin-bottom: 0;
}

.nmg-order-received__instructions-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nmg-order-received__instructions-body strong,
.nmg-order-received__instructions-body b {
  color: var(--foreground);
  font-weight: 600;
}

/* Order details (left) + payment instructions (right) main/aside layout. */
.nmg-order-received__layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .nmg-order-received__layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

.nmg-order-received__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.nmg-order-received__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  order: -1;
}

@media (min-width: 768px) {
  .nmg-order-received__aside {
    order: 0;
    position: sticky;
    top: 1.5rem;
  }
}

.nmg-order-received__aside .nmg-order-received__instructions {
  margin: 0;
}

/* Keep address blocks single-column inside their card. */
.nmg-order-received__details .woocommerce-columns--addresses {
  grid-template-columns: 1fr;
}

.nmg-order-received .woocommerce-order-details,
.nmg-order-received .woocommerce-customer-details {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.nmg-order-received .woocommerce-order-details__title,
.nmg-order-received .woocommerce-column__title {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-family: Geist Mono, ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  font-weight: 600;
}

.nmg-order-received .woocommerce-table--order-details {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

.nmg-order-received .woocommerce-table--order-details thead th {
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  font-weight: 500;
  text-align: left;
}

.nmg-order-received .woocommerce-table--order-details thead th.product-total {
  text-align: right;
}

.nmg-order-received .woocommerce-table--order-details tbody td,
.nmg-order-received .woocommerce-table--order-details tbody th {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  vertical-align: top;
  background: transparent !important;
}

.nmg-order-received .woocommerce-table--order-details tbody .product-total {
  text-align: right;
  white-space: nowrap;
}

.nmg-order-received .woocommerce-table--order-details tfoot th,
.nmg-order-received .woocommerce-table--order-details tfoot td {
  padding: 0.4rem 0;
  border: 0;
  font-size: 0.875rem;
  background: transparent !important;
}

.nmg-order-received .woocommerce-table--order-details tfoot th {
  text-align: right;
  font-weight: 400;
  color: oklch(0.65 0.01 240);
  padding-right: 1.5rem;
}

.nmg-order-received .woocommerce-table--order-details tfoot td {
  text-align: right;
  white-space: nowrap;
  color: var(--foreground);
}

.nmg-order-received .woocommerce-table--order-details tfoot tr:last-child th,
.nmg-order-received .woocommerce-table--order-details tfoot tr:last-child td {
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
}

.nmg-order-received .woocommerce-table--order-details tfoot tr:last-child th {
  color: var(--foreground);
}

.nmg-order-received .woocommerce-table--order-details .product-name {
  color: var(--foreground);
}

.nmg-order-received .woocommerce-table--order-details .product-quantity {
  color: oklch(0.65 0.01 240);
  font-weight: 400;
}

.nmg-order-received .woocommerce-table--order-details dl.variation {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: oklch(0.65 0.01 240);
}

.nmg-order-received .woocommerce-table--order-details dl.variation dt,
.nmg-order-received .woocommerce-table--order-details dl.variation dd {
  display: inline;
  margin: 0;
}

.nmg-order-received .woocommerce-table--order-details dl.variation dt::after {
  content: ': ';
}

.nmg-order-received .woocommerce-table--order-details dl.variation dd + dt::before {
  content: ' · ';
}

.nmg-order-received .woocommerce-customer-details address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--foreground);
}

.nmg-order-received .woocommerce-customer-details--phone,
.nmg-order-received .woocommerce-customer-details--email {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: oklch(0.65 0.01 240);
}

/* WCCF "Checkout Fields" block, relocated under the billing address. */
.nmg-order-received .woocommerce-customer-details header {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.nmg-order-received .woocommerce-customer-details header h2 {
  margin: 0 0 0.75rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  font-weight: 600;
}

.nmg-order-received .woocommerce-customer-details .shop_table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

.nmg-order-received .woocommerce-customer-details .shop_table th,
.nmg-order-received .woocommerce-customer-details .shop_table td {
  padding: 0.3rem 0;
  border: 0;
  font-size: 0.875rem;
  text-align: left;
  vertical-align: top;
  background: transparent !important;
}

.nmg-order-received .woocommerce-customer-details .shop_table th {
  width: 42%;
  padding-right: 0.75rem;
  color: oklch(0.65 0.01 240);
  font-weight: 500;
}

.nmg-order-received .woocommerce-customer-details .shop_table td {
  color: var(--foreground);
  word-break: break-word;
}

.nmg-order-received .woocommerce-customer-details .shop_table td p {
  margin: 0;
}

.nmg-order-received .woocommerce-columns--addresses {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nmg-order-received .woocommerce-columns--addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nmg-order-received .woocommerce-thankyou-order-failed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.nmg-order-received .woocommerce-thankyou-order-failed-actions .button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

/* Order received — command center redesign */
.nmg-order-received {
  max-width: 72rem;
  gap: 1rem;
}

.nmg-order-received__hero,
.nmg-order-received__snapshot,
.nmg-order-received__timeline,
.nmg-order-received__customer,
.nmg-order-received__action-panel,
.nmg-order-received__support-card {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.26 0.008 240 / 0.85);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, oklch(0.18 0.006 240 / 0.86), oklch(0.14 0.005 240 / 0.96));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.04);
}

.nmg-order-received__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-color: oklch(0.88 0.22 130 / 0.34);
  background:
    radial-gradient(circle at top left, oklch(0.88 0.22 130 / 0.18), transparent 34rem),
    linear-gradient(135deg, oklch(0.18 0.006 240 / 0.92), oklch(0.11 0.005 240 / 0.98));
}

.nmg-order-received__hero::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.22 130 / 0.5), transparent);
}

.nmg-order-received__hero-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.45);
  border-radius: 1rem;
  background: oklch(0.88 0.22 130 / 0.14);
  color: var(--primary);
  box-shadow: 0 0 36px oklch(0.88 0.22 130 / 0.18);
}

.nmg-order-received__hero-copy,
.nmg-order-received__hero-meta,
.nmg-order-received__section-head,
.nmg-order-received__line-copy {
  min-width: 0;
}

.nmg-order-received__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-order-received__title {
  margin: 0.25rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--foreground);
}

.nmg-order-received__subtitle {
  max-width: 42rem;
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: oklch(0.68 0.01 240);
}

.nmg-order-received__hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.nmg-order-received__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.12);
  padding: 0 0.75rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.nmg-order-received__status--danger {
  border-color: oklch(0.65 0.2 25 / 0.45);
  background: oklch(0.65 0.2 25 / 0.1);
  color: oklch(0.78 0.14 25);
}

.nmg-order-received__status--neutral {
  border-color: oklch(0.4 0.008 240 / 0.7);
  background: oklch(0.22 0.006 240 / 0.5);
  color: oklch(0.7 0.01 240);
}

.nmg-order-received__order-code {
  min-width: 9rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.8);
  border-radius: 0.75rem;
  background: oklch(0.09 0.004 240 / 0.42);
  padding: 0.75rem 0.875rem;
  text-align: right;
}

.nmg-order-received__order-code > span,
.nmg-order-received__overview-item > span,
.nmg-order-received__total-row > span {
  display: block;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.58 0.01 240);
}

.nmg-order-received__order-code strong {
  display: block;
  margin-top: 0.25rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 1.375rem;
  color: var(--foreground);
}

.nmg-order-received__overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.nmg-order-received__overview-item {
  min-width: 0;
  border: 1px solid oklch(0.26 0.008 240 / 0.76);
  border-radius: 0.875rem;
  background: oklch(0.16 0.006 240 / 0.58);
  padding: 0.875rem 1rem;
}

.nmg-order-received__overview-item strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--foreground);
  overflow-wrap: anywhere;
}

.nmg-order-received__overview-item--email strong {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.nmg-order-received__layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.85fr);
}

.nmg-order-received__snapshot,
.nmg-order-received__timeline,
.nmg-order-received__customer,
.nmg-order-received__action-panel,
.nmg-order-received__support-card {
  padding: 1.25rem;
}

.nmg-order-received__section-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.nmg-order-received__section-head h3,
.nmg-order-received__action-panel h3,
.nmg-order-received__support-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.2;
  color: var(--foreground);
}

.nmg-order-received__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nmg-order-received__line-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: center;
  border: 1px solid oklch(0.26 0.008 240 / 0.65);
  border-radius: 0.875rem;
  background: oklch(0.11 0.005 240 / 0.42);
  padding: 0.875rem;
}

.nmg-order-received__line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.28);
  border-radius: 0.75rem;
  background: oklch(0.88 0.22 130 / 0.08);
  color: var(--primary);
}

.nmg-order-received__line-copy h4 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--foreground);
}

.nmg-order-received__line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.45rem;
}

.nmg-order-received__line-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.75);
  border-radius: 9999px;
  background: oklch(0.18 0.006 240 / 0.5);
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 740;
  letter-spacing: 0;
  color: oklch(0.68 0.01 240);
}

.nmg-order-received__line-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.nmg-order-received__line-option {
  display: grid;
  align-content: start;
  gap: 0.3rem;
  min-width: 0;
  border: 1px solid oklch(0.26 0.008 240 / 0.72);
  border-radius: 0.62rem;
  background: oklch(0.08 0.004 240 / 0.58);
  padding: 0.58rem 0.68rem;
}

.nmg-order-received__line-option--wide {
  grid-column: 1 / -1;
}

.nmg-order-received__line-option--modal {
  background:
    linear-gradient(180deg, oklch(0.88 0.22 130 / 0.06), transparent 56%),
    oklch(0.08 0.004 240 / 0.58);
}

.nmg-order-received__line-option-label {
  color: oklch(0.62 0.026 240);
  font-family: Geist Mono, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nmg-order-received__line-option-value {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
  color: var(--foreground);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (min-width: 680px) {
  .nmg-order-received__line-option--wide.nmg-order-received__line-option--modal .nmg-order-received__line-option-value {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

.nmg-order-received__line-total {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--foreground);
  white-space: nowrap;
}

.nmg-order-received__money {
  display: inline-flex !important;
  width: max-content;
  max-width: 100%;
  align-items: baseline;
  justify-content: flex-end;
  white-space: nowrap !important;
  color: inherit;
  font-family: Geist, "Geist Sans", ui-sans-serif, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  line-height: 1;
}

.nmg-order-received__totals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid oklch(0.26 0.008 240 / 0.75);
}

.nmg-order-received__total-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 1rem;
}

.nmg-order-received__total-row strong {
  color: var(--foreground);
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
  white-space: nowrap;
}

.nmg-order-received__total-row--final {
  margin-top: 0.375rem;
  border-radius: 0.75rem;
  background: oklch(0.88 0.22 130 / 0.08);
  padding: 0.875rem 1rem;
}

.nmg-order-received__total-row--final > span,
.nmg-order-received__total-row--final strong {
  color: var(--foreground);
}

.nmg-order-received__total-row--final strong {
  font-size: 1.375rem;
}

.nmg-order-received__overview-item strong .amount,
.nmg-order-received__overview-item strong .woocommerce-Price-amount,
.nmg-order-received__overview-item strong bdi,
.nmg-order-received__overview-item strong .woocommerce-Price-currencySymbol,
.nmg-order-received__line-total .amount,
.nmg-order-received__line-total .woocommerce-Price-amount,
.nmg-order-received__line-total bdi,
.nmg-order-received__line-total .woocommerce-Price-currencySymbol,
.nmg-order-received__total-row strong .amount,
.nmg-order-received__total-row strong .woocommerce-Price-amount,
.nmg-order-received__total-row strong bdi,
.nmg-order-received__total-row strong .woocommerce-Price-currencySymbol {
  display: inline !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: 0 !important;
  line-height: inherit !important;
  text-transform: none !important;
}

.nmg-order-received__timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nmg-order-received__timeline-step {
  min-width: 0;
  border: 1px solid oklch(0.26 0.008 240 / 0.65);
  border-radius: 0.875rem;
  background: oklch(0.11 0.005 240 / 0.34);
  padding: 0.875rem;
}

.nmg-order-received__timeline-step.is-active {
  border-color: oklch(0.88 0.22 130 / 0.38);
  background: oklch(0.88 0.22 130 / 0.06);
}

.nmg-order-received__timeline-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid oklch(0.35 0.008 240);
  border-radius: 9999px;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: oklch(0.6 0.01 240);
}

.nmg-order-received__timeline-step.is-active .nmg-order-received__timeline-marker {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.nmg-order-received__timeline-copy {
  display: block;
  margin-top: 0.75rem;
}

.nmg-order-received__timeline-copy strong,
.nmg-order-received__timeline-copy small {
  display: block;
}

.nmg-order-received__timeline-copy strong {
  font-size: 0.8125rem;
  color: var(--foreground);
}

.nmg-order-received__timeline-copy small {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.58 0.01 240);
}

.nmg-order-received__action-panel {
  border-color: oklch(0.88 0.22 130 / 0.42);
  background:
    radial-gradient(circle at top right, oklch(0.88 0.22 130 / 0.12), transparent 18rem),
    linear-gradient(180deg, oklch(0.18 0.006 240 / 0.94), oklch(0.13 0.005 240 / 0.98));
}

.nmg-order-received__action-lede,
.nmg-order-received__support-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: oklch(0.68 0.01 240);
}

.nmg-order-received__action-panel .nmg-order-received__instructions-body {
  margin-top: 1rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.75);
  border-radius: 0.875rem;
  background: oklch(0.09 0.004 240 / 0.42);
  padding: 1rem;
}

.nmg-order-received__instructions-body [style*="ff0000"],
.nmg-order-received__instructions-body [style*="red"] {
  color: oklch(0.78 0.14 25) !important;
}

.nmg-order-received__action-panel .nmg-order-received__btn,
.nmg-order-received__support-card .nmg-order-received__btn {
  width: 100%;
  margin-top: 1rem;
}

.nmg-order-received__support-card {
  background: oklch(0.14 0.005 240 / 0.76);
}

.nmg-order-received__customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.nmg-order-received__customer-field:last-child {
  grid-column: 1 / -1;
}

.nmg-order-received__customer-field {
  min-width: 0;
  border: 1px solid oklch(0.26 0.008 240 / 0.72);
  border-radius: 0.875rem;
  background: oklch(0.11 0.005 240 / 0.42);
  padding: 0.875rem;
}

.nmg-order-received__customer-field span {
  display: block;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.58 0.01 240);
}

.nmg-order-received__customer-field strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.nmg-order-received__customer .woocommerce-customer-details {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.nmg-order-received__customer .woocommerce-column__title {
  display: none;
}

.nmg-order-received__customer address {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .nmg-order-received__hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nmg-order-received__hero-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }

  .nmg-order-received__order-code {
    text-align: left;
  }

  .nmg-order-received__overview,
  .nmg-order-received__timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nmg-order-received__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nmg-order-received {
    gap: 0.875rem;
  }

  .nmg-order-received__hero,
  .nmg-order-received__snapshot,
  .nmg-order-received__timeline,
  .nmg-order-received__customer,
  .nmg-order-received__action-panel,
  .nmg-order-received__support-card {
    border-radius: 0.875rem;
    padding: 1rem;
  }

  .nmg-order-received__hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nmg-order-received__hero-orb {
    width: 3.5rem;
    height: 3.5rem;
  }

  .nmg-order-received__hero-meta {
    flex-direction: column;
  }

  .nmg-order-received__overview,
  .nmg-order-received__timeline-list,
  .nmg-order-received__customer-grid {
    grid-template-columns: 1fr;
  }

  .nmg-order-received__customer-field:last-child {
    grid-column: auto;
  }

  .nmg-order-received__line-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nmg-order-received__line-total {
    grid-column: 2;
    justify-self: start;
  }

  .nmg-order-received__total-row {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .nmg-order-received__total-row strong,
  .nmg-order-received__line-total {
    justify-self: end;
  }
}

/* Contact Form 7 */
.nmg-contact-form .wpcf7-form {
  display: grid;
  gap: 1rem;
}

.nmg-contact-form .wpcf7-form p {
  margin: 0;
}

.nmg-contact-form .wpcf7-form label {
  display: block;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
  margin-bottom: 0.5rem;
}

.nmg-contact-form .wpcf7-form input[type="text"],
.nmg-contact-form .wpcf7-form input[type="email"],
.nmg-contact-form .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
}

.nmg-contact-form .wpcf7-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.nmg-contact-form .wpcf7-submit {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.nmg-contact-form .wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: oklch(0.65 0.2 25);
  margin-top: 0.35rem;
}

.nmg-contact-form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* WPForms (contact page) */
.nmg-contact-form .wpforms-container {
  margin: 0;
}

.nmg-contact-form .wpforms-field-label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-contact-form .wpforms-field input[type="text"],
.nmg-contact-form .wpforms-field input[type="email"],
.nmg-contact-form .wpforms-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
}

.nmg-contact-form .wpforms-field textarea {
  min-height: 9rem;
}

.nmg-contact-form .wpforms-submit-container {
  margin-top: 0.25rem;
}

.nmg-contact-form button[type="submit"],
.nmg-contact-form input[type="submit"] {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

/* Contact form — landing ContactForm field labels */
.nmg-contact-form .wpforms-field,
.nmg-contact-form .wpcf7-form p {
  margin-bottom: 0;
}

.nmg-contact-form .wpforms-container-full {
  margin: 0;
}

.nmg-contact-form .wpforms-field-row:last-child,
.nmg-contact-form .wpforms-submit-container {
  margin-top: 0.25rem;
}

.nmg-contact-form .wpforms-field-label,
.nmg-contact-form .wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
}

.nmg-contact-form .wpforms-field input[type="text"],
.nmg-contact-form .wpforms-field input[type="email"],
.nmg-contact-form .wpforms-field textarea,
.nmg-contact-form .wpcf7-form input[type="text"],
.nmg-contact-form .wpcf7-form input[type="email"],
.nmg-contact-form .wpcf7-form textarea {
  border-radius: 0.5rem;
}

.nmg-contact-form .wpforms-submit-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

.nmg-contact-form .wpforms-submit-container::before {
  content: "Usually a reply within 24h — when I can";
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  color: oklch(0.65 0.01 240);
}

@media (max-width: 639px) {
  .nmg-contact-form .wpforms-submit-container {
    flex-direction: column;
    align-items: stretch;
  }

  .nmg-contact-form .wpforms-submit-container::before {
    order: 2;
    text-align: center;
  }
}

/* Cart summary — legacy table meta (unused on CartView layout) */
.nmg-cart-summary-meta th,
.nmg-cart-summary-meta td {
  color: oklch(0.65 0.01 240);
  font-size: 0.875rem;
}

.nmg-cart-summary-meta__highlight {
  font-family: Geist Mono, ui-monospace, monospace;
  color: var(--primary);
}

.nmg-wc-shell .wc-proceed-to-checkout .checkout-button {
  width: 100%;
}

/* Checkout — payment block in summary column */
.nmg-checkout-payment-head {
  margin-bottom: 0.75rem;
}

.nmg-wc-shell #payment ul.payment_methods li.payment_method_selected,
.nmg-wc-shell #payment ul.payment_methods li input[type="radio"]:checked + label {
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.88 0.22 130 / 0.06);
}

/* Track order — landing TrackOrderForm */
.nmg-track-form .form-row {
  margin: 0;
}

.nmg-track-result .animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

/* Checkout — sticky order summary on large screens */
@media (min-width: 1024px) {
  .nmg-wc-shell .nmg-checkout-aside {
    position: sticky;
    top: 6rem;
    align-self: start;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }
}

.nmg-wc-shell #payment .payment_box img,
.nmg-wc-shell #payment .payment_box iframe,
.nmg-wc-shell #payment .payment_box svg {
  max-width: 7.5rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
}

.nmg-wc-shell #payment .payment_box p img:only-child {
  max-width: 5rem;
}

/* Checkout — landing CheckoutFlow */
.nmg-checkout-form {
  --checkout-section-gap: 2rem;
  --checkout-block-gap: 1.5rem;
  --checkout-field-gap: 1.5rem;
}

.nmg-checkout-section {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

@media (min-width: 768px) {
  .nmg-checkout-section {
    padding: 2rem;
  }
}

.nmg-checkout-form .col2-set {
  display: block;
  width: 100%;
}

.nmg-checkout-form .col2-set .col-1,
.nmg-checkout-form .col2-set .col-2 {
  width: 100%;
  float: none;
  padding: 0;
}

.nmg-checkout-form .woocommerce-billing-fields > h3,
.nmg-checkout-form .woocommerce-shipping-fields > h3,
.nmg-checkout-form .woocommerce-additional-fields > h3 {
  display: none;
}

.nmg-checkout-form .nmg-checkout-main {
  display: flex;
  flex-direction: column;
  gap: var(--checkout-section-gap);
}

.nmg-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: var(--checkout-section-gap);
}

.nmg-checkout-field-hidden-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nmg-checkout-field-grid {
  display: grid;
  gap: var(--checkout-field-gap);
}

@media (min-width: 768px) {
  .nmg-checkout-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nmg-checkout-field-grid .form-row-wide,
  .nmg-checkout-field-grid .notes,
  .nmg-checkout-field-grid #order_comments_field,
  .nmg-checkout-field-grid .wccf_field_container_checkbox,
  .nmg-checkout-field-grid .wccf_field_container_textarea,
  .nmg-checkout-field-grid .wccf_field_container_file {
    grid-column: 1 / -1;
  }
}

.nmg-checkout-form .form-row label,
.nmg-checkout-form .nmg-checkout-field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nmg-checkout-section .form-row .required,
.nmg-checkout-section .wccf_field_container abbr.required {
  display: none;
}

.nmg-checkout-form .form-row .optional {
  display: none;
}

.nmg-checkout-section .form-row {
  margin: 0;
}

/* Unified input styling — WC billing fields + WCCF plugin fields */
.nmg-wc-shell .nmg-checkout-section input.input-text,
.nmg-wc-shell .nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.nmg-wc-shell .nmg-checkout-section input[type="text"],
.nmg-wc-shell .nmg-checkout-section input[type="email"],
.nmg-wc-shell .nmg-checkout-section input[type="password"],
.nmg-wc-shell .nmg-checkout-section input[type="number"],
.nmg-wc-shell .nmg-checkout-section input[type="tel"],
.nmg-wc-shell .nmg-checkout-section select,
.nmg-wc-shell .nmg-checkout-section textarea,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container input:not([type="checkbox"]):not([type="radio"]),
.nmg-wc-shell .nmg-checkout-section .wccf_field_container select,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container textarea,
.nmg-checkout-section input.input-text,
.nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.nmg-checkout-section input[type="text"],
.nmg-checkout-section input[type="email"],
.nmg-checkout-section input[type="password"],
.nmg-checkout-section input[type="number"],
.nmg-checkout-section input[type="tel"],
.nmg-checkout-section select,
.nmg-checkout-section textarea,
.nmg-checkout-section .wccf_text,
.nmg-checkout-section .wccf_email,
.nmg-checkout-section .wccf_password,
.nmg-checkout-section .wccf_number,
.nmg-checkout-section .wccf_decimal,
.nmg-checkout-section .wccf_textarea,
.nmg-checkout-section .wccf_select,
.nmg-checkout-section .wccf_multiselect {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem;
  background: var(--checkout-input-bg) !important;
  background-color: var(--checkout-input-bg) !important;
  color: var(--foreground) !important;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-wc-shell .nmg-checkout-section input.input-text:focus,
.nmg-wc-shell .nmg-checkout-section input.input-text:focus-visible,
.nmg-wc-shell .nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]):focus,
.nmg-wc-shell .nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.nmg-wc-shell .nmg-checkout-section input[type="text"]:focus,
.nmg-wc-shell .nmg-checkout-section input[type="text"]:focus-visible,
.nmg-wc-shell .nmg-checkout-section input[type="email"]:focus,
.nmg-wc-shell .nmg-checkout-section input[type="email"]:focus-visible,
.nmg-wc-shell .nmg-checkout-section input[type="password"]:focus,
.nmg-wc-shell .nmg-checkout-section input[type="password"]:focus-visible,
.nmg-wc-shell .nmg-checkout-section input[type="number"]:focus,
.nmg-wc-shell .nmg-checkout-section input[type="number"]:focus-visible,
.nmg-wc-shell .nmg-checkout-section input[type="tel"]:focus,
.nmg-wc-shell .nmg-checkout-section input[type="tel"]:focus-visible,
.nmg-wc-shell .nmg-checkout-section select:focus,
.nmg-wc-shell .nmg-checkout-section select:focus-visible,
.nmg-wc-shell .nmg-checkout-section textarea:focus,
.nmg-wc-shell .nmg-checkout-section textarea:focus-visible,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container input:not([type="checkbox"]):not([type="radio"]):focus,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container select:focus,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container select:focus-visible,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container textarea:focus,
.nmg-wc-shell .nmg-checkout-section .wccf_field_container textarea:focus-visible,
.nmg-checkout-section input.input-text:focus,
.nmg-checkout-section input.input-text:focus-visible,
.nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]):focus,
.nmg-checkout-section .woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.nmg-checkout-section input[type="text"]:focus,
.nmg-checkout-section input[type="text"]:focus-visible,
.nmg-checkout-section input[type="email"]:focus,
.nmg-checkout-section input[type="email"]:focus-visible,
.nmg-checkout-section input[type="password"]:focus,
.nmg-checkout-section input[type="password"]:focus-visible,
.nmg-checkout-section input[type="number"]:focus,
.nmg-checkout-section input[type="number"]:focus-visible,
.nmg-checkout-section input[type="tel"]:focus,
.nmg-checkout-section input[type="tel"]:focus-visible,
.nmg-checkout-section select:focus,
.nmg-checkout-section select:focus-visible,
.nmg-checkout-section textarea:focus,
.nmg-checkout-section textarea:focus-visible,
.nmg-checkout-section .wccf_text:focus,
.nmg-checkout-section .wccf_text:focus-visible,
.nmg-checkout-section .wccf_email:focus,
.nmg-checkout-section .wccf_email:focus-visible,
.nmg-checkout-section .wccf_password:focus,
.nmg-checkout-section .wccf_password:focus-visible,
.nmg-checkout-section .wccf_number:focus,
.nmg-checkout-section .wccf_number:focus-visible,
.nmg-checkout-section .wccf_decimal:focus,
.nmg-checkout-section .wccf_decimal:focus-visible,
.nmg-checkout-section .wccf_textarea:focus,
.nmg-checkout-section .wccf_textarea:focus-visible,
.nmg-checkout-section .wccf_select:focus,
.nmg-checkout-section .wccf_select:focus-visible,
.nmg-checkout-section .wccf_multiselect:focus,
.nmg-checkout-section .wccf_multiselect:focus-visible {
  outline: none;
  border-color: var(--ring) !important;
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.5) !important;
}

.nmg-wc-shell .nmg-checkout-section input:-webkit-autofill,
.nmg-wc-shell .nmg-checkout-section input:-webkit-autofill:hover,
.nmg-wc-shell .nmg-checkout-section input:-webkit-autofill:focus,
.nmg-checkout-section input:-webkit-autofill,
.nmg-checkout-section input:-webkit-autofill:hover,
.nmg-checkout-section input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--foreground) !important;
  box-shadow: 0 0 0 1000px var(--checkout-input-bg) inset !important;
  caret-color: var(--foreground);
}

.nmg-checkout-section textarea,
.nmg-checkout-section .wccf_textarea {
  min-height: 5rem;
}

.nmg-checkout-section input::placeholder,
.nmg-checkout-section textarea::placeholder {
  color: oklch(0.65 0.01 240);
  opacity: 1;
}

.nmg-checkout-section input[type="checkbox"],
.nmg-checkout-section input[type="radio"] {
  width: auto;
  min-height: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}

.nmg-checkout-plugin-fields .wccf_field_container {
  margin: 0;
}

.nmg-checkout-plugin-fields .wccf_field_container > label:first-child:has(.wccf_label:empty),
.nmg-checkout-plugin-fields .wccf_field_container_checkbox > label:first-child {
  display: none;
}

/* Remote recovery — optional add-on card (matches payment method cards) */
.nmg-checkout-plugin-fields .wccf_field_container_checkbox {
  grid-column: 1 / -1;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: oklch(0.18 0.006 240 / 0.35);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox:hover {
  background: var(--card);
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox:has(input[type="checkbox"]:checked) {
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.88 0.22 130 / 0.06);
  box-shadow: 0 0 0 1px oklch(0.88 0.22 130 / 0.12);
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox:has(input[type="checkbox"]:focus-visible) {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.35);
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox ul {
  margin: 0;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  list-style: none;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-height: 1.125rem;
  margin: 0.125rem 0 0;
  flex-shrink: 0;
  border: 1px solid oklch(0.65 0.01 240) !important;
  border-radius: 0.25rem;
  background: transparent !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox input[type="checkbox"]:checked {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 0.34375rem;
  top: 0.125rem;
  width: 0.3125rem;
  height: 0.5625rem;
  border: solid var(--primary-foreground);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox ul li > label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
  line-height: 1.4;
  cursor: pointer;
}

.nmg-checkout-plugin-fields .wccf_field_container_checkbox > small {
  display: block;
  margin: 0.625rem 0 0;
  padding-left: 1.875rem;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted-foreground);
}

.nmg-checkout-plugin-fields .wccf_price_label {
  margin-left: 0;
  color: var(--primary) !important;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nmg-checkout-plugin-fields .wccf_field_container label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nmg-checkout-plugin-fields .wccf_field_container .wccf_label {
  display: inline;
  margin-bottom: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

/* Match WooCommerce contact labels — WCCF plugin defaults abbr.required to red/block */
.nmg-checkout-plugin-fields .wccf_field_container abbr.required,
.nmg-checkout-plugin-fields .wccf_field_container label abbr {
  display: inline !important;
  margin-left: 0.125rem;
  color: oklch(0.65 0.01 240) !important;
  text-decoration: none;
  font-size: inherit;
  letter-spacing: inherit;
  cursor: default;
}

.nmg-checkout-plugin-fields .wccf_field_container input[type="text"],
.nmg-checkout-plugin-fields .wccf_field_container input[type="email"],
.nmg-checkout-plugin-fields .wccf_field_container input[type="password"],
.nmg-checkout-plugin-fields .wccf_field_container input[type="number"],
.nmg-checkout-plugin-fields .wccf_field_container textarea,
.nmg-checkout-plugin-fields .wccf_field_container select {
  width: 100%;
  min-height: 2.75rem;
}

.nmg-checkout-plugin-fields .wccf_field_container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nmg-checkout-plugin-fields .wccf_field_container small {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.nmg-yith-wcdppm-data {
  display: none !important;
}

.nmg-checkout-review tr.yith-wcdppm-payment-method {
  display: none !important;
}

.nmg-checkout-review__payment-adjustment {
  display: none;
}

.nmg-checkout-review__payment-adjustment dd .yith_wcdppm_symbol {
  color: var(--primary);
  margin-right: 0.125rem;
}

.nmg-checkout-review__payment-adjustment dd .amount {
  color: var(--foreground);
}

.nmg-checkout-review__payment-adjustment.is-discount dd .amount,
.nmg-checkout-review__payment-adjustment.is-discount dd {
  color: var(--primary);
}

.nmg-payment-methods-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--checkout-block-gap, 1.5rem);
}

.nmg-payment-methods-grid {
  display: grid;
  gap: var(--checkout-field-gap, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nmg-payment-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nmg-payment-methods-grid > .nmg-payment-method-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.nmg-payment-method-card {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.nmg-payment-method-card > input.input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nmg-payment-method-card__label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  min-height: 5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: oklch(0.18 0.006 240 / 0.35);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nmg-payment-method-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: oklch(0.68 0.01 240);
  flex-shrink: 0;
}

.nmg-payment-method-card__icon .nmg-icon,
.nmg-payment-method-card__glyph,
.nmg-payment-method-card__icon .nmg-payment-icon {
  display: block;
  width: auto;
  height: 1.5rem;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  color: oklch(0.82 0.01 240);
  stroke: currentColor;
}

.nmg-payment-method-card__icon img,
.nmg-payment-method-card__icon .customized_payment_icon {
  display: none !important;
}

.nmg-payment-method-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 2.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

.nmg-payment-method-card__badge--discount {
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--primary);
}

.nmg-payment-method-card__badge--fee {
  border: 1px solid oklch(0.65 0.01 240 / 0.35);
  background: oklch(0.22 0.006 240 / 0.8);
  color: oklch(0.82 0.01 240);
}

.nmg-payment-method-card__label:hover {
  background: var(--card);
}

.nmg-payment-method-card input.input-radio:checked + .nmg-payment-method-card__label {
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.88 0.22 130 / 0.06);
}

.nmg-payment-method-card input.input-radio:checked + .nmg-payment-method-card__label .nmg-payment-method-card__icon {
  border-color: oklch(0.88 0.22 130 / 0.4);
  color: var(--primary);
}

.nmg-payment-method-card__copy {
  flex: 1;
  min-width: 0;
}

.nmg-payment-method-card__title {
  display: block;
  font-weight: 500;
  color: var(--foreground);
}

.nmg-payment-method-card__note {
  display: block;
  margin-top: 0.125rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: oklch(0.65 0.01 240);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nmg-payment-method-card__radio {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--border);
  border-radius: 9999px;
  flex-shrink: 0;
}

.nmg-payment-method-card input.input-radio:checked + .nmg-payment-method-card__label .nmg-payment-method-card__radio {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--card);
}

.nmg-payment-details-panel {
  margin: 0;
}

.nmg-payment-details-panel__box {
  margin: 0;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.25);
  background: oklch(0.14 0.005 240 / 0.55);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.nmg-checkout-payment .payment_box p {
  margin: 0 0 0.75rem;
}

.nmg-checkout-payment .payment_box p:last-child {
  margin-bottom: 0;
}

.nmg-checkout-payment .payment_box fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.nmg-checkout-payment .payment_box fieldset + fieldset {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nmg-checkout-payment .payment_box ol,
.nmg-checkout-payment .payment_box ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.nmg-checkout-payment .payment_box a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nmg-checkout-payment .payment_box span[style*="#ff0000"],
.nmg-checkout-payment .payment_box span[style*="color: red"],
.nmg-checkout-payment .payment_box span[style*="color:#f00"] {
  display: block !important;
  margin: 0.75rem 0 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.5rem !important;
  border: 1px solid oklch(0.65 0.22 25 / 0.45) !important;
  background: oklch(0.65 0.22 25 / 0.1) !important;
  color: var(--foreground) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.nmg-checkout-payment .payment_box .form-row {
  margin: 0;
}

.nmg-checkout-payment .payment_box .form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nmg-checkout-payment .payment_box input[type="text"],
.nmg-checkout-payment .payment_box input[type="email"],
.nmg-checkout-payment .payment_box input[type="password"],
.nmg-checkout-payment .payment_box textarea,
.nmg-checkout-payment .payment_box .large-field {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem;
  background: var(--checkout-input-bg) !important;
  background-color: var(--checkout-input-bg) !important;
  color: var(--foreground) !important;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-checkout-payment .payment_box input[type="text"]:focus,
.nmg-checkout-payment .payment_box input[type="text"]:focus-visible,
.nmg-checkout-payment .payment_box input[type="email"]:focus,
.nmg-checkout-payment .payment_box input[type="email"]:focus-visible,
.nmg-checkout-payment .payment_box textarea:focus,
.nmg-checkout-payment .payment_box textarea:focus-visible,
.nmg-checkout-payment .payment_box .large-field:focus,
.nmg-checkout-payment .payment_box .large-field:focus-visible {
  outline: none;
  border-color: var(--ring) !important;
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.25);
}

.nmg-checkout-review__items {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nmg-checkout-review__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.nmg-checkout-review__item + .nmg-checkout-review__item {
  margin-top: 0.75rem;
}

.nmg-checkout-review__item-meta {
  margin-top: 0.125rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  color: oklch(0.65 0.01 240);
}

/* Platform meta on its own line; label + value inline: "Platform: Xbox One" */
.nmg-checkout-review__item-meta dl.variation,
.nmg-cart-line__info dl.variation {
  display: block;
  margin: 0.125rem 0 0;
  padding: 0;
}

.nmg-checkout-review__item-meta dl.variation dt,
.nmg-checkout-review__item-meta dl.variation dd,
.nmg-cart-line__info dl.variation dt,
.nmg-cart-line__info dl.variation dd {
  display: inline;
  margin: 0;
}

.nmg-checkout-review__item-meta dl.variation dd p,
.nmg-cart-line__info dl.variation dd p {
  display: inline;
  margin: 0;
}

.nmg-checkout-review__item-total {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.875rem;
  white-space: nowrap;
}

.nmg-checkout-review__totals {
  margin: 1rem 0 0;
}

.nmg-checkout-review__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.nmg-checkout-review__row + .nmg-checkout-review__row {
  margin-top: 0.5rem;
}

.nmg-checkout-review__row dt,
.nmg-checkout-review__row dd {
  margin: 0;
}

.nmg-checkout-review__row dt {
  color: oklch(0.65 0.01 240);
}

.nmg-checkout-review__row dd {
  font-family: Geist Mono, ui-monospace, monospace;
}

.nmg-checkout-review__free {
  color: var(--primary) !important;
}

.nmg-checkout-review__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nmg-checkout-review__total span {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-checkout-review__total strong,
.nmg-checkout-review__total .amount,
.nmg-checkout-review__total .woocommerce-Price-amount,
.nmg-checkout-review__total bdi,
.nmg-checkout-review__total-amount,
.nmg-checkout-review__total-amount .amount,
.nmg-checkout-review__total-amount .woocommerce-Price-amount,
.nmg-checkout-review__total-amount bdi {
  font-family: Geist Mono, ui-monospace, monospace !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 2rem !important;
  letter-spacing: -0.025em;
  color: var(--foreground) !important;
}

.nmg-checkout-review__total-amount strong {
  font-weight: 600 !important;
}

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

.nmg-checkout-place-order {
  margin-top: 1.25rem;
}

.nmg-checkout-place-order .place-order {
  margin: 0;
  padding: 0;
}

.nmg-checkout-summary-card .nmg-checkout-place-order-btn,
.nmg-checkout-summary-card button.nmg-checkout-place-order-btn {
  display: inline-flex !important;
  width: 100%;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.nmg-checkout-summary-card .nmg-checkout-place-order-btn:hover {
  background: oklch(0.88 0.22 130 / 0.9) !important;
  color: var(--primary-foreground) !important;
}

.nmg-checkout-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: oklch(0.65 0.01 240);
}

.nmg-checkout-form .woocommerce-form-coupon-toggle,
.nmg-checkout-form .checkout_coupon {
  display: none !important;
}

.nmg-wc-shell .nmg-checkout-aside #payment {
  display: none;
}

/* Single product — reviews (tab nav hidden; section heading in template) */
.nmg-single-product-tabs .woocommerce-tabs {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.nmg-single-product-tabs .woocommerce-tabs ul.tabs {
  display: none !important;
}

.nmg-single-product-tabs .woocommerce-Tabs-panel {
  padding: 0;
  color: var(--muted-foreground);
}

.nmg-single-product-tabs .woocommerce-Tabs-panel h2,
.nmg-single-product-tabs #reviews .woocommerce-Reviews-title,
.nmg-single-product-tabs .woocommerce-Reviews-title {
  display: none !important;
}

.nmg-single-product__rating .star-rating {
  float: none;
  margin: 0;
  color: var(--primary);
  font-size: 0.875rem;
}

.nmg-single-product__rating .star-rating::before {
  color: oklch(0.35 0.008 240);
}

.nmg-single-product__rating .star-rating span::before {
  color: var(--primary);
}

.nmg-single-product__trust-chip {
  transition: border-color 0.15s ease;
}

.nmg-single-product__trust-chip:hover {
  border-color: oklch(0.88 0.22 130 / 0.35);
}

.nmg-single-product__payments span {
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nmg-single-product__payments span:hover {
  border-color: oklch(0.88 0.22 130 / 0.35);
  color: var(--foreground);
}

.nmg-single-product-tabs .woocommerce-Reviews {
  max-width: none;
}

.nmg-single-product-wall ol.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nmg-single-product-wall ol.commentlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .nmg-single-product-wall ol.commentlist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nmg-single-product-wall ol.commentlist > li.review {
  margin: 0;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.6);
  border-radius: 0.75rem;
  background: oklch(0.18 0.006 240 / 0.6);
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-single-product-wall ol.commentlist > li.review:hover {
  border-color: oklch(0.88 0.22 130 / 0.35);
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.25);
}

.nmg-single-product-wall ol.commentlist .comment-text {
  margin: 0;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.nmg-single-product-wall ol.commentlist .meta {
  order: 2;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid oklch(0.26 0.008 240 / 0.6);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-single-product-wall ol.commentlist .description {
  order: 1;
  flex: 1;
}

.nmg-single-product-wall ol.commentlist .description p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: oklch(0.97 0 0 / 0.9);
}

.nmg-single-product-wall ol.commentlist .description p::before {
  content: "\201C";
  color: var(--primary);
}

.nmg-single-product-wall ol.commentlist .description p::after {
  content: "\201D";
  color: var(--primary);
}

.nmg-single-product-wall ol.commentlist .star-rating {
  float: none;
  order: 0;
  margin: 0;
  color: var(--primary);
}

.nmg-single-product-wall #review_form_wrapper {
  margin-top: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.6);
  border-radius: 1rem;
  background: oklch(0.18 0.006 240 / 0.6);
  backdrop-filter: blur(12px);
}

.nmg-single-product-tabs #review_form_wrapper .comment-reply-title,
.nmg-single-product-tabs #review_form_wrapper #reply-title,
.nmg-review-modal__body #review_form_wrapper .comment-reply-title,
.nmg-review-modal__body #review_form_wrapper #reply-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.nmg-single-product-tabs #review_form .comment-form-rating label,
.nmg-single-product-tabs #review_form label,
.nmg-review-modal__body #review_form .comment-form-rating label,
.nmg-review-modal__body #review_form label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 240);
}

.nmg-single-product-tabs #review_form input[type="text"],
.nmg-single-product-tabs #review_form input[type="email"],
.nmg-single-product-tabs #review_form textarea,
.nmg-review-modal__body #review_form input[type="text"],
.nmg-review-modal__body #review_form input[type="email"],
.nmg-review-modal__body #review_form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
}

.nmg-single-product-tabs #review_form input[type="submit"],
.nmg-single-product-tabs #review_form .submit,
.nmg-review-modal__body #review_form input[type="submit"],
.nmg-review-modal__body #review_form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.nmg-single-product-tabs #review_form input[type="submit"]:hover,
.nmg-review-modal__body #review_form input[type="submit"]:hover {
  background: oklch(0.88 0.22 130 / 0.9);
}

.nmg-single-product-tabs .woocommerce-noreviews {
  margin: 0;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: 0.75rem;
  text-align: center;
  color: oklch(0.65 0.01 240);
}

.nmg-single-product-tabs #review_form_wrapper,
.nmg-review-modal__body #review_form_wrapper {
  max-width: 42rem;
  padding: 1.5rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.6);
  border-radius: 1rem;
  background: oklch(0.18 0.006 240 / 0.45);
}

.nmg-single-product-tabs #review_form .comment-form-rating,
.nmg-review-modal__body #review_form .comment-form-rating {
  margin-bottom: 1rem;
}

.nmg-single-product-tabs #review_form p.stars,
.nmg-review-modal__body #review_form p.stars {
  display: inline-flex;
  gap: 0.125rem;
  margin: 0;
  line-height: 1;
}

.nmg-single-product-tabs #review_form p.stars span,
.nmg-review-modal__body #review_form p.stars span {
  display: inline-flex;
  gap: 0.125rem;
}

.nmg-single-product-tabs #review_form p.stars a,
.nmg-review-modal__body #review_form p.stars a {
  position: relative;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
}

.nmg-single-product-tabs #review_form p.stars a::before,
.nmg-review-modal__body #review_form p.stars a::before {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
  color: oklch(0.35 0.008 240);
}

.nmg-single-product-tabs #review_form p.stars:hover a::before,
.nmg-single-product-tabs #review_form p.stars.selected a.active::before,
.nmg-single-product-tabs #review_form p.stars.selected a:not(.active)::before,
.nmg-review-modal__body #review_form p.stars:hover a::before,
.nmg-review-modal__body #review_form p.stars.selected a.active::before,
.nmg-review-modal__body #review_form p.stars.selected a:not(.active)::before {
  color: var(--primary);
}

.nmg-single-product-tabs #review_form p.stars:hover a:hover ~ a::before,
.nmg-single-product-tabs #review_form p.stars.selected a.active ~ a:not(.active)::before,
.nmg-review-modal__body #review_form p.stars:hover a:hover ~ a::before,
.nmg-review-modal__body #review_form p.stars.selected a.active ~ a:not(.active)::before {
  color: oklch(0.35 0.008 240);
}

.nmg-review-modal__body #review_form_wrapper {
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.nmg-review-modal__body #reply-title {
  display: none;
}

.nmg-review-modal__body .woocommerce-verification-required,
.nmg-review-modal__body .must-log-in {
  margin: 0;
  padding: 1rem 1.125rem;
  border: 1px dashed var(--border);
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: oklch(0.75 0.01 240);
}

.nmg-review-modal__body .must-log-in a {
  color: var(--primary);
}

.nmg-review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 0;
}

@media (min-width: 640px) {
  .nmg-review-modal {
    place-items: center;
    padding: 1.5rem;
  }
}

.nmg-review-modal[hidden] {
  display: none !important;
}

.nmg-review-modal--premium .nmg-review-modal__panel {
  width: min(100%, 52rem);
  max-height: min(92vh, 640px);
}

.nmg-review-modal--premium .nmg-review-modal__body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.nmg-review-modal--premium .nmg-review-modal__body #review_form {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.nmg-review-modal--premium .nmg-review-stepper {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.nmg-review-modal__header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nmg-review-modal__header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: oklch(0.88 0.22 130 / 0.14);
  color: var(--primary);
}

.nmg-review-modal--premium .nmg-review-modal__header {
  padding: 1rem 1.5rem;
}

.nmg-review-modal--premium .nmg-review-modal__eyebrow {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
}

.nmg-review-modal--stepper .nmg-review-modal__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nmg-review-modal__overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.05 0.005 240 / 0.72);
  backdrop-filter: blur(6px);
}

.nmg-review-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 28rem);
  max-height: min(92vh, 680px);
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 1rem 1rem 0 0;
  background: oklch(0.14 0.005 240 / 0.98);
  box-shadow: 0 24px 64px oklch(0 0 0 / 0.45);
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .nmg-review-modal__panel {
    border-radius: 1rem;
  }
}

.nmg-review-all-modal .nmg-review-modal__panel {
  width: min(72rem, calc(100vw - 2.5rem));
  max-height: min(92vh, 960px);
}

.nmg-review-all-modal .nmg-review-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.25rem 1.25rem;
}

.nmg-review-all-modal .nmg-review-modal__header {
  padding: 1.25rem 1.5rem;
}

.nmg-review-all-modal__title {
  font-size: 1.375rem;
}

@media (min-width: 1024px) {
  .nmg-review-all-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nmg-review-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid oklch(0.26 0.008 240 / 0.45);
}

.nmg-review-modal__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-review-modal__title {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.nmg-review-modal__close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.6);
  border-radius: 9999px;
  background: oklch(0.18 0.006 240 / 0.35);
  color: oklch(0.75 0.01 240);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.nmg-review-modal__close:hover {
  border-color: oklch(0.88 0.22 130 / 0.45);
  color: var(--primary);
  background: oklch(0.18 0.006 240 / 0.55);
}

.nmg-review-modal__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1rem 1.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

/* Review modal — premium split stepper */
.nmg-review-stepper--premium {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.nmg-review-stepper__shell {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  overflow: hidden;
}

.nmg-review-stepper__sidebar {
  border-right: 1px solid oklch(0.26 0.008 240 / 0.45);
  padding: 1.25rem 1rem 1.25rem 1.25rem;
  overflow: auto;
}

.nmg-review-stepper__rail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nmg-review-stepper__rail-item {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.625rem 0.75rem;
  align-items: start;
  padding: 0 0 1.5rem;
}

.nmg-review-stepper__rail-item:last-child {
  padding-bottom: 0;
}

.nmg-review-stepper__rail-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 1rem;
  z-index: 0;
  width: 2px;
  height: calc(100% - 0.5rem);
  transform: translateX(-50%);
  background: oklch(0.32 0.008 240);
}

.nmg-review-stepper__rail-item.is-complete:not(:last-child)::after {
  background: oklch(0.88 0.22 130 / 0.45);
}

.nmg-review-stepper__rail-marker {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid oklch(0.32 0.008 240);
  border-radius: 9999px;
  background: oklch(0.16 0.006 240 / 0.8);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: oklch(0.62 0.01 240);
}

.nmg-review-stepper__rail-item.is-active .nmg-review-stepper__rail-marker {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 0 4px oklch(0.88 0.22 130 / 0.14);
}

.nmg-review-stepper__rail-item.is-complete .nmg-review-stepper__rail-marker {
  border-color: oklch(0.88 0.22 130 / 0.5);
  background: oklch(0.88 0.22 130 / 0.12);
  color: var(--primary);
}

.nmg-review-stepper__rail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.125rem;
}

.nmg-review-stepper__rail-label {
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
  color: oklch(0.52 0.01 240);
}

.nmg-review-stepper__rail-item.is-active .nmg-review-stepper__rail-label {
  color: var(--primary);
}

.nmg-review-stepper__rail-item.is-complete .nmg-review-stepper__rail-label {
  color: oklch(0.72 0.01 240);
}

.nmg-review-stepper__rail-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: oklch(0.52 0.01 240);
}

.nmg-review-stepper__rail-item.is-active .nmg-review-stepper__rail-desc {
  color: oklch(0.68 0.01 240);
}

.nmg-review-stepper__content {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem 1rem;
  overflow: auto;
}

.nmg-review-stepper:not(.nmg-review-stepper--premium) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nmg-review-stepper__progress {
  display: none;
}

.nmg-review-stepper__dot {
  display: none;
}

.nmg-review-stepper__head {
  text-align: center;
}

.nmg-review-stepper--premium .nmg-review-stepper__head {
  text-align: left;
}

.nmg-review-stepper--premium .nmg-review-stepper__pill {
  display: none;
}

.nmg-review-stepper--premium .nmg-review-stepper__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nmg-review-stepper__pill {
  display: inline-flex;
  padding: 0.1875rem 0.625rem;
  border: 1px solid oklch(0.88 0.22 130 / 0.35);
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.1);
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-review-stepper__title {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--foreground);
}

.nmg-review-stepper__hint {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: oklch(0.68 0.01 240);
}

.nmg-review-stepper__error {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid oklch(0.65 0.18 25 / 0.5);
  border-radius: 0.5rem;
  background: oklch(0.25 0.06 25 / 0.25);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: oklch(0.78 0.12 25);
  text-align: center;
}

.nmg-review-stepper--premium .nmg-review-stepper__hint {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: oklch(0.62 0.01 240);
}

.nmg-review-stepper--premium .nmg-review-stepper__error {
  text-align: left;
}

.nmg-review-stepper__panels {
  min-height: 0;
}

.nmg-review-stepper__step[data-step-panel="1"] {
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: oklch(0.18 0.006 240 / 0.45);
}

.nmg-review-stepper--premium .nmg-review-stepper__step[data-step-panel="1"] {
  padding: 0;
  border: 0;
  background: transparent;
}

.nmg-review-stepper__step[data-step-panel="2"],
.nmg-review-stepper__step[data-step-panel="3"] {
  padding: 0;
}

.nmg-review-stepper__step[hidden] {
  display: none !important;
}

.nmg-review-stepper__step .comment-form-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}

.nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating {
  align-items: flex-start;
  text-align: left;
  margin-top: 1.25rem;
}

.nmg-review-stepper__step .comment-form-rating label,
.nmg-review-stepper__step .comment-form-rating #comment-form-rating-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nmg-review-stepper__step .comment-form-rating select#rating {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nmg-review-stepper__step .comment-form-rating p.stars,
.nmg-review-stepper__step .comment-form-rating p.stars span {
  justify-content: center;
  gap: 0.25rem;
}

.nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars,
.nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars span {
  justify-content: flex-start;
  gap: 0.5rem;
}

.nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars a {
  width: 3rem;
  height: 3rem;
}

.nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars a::before {
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.nmg-review-stepper__stars-hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.52 0.01 240);
}

.nmg-review-stepper-form .comment-form-rating p.stars a::before {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.nmg-review-stepper-form .comment-form-rating p.stars:hover a::before {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.nmg-review-stepper-form .comment-form-rating p.stars:hover a:hover::before,
.nmg-review-stepper-form .comment-form-rating p.stars.selected a.active::before,
.nmg-review-stepper-form .comment-form-rating p.stars.selected a:not(.active)::before {
  color: var(--primary);
  -webkit-text-stroke: 0;
}

.nmg-review-stepper-form .comment-form-rating p.stars:hover a:hover ~ a::before,
.nmg-review-stepper-form .comment-form-rating p.stars.selected a.active ~ a:not(.active)::before {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.nmg-review-modal--premium #review_form p.stars.selected a.active::before,
.nmg-review-modal--premium #review_form p.stars.selected a:not(.active)::before {
  color: var(--primary);
  -webkit-text-stroke: 0;
}

.nmg-review-modal--premium #review_form p.stars.selected a.active ~ a:not(.active)::before {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
}

.nmg-review-stepper__step[data-step-panel="2"] .comment-form-comment label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nmg-review-stepper__step[data-step-panel="2"] .comment-form-comment textarea {
  min-height: 9rem;
  border-radius: 0.875rem;
}

@media (max-width: 639px) {
  .nmg-review-stepper__step[data-step-panel="2"] .comment-form-comment textarea {
    min-height: 6rem;
  }
}

.nmg-review-stepper-form input[type="text"],
.nmg-review-stepper-form input[type="email"],
.nmg-review-stepper-form textarea {
  border-radius: 0.875rem !important;
}

.nmg-review-stepper-form input[type="text"]:focus,
.nmg-review-stepper-form input[type="email"]:focus,
.nmg-review-stepper-form textarea:focus {
  border-color: oklch(0.88 0.22 130 / 0.55);
  outline: none;
}

.nmg-review-stepper__step .comment-notes {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: oklch(0.65 0.01 240);
}

.nmg-review-stepper__step .comment-form-cookies-consent {
  margin-top: 0.75rem;
}

.nmg-review-stepper__step .comment-form-cookies-consent label {
  text-transform: none;
  letter-spacing: normal;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.45;
  color: oklch(0.65 0.01 240);
}

.nmg-review-stepper__footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem 1.125rem;
  border-top: 1px solid oklch(0.26 0.008 240 / 0.45);
  background: oklch(0.14 0.005 240 / 0.98);
}

.nmg-review-stepper__footer[hidden] {
  display: none !important;
}

.nmg-review-stepper__back,
.nmg-review-stepper__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 6.5rem;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid oklch(0.26 0.008 240 / 0.6);
  border-radius: 9999px;
  background: oklch(0.18 0.006 240 / 0.35);
  font-size: 0.875rem;
  font-weight: 600;
  color: oklch(0.75 0.01 240);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.nmg-review-stepper__back:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nmg-review-stepper__back:hover:not(:disabled) {
  border-color: oklch(0.88 0.22 130 / 0.45);
  color: var(--primary);
}

.nmg-review-stepper__next {
  border: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.35),
    0 8px 24px oklch(0.88 0.22 130 / 0.14);
}

.nmg-review-stepper__next-icon {
  flex-shrink: 0;
}

.nmg-review-stepper__next:hover {
  background: oklch(0.88 0.22 130 / 0.94);
  color: var(--primary-foreground);
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.45),
    0 14px 36px oklch(0.88 0.22 130 / 0.18);
  transform: translateY(-1px);
}

.nmg-review-stepper__back[hidden],
.nmg-review-stepper__next[hidden] {
  display: none !important;
}

.nmg-review-stepper[data-step="3"] .nmg-review-stepper__next,
.nmg-review-stepper--premium[data-step="3"] .nmg-review-stepper__next {
  display: none !important;
}

@media (max-width: 639px) {
  .nmg-review-modal {
    min-height: 100dvh;
  }

  .nmg-review-modal--premium .nmg-review-modal__panel {
    width: 100%;
    max-height: min(96dvh, 720px);
    border-radius: 1rem 1rem 0 0;
  }

  @supports not (height: 100dvh) {
    .nmg-review-modal--premium .nmg-review-modal__panel {
      max-height: min(96vh, 720px);
    }
  }

  .nmg-review-stepper__shell {
    grid-template-columns: 1fr;
  }

  .nmg-review-stepper__sidebar {
    border-right: 0;
    border-bottom: 1px solid oklch(0.26 0.008 240 / 0.45);
    padding: 1rem 1.25rem;
  }

  .nmg-review-stepper__rail {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nmg-review-stepper__rail-item {
    grid-template-columns: 1fr;
    justify-items: center;
    flex: 1;
    padding: 0;
    text-align: center;
  }

  .nmg-review-stepper__rail-item:not(:last-child)::after {
    top: 1rem;
    left: calc(50% + 1rem);
    width: calc(100% - 2rem);
    height: 2px;
    transform: none;
  }

  .nmg-review-stepper__rail-marker {
    grid-row: auto;
  }

  .nmg-review-stepper__rail-desc {
    display: none;
  }

  .nmg-review-stepper__content {
    padding: 1rem 1.25rem 0.75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nmg-review-stepper--premium .nmg-review-stepper__title {
    font-size: 1.125rem;
  }

  .nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nmg-review-stepper--premium .nmg-review-stepper__step .comment-form-rating p.stars a::before {
    font-size: 1.625rem;
  }

  .nmg-review-stepper__footer {
    padding: 0.75rem 1.25rem max(1rem, env(safe-area-inset-bottom));
  }

  .nmg-review-stepper__back,
  .nmg-review-stepper__next {
    min-width: 6.5rem;
  }
}

.nmg-review-stepper__step-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.nmg-review-stepper__step-actions[hidden] {
  display: none !important;
}

.nmg-review-stepper__step-actions .form-submit {
  margin: 0;
  flex: 1;
  max-width: 14rem;
}

.nmg-review-stepper__step[data-step-panel="3"] .form-submit {
  margin-top: 0;
  margin-bottom: 0;
}

.nmg-review-stepper__step[data-step-panel="3"] .form-submit input[type="submit"] {
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  border: 0 !important;
  border-radius: 9999px !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.35),
    0 8px 24px oklch(0.88 0.22 130 / 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.nmg-review-stepper__step[data-step-panel="3"] .form-submit input[type="submit"]:hover {
  background: oklch(0.88 0.22 130 / 0.94) !important;
  box-shadow:
    0 1px 0 oklch(0.88 0.22 130 / 0.45),
    0 14px 36px oklch(0.88 0.22 130 / 0.18);
  transform: translateY(-1px);
}

.nmg-review-stepper__step[data-step-panel="3"] .form-submit input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 oklch(0.88 0.22 130 / 0.25);
}

.nmg-review-modal__close:focus-visible,
.nmg-review-stepper__back:focus-visible,
.nmg-review-stepper__next:focus-visible,
.nmg-review-stepper__step .comment-form-rating p.stars a:focus-visible,
.nmg-review-stepper-form input:focus-visible,
.nmg-review-stepper-form textarea:focus-visible,
.nmg-review-stepper__step[data-step-panel="3"] .form-submit input[type="submit"]:focus-visible {
  outline: 2px solid oklch(0.88 0.22 130 / 0.65);
  outline-offset: 2px;
}

.nmg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nmg-review-stepper-form .comment-form-author,
.nmg-review-stepper-form .comment-form-email {
  margin-bottom: 0.875rem;
}

.nmg-review-modal__fallback {
  margin: 0;
  padding: 1rem 1.125rem;
  border: 1px dashed var(--border);
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: oklch(0.65 0.01 240);
}

html.nmg-review-modal-open {
  overflow: hidden;
}

html.nmg-review-modal-open body {
  overflow: hidden;
}

/* Shop sidebar — collapsible filters on mobile */
@media (min-width: 1024px) {
  .nmg-shop-filters > summary {
    display: none;
  }

  .nmg-shop-filters .nmg-shop-filters__inner {
    display: block !important;
  }
}

/* Account login */
.nmg-account-login {
  max-width: 76rem;
  margin: 0 auto;
}

.nmg-account-login--split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nmg-account-login--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
  }
}

.nmg-wc-shell .u-columns.col2-set#customer_login {
  display: contents;
}

.nmg-wc-shell #customer_login + .woocommerce-error,
.nmg-wc-shell .woocommerce-error:has(+ #customer_login),
.nmg-wc-shell .woocommerce-notices-wrapper:has(+ #customer_login) .woocommerce-error {
  margin-bottom: 1.25rem;
}

.nmg-wc-shell .woocommerce-notices-wrapper + #customer_login {
  margin-top: 0.25rem;
}

.nmg-account-login-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid oklch(0.31 0.01 240);
  border-radius: 0.75rem;
  background:
    linear-gradient(145deg, oklch(0.2 0.008 240 / 0.96), oklch(0.165 0.006 240 / 0.98)),
    var(--card);
  padding: 1.5rem;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.035),
    0 18px 54px oklch(0 0 0 / 0.18);
}

.nmg-account-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.22 130 / 0.42), transparent);
  opacity: 0.85;
}

.nmg-account-login-card--signin {
  border-color: oklch(0.88 0.22 130 / 0.22);
}

.nmg-account-login-card__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.nmg-account-login-card__eyebrow {
  margin: 0;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: oklch(0.67 0.012 240);
}

.nmg-account-login-card__title {
  margin: 0.25rem 0 0;
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--foreground);
}

.nmg-account-login-card__badge {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid oklch(0.88 0.22 130 / 0.25);
  border-radius: 9999px;
  background: oklch(0.88 0.22 130 / 0.08);
  padding: 0 0.625rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.nmg-account-login-card__copy {
  position: relative;
  margin: 0.875rem 0 0;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: oklch(0.69 0.012 240);
}

.nmg-account-login-form {
  position: relative;
  display: grid;
  gap: 0.875rem;
  margin-top: 1.35rem;
}

.nmg-account-login-form .form-row {
  margin: 0;
  padding: 0;
}

.nmg-account-login-form label {
  display: inline-flex;
  margin: 0 0 0.45rem;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--foreground);
}

.nmg-account-login-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  min-height: 3rem;
  border: 1px solid oklch(0.31 0.01 240);
  border-radius: 0.5rem;
  background: oklch(0.135 0.006 240);
  color: var(--foreground);
  padding: 0 0.875rem;
  font-size: 0.9375rem;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.025);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.nmg-account-login-form input:not([type="checkbox"]):not([type="radio"]):hover {
  border-color: oklch(0.39 0.012 240);
}

.nmg-account-login-form input:not([type="checkbox"]):not([type="radio"]):focus,
.nmg-account-login-form input:not([type="checkbox"]):not([type="radio"]):focus-visible {
  outline: none;
  border-color: oklch(0.88 0.22 130 / 0.72);
  background: oklch(0.155 0.006 240);
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.18);
}

.nmg-account-login-form input:-webkit-autofill,
.nmg-account-login-form input:-webkit-autofill:hover,
.nmg-account-login-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--foreground) !important;
  box-shadow: 0 0 0 1000px oklch(0.135 0.006 240) inset !important;
  caret-color: var(--foreground);
}

.nmg-account-login-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.nmg-account-login-form__remember {
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  color: oklch(0.67 0.012 240) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.nmg-account-login-form__remember input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.nmg-account-login-form .button {
  display: inline-flex !important;
  min-height: 2.875rem !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  padding: 0 1.5rem !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.25) inset,
    0 12px 30px oklch(0.88 0.22 130 / 0.2) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

.nmg-account-login-form .button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.28) inset,
    0 16px 38px oklch(0.88 0.22 130 / 0.26) !important;
}

.nmg-account-login-form .button:focus-visible {
  outline: 2px solid oklch(0.88 0.22 130 / 0.75) !important;
  outline-offset: 3px;
}

.nmg-account-login-form__lost {
  margin: -0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.nmg-account-login-form__lost a,
.nmg-account-login-form .woocommerce-privacy-policy-text a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 0.25rem;
}

.nmg-account-login-form__lost a:hover,
.nmg-account-login-form .woocommerce-privacy-policy-text a:hover {
  text-decoration: underline;
}

.nmg-account-login-form .woocommerce-privacy-policy-text {
  margin: 0.125rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(0.75 0.012 240);
}

.nmg-account-login-form__submit-row {
  margin-top: 0.25rem !important;
}

@media (max-width: 767px) {
  .nmg-account-login-card {
    padding: 1.25rem;
  }

  .nmg-account-login-card__head,
  .nmg-account-login-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nmg-account-login-card__badge {
    width: fit-content;
  }

  .nmg-account-login-form .button {
    width: 100%;
  }
}

/* Contact — match checkout input styling (override WPForms inline light styles) */
.nmg-contact-form input[type="text"],
.nmg-contact-form input[type="email"],
.nmg-contact-form input[type="tel"],
.nmg-contact-form textarea,
.nmg-contact-form select,
.nmg-contact-form .wpforms-field input,
.nmg-contact-form .wpforms-field textarea {
  background: var(--checkout-input-bg) !important;
  background-color: var(--checkout-input-bg) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nmg-contact-form input[type="text"]:focus,
.nmg-contact-form input[type="text"]:focus-visible,
.nmg-contact-form input[type="email"]:focus,
.nmg-contact-form input[type="email"]:focus-visible,
.nmg-contact-form input[type="tel"]:focus,
.nmg-contact-form input[type="tel"]:focus-visible,
.nmg-contact-form textarea:focus,
.nmg-contact-form textarea:focus-visible,
.nmg-contact-form select:focus,
.nmg-contact-form select:focus-visible,
.nmg-contact-form .wpforms-field input:focus,
.nmg-contact-form .wpforms-field input:focus-visible,
.nmg-contact-form .wpforms-field textarea:focus,
.nmg-contact-form .wpforms-field textarea:focus-visible {
  outline: none;
  border-color: var(--ring) !important;
  box-shadow: 0 0 0 3px oklch(0.88 0.22 130 / 0.5) !important;
}

.nmg-contact-form input:-webkit-autofill,
.nmg-contact-form input:-webkit-autofill:hover,
.nmg-contact-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--foreground) !important;
  box-shadow: 0 0 0 1000px var(--checkout-input-bg) inset !important;
  caret-color: var(--foreground);
}

.nmg-contact-form .wpforms-field-label,
.nmg-contact-form label {
  color: oklch(0.65 0.01 240) !important;
}

/* Contact — force themed submit button over WPForms light defaults */
.nmg-contact-form button[type="submit"],
.nmg-contact-form input[type="submit"],
.nmg-contact-form .wpforms-submit {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  background-image: none !important;
  color: var(--primary-foreground) !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.nmg-contact-form button[type="submit"]:hover,
.nmg-contact-form input[type="submit"]:hover,
.nmg-contact-form .wpforms-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Contact — final theme pass over WPForms/WPCF7 required markers and states */
.nmg-contact-form > .rounded-xl,
.nmg-contact-form .wpforms-container,
.nmg-contact-form .wpcf7-form {
  position: relative;
}

.nmg-contact-form > .rounded-xl {
  border-color: oklch(0.76 0.012 240 / 0.15) !important;
  border-radius: 0.72rem !important;
  background:
    linear-gradient(180deg, oklch(0.105 0.004 240 / 0.72), oklch(0.055 0.003 240 / 0.94)),
    var(--card) !important;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.045),
    0 1.2rem 3rem oklch(0 0 0 / 0.2) !important;
}

.nmg-contact-form .wpforms-field-container,
.nmg-contact-form .wpcf7-form {
  display: grid !important;
  gap: 1.05rem !important;
}

.nmg-contact-form .wpforms-field,
.nmg-contact-form .wpcf7-form p {
  display: grid !important;
  gap: 0.5rem !important;
  padding: 0 !important;
}

.nmg-contact-form .wpforms-field-label,
.nmg-contact-form .wpcf7-form label,
.nmg-contact-form label {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 0.34rem;
  margin: 0 !important;
  color: oklch(0.79 0.012 240) !important;
  font-family: Geist, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

.nmg-contact-form .wpforms-required-label,
.nmg-contact-form label .required,
.nmg-contact-form label abbr.required,
.nmg-contact-form .wpcf7-form label .required {
  color: var(--primary) !important;
  font-family: Geist Mono, ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 0.95em !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: 0 0 0.7rem oklch(0.88 0.22 130 / 0.5);
}

.nmg-contact-form .wpforms-field input[type="text"],
.nmg-contact-form .wpforms-field input[type="email"],
.nmg-contact-form .wpforms-field input[type="tel"],
.nmg-contact-form .wpforms-field textarea,
.nmg-contact-form .wpcf7-form input[type="text"],
.nmg-contact-form .wpcf7-form input[type="email"],
.nmg-contact-form .wpcf7-form input[type="tel"],
.nmg-contact-form .wpcf7-form textarea {
  min-height: 2.9rem !important;
  border-color: oklch(0.76 0.012 240 / 0.16) !important;
  border-radius: 0.48rem !important;
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.026), transparent),
    oklch(0.075 0.003 240 / 0.94) !important;
  padding: 0.78rem 0.9rem !important;
  color: var(--foreground) !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
}

.nmg-contact-form .wpforms-field textarea,
.nmg-contact-form .wpcf7-form textarea {
  min-height: 7.5rem !important;
  resize: vertical;
}

.nmg-contact-form .wpforms-field input::placeholder,
.nmg-contact-form .wpforms-field textarea::placeholder,
.nmg-contact-form .wpcf7-form input::placeholder,
.nmg-contact-form .wpcf7-form textarea::placeholder {
  color: oklch(0.58 0.01 240) !important;
}

.nmg-contact-form .wpforms-field input:focus,
.nmg-contact-form .wpforms-field input:focus-visible,
.nmg-contact-form .wpforms-field textarea:focus,
.nmg-contact-form .wpforms-field textarea:focus-visible,
.nmg-contact-form .wpcf7-form input:focus,
.nmg-contact-form .wpcf7-form input:focus-visible,
.nmg-contact-form .wpcf7-form textarea:focus,
.nmg-contact-form .wpcf7-form textarea:focus-visible {
  border-color: var(--primary) !important;
  box-shadow:
    0 0 0 1px oklch(0.88 0.22 130 / 0.48),
    0 0 1.25rem oklch(0.88 0.22 130 / 0.12) !important;
}

.nmg-contact-form .wpforms-submit-container {
  align-items: center !important;
  border-top: 1px solid oklch(0.76 0.012 240 / 0.08);
  margin-top: 1.35rem !important;
  padding-top: 1rem !important;
}

.nmg-contact-form .wpforms-submit-container::before {
  color: oklch(0.72 0.012 240) !important;
  letter-spacing: 0 !important;
}

.nmg-contact-form button[type="submit"],
.nmg-contact-form input[type="submit"],
.nmg-contact-form .wpforms-submit,
.nmg-contact-form .wpcf7-submit {
  min-height: 2.75rem !important;
  border: 1px solid oklch(0.88 0.22 130 / 0.5) !important;
  border-radius: 0.55rem !important;
  background:
    linear-gradient(180deg, oklch(0.94 0.23 130), var(--primary)) !important;
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.34),
    0 0.8rem 1.6rem oklch(0.88 0.22 130 / 0.18) !important;
  color: oklch(0.045 0.004 240) !important;
  font-size: 0.9rem !important;
  font-weight: 880 !important;
}

.nmg-contact-form .wpforms-error,
.nmg-contact-form .wpforms-field-required,
.nmg-contact-form .wpforms-field.wpforms-has-error input,
.nmg-contact-form .wpforms-field.wpforms-has-error textarea {
  border-color: oklch(0.68 0.2 25 / 0.58) !important;
}

.nmg-contact-form .wpforms-error,
.nmg-contact-form .wpforms-field-required,
.nmg-contact-form .wpcf7-not-valid-tip {
  color: oklch(0.82 0.17 28) !important;
  font-size: 0.74rem !important;
  font-weight: 720 !important;
}

/* Third-party overlays */
#message-purchased,
.wn-notification-bar,
#pum-27450,
#popmake-27450 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#cookie-notice,
#cookie-notice.cookie-notice-visible {
  background: var(--card) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--foreground) !important;
  box-shadow: 0 -8px 32px oklch(0 0 0 / 0.35);
}

#cookie-notice .cn-text-container,
#cookie-notice .cn-buttons-container {
  color: var(--foreground);
}

#cookie-notice .cn-button,
#cookie-notice .cn-set-cookie {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border: 0 !important;
  border-radius: 9999px !important;
}

#cookie-notice .cn-revoke-cookie {
  color: oklch(0.65 0.01 240) !important;
}

.pum-overlay {
  background: oklch(0 0 0 / 0.72) !important;
}

.pum-container.popmake,
.pum-theme-default-theme .pum-container {
  background: var(--card) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 24px 48px oklch(0 0 0 / 0.45);
}

.pum-container .pum-title,
.pum-container .pum-content {
  color: var(--foreground) !important;
}

.pum-container .pum-close {
  color: var(--foreground) !important;
  box-shadow: none !important;
}

/* Shop catalog — landing ShopBrowser (scoped, overrides global WC loop styles) */
.nmg-shop-catalog .nmg-shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nmg-shop-catalog .nmg-shop-card__price,
.nmg-shop-catalog .nmg-shop-card__price .amount,
.nmg-shop-catalog .nmg-shop-card__price ins,
.nmg-shop-catalog .nmg-shop-card__price del {
  color: var(--foreground) !important;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.nmg-shop-catalog .nmg-shop-card__price del .amount {
  color: oklch(0.65 0.01 240) !important;
  font-size: 0.875rem;
}

.nmg-shop-catalog .nmg-shop-add-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.375rem !important;
  height: 2rem !important;
  min-height: 2rem !important;
  padding: 0 0.75rem !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  transform: none !important;
}

.nmg-shop-catalog .nmg-shop-add-btn:hover {
  background: oklch(0.88 0.22 130 / 0.9) !important;
  color: var(--primary-foreground) !important;
  transform: none !important;
}

.nmg-shop-catalog .nmg-shop-add-btn.added {
  opacity: 0.9;
}

.nmg-shop-catalog .nmg-shop-add-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.nmg-shop-catalog .nmg-shop-pagination .page-numbers {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 0.75rem;
  font-family: Geist Mono, ui-monospace, monospace;
  font-size: 0.75rem;
  color: oklch(0.65 0.01 240);
}

.nmg-shop-catalog .nmg-shop-pagination .page-numbers.current {
  border-color: oklch(0.88 0.22 130 / 0.55);
  background: oklch(0.88 0.22 130 / 0.1);
  color: var(--primary);
}

.nmg-shop-catalog .nmg-shop-pagination .page-numbers:hover {
  border-color: oklch(0.88 0.22 130 / 0.45);
  color: var(--primary);
}

/* FAQ — landing FaqAccordion */
.nmg-faq-accordion [data-nmg-faq-toggle][aria-expanded="true"] .nmg-faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.nmg-prose-page .prose h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
}
