/* ============================================================
   DUCADU — Product Cards (pure_comparison override)
   ============================================================ */

/* ---- Reset main-body pe pagina de produse ---- */
body[data-pagetemplate="products"] section#main-body {
    background: #f0f4f8;
    padding: 40px 0 60px !important;
}

/* ---- Wrapper secțiune ---- */
.dpc-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header grup ---- */
.dpc-header {
    text-align: center;
    margin-bottom: 40px;
}
.dpc-headline {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #162942;
    margin: 0 0 10px;
}
.dpc-tagline {
    font-size: 16px;
    color: #6b7f96;
    max-width: 560px;
    margin: 0 auto;
}

/* ---- Grid de carduri ---- */
.dpc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

/* ---- Card de bază ---- */
.dpc-card {
    position: relative;
    background: linear-gradient(160deg, #1a3a6b 0%, #162942 60%, #0f1f35 100%);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 32px 28px 28px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.dpc-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(0,146,204,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.dpc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.32);
}

/* ---- Card featured (recomandat) ---- */
.dpc-card--featured {
    background: linear-gradient(160deg, #1a4a8a 0%, #162d5a 60%, #0f1f40 100%);
    border-color: rgba(0,211,227,0.35);
    box-shadow: 0 8px 40px rgba(0,146,204,0.28), 0 0 0 1px rgba(0,211,227,0.20);
}
.dpc-card--featured:hover {
    box-shadow: 0 20px 56px rgba(0,146,204,0.38), 0 0 0 1px rgba(0,211,227,0.30);
}

/* ---- Badge Popular ---- */
.dpc-badge-popular {
    position: absolute;
    top: -1px; right: 24px;
    background: linear-gradient(135deg, #f57b20, #e52722);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px 6px 12px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---- Cap card ---- */
.dpc-card-head { margin-bottom: 20px; }

.dpc-name {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
}
.dpc-card-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.4;
}

/* ---- Bloc preț ---- */
.dpc-price-block {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}
.dpc-price-from {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    width: 100%;
}
.dpc-price-main {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.dpc-price-cycle {
    font-size: 14px;
    color: rgba(255,255,255,0.60);
}
.dpc-save-badge {
    width: 100%;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f57b20, #e52722);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

/* ---- Buton CTA ---- */
.dpc-cta { margin-bottom: 22px; }

.dpc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: filter 0.2s, transform 0.2s;
    cursor: pointer;
    line-height: 1.2;
    border: none;
}
.dpc-btn--default {
    background: linear-gradient(135deg, #0092cc, #00d3e3);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0,146,204,0.40);
}
.dpc-btn--primary {
    background: linear-gradient(135deg, #0092cc, #00d3e3);
    color: #ffffff !important;
    box-shadow: 0 6px 24px rgba(0,146,204,0.55);
}
.dpc-btn--disabled {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45) !important;
    cursor: not-allowed;
}
.dpc-btn:hover:not(.dpc-btn--disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #ffffff !important;
    text-decoration: none !important;
}

.dpc-renewal {
    font-size: 12px;
    color: rgba(255,255,255,0.40);
    text-align: center;
    margin: 8px 0 0;
}

/* ---- Feature list ---- */
.dpc-features {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.09);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.dpc-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
}
.dpc-feat-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
}
.dpc-feat-icon--yes {
    background: rgba(0,211,100,0.18);
    color: #00d364;
    border: 1px solid rgba(0,211,100,0.30);
}
.dpc-feat-icon--no {
    background: rgba(229,39,34,0.15);
    color: #e52722;
    border: 1px solid rgba(229,39,34,0.25);
}
.dpc-feat-text { flex: 1; line-height: 1.3; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .dpc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .dpc-grid { grid-template-columns: 1fr; }
    .dpc-card  { padding: 26px 20px 22px; }
}
