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

:root {
    --farm-dark: #0f291e;
    --farm-primary: #1b4332;
    --farm-accent: #2d6a4f;
    --farm-green-dark: #143823;
    --farm-green: #2d6a4f;
    --farm-light: #e8f5e9;
    --farm-soft: #f0fdf4;
    --harvest-gold: #d97706;
    --harvest-hover: #b45309;
    --accent-orange: #d97706;
    --accent-orange-hover: #b45309;
    --earth-brown: #334155;
    --earth-dark: #0f172a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-canvas: #fbfbf9;
    --bg-cream: #fbfbf9;
    --white: #ffffff;

    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 8px 24px -4px rgba(27, 67, 50, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 35px -8px rgba(27, 67, 50, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-canvas);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-900);
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: var(--farm-primary);
    font-weight: 600;
    transition: var(--transition);
}

a:hover {
    color: var(--harvest-gold);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}


/* --- BANNER --- */
.demo-banner {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 1px solid #fde68a;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #92400e;
    font-weight: 500;
    z-index: 1001;
}

.demo-banner .btn-toggle {
    background: #d97706;
    color: var(--white);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.demo-banner .btn-toggle:hover {
    background: #b45309;
}

/* --- MODERN GLASSMORPHIC NAV --- */
nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    color: var(--farm-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.03em;
}

.logo-badge {
    background: var(--farm-soft);
    color: var(--farm-primary);
    border: 1px solid #bbf7d0;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--slate-700);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--farm-primary);
    background: var(--slate-100);
}

.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--slate-800);
}

@media (min-width: 992px) {
    .nav-mobile-toggle {
        display: none;
    }
}

.mobile-nav-drawer {
    display: none;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-800);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-drawer a:last-child {
    border-bottom: none;
}


/* --- BUTTONS --- */
.btn-primary {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: var(--white) !important;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #143823 0%, #1b4332 100%);
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--farm-primary) !important;
    border: 1px solid #bbf7d0;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--farm-soft);
    border-color: #86efac;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-harvest {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: var(--white) !important;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
    transition: var(--transition);
}

.btn-harvest:hover {
    background: linear-gradient(135deg, #b45309 0%, #c2410c 100%);
    transform: translateY(-1px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: radial-gradient(circle at 50% 20%, rgba(27, 67, 50, 0.88), rgba(15, 41, 30, 0.96)),
                url('https://images.unsplash.com/photo-1500076656116-558758c991c1?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
    padding: 4.5rem 1.25rem 4rem;
    text-align: center;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: #bbf7d0;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.75rem);
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto 2.25rem;
    font-weight: 400;
    line-height: 1.5;
}

.search-box-wrap {
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .search-box-wrap {
        flex-direction: row;
        align-items: center;
        padding: 8px 10px;
        border-radius: var(--radius-full);
    }
}

.search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    background: var(--slate-100);
    border-radius: var(--radius-full);
    padding: 0 1rem;
}

.search-input {
    width: 100%;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--slate-900);
    outline: none;
    transition: var(--transition);
}

.search-box-wrap .search-input {
    border: none;
    background: transparent;
    padding: 0.85rem 0.5rem;
}

.search-input:focus {
    border-color: var(--farm-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.search-select {
    padding: 0.85rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    background: var(--slate-100);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--slate-700);
    outline: none;
    cursor: pointer;
}

.popular-tags-wrap {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.popular-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.popular-tag:hover {
    background: var(--white);
    color: var(--farm-primary);
    transform: translateY(-1px);
}


/* --- VISUAL PRODUCE CATEGORIES --- */
.visual-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 2rem 0;
}

@media (min-width: 600px) {
    .visual-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .visual-categories-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}

.visual-category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.visual-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #86efac;
}

.visual-category-img {
    height: 110px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.visual-category-card:hover .visual-category-img {
    transform: scale(1.05);
}

.visual-category-title {
    padding: 0.75rem 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--slate-800);
}

/* --- HOW IT WORKS --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.step-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: #bbf7d0;
}

.step-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--farm-soft);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* --- CATEGORY / FILTER BAR --- */
.category-bar-wrap {
    position: relative;
    margin: 1.5rem 0;
}

.category-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-chip {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--slate-700);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-chip:hover {
    background: var(--slate-100);
    border-color: var(--slate-300);
}

.category-chip.active {
    background: var(--farm-primary);
    color: var(--white);
    border-color: var(--farm-primary);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}


/* --- MOBILE LIST / MAP VIEW TOGGLE --- */
.mobile-view-toggle-bar {
    display: flex;
    margin-bottom: 1.25rem;
    background: var(--slate-100);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--slate-200);
}

@media (min-width: 992px) {
    .mobile-view-toggle-bar {
        display: none;
    }
}

.mobile-view-toggle-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-600);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-view-toggle-btn.active {
    background: var(--white);
    color: var(--farm-primary);
    box-shadow: var(--shadow-xs);
}

/* --- DISCOVERY SPLIT LAYOUT --- */
.discovery-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 992px) {
    .discovery-layout {
        grid-template-columns: 1.15fr 1fr;
        gap: 2rem;
    }
}

#map-container {
    height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
    position: sticky;
    top: 90px;
    z-index: 10;
}

@media (max-width: 991px) {
    #map-container.mobile-hidden {
        display: none !important;
    }
    #farms-list-container.mobile-hidden {
        display: none !important;
    }
}

/* --- FARM CARDS --- */
.farm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    margin-bottom: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.farm-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: #86efac;
}

.farm-card-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.farm-card-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.badges-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.badge {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

.badge-organic { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-halal { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-red-tractor { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.badge-fsa { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.badge-distance { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.badge-cafe { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

.card-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--slate-100);
}

.modern-prod-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.modern-prod-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: #86efac;
}

/* --- FLOATING MOBILE CART BAR --- */
.mobile-floating-cart-bar {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
    cursor: pointer;
}

@media (min-width: 992px) {
    .mobile-floating-cart-bar {
        display: none !important;
    }
}


/* --- DASHBOARD STYLES --- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.kpi-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
}

.kpi-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--farm-primary);
    margin: 0.35rem 0 0;
    letter-spacing: -0.03em;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1.35fr 1fr;
    }
}

.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--slate-100);
    text-align: left;
}

th {
    background: var(--slate-50);
    font-weight: 700;
    color: var(--slate-700);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- MODAL DIALOGS --- */
.modern-modal-overlay, .checkout-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modern-modal, .checkout-modal {
    background: var(--white);
    max-width: 540px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
    position: relative;
}

@media (min-width: 640px) {
    .modern-modal, .checkout-modal {
        padding: 2rem;
    }
}

/* --- FOOTER --- */
footer {
    background: #0d1f16;
    color: #e2e8f0;
    padding: 4rem 1.25rem 2.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
    }
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #4ade80;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* --- RESPONSIVE POLISH & PRINT STYLES --- */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .search-input, select.search-input, button {
        min-height: 44px; /* Touch target accessibility */
    }
    .dashboard-wrap {
        padding: 1rem 0.75rem 5rem;
    }
    .admin-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

@media print {
    nav, footer, .mobile-floating-cart-bar, .modern-toast, button, .no-print {
        display: none !important;
    }
    body {
        background: #FFF !important;
        color: #000 !important;
    }
    .container, .dashboard-wrap {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .order-pack-card, .admin-card {
        box-shadow: none !important;
        border: 1px solid #CCC !important;
        page-break-inside: avoid;
    }
}

