﻿:root {
    --bg: #0b1220;
    --card: #ffffff;
    --muted: #64748b;
    --line: #e5e7eb;
    --brand: #22c55e; /* yeşil */
    --brand2: #0ea5e9; /* mavi accent */
    --dark: #0f172a;
}

html, body {
    height: 100%;
}

body {
    background: #f6f7fb;
    color: #0f172a;
}

/* NAV */
.app-nav {
    background: linear-gradient(90deg, #0f172a, #0b1220);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-brand .brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

.navbar-brand .brand-sub {
    font-size: .75rem;
    color: rgba(255,255,255,.65);
    margin-left: .25rem;
}

.pill {
    font-size: .8rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
}

.pill-warn {
    background: rgba(245,158,11,.15);
    border-color: rgba(245,158,11,.25);
    color: #fbbf24;
}

/* LAYOUT */
.app-side {
    background: #ffffff;
    border-right: 1px solid var(--line);
    min-height: calc(100vh - 56px);
}

.app-main {
    padding: 24px 18px;
}

.app-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* SIDEBAR */
.side-title {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}

.side-link {
    display: block;
    padding: .65rem .75rem;
    border-radius: 12px;
    color: #0f172a;
    text-decoration: none;
    margin-bottom: .35rem;
    border: 1px solid transparent;
}

    .side-link:hover {
        background: #f3f4f6;
    }

    .side-link.active {
        background: rgba(14,165,233,.10);
        border-color: rgba(14,165,233,.18);
        color: #0b4a6f;
        font-weight: 600;
    }

/* CARDS + TABLE */
.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15,23,42,.05);
}

.table {
    border-color: var(--line);
}

    .table thead th {
        color: var(--muted);
        font-weight: 600;
        font-size: .85rem;
    }

.table-hover tbody tr:hover {
    background: #fafafa;
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(90deg, var(--brand), #16a34a);
    border: none;
}

    .btn-primary:hover {
        filter: brightness(.96);
    }

/* PRICE */
.price {
    font-weight: 700;
    color: #0f172a;
}

/* FOOTER */
.app-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    margin-top: 24px;
}
/* ===== PromarFoods theme ===== */
:root {
    --pf-bg: #f6f7f9;
    --pf-ink: #0f172a;
    --pf-muted: #64748b;
    --pf-line: rgba(15,23,42,.10);
    --pf-brand: #0b3b2e; /* koyu yeşil */
    --pf-accent: #16a34a; /* daha yumuşak yeşil */
}

body {
    background: var(--pf-bg) !important;
    color: var(--pf-ink);
}

/* Header */
.pf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b1220;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.pf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
}

.pf-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.pf-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255,255,255,.08);
}

.pf-brand-text {
    font-weight: 700;
    letter-spacing: .2px;
}

.pf-nav {
    gap: 22px;
}

.pf-nav-link {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

    .pf-nav-link:hover {
        color: #fff;
    }

    .pf-nav-link.active {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 6px;
    }

.pf-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-company {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.pf-btn-outline {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
    background: transparent;
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
}

    .pf-btn-outline:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

.pf-icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    text-decoration: none;
    color: #fff;
}

.pf-icon {
    font-size: 16px;
    line-height: 1;
}

.pf-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    border: 2px solid #0b1220;
}

/* Mobile menu */
.pf-mobile {
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.pf-mobile-link {
    display: block;
    padding: 10px 0;
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

    .pf-mobile-link:hover {
        color: #fff;
    }

.pf-mobile-sep {
    height: 10px;
}

/* Main */
.pf-main {
    padding: 18px 0 32px;
}

/* Hero */
.pf-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid var(--pf-line);
    background: #111827;
}

    .pf-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--pf-hero-url);
        background-size: cover;
        background-position: center;
        filter: none;
        transform: scale(1.02);
    }

    .pf-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(2,6,23,.70) 0%, rgba(2,6,23,.25) 55%, rgba(2,6,23,.10) 100%);
    }

.pf-hero-inner {
    position: relative;
    z-index: 2;
    padding: 56px 42px;
    max-width: 760px;
}

.pf-hero h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: .3px;
    margin: 0 0 10px;
}

.pf-hero p {
    color: rgba(255,255,255,.82);
    font-size: 18px;
    margin: 0 0 20px;
}

.pf-hero .pf-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--pf-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

    .pf-hero .pf-cta:hover {
        filter: brightness(.95);
    }

/* Collections grid */
.pf-section-title {
    font-size: 34px;
    font-weight: 700;
    margin: 26px 0 14px;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .pf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pf-grid {
        grid-template-columns: 1fr;
    }
}

.pf-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--pf-line);
    background: #fff;
    text-decoration: none;
    color: var(--pf-ink);
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.pf-card-img {
    height: 200px;
    background: #e5e7eb;
    background-size: cover;
    background-position: center;
}

.pf-card-body {
    padding: 14px 14px 16px;
}

.pf-card-title {
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--pf-ink);
}

.pf-card-arrow {
    color: var(--pf-muted);
}

/* Softer order status */
.badge-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .02em;
    border: 1px solid rgba(15,23,42,.08);
}

.badge-status-pending {
    background: #f1f5f9;
    color: #334155;
}

.badge-status-processing {
    background: #e0f2fe;
    color: #075985;
}

.badge-status-shipped {
    background: #dcfce7;
    color: #166534;
}

.badge-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Progress: clean dots + line */
.status-line {
    display: flex;
    gap: 0;
    align-items: flex-start;
    padding-top: 10px;
}

.status-step {
    position: relative;
    flex: 1;
    text-align: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    margin: 0 auto 8px;
    background: #cbd5e1;
}

.status-bar {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.status-label {
    font-size: 12px;
    color: var(--pf-muted);
    font-weight: 600;
}

.status-current .status-dot {
    background: #2563eb;
}

.status-current .status-label {
    color: #2563eb;
}

.status-done .status-dot {
    background: var(--pf-accent);
}

.status-done .status-label {
    color: #166534;
}

.status-cancelled .status-dot {
    background: #ef4444;
}

.status-cancelled .status-label {
    color: #991b1b;
}
/* Products category image chips */
.pf-catbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.pf-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    color: #111;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .pf-cat:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(0,0,0,.08);
        border-color: rgba(0,0,0,.18);
    }

    .pf-cat.is-active {
        border-color: rgba(0,0,0,.35);
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
    }

.pf-cat-img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
    flex: 0 0 auto;
}

.pf-cat-text {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.pf-catbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 18px;
}

.pf-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    text-decoration: none;
    color: #111;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

    .pf-chip:hover {
        border-color: rgba(0,0,0,.16);
    }

    .pf-chip.active {
        border-color: rgba(0,0,0,.28);
        box-shadow: 0 4px 16px rgba(0,0,0,.08);
    }

.pf-chip-img {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,.06);
    flex: 0 0 auto;
}

.pf-chip-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
/* Category cards - hover & active */
/* CATEGORY BAR küçültülmüş modern versiyon */
/* Category cards - hover & active */
.pf-catbar {
    display: flex;
    gap: 12px;
    overflow: auto;
    padding-bottom: 6px;
}

.pf-cat {
    display: flex;
    flex-direction: column;
    width: 132px;
    min-width: 132px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .pf-cat:hover {
        transform: translateY(-2px);
        border-color: rgba(0,0,0,.20);
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
    }

    .pf-cat.is-active {
        border-color: rgba(13,110,253,.55); /* bootstrap primary tone */
        box-shadow: 0 10px 22px rgba(13,110,253,.12);
    }

.pf-cat-img {
    height: 76px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background-size: cover;
    background-position: center;
}

.pf-cat-text {
    padding: 10px 10px 12px;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}
