/* --- BAZĂ --- */
.npm-wrapper { margin: 20px 0; font-family: sans-serif; color: #333; }

/* --- TABS --- */
.npm-tabs { display: flex; gap: 5px; margin-bottom: -1px; overflow-x: auto; }
.npm-tab-btn { padding: 14px 28px; cursor: pointer; background: #f1f1f1; border: 1px solid #ddd; border-bottom: none; border-radius: 12px 12px 0 0; font-weight: 700; color: #777; white-space: nowrap; }
.npm-tab-btn.active { background: #fff; color: #111; border-bottom: 2px solid #fff; position: relative; z-index: 2; box-shadow: 0 -5px 15px rgba(0,0,0,0.04); }
.npm-tab-content { background: #fff; border: 1px solid #ddd; border-radius: 0 12px 12px 12px; padding: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
.npm-panel { display: none; }
.npm-panel.active { display: block; }

/* --- TABEL DESKTOP --- */
.npm-table { width: 100%; border-collapse: collapse; }
.npm-table th { background: #fcfcfc; padding: 15px; font-size: 11px; color: #999; text-transform: uppercase; border-bottom: 2px solid #eee; text-align: left; }
.npm-table td { padding: 15px; border-bottom: 1px solid #f6f6f6; vertical-align: middle; }

/* --- ELEMENTE LISTĂ --- */
.npm-site-info { display: flex; align-items: center; gap: 12px; }
.npm-preview { width: 65px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; flex-shrink: 0; }
.npm-dr-badge { background: #2ecc71; color: #fff; padding: 4px 10px; border-radius: 6px; font-weight: 800; font-size: 12px; }
.npm-cat-tag { font-size: 10px; background: #f0f2f5; color: #555; padding: 4px 12px; border-radius: 20px; font-weight: 700; margin-right: 5px; display: inline-block; margin-bottom: 2px; }
.npm-site-link { color: #3498db; text-decoration: none; font-size: 12px; }
.npm-price-cell { text-align: right; }
.price-wrap { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.price-wrap input { width: 20px; height: 20px; accent-color: #2ecc71; cursor: pointer; }
.rental-color { color: #d35400; }
.bulk-label { cursor: pointer; display: flex; align-items: center; gap: 5px; justify-content: flex-end; font-size: 10px; font-weight: bold; }

/* --- STICKY FOOTER (VERDE) --- */
.npm-sticky-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #2ecc71 !important;
    color: #fff !important;
    padding: 15px 0 !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2) !important;
    z-index: 2147483647 !important;
    display: none;
}
.npm-footer-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.npm-total-box { display: flex; gap: 40px; }
.npm-total-item { display: flex; flex-direction: column; }
.npm-total-item span { font-size: 10px; color: #1a5e37; text-transform: uppercase; font-weight: 700; }
.npm-total-item strong { font-size: 24px; color: #fff; }
.grand-total-border { border-left: 2px solid rgba(255,255,255,0.2); padding-left: 30px; }
.npm-order-btn { background: #1a1a1a; color: #fff; padding: 12px 30px; border-radius: 8px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.npm-order-btn:hover { background: #000; transform: scale(1.05); }

/* =========================================================
   RESPONSIVE MOBIL (SUB 768PX)
   ========================================================= */
@media (max-width: 768px) {
    /* Transformăm tabelul în CARDURI */
    .npm-table thead { display: none; } /* Ascundem capul de tabel */
    .npm-table, .npm-table tbody, .npm-table tr, .npm-table td { display: block; width: 100%; }
    
    .npm-table tr { 
        background: #fff; 
        border: 1px solid #eee; 
        margin-bottom: 15px; 
        border-radius: 12px; 
        padding: 10px; 
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .npm-table td { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 8px 5px !important; 
        border-bottom: 1px solid #f9f9f9; 
        text-align: right;
    }
    
    .npm-table td:last-child { border-bottom: none; }

    /* Adăugăm etichete în stânga (Label-uri) */
    .npm-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #999;
        font-size: 10px;
        text-transform: uppercase;
        flex: 1;
        text-align: left;
    }

    .npm-site-info { width: 100%; justify-content: flex-start; }

    /* Footer Mobil */
    .npm-sticky-footer { padding: 10px 0 !important; }
    .npm-footer-container { flex-direction: column; gap: 10px; padding: 0 15px; }
    .npm-total-box { gap: 15px; width: 100%; justify-content: center; }
    .npm-total-item strong { font-size: 18px; }
    .grand-total-border { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 15px; }
    .npm-order-btn { width: 100%; text-align: center; padding: 10px; }
}





















/* --- ZONA FILTRARE PRO --- */
.npm-filter-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.npm-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #444;
    font-size: 15px;
}

.npm-filter-label svg {
    color: #2ecc71; /* Verdele nostru */
}

.npm-select-wrapper {
    position: relative;
    min-width: 250px;
}

/* Stil pentru Select */
.npm-select {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 10px;
    appearance: none; /* Scoatem săgeata default */
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.npm-select:hover {
    border-color: #2ecc71;
    background-color: #fff;
}

.npm-select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

/* Săgeată custom pentru select */
.npm-select-wrapper::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #aaa;
    pointer-events: none;
}

/* Responsivitate pentru filtru */
@media (max-width: 768px) {
    .npm-filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .npm-select-wrapper {
        width: 100%;
    }
}


.npm-dr-badge b{
    color:#000;
}

.npm-table tr:hover td{
    background:#ffffcc;
}