/* Vista de Colecciones y Fichas v4.0: Hero degradado temático (Navidad/Dino/Sky), 0 padding override, 0 cards ocultas. */
:root { --nb-bg: #f8fafc; --nb-card: #ffffff; --nb-accent: #FF9800; --nb-green: #10B981; --nb-text: #0f172a; --nb-muted: #64748b; --nb-border: #e1eff8; }
html, body { background-color: var(--nb-bg) !important; color: var(--nb-text) !important; overflow-x: hidden !important; margin: 0 !important; width: 100% !important; font-family: 'Quicksand', sans-serif !important; }
#page, .site, #main, #content, .site-content, .ast-container, .ast-plain-container, #primary, .site-main, .entry-content { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; background: var(--nb-bg) !important; border: none !important; box-shadow: none !important; }
.wp-block-post-title, .wp-block-post-featured-image, .entry-header, .entry-title { display: none !important; }
@keyframes nbPop { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
.nb-wrapper { width: 100%; max-width: 1360px; margin: 0 auto; min-height: 100vh; padding: 18px 4% 70px; box-sizing: border-box; overflow-x: hidden; }
.nb-reveal { opacity: 1; transform: none; }

/* Hero Contained Gradient Temático (coherente con Home v4.0) */
.dpdf-col-hero {
	position: relative; overflow: hidden; border-radius: 26px; padding: 30px 34px; margin-bottom: 42px; color: #fff;
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 28px; align-items: center;
	background: radial-gradient(circle at 86% 14%, #38BDF8 0%, #00AEF0 38%, #0369A1 76%, #0F172A 100%);
	box-shadow: 0 24px 56px -24px rgba(2,132,199,.45);
}
.dpdf-col-hero.is-xmas {
	background: radial-gradient(circle at 86% 14%, #FB7185 0%, #E11D48 38%, #881337 76%, #0F172A 100%);
	box-shadow: 0 24px 56px -24px rgba(190,18,60,.45);
}
.dpdf-col-hero.is-dino {
	background: radial-gradient(circle at 86% 14%, #34D399 0%, #059669 38%, #065F46 76%, #0F172A 100%);
	box-shadow: 0 24px 56px -24px rgba(5,150,105,.42);
}
.dpdf-col-hero .dpdf-flake { color: #ffffff; opacity: .42; }
.dpdf-col-hero .dpdf-xmas-pill { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); box-shadow: none; backdrop-filter: blur(6px); margin-bottom: 10px; }
.nb-hero-text { position: relative; z-index: 4; text-align: left; min-width: 0; }
.nb-hero-visual { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.nb-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.18); color: #fff; padding: 6px 14px; border-radius: 99px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; border: 1px solid rgba(255,255,255,.32); }
.nb-h1 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); font-weight: 800; color: var(--nb-text); margin: 0 0 14px; line-height: 1.1; letter-spacing: -.02em; }
.dpdf-col-hero .nb-h1 { color: #fff !important; text-shadow: 0 4px 16px rgba(15,23,42,.22); }
.nb-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.94); line-height: 1.6; margin: 0 0 18px; font-weight: 600; }
.dpdf-hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.dpdf-col-sheet { border-radius: 20px; border: 6px solid #fff; box-shadow: 0 22px 48px rgba(15,23,42,.34); max-width: 265px; width: 100%; background: #fff; }
.nb-cover-img { width: 100%; height: auto !important; aspect-ratio: 3/4; object-fit: contain; display: block; border-radius: 12px; background: #fff; }
.dpdf-col-hero .dpdf-play-bar { max-width: 100%; padding: 6px 10px; gap: 6px; box-sizing: border-box; }
.dpdf-col-hero .dpdf-swatch { width: 22px; height: 22px; }

/* Barra compartir con SVG + Copiar enlace */
.nb-share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nb-share-label { font-weight: 800; color: rgba(255,255,255,.85); font-size: .86rem; }
.nb-share-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 99px; color: #fff; font-weight: 800; font-size: .8rem; text-decoration: none; border: 1px solid rgba(255,255,255,.26); cursor: pointer; font-family: inherit; transition: transform .16s, background .16s; }
.nb-share-btn:hover { transform: translateY(-2px); color: #fff; }
.bg-whatsapp { background: #16a34a; } .bg-pinterest { background: #e11d48; } .bg-copy { background: rgba(15,23,42,.55); } .bg-copy.is-ok { background: #10b981; }

/* Galería de láminas compacta y alineada (2 filas de botones + Quick-Look A4) */
.dpdf-galeria-pura { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 22px 0 56px; align-items: stretch; width: 100%; }
.dpdf-dibujo-item { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 12px 32px -10px rgba(15,23,42,.07); border: 1.5px solid var(--nb-border); display: flex; flex-direction: column; height: 100%; transition: transform .24s, box-shadow .24s, border-color .24s; box-sizing: border-box; }
.dpdf-dibujo-item:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -12px rgba(15,23,42,.12); border-color: #bae6fd; }
.dpdf-img-container { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #fff; border: 1.5px solid #f1f5f9; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; padding: 10px; box-sizing: border-box; }
.dpdf-sheet-num { position: absolute; bottom: 8px; left: 8px; z-index: 4; background: rgba(15,23,42,.82); color: #fff; font-size: .72rem; font-weight: 900; padding: 3px 9px; border-radius: 99px; }
.dpdf-base-layer { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; pointer-events: none; transition: transform .4s ease; }
.dpdf-dibujo-item:hover .dpdf-base-layer { transform: scale(1.04); }
.dpdf-dibujo-titulo { font-size: 1.08rem; font-weight: 800; color: var(--nb-text); margin: 0 0 6px; text-align: center; line-height: 1.28; }
.dpdf-dibujo-desc { font-size: .88rem; color: var(--nb-muted); margin: 0 0 14px; text-align: center; line-height: 1.45; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.dpdf-ca-row1 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dpdf-ca-row2 { display: flex; gap: 7px; align-items: center; }
.nb-btn-paint { background: #0f172a; color: #fff; padding: 10px 12px; border-radius: 99px; font-weight: 800; font-size: .86rem; border: none; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 6px; white-space: nowrap; }
.nb-btn-paint:hover { background: #0284c7; color: #fff; }
.nb-btn-print-single { background: #e0f2fe; color: #0369a1; border: 1.5px solid #7dd3fc; padding: 9px 12px; border-radius: 99px; font-weight: 800; font-size: .86rem; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 6px; white-space: nowrap; }
.nb-btn-print-single:hover { background: #00aef0; color: #fff; border-color: #00aef0; }
.dpdf-ca-row2 .dpdf-add-booklet { flex: 1; padding: 8px 12px; font-size: .82rem; white-space: nowrap; }
.dpdf-ic-btn { width: 36px; height: 36px; border-radius: 50%; background: #f8fafc; color: #334155; border: 1.5px solid #e2e8f0; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; transition: all .16s; }
.dpdf-ic-btn:hover { background: #00aef0; color: #fff; border-color: #00aef0; }
.dpdf-ic-btn.is-pin { color: #be123c; border-color: #fecaca; background: #fff1f2; }
.dpdf-ic-btn.is-pin:hover { background: #e11d48; color: #fff; border-color: #e11d48; }

/* Bloques editoriales */
.nb-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 42px; width: 100%; }
.nb-box { width: 100%; border-radius: 22px; padding: 28px 30px; box-sizing: border-box; border: 2px solid transparent; }
.nb-box-h2 { font-size: 1.42rem; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.nb-box-p { font-size: 1rem; line-height: 1.72; margin: 0; font-weight: 600; }
.nb-box-prep { background: #fff; border-color: var(--nb-border); grid-column: 1 / -1; }
.nb-box-story { background: #fffbeb; border-color: #fde68a; grid-column: 1 / -1; }
.nb-story-content { display: flex; gap: 24px; align-items: center; }
.nb-story-avatar { flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(180,83,9,.14); background: #fff; padding: 6px; box-sizing: border-box; }
.nb-story-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nb-story-text { flex: 1; }
.nb-story-text .nb-box-h2 { color: #b45309; } .nb-story-text .nb-box-p { color: #92400e; }
.nb-box-facts { background: #eff6ff; border-color: #bfdbfe; }
.nb-box-facts .nb-box-h2 { color: #1e3a8a; } .nb-box-facts .nb-box-p { color: #1e40af; }
.nb-box-crafts { background: #ecfdf5; border-color: #a7f3d0; }
.nb-box-crafts .nb-box-h2 { color: #065f46; } .nb-box-crafts .nb-box-p { color: #064e3b; }
.nb-box-community { background: linear-gradient(135deg, #1e293b, #0f172a); border-color: #334155; text-align: center; color: #fff; }
.nb-box-community .nb-box-h2 { color: #fff; justify-content: center; } .nb-box-community .nb-box-p { color: #cbd5e1; font-size: 1.08rem; }
