/* Food prices, design C ("trading board"): dark navy panels, bright rise/fall numbers, monospaced figures.
   Scoped to <main> on /prices pages so the site header stays exactly as on every other page. */
body.theme-c { background: #0a0f1c; color-scheme: dark; }
.theme-c main {
  --bg: #0a0f1c; --surface: #111a2e; --surface-2: #16213a; --text: #e6edf7; --muted: #8a98b3;
  --line: #22304d; --line-strong: #2d3d60; --ink: #060a14;
  --purple: #38bdf8; --purple-strong: #7dd3fc; --purple-soft: #38bdf81f;
  --good: #22c55e; --good-soft: #22c55e1f; --warn: #fbbf24; --warn-soft: #fbbf241f;
  --accent: #38bdf8; --rise: #f87171; --fall: #22c55e; --amber: #fbbf24;
  --series-1: #38bdf8; --viz-neutral: #1c2742; --viz-grid: #1a2440;
  --map-ramp: #15803d, #4d7c0f, #a16207, #c2410c, #b91c1c, #991b1b;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --shadow: none; --shadow-sm: none; --shadow-lg: 0 24px 60px -24px #000;
  background: var(--bg);
  color: var(--text);
}
.theme-c main h1, .theme-c main h2, .theme-c main h3 { color: #fff; letter-spacing: -.02em; }
.theme-c main a { color: var(--accent); }
.theme-c main a:hover { color: #7dd3fc; }
.theme-c main .card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
.theme-c main .fine, .theme-c main .lead { color: var(--muted); }
.theme-c main input[type="text"], .theme-c main input[type="email"], .theme-c main input[type="search"], .theme-c main input[type="tel"], .theme-c main input[type="number"], .theme-c main select {
  background: var(--bg); border-color: var(--line); color: var(--text); box-shadow: none; color-scheme: dark;
}
.theme-c main input::placeholder { color: #5d6b88; }
.theme-c main button.primary { background: var(--accent); color: #04121f; border-radius: 10px; font-weight: 800; }
.theme-c main button.ghost, .theme-c main a.button-link { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.theme-c main button.ghost:hover, .theme-c main a.button-link:hover { border-color: var(--accent); color: #fff; }
.theme-c main th { color: var(--muted); }
.theme-c main td, .theme-c main th { border-color: var(--line); }
.theme-c main .data-table td { border-bottom-color: var(--line); }
.theme-c main .notice { background: var(--surface-2); color: var(--text); }
.theme-c main .notice.good { background: var(--good-soft); color: #86efac; }
.theme-c main details > summary { color: var(--accent); }
.theme-c main dialog { background: var(--surface); color: var(--text); border-color: var(--line); }
.theme-c main .up, .theme-c main strong.up, .theme-c main td.up, .theme-c main .pc-change.up { color: var(--rise); }
.theme-c main .down, .theme-c main strong.down, .theme-c main td.down, .theme-c main .pc-change.down { color: var(--fall); }
.theme-c main .stat-tile strong, .theme-c main .bag strong, .theme-c main .qty output, .theme-c main .list-total strong, .theme-c main .data-table td:nth-child(n+2) { font-family: var(--mono); letter-spacing: -.02em; }
.theme-c main .stat-tile.main { border-top: 3px solid var(--accent); }
.theme-c main .stat-tile.main strong { color: #fff; }
.theme-c main .live-badge { background: #22c55e1f; color: var(--good); }
.theme-c main .src.live { background: #22c55e1f; color: var(--good); }
.theme-c main .src.nbs { background: var(--surface-2); color: var(--muted); border-color: var(--line); }
.theme-c main .src.verified { background: #38bdf81f; color: var(--accent); }
.theme-c main .src.wfp { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.theme-c main .tag-cheap { background: #22c55e1f; color: var(--fall); }
.theme-c main .tag-dear { background: #f871711f; color: var(--rise); }
.theme-c main .viz-area { fill: color-mix(in srgb, var(--series-1) 12%, transparent); }
.theme-c main .viz-dot { stroke: var(--surface); }
.theme-c main .viz-bar { background: color-mix(in srgb, var(--series-1) 55%, transparent); }
.theme-c main .viz-bar.high { background: var(--series-1); }
.theme-c main .tile.empty { background: #16213a; color: #5d6b88; }
.theme-c main .tile:not(.empty) { color: #fff; }
.theme-c main .spark polyline { stroke: var(--accent); vector-effect: non-scaling-stroke; }
.theme-c main .supplier, .theme-c main .bag, .theme-c main .pulse-stats div { background: var(--surface-2); border-color: var(--line); }
.theme-c main .seg { background: var(--bg); border-color: var(--line); }
.theme-c main .seg button[aria-pressed="true"] { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.theme-c main .sponsor-link { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.theme-c main .empty-live { background: var(--surface-2); border-color: var(--line); }

/* Hero band on every food price page: dark with a faint grid and a blue glow */
.theme-c .page-hero, .c-hero {
  background:
    radial-gradient(700px 260px at 85% -10%, #38bdf826, transparent 60%),
    radial-gradient(500px 240px at 0% 120%, #22c55e14, transparent 60%),
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 40px 40px,
    #0a0f1c;
}
.theme-c .page-hero::after { background-image: none; }
.theme-c .page-hero { border-bottom: 1px solid #22304d; }
.theme-c .page-hero .eyebrow { color: #38bdf8; font-family: var(--mono, monospace); letter-spacing: .12em; }
.theme-c .page-hero .eyebrow::before { content: "●"; width: auto; height: auto; background: none; color: #22c55e; }
.theme-c .page-hero .lead { color: #8a98b3; }
.theme-c .page-hero h1 { font-size: clamp(32px, calc(5vw / var(--z, 1)), 50px); letter-spacing: -.03em; }
.theme-c .crumbs a { color: #b6c2da; }

/* CTA band */
.theme-c main .cta { background: radial-gradient(500px 200px at 100% 0%, #38bdf833, transparent 60%), #111a2e; border: 1px solid #22304d; border-radius: 16px; }
.theme-c main .cta a.button { background: #38bdf8; color: #04121f; }
.theme-c main .cta a.button.secondary { background: transparent; color: #fff; border-color: #2d3d60; }

/* ---------- Index hero ---------- */
.c-hero { border-bottom: 1px solid #22304d; }
.c-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 36px; }
.c-label { font: 700 12px/1 var(--mono); color: #38bdf8; letter-spacing: .12em; text-transform: uppercase; }
.c-label::before { content: "● "; color: #22c55e; }
.theme-c main .c-hero h1 { font-size: clamp(36px, calc(5.6vw / var(--z, 1)), 60px); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 12px; }
.c-hero h1 em { font-style: normal; color: #38bdf8; }
.c-hero .lead { color: #8a98b3; font-size: 18px; max-width: 560px; }
.c-search { display: flex; gap: 8px; margin-top: 24px; max-width: 600px; }
.theme-c main .c-search input { flex: 1; margin: 0; height: 54px; min-width: 0; padding-top: 0; padding-bottom: 0; }
.c-search button { height: 54px; padding: 0 22px; border: 0; border-radius: 10px; background: #38bdf8; color: #04121f; font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; }
.c-search button:hover { background: #7dd3fc; }
.c-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.theme-c main .c-quick a { font-size: 13.5px; padding: 7px 12px; border-radius: 8px; background: #111a2e; border: 1px solid #22304d; color: #e6edf7; text-decoration: none; }
.theme-c main .c-quick a:hover { border-color: #38bdf8; color: #fff; }
.c-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.c-trust > span { background: #111a2e; border: 1px solid #22304d; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; color: #8a98b3; }
.c-trust b { display: block; font: 700 20px/1.2 var(--mono); color: #fff; }
/* Food basket ticket */
.ticket { background: #111a2e; border: 1px solid #22304d; border-radius: 16px; padding: 22px 24px; }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ticket h2 { font-size: 18px; margin: 0; }
.ticket .sub { font: 600 11px var(--mono); color: #8a98b3; letter-spacing: .08em; text-transform: uppercase; }
.ticket .ln { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed #22304d; }
.ticket .ln span:last-child { font-family: var(--mono); color: #e6edf7; }
.ticket .ln small { color: #8a98b3; margin-left: 6px; }
.ticket .tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.ticket .tot span { font-weight: 700; color: #8a98b3; font-size: 13px; letter-spacing: .08em; }
.ticket .tot b { font: 700 36px/1 var(--mono); color: #fff; letter-spacing: -.03em; }
.ticket .chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.theme-c main .ticket a { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 13.5px; }
.c-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font: 700 12.5px var(--mono); }
.c-chip.r { background: #f871711f; color: #f87171; }
.c-chip.g { background: #22c55e1f; color: #22c55e; }
.c-chip.n { background: #38bdf81f; color: #38bdf8; }

/* Price strip (ticker) */
.c-strip { background: #060a14; border-bottom: 1px solid #22304d; position: relative; z-index: 1; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 14px; }
.c-strip > div { display: inline-flex; gap: 34px; padding: 12px 0; animation: c-marquee 120s linear infinite; }
.c-strip:hover > div { animation-play-state: paused; }
.theme-c main .c-strip a { color: #e6edf7; text-decoration: none; }
.c-strip a b { color: #fff; font-family: Inter, sans-serif; font-weight: 600; }
.c-strip a small { color: #8a98b3; }
.c-strip a i { font-style: normal; margin-left: 6px; }
.c-strip a i.up { color: #f87171; }
.c-strip a i.down { color: #22c55e; }
@keyframes c-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .c-strip { overflow-x: auto; } .c-strip > div { animation: none; } }

/* Sections */
.c-sec { padding-top: 44px; }
.theme-c main .c-sec > h2 { font-size: clamp(24px, calc(3vw / var(--z, 1)), 30px); margin: 0 0 4px; }
.c-sec > .s { color: #8a98b3; margin: 0 0 16px; font-size: 15px; }
.c-movers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.theme-c main a.c-mv { display: grid; gap: 4px; background: #16213a; border: 1px solid #22304d; border-radius: 12px; padding: 16px; color: #e6edf7; text-decoration: none; }
.theme-c main a.c-mv:hover { border-color: #38bdf8; }
.c-mv span { color: #8a98b3; font-size: 13px; }
.c-mv strong { font-weight: 600; }
.c-mv b { font: 700 28px/1.1 var(--mono); }
.c-mv b.up { color: #f87171; }
.c-mv b.down { color: #22c55e; }
.c-stat { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 10px; background: #111a2e; border: 1px solid #22304d; border-radius: 12px; padding: 16px 20px; }
.c-stat b { font: 700 28px/1 var(--mono); color: #fff; }
.c-stat > span:not(.c-bar):not(.c-chip) { color: #8a98b3; }
.c-bar { flex: 1; min-width: 160px; height: 10px; border-radius: 6px; background: #22c55e33; overflow: hidden; }
.c-bar i { display: block; height: 100%; background: #f87171; }

/* Category chips and price cards */
.theme-c main .chips { gap: 8px; margin: 18px 0 14px; }
.theme-c main .chips button { padding: 8px 14px; border: 1px solid #22304d; background: #111a2e; color: #e6edf7; border-radius: 8px; font-size: 13.5px; }
.theme-c main .chips button:hover { border-color: #38bdf8; }
.theme-c main .chips button[aria-pressed="true"] { background: #38bdf8; border-color: #38bdf8; color: #04121f; }
.theme-c main .price-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.theme-c main a.card.price-card { position: relative; padding: 14px 16px; border-radius: 12px; align-content: start; gap: 2px; transition: border-color .15s; }
.theme-c main a.card.price-card:hover { transform: none; border-color: #38bdf8; }
.theme-c main .b-badge { display: none; }
.theme-c main .price-card .pc-src { position: absolute; top: 14px; right: 14px; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 3px 7px; color: #8a98b3; background: #16213a; border: 1px solid #22304d; }
.theme-c main .price-card .pc-src.live { color: #22c55e; background: #22c55e14; border-color: #22c55e33; }
.theme-c main .price-card .pc-src.guide { color: #fbbf24; background: #fbbf2414; border-color: #fbbf2433; }
.theme-c main .price-card .pc-name { color: #8a98b3; font-weight: 600; font-size: 13.5px; padding-right: 64px; }
.theme-c main .price-card .pc-unit { color: #8a98b3; }
.theme-c main .price-card strong { font: 700 26px/1.15 var(--mono); color: #fff; margin: 6px 0 2px; letter-spacing: -.02em; }
.theme-c main .price-card strong small.per { font: 500 12px Inter, sans-serif; color: #8a98b3; }
.theme-c main .price-card .pc-change { font: 700 12.5px var(--mono); }
.theme-c main .price-card .brand { color: #38bdf8; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.theme-c main .price-card .spark { width: 100%; height: 32px; margin-top: 8px; }
.c-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.theme-c main .c-links a { padding: 8px 12px; border-radius: 8px; background: #16213a; border: 1px solid #22304d; color: #e6edf7; text-decoration: none; font-weight: 600; font-size: 13.5px; }
.theme-c main .c-links a:hover { border-color: #38bdf8; }

/* Map section */
.c-map { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; margin-top: 44px; background: #111a2e; border: 1px solid #22304d; border-radius: 14px; padding: 28px; }
.theme-c main .c-map h2 { font-size: clamp(24px, calc(3vw / var(--z, 1)), 30px); margin: 0 0 6px; }
.c-map label { margin-top: 14px; max-width: 320px; }
.c-map select { height: 48px; padding-top: 0; padding-bottom: 0; }
.c-map .fine { margin-top: 10px; }

/* Sources */
.c-srcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.c-srcs > div { border-radius: 12px; padding: 18px; background: #111a2e; border: 1px solid #22304d; }
.c-srcs b { display: block; font-size: 16px; margin: 10px 0 4px; color: #fff; }
.c-srcs p { color: #8a98b3; font-size: 13.5px; margin: 0; }
.c-srcs i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; font: 700 15px var(--mono); font-style: normal; }

/* Report CTA */
.c-cta { margin-top: 44px; border-radius: 14px; background: radial-gradient(500px 220px at 100% 0%, #38bdf833, transparent 60%), #111a2e; border: 1px solid #2d3d60; padding: 30px 32px; display: flex; align-items: center; gap: 24px; }
.theme-c main .c-cta h2 { font-size: clamp(24px, calc(3.4vw / var(--z, 1)), 32px); margin: 0; }
.c-cta p { color: #8a98b3; margin: 6px 0 0; }
.theme-c main .c-cta a { margin-left: auto; background: #38bdf8; color: #04121f; padding: 14px 22px; border-radius: 10px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.theme-c main .c-cta a:hover { background: #7dd3fc; color: #04121f; }
.c-table { margin-top: 18px; }

@media (max-width: 900px) {
  .c-hero .wrap { grid-template-columns: 1fr; padding-top: 28px; }
  .c-movers, .c-srcs { grid-template-columns: 1fr 1fr; }
  .c-map { grid-template-columns: 1fr; padding: 20px; }
  .c-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .theme-c main .c-cta a { margin-left: 0; }
}
@media (max-width: 520px) {
  .c-search { flex-direction: column; }
  .theme-c main .c-search input { flex: none; width: 100%; }
  .c-search button { width: 100%; }
  .c-srcs { grid-template-columns: 1fr; }
  .theme-c main .price-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .theme-c main a.card.price-card { padding: 12px; }
  .theme-c main .price-card strong { font-size: 19px; }
  .theme-c main .price-card .pc-src { top: 10px; right: 10px; }
  .theme-c main .price-card .pc-name { padding-right: 48px; }
  .c-mv b { font-size: 22px; }
  .ticket .tot b { font-size: 28px; }
}
.see-all-row { text-align: center; margin: 18px 0 0; }
.theme-c .lang-switch a { color: #38bdf8; }
