/* Sanftes Dunkelblau für Navbar & Buttons */
.bg-edunex {
    background-color: #1874CD !important;
}

.btn-edunex {
    background-color: #1874CD;
    border-color: #1874CD;
    color: white;
}

.btn-edunex:hover {
    background-color: #436eee;
    border-color: #436eee;
    color: white;
}

/* Allgemein */
body {
    background-color: #f5f7fb;
    color: #1f2937;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav-link {
    font-weight: 500;
}

/* Hinweisbox */
.edx-info-alert {
    max-width: 900px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px;
}

/* Dashboard Header */
.edx-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.edx-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #153a63;
}

.edx-page-subtitle {
    color: #6b7280;
    font-size: 0.98rem;
}

.edx-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Filterbox */
.edx-filter-box {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

/* Produktkarten */
.edx-product-card {
    border: 1px solid #e8edf4;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.edx-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1874CD;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}
.edx-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.10);
}

.edx-product-card .card-body {
    padding: 1.2rem;
}

/* Bildbereich */
.edx-product-image-wrap {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f9fbfd 0%, #f2f6fa 100%);
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 1rem;
}

.edx-product-image {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.edx-no-image {
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: center;
}

/* Produkttext */
.edx-product-meta {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.edx-product-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #153a63;
    min-height: 56px;
    margin-bottom: 0.5rem;
}

.edx-pack-unit {
    font-size: 0.92rem;
    color: #4b5563;
}

/* Preisbox */
.edx-price-box {
    background: #f8fafc;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
}

.edx-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    padding: 0.2rem 0;
}

.edx-price-row + .edx-price-row {
    border-top: 1px solid #edf2f7;
    margin-top: 0.25rem;
    padding-top: 0.45rem;
}

.edx-price-label {
    color: #6b7280;
}

.edx-price-value {
    font-weight: 600;
    color: #374151;
}

.edx-discount-value {
    font-weight: 700;
    color: #15803d;
}

.edx-price-row-final .edx-price-label {
    font-weight: 700;
    color: #153a63;
}

.edx-final-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1874CD;
}

/* Quick Add */
.edx-quick-add {
    display: flex;
    gap: 0.6rem;
}

.edx-qty-input {
    max-width: 85px;
    border-radius: 10px;
}

.edx-cart-btn {
    flex: 1;
    border-radius: 10px;
    font-weight: 600;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

/* Buttons allgemein etwas schöner */
.btn {
    border-radius: 10px;
}

/* Footer */
footer a {
    color: #1874CD;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobil */
@media (max-width: 576px) {
    .edx-page-title {
        font-size: 1.6rem;
    }

    .edx-product-image-wrap {
        height: 190px;
    }

    .edx-product-title {
        min-height: auto;
    }
}

/* Kategorie Buttons */
.edx-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.edx-cat-btn {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s ease;
}

.edx-cat-btn:hover {
    background: #f1f5fb;
    border-color: #1874CD;
    color: #1874CD;
}

.edx-cat-btn.active {
    background: #1874CD;
    color: white;
    border-color: #1874CD;
    box-shadow: 0 4px 10px rgba(24, 116, 205, 0.25);
}

/* Suchfunktion */
.edx-filter-section {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.edx-search-form .input-group-text {
    background: #f8fafc;
    border-color: #dbe3ec;
}

.edx-search-form .form-control {
    border-color: #dbe3ec;
}

.edx-search-form .form-control:focus {
    border-color: #1874CD;
    box-shadow: 0 0 0 0.2rem rgba(24, 116, 205, 0.15);
}