/* ═══════════════════════════════════════════
   Egantica Maintenance Prices
   ═══════════════════════════════════════════ */

.emp-widget {
    --emp-primary: #1d4e5f;
    --emp-accent: #f0a030;
    --emp-text: #2c3e50;
    --emp-text-light: #64748b;
    --emp-bg: #ffffff;
    --emp-border: #e8ecef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── Tabs ─── */
.emp-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--emp-border);
    padding-bottom: 0;
}

.emp-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--emp-text-light);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
    white-space: nowrap;
}

.emp-tab:hover {
    color: var(--emp-primary);
}

.emp-tab-active {
    color: var(--emp-primary);
    border-bottom-color: var(--emp-accent);
}

.emp-tab svg {
    flex-shrink: 0;
}

/* ─── Categories ─── */
.emp-category {
    display: none;
}

.emp-category-active {
    display: block;
}

.emp-cat-subtitle {
    font-size: 14px;
    color: var(--emp-text-light);
    margin: 0 0 20px;
    font-style: italic;
}

/* ─── Pricing Cards ─── */
.emp-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.emp-cards-2 { grid-template-columns: repeat(2, 1fr); }
.emp-cards-3 { grid-template-columns: repeat(3, 1fr); }

.emp-card {
    background: var(--emp-bg);
    border: 2px solid var(--emp-border);
    border-radius: 12px;
    padding: 28px 24px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.emp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.emp-card-highlight {
    border-color: var(--emp-accent);
    box-shadow: 0 4px 16px rgba(240, 160, 48, 0.12);
}

.emp-card-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--emp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 0 0 6px 6px;
}

/* Card header */
.emp-card-header {
    margin-bottom: 16px;
}

.emp-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--emp-primary);
    margin: 0 0 2px;
}

.emp-card-sub {
    font-size: 13px;
    color: var(--emp-text-light);
    margin: 0;
}

/* Price */
.emp-card-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 4px;
}

.emp-price-euro {
    font-size: 20px;
    font-weight: 700;
    color: var(--emp-text);
    margin-top: 6px;
}

.emp-price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--emp-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.emp-card-highlight .emp-price-amount {
    color: var(--emp-accent);
}

.emp-price-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--emp-text);
    margin-top: 6px;
}

.emp-price-label {
    font-size: 12px;
    color: var(--emp-text-light);
    margin: 0 0 12px;
}

.emp-card-includes {
    font-size: 13px;
    color: var(--emp-primary);
    font-weight: 600;
    background: rgba(29, 78, 95, 0.06);
    padding: 6px 10px;
    border-radius: 6px;
    margin: 0 0 16px;
    display: inline-block;
}

/* Checklist */
.emp-card-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.emp-card-items li {
    font-size: 13px;
    color: var(--emp-text);
    padding: 5px 0 5px 22px;
    position: relative;
    border-bottom: 1px solid #f4f5f7;
    line-height: 1.4;
}

.emp-card-items li:last-child {
    border-bottom: none;
}

.emp-card-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emp-accent);
    font-weight: 700;
    font-size: 13px;
}

/* CTA Button */
.emp-card-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--emp-primary);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: auto;
}

.emp-card-btn:hover {
    background: var(--emp-accent);
    color: #fff;
}

.emp-card-highlight .emp-card-btn {
    background: var(--emp-accent);
}

.emp-card-highlight .emp-card-btn:hover {
    background: var(--emp-primary);
}

/* ─── Section titles ─── */
.emp-section {
    margin-bottom: 32px;
}

.emp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--emp-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--emp-border);
}

/* ─── General costs table ─── */
.emp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--emp-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--emp-border);
}

.emp-table thead th {
    background: var(--emp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.emp-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--emp-text);
    border-bottom: 1px solid #f4f5f7;
}

.emp-table tbody tr:last-child td {
    border-bottom: none;
}

.emp-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.emp-td-price {
    font-weight: 700;
    white-space: nowrap;
    color: var(--emp-primary) !important;
}

.emp-td-note {
    font-size: 13px !important;
    color: var(--emp-text-light) !important;
    font-style: italic;
}

/* ─── Repair costs grid ─── */
.emp-repairs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    background: var(--emp-bg);
    border: 1px solid var(--emp-border);
    border-radius: 8px;
    padding: 8px 20px;
}

.emp-repair-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f4f5f7;
    font-size: 14px;
}

.emp-repair-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.emp-repair-service {
    color: var(--emp-text);
    white-space: nowrap;
}

.emp-repair-dots {
    flex: 1;
    border-bottom: 2px dotted #ddd;
    min-width: 20px;
    margin-bottom: 4px;
}

.emp-repair-price {
    font-weight: 700;
    color: var(--emp-primary);
    white-space: nowrap;
}

/* ─── Disclaimer ─── */
.emp-disclaimer {
    margin-top: 24px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-left: 3px solid var(--emp-accent);
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: var(--emp-text-light);
    line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .emp-cards-2,
    .emp-cards-3 {
        grid-template-columns: 1fr;
    }

    .emp-repairs-grid {
        grid-template-columns: 1fr;
    }

    .emp-repair-item:last-child {
        border-bottom: none;
    }

    .emp-tabs {
        gap: 4px;
    }

    .emp-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .emp-tab svg {
        display: none;
    }

    .emp-table {
        font-size: 13px;
    }

    .emp-table thead th,
    .emp-table tbody td {
        padding: 10px 12px;
    }
}
