/** Shopify CDN: Minification failed

Line 1248:1 Expected "}" to go with "{"

**/
/* ========================================
   NINJON Design System — Components
   Targets the actual HTML classes used in article content
   ======================================== */

/* ── Noise Grain Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--noise-opacity, 0.015);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Ambient Glow Accents ── */
/* Hero section top glow — avoid matching mega-menu which also has .section class */
.nin-learn-article-section::before,
main section:first-of-type::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(200, 16, 46, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Footer top glow */
footer::before,
[class*="footer-group"]::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200, 16, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer elevated surface + gradient border */
footer,
[class*="footer"] {
  border-top: 1px solid transparent !important;
  background-image: linear-gradient(var(--nin-surface, #0e0e10), var(--nin-surface, #0e0e10)),
                    linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent) !important;
  background-origin: padding-box, border-box !important;
  background-clip: padding-box, border-box !important;
  position: relative;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--nin-bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--nin-red); }

::selection { background: var(--nin-red); color: white; }


/* ========================================
   Learn Article Section (.nin-learn-article-section)
   This wraps the entire section output
   ======================================== */

.nin-learn-article-section {
  background: var(--nin-bg);
}

.nin-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  font-family: var(--font-display);
  color: var(--nin-text);
}

/* ── Breadcrumbs ── */
.nin-breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--nin-text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nin-breadcrumbs a {
  color: var(--nin-text-muted);
  text-decoration: none;
}
.nin-breadcrumbs a:hover { color: var(--nin-text); }
.nin-breadcrumbs .sep { color: var(--nin-text-faint); }

/* ── Series Link ── */
.nin-series-link {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--nin-red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.nin-series-link a { color: inherit; text-decoration: underline; }

/* ── Title (from section template) ── */
.nin-article > h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* ── Article Meta ── */
.nin-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
  color: var(--nin-text-dim);
}

/* ── Badges ── */
.nin-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 9999px;
}
.nin-badge-beginner {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.nin-badge-intermediate {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.nin-badge-advanced {
  background: rgba(200, 16, 46, 0.1);
  color: #ff4d6a;
  border: 1px solid rgba(200, 16, 46, 0.2);
}

/* ── Video from section template (breaks wider) ── */
.nin-video {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nin-border);
  background: #000;
  margin: 2.5rem -3rem;
  width: calc(100% + 6rem);
}
.nin-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ========================================
   Article Body Content Styles
   These target the actual HTML inside {{ page.content }}
   ======================================== */

.nin-article-body {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--nin-text);
}

/* Remove duplicate H1 from content (section already renders title) */
.nin-article-body > h1:first-child {
  display: none;
}

/* Headings */
.nin-article-body h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.nin-article-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.nin-article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.nin-article-body h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nin-red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.nin-article-body p {
  color: var(--nin-text);
  opacity: 0.88;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* Links */
.nin-article-body a {
  color: var(--nin-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nin-article-body a:hover { color: #ff4d6a; }

/* Bold */
.nin-article-body strong { color: white; font-weight: 600; }

/* Lists */
.nin-article-body ul,
.nin-article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.nin-article-body li {
  margin-bottom: 0.6rem;
  color: var(--nin-text);
  opacity: 0.88;
  line-height: 1.7;
}

/* ── Video Embed (from article content, breaks wider) ── */
.nin-article-body .video-embed {
  position: relative;
  padding-bottom: 50%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nin-border);
  background: #000;
  margin: 2.5rem -3rem;
  width: calc(100% + 6rem);
}
.nin-article-body .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Pro Tip Box (breaks wider) ── */
.nin-article-body .pro-tip {
  background: rgba(200, 16, 46, 0.04);
  border-left: 3px solid var(--nin-red);
  border-radius: 0 12px 12px 0;
  padding: 1.75rem 2rem;
  margin: 2.5rem -2rem;
  width: calc(100% + 4rem);
}

.nin-article-body .pro-tip h4,
.nin-article-body .pro-tip strong:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--nin-red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.nin-article-body .pro-tip p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.nin-article-body .pro-tip p:last-child { margin-bottom: 0; }

.nin-article-body .pro-tip ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.nin-article-body .pro-tip li {
  font-size: 0.95rem;
}

/* ── Related Articles Box (breaks wider) ── */
.nin-article-body .related-articles {
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--nin-border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-top: 3rem;
  margin-left: -2rem;
  margin-right: -2rem;
  width: calc(100% + 4rem);
}

.nin-article-body .related-articles h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nin-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0;
  margin-bottom: 1rem;
}

.nin-article-body .related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nin-article-body .related-articles li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  opacity: 1;
}

.nin-article-body .related-articles li:last-child {
  border-bottom: none;
}

.nin-article-body .related-articles a {
  color: var(--nin-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nin-article-body .related-articles a:hover {
  color: var(--nin-red);
}

/* ── Comparison Tables (breaks wider) ── */
.nin-article-body table {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.nin-article-body th {
  background: rgba(255,255,255,0.05);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--nin-border);
}

.nin-article-body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--nin-text);
  opacity: 0.85;
}

/* ── Horizontal Rules ── */
.nin-article-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--nin-border), transparent);
  margin: 3rem 0;
}

/* ── Blockquotes ── */
.nin-article-body blockquote {
  border-left: 3px solid var(--nin-gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(212, 160, 84, 0.03);
  border-radius: 0 8px 8px 0;
}

.nin-article-body blockquote p {
  font-style: italic;
  color: var(--nin-text-dim);
}


/* ========================================
   Injected Figures (article body images)
   ======================================== */

.nin-article-body .nin-article-figure {
  margin: 2.5rem -3rem;
  width: calc(100% + 6rem);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nin-border);
  background: #0e0e0e;
}

.nin-article-body .nin-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.nin-article-body .nin-article-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nin-text-muted);
  padding: 0.75rem 1rem;
  background: rgba(14, 14, 14, 0.8);
  border-top: 1px solid var(--nin-border);
}

/* ========================================
   What You'll Need — Tools Box
   ======================================== */

.nin-article-body .nin-tools-box {
  background: rgba(14, 14, 14, 0.8);
  border: 1px solid var(--nin-border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2rem -2rem 2.5rem;
  width: calc(100% + 4rem);
}

.nin-article-body .nin-tools-box .nin-tools-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nin-gold);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--nin-border);
}

.nin-article-body .nin-tools-box .nin-tools-section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nin-text-muted);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.nin-article-body .nin-tools-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.nin-article-body .nin-tools-box li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.9rem;
  opacity: 1;
  margin-bottom: 0;
  line-height: 1.5;
}

.nin-article-body .nin-tools-box li:last-child {
  border-bottom: none;
}

.nin-article-body .nin-tools-box .nin-tool-name {
  font-weight: 600;
  color: white;
}

.nin-article-body .nin-tools-box .nin-tool-name a {
  color: var(--nin-red);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 16, 46, 0.3);
  transition: border-color 0.2s;
}

.nin-article-body .nin-tools-box .nin-tool-name a:hover {
  border-color: var(--nin-red);
}

.nin-article-body .nin-tools-box .nin-tool-note {
  font-size: 0.8rem;
  color: var(--nin-text-muted);
  font-style: italic;
}

/* ========================================
   Inline Affiliate Links (in article prose)
   ======================================== */

.nin-article-body a.nin-affiliate-link {
  color: var(--nin-red);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 16, 46, 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.nin-article-body a.nin-affiliate-link:hover {
  color: #ff4d6a;
  border-color: var(--nin-red);
}

/* ========================================
   Affiliate CTA (inline Amazon link callouts)
   ======================================== */

.nin-article-body .nin-affiliate-cta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 160, 84, 0.25);
  border-left: 3px solid var(--nin-gold);
  border-radius: 0 8px 8px 0;
  background: rgba(212, 160, 84, 0.04);
}

.nin-article-body .nin-affiliate-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nin-gold);
  font-weight: 700;
}

.nin-article-body .nin-affiliate-cta a {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--nin-gold);
  padding-bottom: 2px;
}

.nin-article-body .nin-affiliate-cta a:hover {
  color: var(--nin-gold);
}

.nin-article-body .nin-affiliate-disclosure {
  font-size: 0.7rem;
  color: var(--nin-text-muted);
  opacity: 0.7;
  font-style: italic;
}

/* Global FTC disclosure block at article top */
.nin-article-body .nin-ftc-disclosure {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--nin-text-muted);
  padding: 0.65rem 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--nin-border);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ========================================
   Product Page — Trust Badges, Description, Sticky ATC
   ======================================== */

/* Trust badges row */
ul.nin-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
  margin: 1rem 0;
  border-top: 1px solid var(--nin-border);
  border-bottom: 1px solid var(--nin-border);
  list-style: none;
}

li.nin-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--nin-text);
  border-bottom: none !important;
  padding: 0 !important;
}

li.nin-trust-item::before {
  content: none !important;
}

.nin-trust-item svg {
  color: var(--nin-gold);
  flex-shrink: 0;
}

.nin-trust-item strong {
  display: block;
  font-size: 0.8rem;
  color: white;
  font-weight: 600;
  line-height: 1.2;
}

.nin-trust-item span {
  font-size: 0.7rem;
  color: var(--nin-text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.4;
}

/* Structured product description (rendered from rewriter HTML) */
.nin-product-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: white;
  margin: 0 0 1.5rem 0;
}

.nin-benefits, .nin-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.nin-benefits li, .nin-includes li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--nin-text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.nin-benefits li::before, .nin-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--nin-gold);
  font-weight: 700;
}

.nin-benefits strong { color: white; font-weight: 600; }

.nin-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
}

.nin-specs th {
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  width: 40%;
  font-weight: 600;
  color: var(--nin-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--nin-border);
  vertical-align: top;
}

.nin-specs td {
  padding: 0.6rem 0;
  color: var(--nin-text);
  border-bottom: 1px solid var(--nin-border);
}

/* FAQ accordions inside description */
.product-informationdetails {
  border: 1px solid var(--nin-border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-informationdetails[open] {
  border-color: rgba(212, 160, 84, 0.3);
}

.product-informationsummary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.product-informationsummary::-webkit-details-marker { display: none; }

.product-informationsummary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--nin-gold);
  font-weight: 300;
  transition: transform 0.3s;
}

.product-informationdetails[open] summary::after {
  transform: rotate(45deg);
}

.product-informationsummary:hover { color: var(--nin-gold); }

.product-informationdetails > p {
  padding: 0 1rem 1rem;
  color: var(--nin-text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.product-informationh3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nin-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

/* Mobile sticky add-to-cart */
.nin-mobile-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(10, 10, 12, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--nin-border);
  padding: 0.65rem 0.85rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.nin-mobile-sticky-atc.nin-msa-visible {
  transform: translateY(0);
}

.nin-msa-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 600px;
  margin: 0 auto;
}

.nin-msa-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--nin-border);
  background: #0e0e10;
}

.nin-msa-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nin-msa-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nin-msa-price {
  font-size: 0.8rem;
  color: var(--nin-gold);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.nin-msa-button {
  background: var(--nin-red);
  color: white;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  white-space: nowrap;
}

.nin-msa-button:hover { background: var(--nin-red-hover); color: white; }

@media (max-width: 768px) {
  .nin-mobile-sticky-atc { display: block; }
  .nin-trust-badges { grid-template-columns: 1fr; gap: 0.5rem; padding: 0.75rem 0; }
}

/* ========================================
   Product Cards (shop polish for dark theme)
   ======================================== */

.product-card,
.card-product,
[class*="product-card"] {
  background: #0e0e0e !important;
  border: 1px solid var(--nin-border);
  border-radius: 8px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.product-card:hover,
.card-product:hover,
[class*="product-card"]:hover {
  border-color: var(--nin-gold);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(212, 160, 84, 0.08);
}

/* Contain (not cover) so white-background product photos aren't cropped */
.product-card img,
.card-product img,
[class*="product-card"] img {
  background: #f5f2ec;
  object-fit: contain !important;
}


/* ========================================
   Responsive — Mobile (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {

  /* ── Article layout ── */
  .nin-article {
    padding: 1.5rem 1rem 3rem;
  }

  .nin-article > h1 {
    font-size: 1.75rem;
  }

  .nin-article-body h2 {
    font-size: 1.35rem;
  }

  .nin-article-body {
    font-size: 1rem;
  }

  /* Reset breakouts on mobile */
  .nin-video,
  .nin-article-body .video-embed,
  .nin-article-body .pro-tip,
  .nin-article-body .related-articles,
  .nin-article-body .nin-article-figure,
  .nin-article-body .nin-tools-box,
  .nin-article-body table {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* Softer border radius on mobile figures */
  .nin-article-body .nin-article-figure {
    border-radius: 8px;
  }

  /* ── Tools box mobile ── */
  .nin-article-body .nin-tools-box {
    padding: 1.25rem 1rem;
  }

  .nin-article-body .nin-tools-box li {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
  }

  .nin-article-body .nin-tools-box .nin-tool-name a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* ── FTC disclosure mobile ── */
  .nin-article-body .nin-ftc-disclosure {
    font-size: 0.6rem;
    padding: 0.5rem 0.75rem;
  }

  /* ── Breadcrumbs mobile ── */
  .nin-breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .nin-breadcrumbs::-webkit-scrollbar { display: none; }

  /* ── Homepage sections ── */
  /* Hero: constrain text size */
  section:first-of-type h1,
  section:first-of-type h2,
  [class*="hero"] h1,
  [class*="hero"] h2 {
    font-size: 2rem !important;
    line-height: 1.15;
  }

  /* Learn card grids on homepage — force 2 columns on mobile */
  .nin-homepage-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .nin-homepage-cards a {
    min-height: 44px;
  }

  .nin-homepage-cards a div[style*="font-size:0.95rem"] {
    font-size: 0.8rem !important;
  }

  /* Community grid: 1 column on mobile (tiles are content-rich) */
  .nin-community-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .nin-tile-featured {
    grid-column: span 1 !important;
  }

  /* IG grid stays 3-col on mobile but with smaller gap */
  .nin-ig-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  /* Section padding on mobile — avoid touching nav/header/dropdown internals */
  main section,
  .shopify-section:not(.shopify-section-group-header-group):not(.shopify-section-group-footer-group) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Product image containers — dark bg for white-bg products */
  .product-card img,
  .card-product img,
  [class*="product-card"] img {
    background: #0e0e0e;
  }

  /* Tone down ambient glows on mobile (performance) */
  .nin-learn-article-section::before,
  section:first-of-type::before,
  footer::before {
    display: none;
  }

}
/* ═══════════════════════════════════════════════════════════════
   DOMC NAV CARD CHIP — v4
   Turns the "Deck of Many Colours" top-level nav link into a
   card-shaped chip: white border frame graphic, always-on shimmer
   sweeping the card face, 3D flip to red back on hover/focus.

   v4 fixes:
   - Flip now triggers from the parent li (which never rotates),
     killing the mid-flip hover jitter — the old :hover was on the
     rotating anchor, so its own hitbox moved during the flip
   - Front face gets an explicit rotateY(0deg) so backface hiding
     is stable mid-rotation

   TUNING CONSTANTS — the values you'll actually want to touch:
   - Chip size .................. width / height on the anchor (128 x 54)
   - Flip speed ................. transition duration on the anchor (0.7s)
   - Frame graphic .............. background url() on the title span
   - Front label size ........... font-size on the title span (10px)
   - Back label ................. content on the anchor ::after ('Draw \2192')
   - Shimmer speed .............. animation duration (6s, matches deck hero)
   ═══════════════════════════════════════════════════════════════ */

@media screen and (min-width: 750px) {

  /* ── Flipper (the anchor itself) ── */
  a.menu-list__link[href*="deck-of-many-colors"] {
    position: relative;
    width: 128px;
    height: 54px;
    flex: 0 0 auto;
    align-self: center;
    margin-block: auto;
    padding: 0;
    transform: perspective(600px) rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Flip is driven by the parent li's hover — the li never rotates,
     so the hover hitbox stays stable throughout the animation */
  .menu-list__list-item:hover > a.menu-list__link[href*="deck-of-many-colors"],
  a.menu-list__link[href*="deck-of-many-colors"]:focus-visible {
    transform: perspective(600px) rotateY(180deg);
  }

  /* ── Front face (the existing title span) ── */
  a.menu-list__link[href*="deck-of-many-colors"] .menu-list__link-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    padding: 6px 14px;
    background:
      url('/cdn/shop/files/domc_nav_boarder.svg?v=1785232620') center / 100% 100% no-repeat,
      #111113;
    border: 1px solid #33343a;
    border-radius: 8px;
    overflow: hidden;
    transform: rotateY(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
  }

 /* ═══════════════════════════════════════════════════════════════
   DOMC NAV CARD CHIP — v6
   Mobile: not applicable by design — the drawer and mobile nav bar
   use different classes (menu-drawer__*), so DOMC renders there as
   a plain link. The min-width guard is a second layer of safety.

   TUNING CONSTANTS — the values you'll actually want to touch:
   - Chip size .................. width / height on the anchor (140 x 56)
   - Flip speed ................. transition duration on the anchor (0.7s)
   - Front label size ........... font-size on the title span (13px)
   - Back label ................. content on the anchor ::after ('Draw \2192')
   - Shimmer speed .............. animation duration (6s, matches deck hero)
   ═══════════════════════════════════════════════════════════════ */

@media screen and (min-width: 750px) {

  /* ── Flipper (the anchor itself) ── */
  a.menu-list__link[href*="deck-of-many-colors"] {
    position: relative;
    width: 140px;
    height: 56px;
    flex: 0 0 auto;
    align-self: center;
    margin-block: auto;
    padding: 0;
    transform: perspective(600px) rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Flip is driven by the parent li's hover — the li never rotates,
     so the hover hitbox stays stable throughout the animation */
  .menu-list__list-item:hover > a.menu-list__link[href*="deck-of-many-colors"],
  a.menu-list__link[href*="deck-of-many-colors"]:focus-visible {
    transform: perspective(600px) rotateY(180deg);
  }

  /* ── Front face (the existing title span) ── */
  a.menu-list__link[href*="deck-of-many-colors"] .menu-list__link-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    padding: 8px 18px;
    background: #111113;
    border: 1px solid #33343a;
    border-radius: 8px;
    overflow: hidden;
    transform: rotateY(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    font-family: var(--menu-top-level-font-family);
    font-style: var(--menu-top-level-font-style);
    font-weight: var(--menu-top-level-font-weight);
    text-transform: var(--menu-top-level-font-case);
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #ffffff;
  }

  /* ── Shimmer beam — same sweep as the deck hero cards ── */
  @keyframes ninNavShimmer {
    0%   { transform: translateX(-250%) rotate(20deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(400%) rotate(20deg); opacity: 0; }
  }
  a.menu-list__link[href*="deck-of-many-colors"] .menu-list__link-title::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 30%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.05) 70%,
      transparent 100%);
    pointer-events: none;
    animation: ninNavShimmer 6s ease-in-out infinite;
  }

  /* ── Back face ── */
  a.menu-list__link[href*="deck-of-many-colors"]::after {
    content: 'Draw \2192';
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    background: #c8102e;
    border: 1px solid #e0132f;
    border-radius: 8px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    font-family: var(--menu-top-level-font-family);
    font-weight: var(--menu-top-level-font-weight);
    text-transform: var(--menu-top-level-font-case);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #ffffff;
  }

  /* ── Reduced motion: no flip, no shimmer ── */
  @media (prefers-reduced-motion: reduce) {
    a.menu-list__link[href*="deck-of-many-colors"],
    .menu-list__list-item:hover > a.menu-list__link[href*="deck-of-many-colors"] {
      transform: none;
      transition: none;
    }
    a.menu-list__link[href*="deck-of-many-colors"] .menu-list__link-title::after {
      animation: none;
      opacity: 0;
    }
    a.menu-list__link[href*="deck-of-many-colors"]::after {
      content: none;
    }
  }
}