/* ── Binfield FC Menu – Public Display Styles ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* CSS variables – overridable via inline style on .bfcm-menu-wrap */
.bfcm-menu-wrap {
    --bfc-primary: #c8102e;
    --bfc-bg:      #1a1a1a;
    --bfc-fg:      #ffffff;
    --bfc-surface: #242424;
    --bfc-row-alt: #2c2c2c;
    --bfc-border:  #333333;
    --bfc-muted:   #cccccc;
    --bfc-price:   #ffffff;
}

/* ── Reset & base ────────────────────────────────────────────────────────── */
.bfcm-menu-wrap *,
.bfcm-menu-wrap *::before,
.bfcm-menu-wrap *::after { box-sizing: border-box; }

.bfcm-menu-wrap {
    background: var(--bfc-bg);
    color: var(--bfc-fg);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
}

/* ── Logo header ─────────────────────────────────────────────────────────── */
.bfcm-header {
    background: var(--bfc-bg);
    text-align: center;
    padding: 30px 20px 18px;
    border-bottom: 3px solid var(--bfc-primary);
}
.bfcm-header img {
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ── Notices ─────────────────────────────────────────────────────────────── */
.bfcm-notices {
    background: var(--bfc-surface);
    border-bottom: 1px solid var(--bfc-border);
    padding: 16px 24px;
    text-align: center;
}
.bfcm-notice {
    font-size: 0.88rem;
    color: var(--bfc-muted);
    line-height: 1.6;
}
.bfcm-notice strong {
    color: var(--bfc-fg);
    display: block;
    margin-bottom: 2px;
}
.bfcm-notice + .bfcm-notice {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--bfc-border);
}

/* ── Two-column grid ─────────────────────────────────────────────────────── */
.bfcm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

/* ── Category panel ──────────────────────────────────────────────────────── */
.bfcm-cat-panel {
    background: var(--bfc-surface);
    border: 1px solid var(--bfc-border);
    border-collapse: collapse;
}

.bfcm-cat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bfc-primary);
    font-family: 'Roboto Condensed', Arial Narrow, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}
.bfcm-cat-emoji { font-size: 1.1rem; line-height: 1; }

/* ── Item rows ───────────────────────────────────────────────────────────── */
.bfcm-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid var(--bfc-border);
    gap: 10px;
}
.bfcm-item:nth-child(even) { background: var(--bfc-row-alt); }
.bfcm-item:last-child { border-bottom: none; }
.bfcm-item.unavailable {
    opacity: 0.4;
    text-decoration: line-through;
}

.bfcm-item-name {
    font-size: 0.93rem;
    color: var(--bfc-fg);
    flex: 1;
    min-width: 0;
}
.bfcm-item-price {
    font-family: 'Roboto Condensed', Arial Narrow, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bfc-price);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Sponsorship panel (spans full width) ────────────────────────────────── */
.bfcm-sponsor-row {
    grid-column: 1 / -1;
    background: var(--bfc-surface);
    border: 1px solid var(--bfc-border);
    padding: 28px 24px;
    text-align: center;
}
.bfcm-sponsor-heading {
    font-family: 'Roboto Condensed', Arial Narrow, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bfc-fg);
    margin-bottom: 10px;
}
.bfcm-sponsor-text {
    font-size: 0.88rem;
    color: var(--bfc-muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 16px;
}
.bfcm-sponsor-img {
    max-width: 280px;
    width: 100%;
    height: auto;
}

/* ── Single column on small screens ─────────────────────────────────────── */
@media (max-width: 640px) {
    .bfcm-grid { grid-template-columns: 1fr; }
    .bfcm-sponsor-row { grid-column: 1; }
}
