/* ---------------------------------------------------- */
/* JIVEBAY - CORE THEME (Used by index.php, products, etc.) */
/* ---------------------------------------------------- */

:root {
    --primary-color: #111C28; /* Deep Navy - Headings, Primary Buttons */
    --accent-color: #FFD700;  /* Gold - CTA Highlights, Logo Accent */
    --secondary-accent: #f68b1e; /* Jumia/Orange - Legacy CTA/Flash */
    --price-color: #e61601; /* Red - Price Points, Flash Sales */
    --bg-color: #f1f1f2;      /* Light Grey - Page Background */
    --white: #ffffff;
    --text-dark: #282828;
    --text-light: #555;
    --bottom-nav-height: 60px;
}

/* --- Base & Reset --- */
body {
    background-color: var(--bg-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }

/* --- Buttons & Inputs --- */
.jb-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    border-radius: 6px;
    font-weight: bold;
}
.jb-btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(255, 215, 0, 0.3);
}
.jb-btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.input-style {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}
.input-style:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* --- Cards & Sections --- */
.jb-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f0f0f0;
}
.jb-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Product Cards (Grid view) --- */
.product-card-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.product-card .img-container {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 8px 8px 0 0;
}
.product-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card .price {
    font-weight: 800;
    color: var(--price-color);
}

/* --- Admin Panel Components (Only basic definition here, detailed in admin.css) --- */
.admin-badge {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
}

