@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variabler (matcher autocrash.dk) ───────────────── */
:root {
    --primaer:       #2a6ab2;
    --primaer-dark:  #1e5296;
    --primaer-light: #e8f0fb;
    --moerk:         #272727;
    --moerk-2:       #1a1a1a;
    --lys-bg:        #f4f4f4;
    --hvid:          #ffffff;
    --tekst:         #1a1a1a;
    --tekst-lys:     #666666;
    --border:        #e0e0e0;
    --danger:        #e74c3c;
    --success:       #27ae60;
    --warning:       #f39c12;

    --shadow-xs:    0 1px 3px rgba(0,0,0,0.07);
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.09);
    --shadow:       0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
    --shadow-blue:  0 8px 30px rgba(42,106,178,0.25);

    --radius-sm:  8px;
    --radius:     12px;
    --radius-lg:  16px;
    --radius-pill: 50px;
    --nav-h:      68px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--tekst);
    background: var(--lys-bg);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primaer); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primaer-dark); }

img { max-width: 100%; }

/* ── Keyframe-animationer ───────────────────────────── */
@keyframes fadeIn       { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeInDown   { from { opacity: 0; transform: translateY(-16px) } to { opacity: 1; transform: translateY(0) } }
@keyframes fadeInUp     { from { opacity: 0; transform: translateY(20px) } to { opacity: 1; transform: translateY(0) } }
@keyframes slideDown    { from { transform: translateY(-100%) } to { transform: translateY(0) } }
@keyframes pulse-glow   { 0%,100% { box-shadow: 0 0 0 0 rgba(42,106,178,0.3) } 50% { box-shadow: 0 0 0 8px rgba(42,106,178,0) } }
@keyframes shimmer      { 0% { background-position: -200% center } 100% { background-position: 200% center } }
@keyframes float        { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }

/* ── Scroll reveal ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
    background: var(--moerk);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.4s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.navbar-brand img:hover { opacity: 0.85; }

.brand-fallback {
    color: var(--hvid);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: none;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0.85rem; right: 0.85rem;
    height: 2px;
    background: var(--primaer);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--hvid);
    background: rgba(255,255,255,0.08);
}

.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--hvid); }
.nav-link.active::after { transform: scaleX(1); }

.navbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-cart-btn {
    position: relative;
    color: rgba(255,255,255,0.75);
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-weight: 500;
}
.nav-cart-btn:hover { color: var(--hvid); background: rgba(255,255,255,0.08); }

.cart-count {
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: pulse-glow 2s infinite;
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.15);
}

.nav-user-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.nav-username {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
}

.credit-badge {
    background: linear-gradient(135deg, var(--primaer), #1e88e5);
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-blue);
    white-space: nowrap;
}

.btn-logout {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}
.btn-logout:hover { color: var(--hvid); background: rgba(255,255,255,0.08); }

/* ── Layout ─────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

.main-content { min-height: calc(100vh - var(--nav-h)); }

.page-wrap { padding: 2.25rem 0 4rem; }

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    animation: fadeIn 0.4s ease;
}

.page-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--moerk);
    letter-spacing: -0.02em;
}

/* ── Cards ──────────────────────────────────────────── */
.card {
    background: var(--hvid);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
    font-family: inherit;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
    background: var(--primaer);
    color: #fff;
    box-shadow: 0 4px 14px rgba(42,106,178,0.3);
}
.btn-primary:hover {
    background: var(--primaer-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,106,178,0.4);
}

.btn-danger  { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover  { background: #c0392b; color: #fff; transform: translateY(-1px); }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--primaer);
    border-color: var(--primaer);
}
.btn-outline:hover {
    background: var(--primaer);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--tekst-lys);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: var(--lys-bg);
    color: var(--tekst);
    border-color: #ccc;
}

.btn-sm  { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-lg  { padding: 0.8rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Forms ──────────────────────────────────────────── */
.form-group  { margin-bottom: 1.25rem; }
.form-label  { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.85rem; color: var(--moerk); }
.form-hint   { font-size: 0.78rem; color: var(--tekst-lys); margin-top: 0.3rem; }

.form-control, .form-select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--hvid);
    color: var(--tekst);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primaer);
    box-shadow: 0 0 0 4px rgba(42,106,178,0.12);
}

textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alerts ─────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    animation: fadeInDown 0.3s ease;
}
.alert-success { background: #e8f8ef; color: #1e6b3e; border-left: 4px solid var(--success); }
.alert-danger  { background: #fdecea; color: #8b1a1a; border-left: 4px solid var(--danger); }
.alert-info    { background: var(--primaer-light); color: #1a4a7a; border-left: 4px solid var(--primaer); }
.alert-warning { background: #fff7e6; color: #7a5000; border-left: 4px solid var(--warning); }

/* ── Badges ─────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-pending    { background: #fff3cd; color: #856404; }
.badge-processing { background: var(--primaer-light); color: #1a4a7a; }
.badge-shipped    { background: #ede9fe; color: #4c1d95; }
.badge-delivered  { background: #d1fae5; color: #065f46; }
.badge-cancelled  { background: #fee2e2; color: #7f1d1d; }
.badge-active     { background: #d1fae5; color: #065f46; }
.badge-inactive   { background: #f3f4f6; color: #6b7280; }

/* ── Table ──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

.table { width: 100%; border-collapse: collapse; }

.table th {
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tekst-lys);
    padding: 0.85rem 1.25rem;
    border-bottom: 2px solid var(--lys-bg);
    background: var(--hvid);
    white-space: nowrap;
}

.table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lys-bg);
    vertical-align: middle;
    font-size: 0.875rem;
}

.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover td { background: #fafbff; }
.table tbody tr:last-child td { border-bottom: none; }

/* ── Stats ──────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--hvid);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primaer), #1e88e5);
    border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.stat-value { font-size: 2rem; font-weight: 800; color: var(--primaer); line-height: 1; margin-bottom: 0.35rem; letter-spacing: -0.03em; }
.stat-label { color: var(--tekst-lys); font-size: 0.82rem; font-weight: 500; }

/* ── Products ───────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--hvid);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--lys-bg);
    position: relative;
}

.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img { transform: scale(1.1); }

.product-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lys-bg) 0%, #e8edf4 100%);
    color: #c5cfe0;
    font-size: 3.5rem;
}

.product-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primaer);
}

.product-name { font-weight: 700; font-size: 0.95rem; color: var(--tekst); line-height: 1.3; }

.product-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primaer);
    margin-top: auto;
    padding-top: 0.6rem;
    letter-spacing: -0.01em;
}

/* ── Filter knapper (butik) ─────────────────────────── */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    padding: 1rem 1.25rem;
    background: var(--hvid);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    align-items: center;
}

/* ── Cart ───────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--lys-bg);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
    width: 88px; height: 88px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--lys-bg);
}

.cart-item-name    { font-weight: 700; font-size: 0.9rem; }
.cart-item-variant { font-size: 0.8rem; color: var(--tekst-lys); margin-top: 0.15rem; }
.cart-item-price   { font-weight: 700; color: var(--primaer); }
.qty-input { width: 64px; text-align: center; padding: 0.4rem 0.5rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-family: inherit; font-weight: 600; }

.order-summary {
    background: var(--hvid);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
    box-shadow: var(--shadow-sm);
}
.order-summary h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 1.1rem; letter-spacing: -0.01em; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; }
.summary-total { border-top: 2px solid var(--lys-bg); margin-top: 0.5rem; padding-top: 0.85rem; font-weight: 800; font-size: 1.05rem; }
.balance-left  { color: var(--success); font-size: 0.82rem; margin-top: 0.35rem; font-weight: 600; }

/* ── Credit hero (dashboard) ────────────────────────── */
.credit-hero {
    background: linear-gradient(135deg, var(--moerk-2) 0%, #0d2a50 60%, var(--primaer) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    animation: fadeInUp 0.55s ease 0.1s both;
}

.credit-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(42,106,178,0.35) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.credit-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 10%;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.credit-hero-inner { position: relative; z-index: 1; }
.credit-hero-label { font-size: 0.8rem; font-weight: 600; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.credit-hero-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.credit-hero-next   { font-size: 0.82rem; opacity: 0.65; margin-top: 0.5rem; }
.credit-hero-actions { position: relative; z-index: 1; }

/* ── Login ──────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--moerk-2) 0%, #0d1f3c 50%, #1a3a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(42,106,178,0.2) 0%, transparent 60%);
    border-radius: 50%;
}
.login-page::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(42,106,178,0.12) 0%, transparent 60%);
    border-radius: 50%;
}

.login-box {
    background: var(--hvid);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.login-logo img { height: 50px; margin: 0 auto; display: block; }
.login-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primaer);
    letter-spacing: -0.02em;
}
.login-logo-sub {
    font-size: 0.8rem;
    color: var(--tekst-lys);
    margin-top: 0.25rem;
    font-weight: 500;
}

.login-title { font-size: 1.35rem; font-weight: 800; color: var(--moerk); margin-bottom: 0.35rem; text-align: center; letter-spacing: -0.02em; }
.login-subtitle { font-size: 0.85rem; color: var(--tekst-lys); text-align: center; margin-bottom: 2rem; }

/* ── Admin sidebar ──────────────────────────────────── */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - var(--nav-h));
}

.admin-sidebar {
    background: var(--hvid);
    border-right: 1px solid var(--border);
    padding: 1.75rem 0;
}

.admin-sidebar-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #bbb;
    padding: 0 1.5rem;
    margin-bottom: 0.35rem;
    margin-top: 1.5rem;
}
.admin-sidebar-title:first-child { margin-top: 0; }

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.5rem;
    color: var(--tekst);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    margin: 0.1rem 0;
}

.admin-nav-link:hover {
    background: var(--lys-bg);
    color: var(--primaer);
    border-left-color: var(--primaer-light);
    text-decoration: none;
}

.admin-nav-link.active {
    background: var(--primaer-light);
    color: var(--primaer);
    border-left-color: var(--primaer);
    font-weight: 700;
}

.admin-main { padding: 2.25rem 2.75rem; }

/* ── Product edit image preview ─────────────────────── */
.img-preview {
    width: 130px; height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-sm);
}

/* ── Empty state ────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--tekst-lys);
    animation: fadeIn 0.4s ease;
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.5; animation: float 3s ease-in-out infinite; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--tekst); }
.empty-state p { font-size: 0.9rem; }

/* ── Order card ─────────────────────────────────────── */
.order-card { margin-bottom: 1.5rem; }
.order-card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.order-number { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.order-date   { font-size: 0.82rem; color: var(--tekst-lys); }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    background: var(--moerk);
    color: rgba(255,255,255,0.45);
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.8rem;
}

/* ── Utilities ──────────────────────────────────────── */
.text-muted   { color: var(--tekst-lys); }
.text-primary { color: var(--primaer); }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }
.fw-bold      { font-weight: 700; }
.fw-black     { font-weight: 800; }
.text-right   { text-align: right; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.mt-1   { margin-top: 0.5rem; }
.mt-2   { margin-top: 1rem; }
.mt-3   { margin-top: 1.5rem; }
.mb-1   { margin-bottom: 0.5rem; }
.mb-2   { margin-bottom: 1rem; }
.mb-3   { margin-bottom: 1.5rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .admin-layout { grid-template-columns: 200px 1fr; }
    .admin-main { padding: 1.75rem 2rem; }
}

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { padding: 1.5rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: auto; }
    .navbar { height: auto; padding: 0.75rem 1.25rem; flex-wrap: wrap; gap: 0.5rem; }
    .navbar-nav { order: 3; width: 100%; justify-content: flex-start; padding-bottom: 0.5rem; }
    .container { padding: 0 1.1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .credit-hero-amount { font-size: 2.25rem; }
    .page-title { font-size: 1.35rem; }
    .cart-item { grid-template-columns: 64px 1fr; }
    .cart-item-price, .cart-item-remove { grid-column: 2; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid    { grid-template-columns: 1fr; }
    .login-box     { padding: 2rem 1.5rem; }
    .credit-hero   { padding: 1.75rem; }
}
