/* ══════════════════════════════════════════════════
   ShopCore – Basis-Stylesheet
   ══════════════════════════════════════════════════ */

/* ── Typografie ─────────────────────────────────── */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    background: #fff;
}

a { color: inherit; }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* ── Hero ───────────────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* ── Produkt-Karte ──────────────────────────────── */
.product-card {
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 0.75rem !important;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

.product-card .card-body a.stretched-link::after {
    z-index: 1;
}

.product-card .card-body form {
    position: relative;
    z-index: 2;
}

/* ── Kategorie-Karte ────────────────────────────── */
.hover-lift {
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 0.75rem !important;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.1) !important;
}

/* ── Buttons ────────────────────────────────────── */
.btn-dark {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-dark:hover {
    background: #000;
    border-color: #000;
}

/* ── Badges ─────────────────────────────────────── */
.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── Tabellen ───────────────────────────────────── */
.table > :not(caption) > * > * {
    padding: .75rem 1rem;
}

/* ── Cards ──────────────────────────────────────── */
.card {
    border-radius: 0.75rem !important;
}

.card-header {
    border-radius: calc(0.75rem - 1px) calc(0.75rem - 1px) 0 0 !important;
    padding: 1rem 1.25rem;
}

/* ── Breadcrumb ─────────────────────────────────── */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

/* ── Admin ──────────────────────────────────────── */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.5rem;
    }
}

/* ── Utilities ──────────────────────────────────── */
.object-fit-cover   { object-fit: cover; }
.object-fit-contain { object-fit: contain; }

/* ── Footer ─────────────────────────────────────── */
footer a:hover {
    color: #fff !important;
}
