/* ── NPC Frontend styles ────────────────────────────────────────────────── */

.npc-configurator {
    margin: 24px 0;
    font-size: 14px;
}

.npc-configurator-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a1a;
}

/* ── Section ────────────────────────────────────────────────────────────── */

.npc-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .15s;
}

.npc-section.npc-section-error {
    border-color: #cc1818;
}

.npc-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f4f4f4;
}

.npc-section-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.npc-section-title {
    font-weight: 600;
    flex: 1;
    color: #1a1a1a;
}

.npc-required-badge {
    font-size: 11px;
    background: #fff3e0;
    color: #bf6000;
    border: 1px solid #ffcc80;
    border-radius: 3px;
    padding: 2px 6px;
    white-space: nowrap;
}

.npc-section-note {
    margin: 0;
    padding: 6px 14px;
    font-size: 12px;
    color: #555;
    background: #f0f6ff;
    border-bottom: 1px solid #d0e4ff;
}

/* ── Options list ───────────────────────────────────────────────────────── */

.npc-options {
    padding: 8px 0;
}

.npc-option-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background .12s;
    line-height: 1.4;
}

.npc-option-label:hover {
    background: #f7f7f7;
}

.npc-option-label.npc-selected {
    background: #eef4ff;
    border-left: 3px solid #185fa5;
    padding-left: 11px;
}

.npc-option-label input[type="radio"],
.npc-option-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #185fa5;
    width: 15px;
    height: 15px;
}

.npc-option-text {
    flex: 1;
    color: #1a1a1a;
}

.npc-option-sub {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.npc-option-price {
    font-size: 13px;
    color: #333;
    min-width: 60px;
    text-align: right;
    white-space: nowrap;
}

.npc-price-free {
    color: #2a7a3c;
    font-style: italic;
}

/* ── Error message ──────────────────────────────────────────────────────── */

.npc-error-msg {
    margin: 0;
    padding: 6px 14px;
    font-size: 12px;
    color: #cc1818;
    background: #fff0f0;
    border-top: 1px solid #ffd0d0;
}

/* ── Total bar ──────────────────────────────────────────────────────────── */

.npc-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #1a1a1a;
    border-radius: 6px;
    margin-top: 8px;
    color: #fff;
}

.npc-total-label {
    font-size: 13px;
    opacity: .8;
}

.npc-total-price {
    font-size: 20px;
    font-weight: 600;
}

.npc-total-price .woocommerce-Price-amount,
.npc-total-price .woocommerce-Price-currencySymbol {
    color: #fff;
}
