/* NB Batch Cooking — estilos */
.nbbc-app { max-width: 1100px; margin: 0 auto; padding: 20px 16px; font-family: inherit; color: #222; }

/* Header */
.nbbc-header { margin-bottom: 20px; }
.nbbc-header h2 { color: #1b5e20; margin: 0 0 6px; font-size: 26px; }
.nbbc-subtitle { color: #666; margin: 0; font-size: 14px; line-height: 1.5; }

/* Cómo usar */
.nbbc-como-usar {
    background: #f1f8e9; border: 1px solid #c8e6c9; border-radius: 10px;
    padding: 14px 18px; margin-bottom: 24px;
}
.nbbc-como-usar summary {
    cursor: pointer; font-weight: 600; color: #1b5e20;
    user-select: none; list-style: none; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.nbbc-como-usar summary::-webkit-details-marker { display: none; }
.nbbc-como-usar summary::after {
    content: '▾'; color: #2e7d32; font-size: 16px;
    transition: transform 0.2s ease; flex-shrink: 0;
}
.nbbc-como-usar[open] summary::after { transform: rotate(180deg); }
.nbbc-como-usar[open] summary { margin-bottom: 10px; }
.nbbc-como-usar ul { margin: 0; padding-left: 20px; }
.nbbc-como-usar li { margin: 6px 0; color: #333; line-height: 1.5; font-size: 13px; }

/* Grid de cards */
.nbbc-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* Card */
.nbbc-card {
    display: flex; flex-direction: column; gap: 10px;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    padding: 20px; text-decoration: none; color: #222;
    transition: all .18s; position: relative; border-top: 4px solid #2e7d32;
}
.nbbc-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #66bb6a;
}
.nbbc-card-num {
    font-size: 11px; color: #2e7d32; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.6px;
}
.nbbc-card h3 { margin: 0; color: #1b5e20; font-size: 17px; line-height: 1.3; }
.nbbc-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.nbbc-tag {
    font-size: 11px; padding: 4px 10px; border-radius: 12px;
    background: #f5f5f5; color: #555; font-weight: 500;
}
.nbbc-tag-prot { background: #ffe0b2; color: #e65100; }
.nbbc-tag-carb { background: #fff8e1; color: #b28900; }
.nbbc-card-more {
    margin-top: auto; padding-top: 8px; font-size: 13px;
    color: #2e7d32; font-weight: 600;
}

/* Detalle */
.nbbc-back {
    display: inline-block; margin-bottom: 16px; color: #2e7d32;
    text-decoration: none; font-weight: 600; font-size: 14px;
}
.nbbc-back:hover { text-decoration: underline; }

.nbbc-hero {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    border-radius: 14px; padding: 24px 28px; margin-bottom: 24px;
    border-left: 5px solid #2e7d32;
}
.nbbc-hero-num {
    font-size: 12px; color: #2e7d32; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px;
}
.nbbc-hero h2 { margin: 0 0 6px; color: #1b5e20; font-size: 24px; }
.nbbc-hero-sub { color: #555; margin: 0; font-size: 15px; }

/* Ingredientes en grid */
.nbbc-ingredientes {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px; margin-bottom: 24px;
}
.nbbc-ing-item {
    display: flex; gap: 12px; background: #fff;
    border: 1px solid #e0e0e0; border-radius: 10px; padding: 14px;
    border-left: 4px solid #ccc;
}
.nbbc-ing-prot { border-left-color: #e65100; }
.nbbc-ing-carb { border-left-color: #b28900; }
.nbbc-ing-veg { border-left-color: #2e7d32; }
.nbbc-ing-gra { border-left-color: #6d4c41; }

.nbbc-ing-icon { font-size: 24px; line-height: 1; }
.nbbc-ing-body { flex: 1; }
.nbbc-ing-label {
    font-size: 11px; color: #888; text-transform: uppercase;
    letter-spacing: 0.4px; font-weight: 600;
}
.nbbc-ing-value { font-size: 14px; color: #333; margin-top: 2px; font-weight: 500; }

/* Secciones grandes (preparación, combinaciones, conservación) */
.nbbc-seccion {
    display: flex; gap: 14px; background: #fff;
    border: 1px solid #e0e0e0; border-radius: 12px; padding: 20px;
    margin-bottom: 16px;
}
.nbbc-seccion-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.nbbc-seccion-body { flex: 1; }
.nbbc-seccion h3 { margin: 0 0 8px; color: #1b5e20; font-size: 17px; }
.nbbc-seccion p { margin: 0; line-height: 1.6; color: #333; font-size: 14px; }

.nbbc-combi-list { margin: 0; padding-left: 22px; }
.nbbc-combi-list li { margin: 8px 0; line-height: 1.6; color: #333; font-size: 14px; }

.nbbc-cons { background: #fff3e0; border-color: #ffe0b2; }
.nbbc-cons h3 { color: #e65100; }

/* Empty */
.nbbc-empty {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    padding: 30px; text-align: center; color: #666;
}
.nbbc-empty a { color: #2e7d32; font-weight: 600; }

@media (max-width: 600px) {
    .nbbc-hero { padding: 18px 20px; }
    .nbbc-hero h2 { font-size: 20px; }
    .nbbc-seccion { padding: 16px; gap: 10px; }
    .nbbc-seccion-icon { font-size: 22px; }
}
