/* ── Colour tokens ───────────────────────────────────────────── */
:root {
    --lb-primary: #1d4ed8;
    --lb-primary-dark: #1e3a8a;
    --lb-gold: #f59e0b;
    --lb-radius: 0.5rem;
}

/* ── Global ──────────────────────────────────────────────────── */
body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* ── Navbar ──────────────────────────────────────────────────── */
#mainNav {
    background: linear-gradient(135deg, var(--lb-primary-dark) 0%, var(--lb-primary) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Hero / Landing ──────────────────────────────────────────── */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ── Feature cards ───────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border-radius: var(--lb-radius);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ── Pricing cards ───────────────────────────────────────────── */
.pricing-card {
    border-radius: var(--lb-radius);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

/* ── Dashboard thumbnail cards ───────────────────────────────── */
.lunchbox-card {
    border-radius: var(--lb-radius);
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid #e2e8f0;
}
.lunchbox-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

.lunchbox-thumb {
    height: 160px;
    object-fit: cover;
    border-radius: var(--lb-radius) var(--lb-radius) 0 0;
}

.lunchbox-thumb-placeholder {
    height: 160px;
    border-radius: var(--lb-radius) var(--lb-radius) 0 0;
}

.card-img-link {
    display: block;
    overflow: hidden;
    border-radius: var(--lb-radius) var(--lb-radius) 0 0;
}

/* ── List view thumbnails ────────────────────────────────────── */
.list-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.list-thumb-placeholder {
    width: 60px;
    height: 60px;
}

/* ── Photo upload slots (add / edit forms) ───────────────────── */
.photo-placeholder {
    height: 100px;
    border: 2px dashed #cbd5e1;
    border-radius: var(--lb-radius);
    cursor: pointer;
}

.photo-preview-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* ── Detail view gallery ─────────────────────────────────────── */
.main-photo-container {
    width: 100%;
    background: #f1f5f9;
    border-radius: var(--lb-radius);
    overflow: hidden;
    text-align: center;
}

.main-photo {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #f1f5f9;
    display: block;
}

.gallery-thumb {
    width: 60px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s, opacity 0.15s;
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--lb-primary);
}

.active-thumb .gallery-thumb {
    border-color: var(--lb-primary);
    opacity: 1;
}

.thumb-container {
    text-align: center;
    cursor: pointer;
}

/* ── Detail table ────────────────────────────────────────────── */
.detail-table th {
    font-weight: 500;
    padding: 0.4rem 0.75rem;
}
.detail-table td {
    padding: 0.4rem 0.75rem;
}

/* ── Condition badges ────────────────────────────────────────── */
.condition-badge-mint         { background: #10b981; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
.condition-badge-excellent    { background: #3b82f6; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
.condition-badge-very-good    { background: #8b5cf6; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
.condition-badge-good         { background: #f59e0b; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
.condition-badge-fair         { background: #f97316; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
.condition-badge-poor         { background: #ef4444; color: #fff; padding: 0.25em 0.6em; border-radius: 0.375rem; font-size: 0.8em; }
