/* Listas paso a paso, FAQ, relacionados, Studio 2.0 v4.0 (z-index máximo + móvil limpio) y responsive colecciones. */
.nb-list { list-style: none; padding: 0; margin: 0; }
.nb-list li { position: relative; padding: 14px 16px 14px 52px; margin-bottom: 10px; font-size: .98rem; color: var(--nb-text); line-height: 1.5; cursor: pointer; border-radius: 14px; background: var(--nb-bg); transition: all .25s ease; border: 1.5px solid transparent; font-weight: 600; }
.nb-list li:hover { transform: translateX(6px); background: #fff; border-color: #e2e8f0; }
.nb-material::before { content: ''; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 6px; background: #fff; transition: all .25s; }
.nb-material.checked { background: #f0fdf4; border-color: #bbf7d0; color: #166534; animation: nbPop .35s ease; }
.nb-material.checked::before { background: var(--nb-green); border-color: var(--nb-green); box-shadow: inset 0 0 0 3px #fff; }
.nb-steps { counter-reset: nb-step; }
.nb-step::before { content: counter(nb-step); counter-increment: nb-step; position: absolute; left: 13px; top: 12px; background: #fff3e0; color: var(--nb-accent); font-weight: 800; font-size: .95rem; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.nb-step.checked { background: #f0fdf4; border-color: #bbf7d0; color: #166534; animation: nbPop .35s ease; }
.nb-step.checked::before { background: var(--nb-green); color: #fff; content: '✓'; }
.nb-parents-section { width: 100%; display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; box-sizing: border-box; margin: 0 0 46px; align-items: start; }
.nb-faq-box { background: #fff; padding: 28px 30px; border-radius: 22px; border: 2px solid var(--nb-border); }
.nb-faq details { border-bottom: 1px solid #e2e8f0; padding: 14px 0; }
.nb-faq details:last-child { border-bottom: none; }
.nb-faq summary { font-size: 1.04rem; font-weight: 800; color: var(--nb-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; outline: none; }
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after { content: '+'; font-size: 1.35rem; color: var(--nb-accent); font-weight: 700; transition: transform .25s; flex-shrink: 0; }
.nb-faq details[open] summary::after { transform: rotate(45deg); }
.nb-faq p { margin: 10px 0 0; color: var(--nb-muted); font-size: .96rem; line-height: 1.65; font-weight: 600; }
.nb-cluster-section { background: #fff; padding: 30px 32px; border-radius: 22px; border: 2px solid var(--nb-border); margin-bottom: 34px; }
.nb-search-bar-container { display: flex; justify-content: center; margin: 0 auto 24px; position: relative; max-width: 520px; }
.nb-search-input { width: 100%; padding: 12px 20px 12px 44px; border-radius: 99px; border: 2px solid #e2e8f0; font-size: .98rem; font-family: inherit; font-weight: 700; color: var(--nb-text); outline: none; background: #f8fafc; }
.nb-search-input:focus { border-color: #00aef0; background: #fff; }
.nb-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #64748b; display: inline-flex; }
.nb-cluster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.nb-cluster-item { text-decoration: none !important; border-radius: 16px; overflow: hidden; background: #fff; border: 1.5px solid var(--nb-border); transition: transform .22s, border-color .22s; display: flex; flex-direction: column; }
.nb-cluster-item:hover { transform: translateY(-4px); border-color: #00aef0; }
.nb-cluster-item img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; padding: 6px; box-sizing: border-box; border-bottom: 1px solid #f1f5f9; }
.nb-cluster-item h4 { font-size: .95rem; font-weight: 800; color: var(--nb-text); margin: 0; padding: 10px 12px; text-align: center; line-height: 1.25; }

/* Studio 2.0 Fullscreen (z-index superior a cabecera fija y dock, anula margin-block-start de WP) */
.nb-paint-modal { position: fixed !important; inset: 0 !important; top: 0 !important; left: 0 !important; margin: 0 !important; width: 100vw; height: 100dvh; background: #0b0f19 !important; z-index: 2147483600 !important; display: none; flex-direction: column; visibility: hidden; }
.nb-paint-modal.active { display: flex !important; visibility: visible !important; }
.nb-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 56px; padding: 0 18px; background: rgba(15,23,42,.92); border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0; z-index: 10; }
.nb-modal-title { color: #fff; font-size: 1rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nb-palette-selector { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.24); padding: 6px 10px; border-radius: 99px; font-weight: 800; font-size: .84rem; cursor: pointer; outline: none; }
.nb-palette-selector option { background: #0f172a; color: #fff; }
.nb-modal-close { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); padding: 7px 14px; border-radius: 99px; font-weight: 800; font-size: .86rem; cursor: pointer; flex-shrink: 0; }
.nb-modal-close:hover { background: #ef4444; border-color: #ef4444; }
.nb-modal-workspace { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; touch-action: none; cursor: crosshair; padding: 12px; }
.nb-workspace-inner { position: relative; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.55); transform-origin: center center; border-radius: 10px; max-height: 100%; max-width: 100%; }
.nb-modal-img { max-height: calc(100dvh - 180px); max-width: 92vw; display: block; user-select: none; pointer-events: none; border-radius: 10px; }
.nb-modal-canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; touch-action: none; z-index: 2; border-radius: 10px; }
.nb-zoom-controls { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 20; }
.nb-zoom-btn { background: rgba(15,23,42,.82); border: 1px solid rgba(255,255,255,.24); color: #fff; width: 38px; height: 38px; border-radius: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.nb-zoom-btn:hover { background: #00aef0; border-color: #00aef0; }
.nb-modal-toolbar { background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-radius: 22px 22px 0 0; z-index: 15; align-items: center; flex-shrink: 0; }
.nb-tools-group, .nb-sizes-group, .nb-stamps-group { display: flex; gap: 5px; background: #f1f5f9; padding: 5px; border-radius: 99px; flex-shrink: 0; }
.m-tool, .m-size-btn, .m-stamp { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #0f172a; flex-shrink: 0; }
.m-tool.active, .m-size-btn.active, .m-stamp.active { border-color: var(--nb-green); background: #ecfdf5; color: #047857; }
.m-size-dot { background: #0f172a; border-radius: 50%; }
.nb-colors-group-grid { display: flex; flex-wrap: wrap; gap: 6px; background: #f1f5f9; padding: 7px 11px; border-radius: 99px; align-items: center; justify-content: center; flex: 1; }
.m-color { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #fff; cursor: pointer; flex-shrink: 0; }
.m-color.active { border-color: #0f172a; transform: scale(1.18); }
.nb-actions-group { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.m-btn { padding: 0 12px; border-radius: 99px; font-weight: 800; height: 38px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; white-space: nowrap; }
.m-undo { background: #fffbeb; color: #b45309; } .m-clear { background: #fee2e2; color: #dc2626; } .m-print { background: #0284c7; color: #fff; } .m-save { background: var(--nb-green); color: #fff; }

@media (max-width: 960px) {
	.nb-wrapper { padding: 14px 12px 60px !important; }
	.dpdf-col-hero { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; border-radius: 20px; gap: 18px; }
	.nb-hero-text, .nb-hero-visual { text-align: center; }
	.dpdf-hero-cta-row, .nb-share-bar { justify-content: center; }
	.dpdf-col-sheet { max-width: 235px; }
	.dpdf-galeria-pura { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.nb-content-grid, .nb-parents-section { grid-template-columns: 1fr; }
	.nb-story-content { flex-direction: column; text-align: center; }
	.nb-box, .nb-faq-box, .nb-cluster-section { padding: 22px 16px; }
}
@media (max-width: 680px) {
	.dpdf-galeria-pura { grid-template-columns: 1fr; gap: 18px; }
	.nb-modal-header { height: 50px; padding: 0 10px; }
	.nb-studio-name { display: none; }
	.nb-modal-img { max-height: calc(100dvh - 220px); max-width: 94vw; }
	.nb-zoom-controls { flex-direction: row; right: 10px; bottom: 8px; }
	.nb-zoom-btn { width: 34px; height: 34px; }
	.nb-modal-toolbar { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 7px; border-radius: 18px 18px 0 0; }
	.nb-tools-group, .nb-colors-group-grid, .nb-actions-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: none; }
	.nb-tools-group::-webkit-scrollbar, .nb-colors-group-grid::-webkit-scrollbar, .nb-actions-group::-webkit-scrollbar { display: none; }
	.m-tool { width: 34px; height: 34px; }
	.m-btn { height: 34px; padding: 0 10px; font-size: .8rem; }
}
