/* ==========================================================
   NB — neo-brutalist component library (landing pages)
   ========================================================== */
:root {
    --ink: #14161f; --cream: #f1eee4; --teal: #2d6a62; --mint: #c9f1e3;
    --sun: #fde68a; --sky: #d9e7ff; --rose: #ffd9d9; --paid: #4fd1a1;
    --muted: #5b6270;
    --b: 2px solid var(--ink);
    --sh: 5px 5px 0 var(--ink); --sh-sm: 3px 3px 0 var(--ink); --sh-lg: 8px 8px 0 var(--ink);
}
body.nb { background: var(--cream) !important; font-family: "Plus Jakarta Sans", sans-serif; color: var(--ink); overflow-x: hidden; }
.nb *, .nb *::before, .nb *::after { box-sizing: border-box; }
.nb img { width: auto !important; height: auto !important; max-width: 100%; object-fit: initial !important; }
.nb img.fill { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.nb a { color: inherit; text-decoration: none; }
.nb ul { list-style: none; margin: 0; padding: 0; }
.nb h1, .nb h2, .nb h3, .nb h4, .nb h5 { font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0; color: var(--ink); }
.nb p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }
.nb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nb-section { padding: 72px 0; }
.nb-section.tight { padding: 40px 0; }

/* highlight / pills */
.nb-hl { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 4px; }
.nb-pill { display: inline-flex; align-items: center; gap: 8px; border: var(--b); border-radius: 999px; background: #fff; padding: 9px 20px; font-weight: 700; font-size: 14px; box-shadow: var(--sh-sm); }
.nb-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--mint); color: #17584d; border: 2px solid transparent; }
.nb-chip.sun { background: var(--sun); color: #6b5300; } .nb-chip.sky { background: var(--sky); color: #1d3f86; } .nb-chip.dark { background: var(--ink); color: #fff; }
.nb-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; }

/* buttons */
.nb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: var(--b); border-radius: 999px; padding: 12px 26px; font-weight: 800; font-size: 15px; background: #fff; color: var(--ink) !important; box-shadow: var(--sh-sm); transition: transform .12s, box-shadow .12s; cursor: pointer; font-family: inherit; }
.nb-btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.nb-btn.primary { background: var(--teal); color: #fff !important; } .nb-btn.sun { background: var(--sun); }
.nb-btn.block { width: 100%; } .nb-btn.sm { padding: 8px 18px; font-size: 13px; }

/* cards */
.nb-card { background: #fff; border: var(--b); border-radius: 20px; box-shadow: var(--sh); }
.nb-card.dark { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--teal); }
.nb-card.pad { padding: 24px; }
.nb-lift { transition: transform .12s, box-shadow .12s; } .nb-lift:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lg); }

/* ---------- Header ---------- */
.nb-top { background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 600; }
.nb-top .nb-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.nb-top a, .nb-top span { color: var(--cream) !important; font-size: 13px; }
.nb-top .tag { background: var(--sun); color: var(--ink) !important; border-radius: 999px; padding: 1px 10px; font-weight: 800; margin-right: 6px; }
.nb-nav { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--b); }
.nb-nav .nb-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nb-logo img { height: 38px !important; width: auto !important; }
.nb-links { display: flex; gap: 6px; align-items: center; }
.nb-links a { border: 2px solid transparent; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; transition: all .12s; }
.nb-links a:hover, .nb-links a.on { background: #fff; border-color: var(--ink); box-shadow: var(--sh-sm); }
.nb-actions { display: flex; align-items: center; gap: 10px; }
.nb-icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: var(--b); border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); font-size: 16px; }
.nb-icon-btn b { position: absolute; top: -8px; right: -8px; background: var(--teal); color: #fff; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); }
.nb-burger { display: none; }
.nb-mobile { display: none; border-bottom: var(--b); background: var(--cream); padding: 12px 24px 20px; }
.nb-mobile a { display: block; padding: 12px 4px; font-weight: 700; border-bottom: 1px dashed #c9c4b4; }
@media (max-width: 991px) {
    .nb-links { display: none; } .nb-burger { display: inline-grid; } .nb-mobile.open { display: block; }
    .nb-top .hide-m { display: none; }
}

/* ---------- Hero ---------- */
.nb-hero { padding: 64px 0 40px; }
.nb-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.nb-hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 22px 0 18px; }
.nb-hero .lead { font-size: 19px; max-width: 520px; }
.nb-steps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.nb-step { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: var(--b); border-radius: 999px; padding: 10px 22px 10px 12px; font-weight: 800; box-shadow: var(--sh-sm); }
.nb-stage { position: relative; min-height: 440px; }
.nb-stage .f { position: absolute; }
.f1 { top: 0; left: 0; right: 40px; padding: 22px; }
.f2 { top: 190px; right: 0; width: 300px; padding: 16px; }
.f3 { bottom: 0; left: 24px; width: 290px; padding: 18px; }
.f4 { bottom: 10px; right: 0; width: 190px; padding: 16px; }
.f1 h4 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nb-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1.5px solid #e1ddd0; }
.nb-row:first-of-type { border-top: 0; }
.nb-row b { font-size: 14px; display: block; } .nb-row small { color: var(--muted); font-size: 12px; }
.nb-bubble { background: #eef0f2; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 8px; width: fit-content; max-width: 90%; }
.nb-bubble.me { background: var(--teal); color: #fff; margin-left: auto; }
.nb-avatar { width: 38px; height: 38px; border-radius: 50%; background: #e8a33c; color: #fff; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--ink); flex: none; }
.nb-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.nb-big { font-size: 30px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.nb-ok { display: inline-flex; align-items: center; gap: 8px; background: var(--paid); color: var(--ink); border-radius: 999px; padding: 8px 18px; font-weight: 800; }
@media (max-width: 991px) { .nb-hero-grid { grid-template-columns: 1fr; } .nb-stage { min-height: 480px; } }

/* ---------- Section head ---------- */
.nb-head { max-width: 640px; margin-bottom: 36px; } .nb-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 10px; }
.nb-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.nb-split { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ---------- Grids ---------- */
.nb-grid { display: grid; gap: 28px; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* feature card */
.nb-feat { padding: 24px; } .nb-feat .ico { width: 54px; height: 54px; border: var(--b); border-radius: 16px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: var(--mint); }
.nb-feat:nth-child(2) .ico { background: var(--sun); } .nb-feat:nth-child(3) .ico { background: var(--sky); }
.nb-feat h4 { font-size: 20px; margin-bottom: 8px; }
.nb-cat { display: flex; align-items: center; gap: 14px; padding: 16px; }
.nb-cat .ico { width: 52px; height: 52px; border-radius: 14px; border: var(--b); background: var(--mint); overflow: hidden; flex: none; display: grid; place-items: center; }
.nb-cat h4 { font-size: 17px; } .nb-cat p { font-size: 13px; }

/* product card */
.nb-prod { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.nb-prod .thumb { position: relative; aspect-ratio: 16/10; border-bottom: var(--b); background: var(--mint); overflow: hidden; display: block; }
.nb-prod .thumb .nb-chip { position: absolute; top: 12px; left: 12px; border-color: var(--ink); background: var(--sun); color: var(--ink); }
.nb-prod .body { padding: 18px 20px; flex: 1; }
.nb-prod h3 { font-size: 19px; margin: 8px 0 12px; line-height: 1.25; }
.nb-stars { color: #f59e0b; font-size: 13px; display: flex; gap: 2px; align-items: center; } .nb-stars small { color: var(--muted); margin-left: 6px; font-weight: 600; }
.nb-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.nb-by { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.nb-by img { width: 30px !important; height: 30px !important; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover !important; }
.nb-prod .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-top: var(--b); background: #faf8f1; }
.nb-price { font-weight: 800; font-size: 17px; color: var(--teal); } .nb-price del { display: block; font-size: 12px; color: #9aa0a8; font-weight: 600; }

/* ---------- Listing layout ---------- */
.nb-page-head { padding: 56px 0 24px; } .nb-page-head h1 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 10px; }
.nb-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
@media (max-width: 991px) { .nb-layout { grid-template-columns: 1fr; } }
.nb-side { padding: 22px; position: sticky; top: 92px; } .nb-side h5 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 10px; color: var(--muted); }
.nb-search { display: flex; border: var(--b); border-radius: 999px; background: #fff; overflow: hidden; box-shadow: var(--sh-sm); }
.nb-search input { flex: 1; border: 0 !important; background: transparent !important; padding: 11px 18px !important; outline: none; font-weight: 600; min-width: 0; box-shadow: none !important; border-radius: 0 !important; }
.nb-search button { border: 0; border-left: var(--b); background: var(--sun); padding: 0 16px; font-weight: 800; cursor: pointer; }
.nb-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.nb-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: var(--b); border-radius: 6px; background: #fff; display: grid; place-items: center; margin: 0; flex: none; cursor: pointer; padding: 0 !important; box-shadow: none !important; }
.nb-check input:checked { background: var(--teal); } .nb-check input:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 800; }
.nb-check label { margin: 0; cursor: pointer; font-weight: 600; }
.nb-sub { margin: 0 0 6px 4px; padding-left: 12px; border-left: 2px solid var(--ink); }
.nb-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.nb-tab { border: var(--b); border-radius: 999px; background: #fff; padding: 10px 20px; font-weight: 800; cursor: pointer; box-shadow: var(--sh-sm); font-family: inherit; font-size: 14px; }
.nb-tab.active { background: var(--teal); color: #fff; }
.nb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.nb-bar p { font-weight: 700; color: var(--ink); font-size: 14px; } .nb-bar p span { font-weight: 800; color: var(--teal); }
.nb-bar select { border: var(--b); border-radius: 999px; background: #fff; padding: 9px 18px; font-weight: 700; font-family: inherit; box-shadow: var(--sh-sm); }
.nb .nice-select { display: none !important; }
.nb .select_js { display: block !important; }
.nb-empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--ink); border-radius: 20px; background: #fff; }
.nb-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: var(--sun); margin-bottom: 28px; flex-wrap: wrap; }
.nb-banner h3 { font-size: 22px; margin-bottom: 4px; }

/* pagination */
.nb .pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0 0; }
.nb .pagination .page-link, .nb .pagination span.relative, .nb nav a, .nb nav span[aria-current] > span { border: var(--b) !important; border-radius: 12px !important; background: #fff !important; color: var(--ink) !important; font-weight: 800; padding: 8px 14px !important; min-width: 42px; text-align: center; box-shadow: var(--sh-sm); }
.nb .page-item.active .page-link { background: var(--teal) !important; color: #fff !important; }
.nb .page-item.disabled .page-link { opacity: .4; }
.nb nav svg { width: 16px !important; height: 16px !important; display: inline; }
.nb nav .hidden { display: none; }
.nb nav > div:first-child { display: none; }
.nb nav .flex.items-center { display: flex; gap: 8px; }

/* ---------- Forms ---------- */
.nb-field { margin-bottom: 18px; } .nb-field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.nb-field input, .nb-field textarea, .nb-field select { width: 100%; border: var(--b) !important; border-radius: 14px !important; background: #fff !important; padding: 13px 16px !important; font: 600 15px "Plus Jakarta Sans", sans-serif !important; color: var(--ink) !important; outline: none; box-shadow: none !important; }
.nb-field input:focus, .nb-field textarea:focus { box-shadow: var(--sh-sm) !important; }
.nb-field input[type=file] { padding: 10px !important; }
.nb-err p, .nb-err li, .nb .text-sm.text-red-600 { color: #c0262d !important; font-size: 13px; font-weight: 700; margin-top: 6px; }
.nb-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } @media (max-width: 640px) { .nb-2col { grid-template-columns: 1fr; } }

/* ---------- Auth ---------- */
.nb-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0 90px; }
.nb-auth h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 18px 0 16px; }
.nb-form-card { padding: 36px; } .nb-form-card h2 { font-size: 30px; margin-bottom: 6px; }
.nb-form-card .sub { margin-bottom: 24px; }
.nb-form-card a.lnk { color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.nb-check-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 700; font-size: 14px; }
.nb-perks { display: grid; gap: 14px; margin-top: 28px; }
.nb-perk { display: flex; gap: 12px; align-items: center; padding: 14px 18px; font-weight: 700; }
.nb-perk .ico { width: 40px; height: 40px; border-radius: 12px; border: var(--b); display: grid; place-items: center; background: var(--mint); flex: none; }
@media (max-width: 991px) { .nb-auth { grid-template-columns: 1fr; gap: 36px; } .nb-auth .intro { order: 2; } }

/* ---------- Blog ---------- */
.nb-post .thumb { aspect-ratio: 16/9; border-bottom: var(--b); overflow: hidden; display: block; background: var(--sky); }
.nb-post .body { padding: 22px; } .nb-post h3 { font-size: 22px; margin: 12px 0 8px; } .nb-post .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--muted); }
.nb-article { padding: 36px; } .nb-article h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; }
.nb-prose { font-size: 17px; line-height: 1.8; color: #2c313d; } .nb-prose p { color: #2c313d; margin-bottom: 1em; } .nb-prose img { border: var(--b); border-radius: 16px; margin: 12px 0; height: auto !important; }
.nb-prose h2, .nb-prose h3 { margin: 1.4em 0 .5em; }
.nb-cover { aspect-ratio: 16/8; border: var(--b); border-radius: 18px; overflow: hidden; margin-bottom: 26px; background: var(--sky); }
.nb-comment { display: flex; gap: 14px; padding: 16px 0; border-top: 1.5px solid #e1ddd0; }
.nb-comment .nb-avatar { width: 44px; height: 44px; overflow: hidden; padding: 0; } .nb-comment .nb-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.nb-recent { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1.5px solid #e1ddd0; } .nb-recent:first-of-type { border-top: 0; }
.nb-recent .im { width: 70px; height: 56px; border-radius: 10px; border: var(--b); overflow: hidden; flex: none; } .nb-recent b { font-size: 14px; line-height: 1.3; display: block; }
.nb-cats a { display: flex; justify-content: space-between; padding: 10px 14px; border: var(--b); border-radius: 999px; background: #fff; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.nb-cats a:hover { background: var(--sun); }

/* ---------- Contact ---------- */
.nb-info { padding: 22px; } .nb-info .ico { width: 50px; height: 50px; border: var(--b); border-radius: 14px; display: grid; place-items: center; background: var(--sun); margin-bottom: 14px; overflow: hidden; }
.nb-info:nth-child(2) .ico { background: var(--mint); } .nb-info:nth-child(3) .ico { background: var(--sky); } .nb-info:nth-child(4) .ico { background: var(--rose); }
.nb-info h4 { font-size: 17px; margin-bottom: 6px; } .nb-info p { font-size: 14px; }
.nb-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; margin-top: 36px; align-items: stretch; } @media (max-width: 991px) { .nb-contact { grid-template-columns: 1fr; } }

/* ---------- Open source ---------- */
.nb-os { padding: 24px; overflow: hidden; }
.nb-os .tools { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 18px; } @media (max-width: 800px) { .nb-os .tools { grid-template-columns: 1fr; } }
.nb-os .tools label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.nb-os .tools input, .nb-os .tools select { width: 100%; border: var(--b); border-radius: 14px; padding: 11px 14px; background: #fff; font: 600 14px "Plus Jakarta Sans", sans-serif; }
.nb-os .table-responsive { border: var(--b); border-radius: 16px; overflow-x: auto; background: #fff; }
.nb-os table { width: 100%; border: 0 !important; border-radius: 0 !important; margin: 0; border-collapse: collapse; }
.nb-os th { background: var(--sun) !important; font-weight: 800; padding: 12px 14px !important; border: 0 !important; border-bottom: var(--b) !important; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.nb-os td { padding: 12px 14px !important; border: 0 !important; border-top: 1.5px solid #e1ddd0 !important; font-size: 14px; font-weight: 600; }
.nb-os tbody tr:hover { background: #faf8f1; }
.nb-os td a.doc-link { background: var(--teal); color: #fff !important; padding: 5px 14px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; font-size: 12px; }
.nb-os .badge { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 800; }
.nb-os .badge.bg-success { background: var(--paid) !important; color: var(--ink) !important; } .nb-os .badge.bg-secondary { background: #e5e1d3 !important; color: var(--ink) !important; }
.nb-os .badge.bg-light { background: #fff !important; }
.nb-os .page-link { box-shadow: none; }
.nb-os .btn { border: var(--b); border-radius: 999px; font-weight: 800; padding: 9px 18px; background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.nb-os .btn-primary, .nb-os .btn-outline-primary { background: var(--teal); color: #fff; }

/* ---------- CTA / footer ---------- */
.nb-cta { padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; background: var(--teal); color: #fff; }
.nb-cta h2, .nb-cta p { color: #fff; } .nb-cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.nb-cta .nb-hl { background: linear-gradient(transparent 62%, rgba(253,230,138,.5) 62%); }
@media (max-width: 800px) { .nb-cta { grid-template-columns: 1fr; padding: 28px; } }
.nb-footer { background: var(--ink); color: var(--cream); margin-top: 60px; border-top: var(--b); }
.nb-footer .nb-wrap { padding-top: 56px; padding-bottom: 20px; }
.nb-fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; } @media (max-width: 900px) { .nb-fgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .nb-fgrid { grid-template-columns: 1fr; } }
.nb-footer h5 { color: var(--sun) !important; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.nb-footer p, .nb-footer a, .nb-footer li { color: #d9d4c4 !important; font-size: 14px; line-height: 2; } .nb-footer a:hover { color: var(--sun) !important; }
.nb-footer .soc { display: flex; gap: 10px; margin-top: 16px; } .nb-footer .soc a { width: 38px; height: 38px; border: 2px solid var(--cream); border-radius: 50%; display: grid; place-items: center; }
.nb-footer .soc img { width: 18px !important; height: 18px !important; }
.nb-copy { border-top: 2px solid #2b2f3d; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: #9d9a8d; }

/* misc */
.nb .modal-content { border: var(--b); border-radius: 20px; }
.nb-ill { position: relative; min-height: 360px; }

/* ---------- fixes vs legacy style.css ---------- */
.nb .nb-links a:not(.on):not(:hover) { border-color: transparent !important; background: transparent !important; box-shadow: none !important; }
.nb .nb-links a { padding: 8px 16px !important; }
.nb .nb-hl, .nb h1 span.nb-hl, .nb h2 span.nb-hl { font-size: inherit !important; font-weight: inherit !important; color: inherit; letter-spacing: inherit; }
.nb .nb-bar select { width: auto !important; min-width: 150px; }
.nb .nb-prod .thumb img { font-size: 0; }
.nb span { font-size: inherit; }
.nb header.nb-nav { height: auto !important; padding: 0 !important; margin: 0 !important; position: sticky !important; top: 0; }
.nb .nb-nav .nb-wrap { padding: 14px 24px !important; min-height: 72px; }
.nb .nb-card.dark .nb-hl, .nb .nb-cta .nb-hl { background: none !important; color: var(--sun) !important; padding: 0; }

/* ==========================================================
   Playground / interactive lessons
   ========================================================== */
.nb-stats { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.nb-stats > div { padding: 22px 16px; text-align: center; border-left: var(--b); }
.nb-stats > div:first-child { border-left: 0; }
.nb-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.nb-stats b sup { color: var(--teal); font-size: 20px; }
.nb-stats small { font-weight: 700; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) { .nb-stats { grid-template-columns: repeat(2, 1fr); } .nb-stats > div { border-left: 0; border-top: var(--b); } .nb-stats > div:first-child { border-top: 0; grid-column: span 2; } }

.nb-learn { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
@media (max-width: 991px) { .nb-learn { grid-template-columns: 1fr; } }
.nb-flow { display: grid; gap: 10px; }
.nb-flow a { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 2px solid transparent; border-radius: 16px; transition: all .12s; }
.nb-flow a:hover, .nb-flow a.on { background: #fff; border-color: var(--ink); box-shadow: var(--sh-sm); }
.nb-flow .ico { width: 42px; height: 42px; border-radius: 12px; border: var(--b); display: grid; place-items: center; background: var(--mint); flex: none; font-size: 18px; }
.nb-flow b { display: block; font-size: 15px; } .nb-flow small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.nb-flow .n { margin-left: auto; font-weight: 800; color: var(--muted); font-size: 13px; }
.nb-flow a.done .n::after { content: " ✓"; color: var(--teal); }

.nb-lesson { overflow: hidden; }
.nb-lesson-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: var(--b); background: #faf8f1; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.nb-crumb { color: var(--muted); } .nb-crumb b { color: var(--ink); }
.nb-lesson-body { padding: 22px; }
.nb-lesson-body h3 { font-size: 22px; margin-bottom: 8px; }
.nb-lesson-body code, .nb-inline { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; background: var(--sun); padding: 1px 6px; border-radius: 6px; font-size: .9em; font-weight: 700; color: var(--ink); }
.nb-demo { border: var(--b); border-radius: 16px; padding: 14px; margin: 16px 0; background: #faf8f1; }
.nb-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: var(--b); border-radius: 999px; background: #fff; }
.nb-seg button { border: 2px solid transparent; background: transparent; border-radius: 999px; padding: 6px 14px; font: 700 13px "JetBrains Mono", ui-monospace, monospace; cursor: pointer; color: var(--ink); }
.nb-seg button.on { background: var(--sun); border-color: var(--ink); }
.nb-stage-flex { display: flex; gap: 10px; padding: 16px; margin: 14px 0 10px; border: 2px dashed var(--ink); border-radius: 14px; min-height: 84px; align-items: center; transition: all .2s; background: #fff; }
.nb-stage-flex i { width: 46px; height: 46px; border: var(--b); border-radius: 10px; display: block; transition: all .2s; }
.nb-stage-flex i:nth-child(1) { background: #ef6a4a; } .nb-stage-flex i:nth-child(2) { background: #5b8def; } .nb-stage-flex i:nth-child(3) { background: var(--paid); }
.nb-codeline { font: 600 14px "JetBrains Mono", ui-monospace, monospace; background: var(--ink); color: #e7e2d3; border-radius: 10px; padding: 10px 14px; }
.nb-codeline .k { color: #8ad4ff; } .nb-codeline .v { color: var(--sun); }
.nb-quiz { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nb-quiz button { border: var(--b); border-radius: 999px; background: #fff; padding: 7px 16px; font: 700 13px "JetBrains Mono", ui-monospace, monospace; cursor: pointer; box-shadow: var(--sh-sm); }
.nb-quiz button.right { background: var(--paid); } .nb-quiz button.wrong { background: var(--rose); }
.nb-feedback { margin-top: 12px; font-weight: 800; font-size: 14px; min-height: 20px; }
.nb-feedback.ok { color: var(--teal); } .nb-feedback.bad { color: #c0262d; }

.nb-editor { border: var(--b); border-radius: 16px; overflow: hidden; background: var(--ink); margin: 14px 0; }
.nb-editor-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 2px solid #2b2f3d; }
.nb-editor-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b4050; display: inline-block; }
.nb-editor-bar span { margin-left: 8px; font: 700 12px "JetBrains Mono", ui-monospace, monospace; color: #e7e2d3; background: #262a37; padding: 3px 10px; border-radius: 8px; }
.nb-editor-wrap { display: flex; }
.nb-gutter { padding: 14px 0; width: 42px; text-align: right; overflow: hidden; flex: none; user-select: none; }
.nb-gutter span { display: block; padding-right: 10px; font: 500 14px/1.7 "JetBrains Mono", ui-monospace, monospace; color: #6b7183; }
.nb-gutter span.hl { color: var(--ink); background: #f59e6b; }
.nb .nb-editor textarea { flex: 1; min-height: 210px; resize: vertical; border: 0 !important; outline: none; background: transparent !important; color: #f1eee4 !important; padding: 14px 14px 14px 6px !important; font: 500 14px/1.7 "JetBrains Mono", ui-monospace, monospace !important; white-space: pre; overflow: auto; tab-size: 2; box-shadow: none !important; border-radius: 0 !important; }
.nb-run-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.nb-run-row .nb-btn.run { background: #ef6a4a; color: #fff !important; }
.nb-out { margin-top: 14px; border: var(--b); border-radius: 14px; padding: 12px 14px; font: 600 13.5px/1.6 "JetBrains Mono", ui-monospace, monospace; background: #fff; white-space: pre-wrap; color: var(--ink); }
.nb-out.ok { background: var(--mint); } .nb-out.bad { background: #ffe4dc; }
.nb .nb-preview { width: 100%; height: 170px; border: var(--b); border-radius: 14px; background: #fff; margin-top: 14px; display: block; }
.nb-task { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--sun); border: var(--b); font-weight: 700; font-size: 14px; color: var(--ink); }

.nb-paths .nb-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.nb-paths .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-paths .tags a { border: var(--b); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; background: #fff; }
.nb-paths .tags a:hover { background: var(--sun); }
.nb-gami .nb-card { padding: 22px; } .nb-gami .ico { font-size: 26px; margin-bottom: 10px; display: block; }
.nb-gami h4 { font-size: 18px; margin-bottom: 6px; }
.nb-progress { display: flex; gap: 10px; flex-wrap: wrap; }
.nb-progress span { background: #fff; border: var(--b); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; box-shadow: var(--sh-sm); }
.nb-progress span b { color: var(--teal); }

/* ==========================================================
   Student dashboard (only on pages with body.nb)
   ========================================================== */
.nb .nb-dash { padding: 40px 0 80px; }
.nb .nb-dash .row { --bs-gutter-x: 28px; }
body:is(.nb,.nbx) .instr-sidebar { background: #fff !important; border: var(--b); border-radius: 20px !important; box-shadow: var(--sh) !important; top: 96px !important; font-family: inherit !important; }
body:is(.nb,.nbx) .instr-sidebar__top { background: var(--sun) !important; border-bottom: var(--b); padding: 24px 18px 20px !important; }
body:is(.nb,.nbx) .instr-sidebar__top::before, body.nb .instr-sidebar__top::after { display: none !important; }
body:is(.nb,.nbx) .instr-sidebar__avatar { border: var(--b) !important; background: #fff; box-shadow: var(--sh-sm); width: 72px !important; height: 72px !important; }
body:is(.nb,.nbx) .instr-sidebar__avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
body:is(.nb,.nbx) .instr-sidebar__name { color: var(--ink) !important; font-weight: 800 !important; font-size: 16px !important; }
body:is(.nb,.nbx) .instr-sidebar__role { background: var(--ink) !important; color: #fff !important; font-weight: 800 !important; }
body:is(.nb,.nbx) .instr-sidebar__menu { padding: 12px !important; }
body:is(.nb,.nbx) .instr-sidebar__menu li a { color: var(--ink) !important; font-weight: 700 !important; font-size: 14px !important; border: 2px solid transparent; border-radius: 12px !important; background: transparent !important; }
body:is(.nb,.nbx) .instr-sidebar__menu li a:hover { background: #faf8f1 !important; border-color: var(--ink); }
body:is(.nb,.nbx) .instr-sidebar__menu li a.active-link { background: var(--teal) !important; color: #fff !important; border-color: var(--ink); box-shadow: var(--sh-sm); }
body:is(.nb,.nbx) .instr-sidebar__icon { background: var(--mint) !important; color: var(--ink) !important; border: 2px solid var(--ink); border-radius: 9px !important; }
body:is(.nb,.nbx) .instr-sidebar__menu li a.active-link .instr-sidebar__icon { background: var(--sun) !important; color: var(--ink) !important; }
body:is(.nb,.nbx) .instr-sidebar__divider { background: #e1ddd0 !important; height: 2px !important; }
body:is(.nb,.nbx) .instr-sidebar__menu li.signout a:hover { background: var(--rose) !important; color: var(--ink) !important; }
body:is(.nb,.nbx) .mob-nav-wrap { background: var(--cream) !important; border-top: var(--b) !important; box-shadow: none !important; }
body:is(.nb,.nbx) .mob-nav-item { color: var(--ink) !important; font-weight: 700; }
body:is(.nb,.nbx) .mob-nav-item.active-link { background: var(--teal) !important; color: #fff !important; border-radius: 12px; }

.nb-dstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.nb-dstats .nb-card { padding: 16px 18px; box-shadow: var(--sh-sm); }
.nb-dstats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.nb-dstats small { font-weight: 700; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .nb-dstats { grid-template-columns: repeat(2, 1fr); } }
.nb-enroll { display: grid; grid-template-columns: 168px 1fr auto; gap: 20px; align-items: center; padding: 16px; margin-bottom: 18px; }
.nb-enroll .thumb { aspect-ratio: 16/10; border: var(--b); border-radius: 14px; overflow: hidden; background: var(--mint); display: grid; place-items: center; font-size: 28px; }
.nb-enroll h3 { font-size: 18px; line-height: 1.3; margin: 6px 0 4px; }
.nb-enroll .by { font-size: 13px; font-weight: 600; color: var(--muted); }
.nb-bar-prog { height: 12px; border: var(--b); border-radius: 999px; background: #fff; overflow: hidden; margin-top: 12px; max-width: 420px; }
.nb-bar-prog i { display: block; height: 100%; background: var(--teal); border-right: 2px solid var(--ink); }
.nb-bar-prog i.full { background: var(--paid); }
.nb-bar-prog i.zero { border-right: 0; }
.nb-prog-meta { display: flex; justify-content: space-between; max-width: 420px; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.nb-enroll .acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 140px; }
@media (max-width: 760px) { .nb-enroll { grid-template-columns: 110px 1fr; } .nb-enroll .acts { grid-column: 1 / -1; flex-direction: row; } .nb-enroll .acts .nb-btn { flex: 1; } }

/* ==========================================================
   Home: hero visual + colored section bands
   ========================================================== */
.nb-hero-visual { position: relative; min-height: 500px; }
.nb-hero-visual .hv-block { position: absolute; left: 8%; right: 4%; top: 14%; bottom: 6%; border: var(--b); border-radius: 32px;
    background-color: var(--sun); background-image: radial-gradient(rgba(20,22,31,.16) 1.7px, transparent 1.8px); background-size: 18px 18px;
    box-shadow: 10px 10px 0 var(--ink); }
.nb .nb-hero-visual .hv-photo { position: relative; z-index: 2; display: block; width: 100% !important; max-width: 520px; height: auto !important;
    margin: 0 auto; filter: drop-shadow(8px 8px 0 rgba(20,22,31,.9)); }
.nb-hero-visual .hv-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; box-shadow: var(--sh-sm); animation: hvFloat 5s ease-in-out infinite; }
.nb-hero-visual .hv-badge b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.nb-hero-visual .hv-badge small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.nb-hero-visual .hv-ico { width: 36px; height: 36px; border: var(--b); border-radius: 10px; display: grid; place-items: center; font-weight: 800; flex: none; color: var(--ink); }
.nb-hero-visual .hv-rating { top: 6%; left: 0; }
.nb-hero-visual .hv-students { bottom: 2%; left: 2%; animation-delay: -1.5s; }
.nb-hero-visual .hv-cert { bottom: 20%; right: -2%; animation-delay: -3s; }
.nb-hero-visual .hv-faces { display: flex; }
.nb .nb-hero-visual .hv-faces img { width: 30px !important; height: 30px !important; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; object-fit: cover !important; background: #fff; }
.nb .nb-hero-visual .hv-faces img:first-child { margin-left: 0; }
.nb-hero-visual .hv-sticker { position: absolute; z-index: 4; top: 2%; right: 2%; width: 104px; height: 104px; border-radius: 50%; border: var(--b);
    background: #ef6a4a; color: #fff !important; display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 4px 4px 0 var(--ink); transform: rotate(10deg); transition: transform .15s; text-align: center; line-height: 1.05; }
.nb-hero-visual .hv-sticker:hover { transform: rotate(0deg) scale(1.05); }
.nb-hero-visual .hv-sticker b { font-size: 30px; font-weight: 800; color: #fff; }
.nb-hero-visual .hv-sticker small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nb-hero-visual .hv-badge { animation: none; } }
@media (max-width: 991px) { .nb-hero-visual { min-height: 0; margin-top: 10px; } .nb-hero-visual .hv-cert { right: 0; } }
@media (max-width: 520px) { .nb-hero-visual .hv-sticker { width: 80px; height: 80px; } .nb-hero-visual .hv-sticker b { font-size: 22px; } .nb-hero-visual .hv-badge { padding: 8px 10px; } }

/* section color bands */
.nb-band { border-top: var(--b); }
.nb-band.band-hero { border-top: 0; background-color: var(--cream); }
.nb-band.band-hero:not(.band-cont) { background-image: radial-gradient(rgba(20,22,31,.07) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.nb-band.band-cont { border-top: 0; padding-bottom: 56px; }
.nb-band.band-white { background: #fff; }
.nb-band.band-mint { background: #e3f6ee; }
.nb-band.band-sky { background: #e6eeff; }
.nb-band.band-peach { background: #ffeae3; }
.nb-band.band-cream { background: var(--cream); }
.nb-band.band-sun { background: #fff4c4; }
.nb-band.band-ink { background: var(--ink); }
.nb-band.band-ink > .nb-wrap > div > h2, .nb-band.band-ink > .nb-wrap > div > h3 { color: #fff; }
.nb-band.band-ink > .nb-wrap > div:not(.nb-card) > p { color: #c9c4b4; }
.nb-band.band-ink .nb-hl { background: none !important; color: var(--sun) !important; padding: 0; }
.nb-band.band-ink .nb-pill { box-shadow: 3px 3px 0 var(--sun); }
.nb-band.band-ink .nb-card { box-shadow: 5px 5px 0 var(--sun); }
.nb-band.band-ink .nb-perk .ico { box-shadow: none; }
.nb-band.band-white .nb-feat:nth-child(1) { background: #e3f6ee; } .nb-band.band-white .nb-feat:nth-child(2) { background: #fff4c4; } .nb-band.band-white .nb-feat:nth-child(3) { background: #e6eeff; }
.nb-band.band-white .nb-feat .ico { background: #fff !important; }
.nb-band.band-white .nb-cta { box-shadow: 8px 8px 0 var(--ink); }
.nb-band + .nb-footer, .nb-band ~ .nb-footer { margin-top: 0; }
.nb-teach { width: 100%; max-width: 440px; margin-left: auto; }
.nb-teach svg { width: 100%; height: auto; display: block; }

/* ==========================================================
   Non-button elements: flat (no border box, no hard shadow)
   so they don't read as clickable buttons.
   ========================================================== */
.nb .nb-pill { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
    font-size: 13px !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--teal) !important; gap: 10px; }
.nb .nb-pill::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--sun); border: 2px solid var(--ink); flex: none; }
.nb .band-ink .nb-pill, .nb .nb-cta .nb-pill, .nb .nb-card.dark .nb-pill { color: var(--sun) !important; box-shadow: none !important; }
.nb .band-ink .nb-pill::before, .nb .nb-cta .nb-pill::before { background: var(--paid); border-color: #fff; }
.nb .band-mint .nb-pill::before { background: var(--paid); }
.nb .band-sky .nb-pill::before { background: #5b8def; }
.nb .band-peach .nb-pill::before { background: #ef6a4a; }
.nb .band-sun .nb-pill::before { background: #f59e0b; }

.nb .nb-steps { gap: 6px 4px; align-items: center; }
.nb .nb-step { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 0 !important; border-radius: 0 !important;
    font-weight: 800; font-size: 15px; color: var(--ink); }
.nb .nb-step + .nb-step::before { content: "→"; color: var(--muted); font-weight: 800; margin: 0 10px 0 6px; }
.nb .nb-step .nb-num { box-shadow: none; }

.nb .nb-progress span { box-shadow: none !important; border: 0 !important; background: #fff; padding: 6px 12px; border-radius: 10px; }
.nbsw-chip { box-shadow: none !important; border: 0 !important; }
body:has(.nb-band) .nb-footer { margin-top: 0; }

/* two-tone home: cream + ink only */
.nb-band.band-ink .nb-feat { background: #fff !important; }
.nb-band.band-ink .nb-feat .ico { background: var(--mint) !important; }
.nb-band.band-ink .nb-feat:nth-child(2) .ico { background: var(--sun) !important; }
.nb-band.band-ink .nb-feat:nth-child(3) .ico { background: var(--sky) !important; }
.nb-band.band-ink .nb-btn:not(.primary):not(.sun) { box-shadow: 3px 3px 0 var(--sun); }
.nb-band.band-ink .nb-pill::before { background: var(--sun) !important; border-color: #fff !important; }
.nb-band.band-cream .nb-pill::before, .nb-band.band-hero .nb-pill::before { background: var(--sun) !important; }
.nb-band.band-ink + .nb-band.band-ink { border-top-color: #2b2f3d; }

/* ===== Perbaikan responsif halaman publik (Nov 2026) ===== */
/* Cegah geser horizontal akibat animasi masuk (WOW fadeInLeft/Right) & elemen lebar */
html, body { overflow-x: clip; }
.nb-layout { grid-template-columns: 290px minmax(0, 1fr); }
@media (max-width: 991px) { .nb-layout { grid-template-columns: minmax(0, 1fr); } }

/* Detail blog: konten + sidebar kanan, bertumpuk di tablet/HP */
.nb-layout.nb-layout--aside { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 991px) { .nb-layout.nb-layout--aside { grid-template-columns: minmax(0, 1fr); } }
.nb-article img, .nb-article iframe, .nb-article video { max-width: 100%; height: auto; }
.nb-article pre, .nb-article table { max-width: 100%; overflow-x: auto; }

/* Filter kursus: dilipat di tablet/HP */
.nb-filter-toggle { display: none; }
@media (max-width: 991px) {
	.nb-side { position: static; }
	.nb-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 14px; padding: 12px 14px; border: var(--b); border-radius: 12px; background: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
	.nb-filter-toggle[aria-expanded="true"] .nb-filter-toggle__ic { transform: rotate(180deg); }
	.nb-filter-toggle__ic { transition: transform .2s; }
	.nb-filter-body { display: none; }
	.nb-filter-body.is-open { display: block; }
}

/* CTA dengan QR (open source) */
.nb-cta.nb-cta--qr { grid-template-columns: 1fr auto; }
@media (max-width: 800px) {
	.nb-cta.nb-cta--qr { grid-template-columns: 1fr; }
	.nb-cta__qr { justify-self: center; }
}

/* Tabel open source jadi kartu di HP */
@media (max-width: 700px) {
	#OpenSourceTable thead { display: none; }
	#OpenSourceTable, #OpenSourceTable tbody, #OpenSourceTable tr, #OpenSourceTable td { display: block; width: 100% !important; }
	#OpenSourceTable tr { margin-bottom: 14px; padding: 12px 14px; border: var(--b); border-radius: 14px; background: #fff; }
	#OpenSourceTable td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 7px 0 !important; border: 0 !important; text-align: right !important; word-break: break-word; }
	#OpenSourceTable td + td { border-top: 1px dashed rgba(0, 0, 0, .12) !important; }
	#OpenSourceTable td::before { flex: none; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #666); text-align: left; }
	#OpenSourceTable td:nth-child(1)::before { content: "No"; }
	#OpenSourceTable td:nth-child(2)::before { content: "Kategori"; }
	#OpenSourceTable td:nth-child(3)::before { content: "Nama"; }
	#OpenSourceTable td:nth-child(4)::before { content: "Developer"; }
	#OpenSourceTable td:nth-child(5)::before { content: "Deskripsi"; }
	#OpenSourceTable td:nth-child(6)::before { content: "Auth"; }
	#OpenSourceTable td:nth-child(7)::before { content: "Dokumentasi"; }
	#OpenSourceTable td[colspan]::before { content: none; }
	#OpenSourceTable td[colspan] { justify-content: center; text-align: center !important; }
	.nb-os .table-responsive { overflow: visible; }
}

/* Badge jumlah keranjang di header: angka tepat di tengah */
.nb-icon-btn b { box-sizing: border-box; min-width: 22px; width: auto; height: 22px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font: 800 11px/1 "Plus Jakarta Sans", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0; top: -7px; right: -7px; }

/* Footer kartu kursus: harga + aksi (ikon keranjang & Detail) tanpa bertumpuk */
.nb-prod .foot { flex-wrap: wrap; row-gap: 12px; }
.nb-prod .foot .nb-price { min-width: 0; line-height: 1.2; }
.nb-prod-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.nb-prod-acts .nb-btn.sm { padding: 9px 16px; white-space: nowrap; }
.nb-cart-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border: var(--b); border-radius: 50%; background: #fff; color: var(--ink) !important; box-shadow: var(--sh-sm); transition: transform .12s, box-shadow .12s, background .12s; }
.nb-cart-btn:hover { transform: translate(-1px, -1px); box-shadow: var(--sh); background: var(--sun); }
.nb-cart-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.nb-cart-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.nb-cart-btn.is-loading { pointer-events: none; }
.nb-cart-btn.is-loading svg { display: none; }
.nb-cart-btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); border-right-color: transparent; animation: nb-spin .7s linear infinite; }
@keyframes nb-spin { to { transform: rotate(360deg); } }
@media (max-width: 380px) { .nb-prod-acts { width: 100%; } .nb-prod-acts .nb-btn.sm { flex: 1; } }
