﻿:root {
    --bg: #0b1220;
    --text: #eaf0ff;
    --muted: #9fb0d0;
    --line: rgba(255,255,255,.08);
    --primary: #6ea8fe;
    --primary2: #3b82f6;
    --shadow: 0 30px 80px rgba(0,0,0,.35);
}

.ep-shell {
    padding: 34px 0 50px;
    color: var(--text);
}

.ep-head {
    margin-bottom: 22px;
}

.ep-pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.ep-title {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 1000;
    color: var(--text);
}

.ep-sub {
    margin: 0;
    color: rgba(234,240,255,.78);
}

.ep-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    overflow: hidden;
    transition: .18s ease;
}

    .ep-card:hover {
        transform: translateY(-4px);
        border-color: rgba(110,168,254,.30);
        box-shadow: 0 24px 60px rgba(0,0,0,.28);
    }

.ep-image-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.02);
}

.ep-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ep-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.ep-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ep-category,
.ep-stock {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    font-size: 12px;
    font-weight: 900;
}

.ep-category {
    color: var(--primary);
}

.ep-stock {
    color: var(--text);
}

.ep-name {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 1000;
    color: var(--text);
}

.ep-desc {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
    flex-grow: 1;
}

.ep-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.ep-price {
    font-size: 22px;
    font-weight: 1000;
    color: var(--text);
}

.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid rgba(110,168,254,.55);
    background: linear-gradient(180deg, rgba(110,168,254,.95), rgba(59,130,246,.85));
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    transition: .15s ease;
}

    .ep-btn:hover {
        transform: translateY(-1px);
        color: #fff;
    }

.ep-empty {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    padding: 40px 24px;
    text-align: center;
    color: var(--text);
}

    .ep-empty h4 {
        margin-bottom: 8px;
        font-weight: 1000;
    }

    .ep-empty p {
        margin: 0;
        color: var(--muted);
    }

@media (max-width: 768px) {
    .ep-title {
        font-size: 28px;
    }

    .ep-image-wrap {
        height: 220px;
    }

    .ep-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ep-btn {
        width: 100%;
    }
}
