/* ==========================================================================
   patch-product.css — Single product page
   Matches: variations/product.jsx
   Load: only on is_product()
   ========================================================================== */

/* Hide Woo defaults we replace */
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products,
.single-product .product_meta {
  display: none !important;
}
/* Hide native variations table — variant grid replaces it */
.single-product table.variations { display: none !important; }
.single-product .single_variation_wrap .woocommerce-variation { display: none !important; }

.n3d-pp {
  --ink: oklch(0.20 0.01 260);
  --ink-2: oklch(0.30 0.01 260);
  --ink-3: oklch(0.40 0.01 250);
  --line: oklch(0.92 0.005 250);
  --line-soft: oklch(0.94 0.005 250);
  --bg-soft: oklch(0.97 0.005 250);
  --accent: #2F80ED;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: oklch(0.99 0.003 80);
}

/* Crumb */
.n3d-pp__crumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 56px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: oklch(0.5 0.01 250);
  text-transform: uppercase;
  display: flex;
  gap: 8px;
}
.n3d-pp__crumb a { color: oklch(0.5 0.01 250); text-decoration: none; }
.n3d-pp__crumb-sep { color: oklch(0.7 0.01 250); }
.n3d-pp__crumb-cur { color: var(--ink); }

/* Main split */
.n3d-pp__main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 56px 72px;
}
@media (max-width: 900px) {
  .n3d-pp__main { grid-template-columns: 1fr; gap: 32px; padding: 16px 20px 120px; }
  .n3d-pp__crumb { padding: 12px 20px; }
}

/* ----- Gallery -----
 * WC default emits .woocommerce-product-gallery with nested
 * __wrapper / __image for each photo, then JS (Flexslider) rewires
 * it on load: <ul class="slides"> with inline-styled <li> per slide
 * + <ol class="flex-control-thumbs"> at the bottom. Our overrides
 * have to fight Flexslider's inline `width: 280px; float: left`
 * computed values, hence the !important sprinkles. */
.n3d-pp__gallery { width: 100%; min-width: 0; }

/* WC ships `.woocommerce div.product div.images { float: left;
   width: 48% }` (specificity 0,3,2) which would crush the gallery
   to half the column inside our grid. Force back to full width. */
.n3d-pp__gallery .woocommerce-product-gallery {
  position: relative;
  display: block;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  opacity: 1 !important;
  background: transparent;
}

/* Main slider chrome — give the picture a 1:1 framed canvas.
   ONLY style the .flex-viewport (the visible frame). DO NOT force
   width/height/aspect-ratio on .woocommerce-product-gallery__wrapper
   or .__image — Flexslider needs to size those itself (wrapper = N
   slides wide; each slide = viewport width, floated left). Overriding
   them broke slide navigation: thumbnails fired the animate-to-slide
   action but all slides were stacked at x=0 because we'd forced
   widths to 100% of viewport, so visually nothing changed. */
.n3d-pp__gallery .flex-viewport {
  width: 100% !important;
  height: auto !important;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

/* Slide content — let Flexslider control slide width/float/display.
   We only style the image INSIDE the slide to fill the slide bounds. */
.n3d-pp__gallery .woocommerce-product-gallery__image {
  margin: 0;
  padding: 0;
}
.n3d-pp__gallery .woocommerce-product-gallery__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.n3d-pp__gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

/* Suppress Woo's hover-zoom overlay until we wire it properly —
   the duplicate <img class="zoomImg"> at full natural size
   (1024×1031) sits absolute-positioned and would jump on hover. */
.n3d-pp__gallery .zoomImg { display: none !important; }

/* Thumb rail under the main image. Override Flexslider's default
   `float: left; width: 25%` per <li> — that produces zero-height
   rows when the inner image hasn't sized yet. Use a real grid
   with an explicit aspect-ratio per cell. */
.n3d-pp__gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  list-style: none;
  width: 100%;
  overflow: visible;
}
.n3d-pp__gallery .flex-control-thumbs li {
  list-style: none;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.n3d-pp__gallery .flex-control-thumbs img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  opacity: 0.6;
  transition: opacity 120ms ease;
}
.n3d-pp__gallery .flex-control-thumbs img:hover,
.n3d-pp__gallery .flex-control-thumbs .flex-active img,
.n3d-pp__gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--ink);
}

/* ----- Summary ----- */
.n3d-pp__summary { padding-top: 4px; }
.n3d-pp__eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.n3d-pp__h1 {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px 0;
  letter-spacing: -0.025em;
}
.n3d-pp__tag {
  font-size: 16px;
  color: var(--ink-3);
  margin: 0 0 28px 0;
  max-width: 440px;
  line-height: 1.55;
  text-wrap: pretty;
}
.n3d-pp__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.n3d-pp__price {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  font-family: 'Geist', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}
.n3d-pp__price .woocommerce-Price-amount { font: inherit; color: inherit; }
.n3d-pp__price-mva {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: oklch(0.55 0.01 250);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Bulk line */
.n3d-pp__bulk {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 24px;
  line-height: 1.55;
}
.n3d-pp__bulk strong { color: var(--ink); font-weight: 500; }
.n3d-pp__bulk a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

/* Buy row */
.n3d-pp__buy {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.n3d-pp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid oklch(0.88 0.005 250);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}
.n3d-pp__qty button {
  width: 42px; height: 48px;
  border: none; background: transparent;
  font-size: 16px; cursor: pointer; color: var(--ink-2);
}
.n3d-pp__qty input,
.n3d-pp__qty .qty-display {
  width: 32px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  border: none; background: transparent;
  -moz-appearance: textfield;
}
.n3d-pp__qty input::-webkit-outer-spin-button,
.n3d-pp__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.n3d-pp__cta {
  flex: 1;
  background: oklch(0.18 0.01 260);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.005em;
  padding: 0 24px;
  height: 48px;
}
.n3d-pp__cta:hover { background: oklch(0.08 0.01 260); }
.n3d-pp__cta[disabled] { opacity: 0.5; cursor: not-allowed; }

/* MakerWorld */
.n3d-pp__stl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: oklch(0.97 0.005 250);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 28px;
  border-radius: 4px;
}
.n3d-pp__stl-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.n3d-pp__stl-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.n3d-pp__stl-sub { font-size: 12px; color: oklch(0.5 0.01 250); }
.n3d-pp__stl-arrow { color: oklch(0.4 0.01 250); font-size: 14px; }

/* Meta strip */
.n3d-pp__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.n3d-pp__meta-cell { padding-right: 12px; }
.n3d-pp__meta-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: oklch(0.55 0.01 250);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.n3d-pp__meta-v {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.n3d-pp__sign {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed oklch(0.88 0.005 250);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: oklch(0.5 0.01 250);
  letter-spacing: 0.04em;
}

/* ----- Variant grid (size selector replacement) ----- */
.n3d-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 24px;
}
@media (max-width: 480px) {
  .n3d-variant-grid { grid-template-columns: 1fr; }
}
.n3d-variant-grid__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.n3d-variant-grid__k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.5 0.01 250);
}
.n3d-variant-grid__v {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.n3d-variant {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  position: relative;
  transition: border-color .12s, box-shadow .12s;
}
.n3d-variant:hover { border-color: oklch(0.70 0.01 250); }
.n3d-variant.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.n3d-variant.is-out {
  opacity: 0.55;
  cursor: not-allowed;
}
.n3d-variant.is-out::after {
  content: "Utsolgt";
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.5 0.01 250);
}

.n3d-variant__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  font-family: 'Geist', 'Inter', sans-serif;
  display: flex; align-items: center; gap: 8px;
}
.n3d-variant__name::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(0.55 0.15 145);
  flex-shrink: 0;
}
.n3d-variant.is-out .n3d-variant__name::before { background: oklch(0.7 0.01 250); }

.n3d-variant__desc {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
  text-wrap: pretty;
}
.n3d-variant__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: oklch(0.5 0.01 250);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.n3d-variant__price {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
}

/* ----- Editorial body band ----- */
.n3d-pp__body {
  padding: 72px 56px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .n3d-pp__body { padding: 48px 20px; }
}
.n3d-pp__body-grid {
  /* Stacked, not 2-col. Eyebrow + h2 sit on top, left-aligned;
     description below at the full content track width. */
  display: block;
  max-width: 1280px;
  margin: 0 auto 56px;
}
.n3d-pp__body-grid > * + * { margin-top: 24px; }
@media (max-width: 900px) {
  .n3d-pp__body-grid { margin-bottom: 36px; }
  .n3d-pp__body-grid > * + * { margin-top: 16px; }
}
.n3d-pp__body-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: oklch(0.5 0.01 250);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.n3d-pp__body-h {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.n3d-pp__body-p {
  font-size: 16px;
  color: oklch(0.28 0.01 260);
  margin: 0 0 18px 0;
  line-height: 1.65;
  text-wrap: pretty;
}
.n3d-pp__body-p:last-child { margin-bottom: 0; }

.n3d-pp__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .n3d-pp__facts { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
}
.n3d-pp__facts-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: oklch(0.5 0.01 250);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.n3d-pp__facts ul {
  list-style: none; padding: 0; margin: 0;
}
.n3d-pp__facts li {
  padding: 8px 0;
  font-size: 14px;
  color: oklch(0.28 0.01 260);
  border-bottom: 1px dashed oklch(0.88 0.005 250);
}
.n3d-pp__spec {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed oklch(0.88 0.005 250);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.n3d-pp__spec-k { color: oklch(0.5 0.01 250); }
.n3d-pp__spec-v { color: var(--ink); }
.n3d-pp__facts p {
  font-size: 14px;
  color: oklch(0.3 0.01 260);
  line-height: 1.6;
  margin: 0;
}

/* ----- Related ----- */
.n3d-pp__rel {
  padding: 72px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) { .n3d-pp__rel { padding: 48px 20px; } }
.n3d-pp__rel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.n3d-pp__rel-h {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  margin: 0;
  letter-spacing: -0.02em;
}
.n3d-pp__rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .n3d-pp__rel-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Sticky mobile CTA ----- */
@media (max-width: 900px) {
  .n3d-pp__sticky {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 50;
  }
  .n3d-pp__sticky-price {
    flex: 1;
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
  }
}
@media (min-width: 901px) { .n3d-pp__sticky { display: none; } }

/* =====================================================================
 * PDP follow-ups (delivery 2026-05-08-pdp-fixes)
 * ===================================================================== */

/* §2 gallery rules merged into the main "Gallery" block above
 * (line ~63) so there's a single source of truth. Don't add
 * standalone .n3d-pp__gallery rules here. */

/* §3 — Variant cards — wider, 2-col fallback, no native radio dot. */
.n3d-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.n3d-variant {
  padding: 16px 18px;
  border: 1px solid oklch(0.90 0.005 250);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 120ms;
  position: relative;
}
.n3d-variant:hover     { border-color: oklch(0.50 0.02 260); }
.n3d-variant.is-active { border-color: oklch(0.20 0.01 260); border-width: 2px; padding: 15px 17px; }

.n3d-variant input[type="radio"],
.n3d-variant .n3d-variant__radio { display: none !important; }

.n3d-variant__name  { font-weight: 500; font-size: 15px; color: oklch(0.20 0.01 260); display: block; margin-bottom: 6px; }
.n3d-variant__desc  { font-size: 13px;  color: oklch(0.45 0.01 250); line-height: 1.45; display: block; }
.n3d-variant__price { font-size: 13px;  color: oklch(0.30 0.01 260); display: block; margin-top: 8px; font-variant-numeric: tabular-nums; }

/* §5 — Body section spec polish.
 *
 * IMPORTANT: don't make `.n3d-pp__body` a grid — its children
 * `.n3d-pp__body-grid` and `.n3d-pp__facts` are SIBLINGS that should
 * stack vertically (heading+description on top, 3-col facts below).
 * The original block above already sets that up; here we only add
 * the facts <h3> + <ul> + .n3d-pp__specs <dl> rules that the patch
 * template's body section needs. */
.n3d-pp__facts h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.45 0.01 250);
  font-weight: 500;
  margin: 0 0 12px;
}
.n3d-pp__facts ul { margin: 0; padding: 0; list-style: none; }
.n3d-pp__facts li {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.30 0.01 260);
}

.n3d-pp__specs dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 0;
}
.n3d-pp__specs dt { font-size: 14px; color: oklch(0.45 0.01 250); font-weight: 400; }
.n3d-pp__specs dd { font-size: 14px; color: oklch(0.20 0.01 260); margin: 0; }
/* === imported from delivery-2026-05-10-product-descriptions/patch-description.css === */
/* =====================================================================
 * patch-description.css — noerstad3d
 *
 * Styles the parsed product description block (`.n3d-desc`).
 * See WRITERS-GUIDE.md for the source markup conventions.
 *
 * Replaces the legacy two-column body block on the single product page.
 *
 * Concatenate into wp-content/themes/noerstad3d/assets/css/product.css
 * (or @import — whichever fits your bundle order).
 * ===================================================================== */

/* ----- Container ----- */
.n3d-desc {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  color: oklch(0.22 0.01 260);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* ----- Lead paragraph ----- */
.n3d-desc__lead {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  color: oklch(0.32 0.01 260);
  margin: 0 0 36px;
  text-wrap: pretty;
  letter-spacing: -0.005em;
}

/* ----- H2 sections ----- */
.n3d-desc__h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: oklch(0.18 0.01 260);
  margin: 48px 0 20px;
  padding-top: 32px;
  border-top: 1px solid oklch(0.92 0.005 260);
}
.n3d-desc__h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.n3d-desc__h2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: oklch(0.96 0.005 260);
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid oklch(0.9 0.005 260);
}

/* ----- Paragraphs ----- */
.n3d-desc__p {
  margin: 0 0 18px;
  text-wrap: pretty;
}
.n3d-desc__p:last-child { margin-bottom: 0; }

/* ----- Bullet list ----- */
.n3d-desc__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.n3d-desc__list-item {
  position: relative;
  padding-left: 24px;
  color: oklch(0.25 0.01 260);
}
.n3d-desc__list-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: oklch(0.45 0.01 260);
}

/* ----- Variant strip ----- */
.n3d-desc__variants {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0;
  margin: 0 0 24px;
  border: 1px solid oklch(0.9 0.005 260);
  border-radius: 14px;
  overflow: hidden;
  background: oklch(0.98 0.003 260);
}
.n3d-desc__variant-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  color: oklch(0.2 0.01 260);
  padding: 16px 18px;
  background: oklch(0.96 0.005 260);
  border-bottom: 1px solid oklch(0.92 0.005 260);
  border-right: 1px solid oklch(0.92 0.005 260);
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.n3d-desc__variant-desc {
  margin: 0;
  padding: 16px 20px;
  font-size: 16px;
  color: oklch(0.28 0.01 260);
  border-bottom: 1px solid oklch(0.92 0.005 260);
  display: flex;
  align-items: center;
}
.n3d-desc__variants > :nth-last-child(-n+2) { border-bottom: none; }

/* ----- Numbered steps ----- */
.n3d-desc__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  counter-reset: n3d-step;
}
.n3d-desc__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid oklch(0.92 0.005 260);
  border-radius: 12px;
}
.n3d-desc__step-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  color: oklch(0.5 0.01 260);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.n3d-desc__step-body {
  font-size: 16px;
  color: oklch(0.22 0.01 260);
  line-height: 1.55;
}

/* ----- Callouts ----- */
.n3d-desc__callout {
  margin: 24px 0;
  padding: 18px 20px 18px 22px;
  border-radius: 14px;
  border: 1px solid;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 18px;
  align-items: start;
}
.n3d-desc__callout-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}
.n3d-desc__callout-body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: oklch(0.22 0.01 260);
}

.n3d-desc__callout--tips {
  background: oklch(0.97 0.025 92);
  border-color: oklch(0.88 0.06 92);
}
.n3d-desc__callout--tips .n3d-desc__callout-label { color: oklch(0.42 0.12 75); }

.n3d-desc__callout--warn {
  background: oklch(0.96 0.04 50);
  border-color: oklch(0.84 0.09 50);
}
.n3d-desc__callout--warn .n3d-desc__callout-label { color: oklch(0.45 0.16 35); }

.n3d-desc__callout--note {
  background: oklch(0.97 0.005 260);
  border-color: oklch(0.9 0.005 260);
}
.n3d-desc__callout--note .n3d-desc__callout-label { color: oklch(0.4 0.01 260); }

/* ----- Mobile ----- */
@media (max-width: 720px) {
  .n3d-desc { font-size: 16px; }
  .n3d-desc__lead { font-size: 19px; margin-bottom: 28px; }
  .n3d-desc__h2 { font-size: 22px; margin: 36px 0 16px; padding-top: 24px; }
  .n3d-desc__h2-badge { width: 32px; height: 32px; font-size: 16px; }
  .n3d-desc__variants { grid-template-columns: 72px 1fr; }
  .n3d-desc__variant-code { padding: 14px; font-size: 12px; }
  .n3d-desc__variant-desc { padding: 14px 16px; font-size: 15px; }
  .n3d-desc__step { grid-template-columns: 36px 1fr; padding: 12px 14px; }
  .n3d-desc__callout {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }
}
