/* Size-adjusted local fallbacks: keep text metrics close to the web fonts
   so the swap when Barlow Condensed / Poppins arrive causes minimal CLS. */
@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Narrow"), local("Helvetica Neue Condensed"), local("Arial");
  size-adjust: 88%;
  ascent-override: 100%;
}
@font-face {
  font-family: "Poppins Fallback";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  size-adjust: 112%;
}

/* kfcmenuprice.co.za — design system
   KFC brand language: signature red, black, white, bucket stripes,
   bold condensed uppercase display type. */

:root {
  --red: #e4002b;
  --red-dark: #b3001f;
  --red-deep: #8f0019;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --text-2: #5f5f5f;
  --paper: #ffffff;
  --cream: #f7f3ed;
  --cream-dark: #efe8dd;
  --border: #e5ded4;
  --gold: #f2b21b;
  --green: #1e8a4c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(26, 26, 26, .08);
  --shadow-lg: 0 12px 32px rgba(26, 26, 26, .14);
  --max: 1200px;
  --content: 800px;
  --display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --body: "Poppins", "Poppins Fallback", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink);
  color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--display); font-weight: 800;
  font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em;
}
.logo:hover { text-decoration: none; }
.logo-bucket {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--red); border-radius: 10px; color: #fff;
  background-image: repeating-linear-gradient(90deg,
    var(--red) 0 6px, #c70023 6px 9px);
}
.logo-text em { font-style: normal; color: var(--red); }
.logo-tld { color: #9c9c9c; font-size: .8em; margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-block; padding: 10px 14px; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-link:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.caret { font-size: .7em; opacity: .7; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; color: var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 110;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { display: block; }
.drop-panel a {
  display: block; padding: 9px 14px; color: var(--ink);
  border-radius: 6px; font-weight: 500; font-size: .95rem;
}
.drop-panel a:hover { background: var(--cream); color: var(--red-dark); text-decoration: none; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; padding: 10px; cursor: pointer;
}
.nav-burger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--red);
  background-image:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, var(--red) 55%, var(--red-dark));
  color: #fff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(90deg,
    #fff 0 48px, var(--red) 48px 96px);
}
.hero h1 { color: #fff; max-width: 780px; }
.hero .kicker {
  display: inline-block; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 18px;
}
.hero p.sub { max-width: 640px; font-size: 1.08rem; opacity: .96; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-white { background: #fff; color: var(--red-dark); }
.btn-white:hover { color: var(--red-deep); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
.section-head p { margin: 0; color: var(--text-2); max-width: 640px; }
.section-dark .section-head p { color: #cfcfcf; }
.see-all {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; white-space: nowrap;
}

/* ---------- Category tabs (home) ---------- */
.cat-tabs {
  display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 14px;
  scrollbar-width: thin; position: sticky; top: 64px; z-index: 50;
  background: var(--cream);
}
.cat-tab {
  flex: 0 0 auto; padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--border); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
  white-space: nowrap;
}
.cat-tab:hover { border-color: var(--red); color: var(--red-dark); text-decoration: none; }
.cat-tab.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Menu cards ---------- */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}
.item-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s; position: relative;
}
.item-card:hover { transform: translateY(-4px); }
.item-card .img-wrap {
  aspect-ratio: 4 / 3; background: var(--cream-dark); overflow: hidden;
}
.item-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.item-card .card-body {
  padding: 16px 18px 18px; display: flex; flex-direction: column;
  gap: 6px; flex: 1;
}
.item-card h3 {
  margin: 0; font-size: 1.25rem;
}
.item-card h3 a { color: var(--ink); }
.item-card h3 a:hover { color: var(--red-dark); text-decoration: none; }
.item-card p { margin: 0; font-size: .88rem; color: var(--text-2); flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
}
.price {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--red-dark);
}
.serves { font-size: .78rem; color: var(--text-2); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.badge.badge-value { background: var(--green); color: #fff; }

/* Category band on the homepage */
.cat-band { margin-bottom: 44px; }
.cat-band-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin: 0 0 16px; flex-wrap: wrap;
}
.cat-band-head h2 { margin: 0; }
.cat-band-head .cat-blurb { color: var(--text-2); font-size: .95rem; margin: 0; }

/* Category cards grid (menu index / home explore) */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: #fff; aspect-ratio: 16 / 10;
  display: flex; box-shadow: var(--shadow);
  transition: transform .15s;
}
.cat-card:hover { transform: translateY(-4px); text-decoration: none; }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .78;
}
.cat-card .cat-card-label {
  position: relative; align-self: end; width: 100%;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}
.cat-card h3 { margin: 0; color: #fff; font-size: 1.3rem; }
.cat-card span { font-size: .82rem; color: #e8e8e8; }

/* ---------- Price tables ---------- */
.table-scroll { overflow-x: auto; margin: 22px 0; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .95rem; color: var(--ink); }
thead th {
  background: var(--ink); color: #fff; text-align: left;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: .95rem; padding: 12px 16px;
  white-space: nowrap;
}
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--cream); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td .tprice { font-weight: 600; color: var(--red-dark); white-space: nowrap; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  font-size: .85rem; color: var(--text-2); margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--red-dark); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--border); padding: 8px 0 34px; }
.page-hero h1 { margin-top: 14px; }
.page-hero .sub { color: var(--text-2); max-width: 720px; margin: 0; }
.page-hero-red { background: var(--red); color: #fff; border: 0; position: relative; padding-bottom: 44px; }
.page-hero-red h1 { color: #fff; }
.page-hero-red .sub, .page-hero-red .breadcrumb, .page-hero-red .breadcrumb a { color: #ffe0e6; }
.page-hero-red::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(90deg, #fff 0 42px, var(--red) 42px 84px);
}

/* ---------- Magazine article ---------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px; align-items: start;
}
.article-body { max-width: var(--content); font-size: 1.02rem; }
.article-body p.lead {
  font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft);
  font-weight: 400; border-left: 5px solid var(--red);
  padding-left: 18px; margin: 0 0 1.6em;
}
.article-body h2 {
  margin-top: 1.8em; padding-top: .4em;
  border-top: 3px solid var(--red); display: block;
}
.article-body h2:first-of-type { border-top: 0; padding-top: 0; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-hero-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  margin: 26px 0;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: .85rem; color: var(--text-2); margin-top: 14px;
}
.article-meta .dot { opacity: .4; }

.callout {
  background: #fff; border: 1.5px solid var(--border);
  border-left: 6px solid var(--red);
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 26px 0;
  box-shadow: var(--shadow);
}
.callout h3 { margin-top: 0; }
.callout :last-child { margin-bottom: 0; }

blockquote.pull-quote {
  margin: 30px 0; padding: 6px 0 6px 24px;
  border-left: 6px solid var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  line-height: 1.25; text-transform: uppercase; color: var(--ink);
}

.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; margin: 26px 0;
}
.stat {
  background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  padding: 18px 16px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.stat-num {
  font-family: var(--display); font-weight: 800; font-size: 1.9rem;
  color: var(--gold);
}
.stat-label { font-size: .8rem; color: #d9d9d9; }

.takeaways {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 26px 30px; margin: 30px 0;
}
.takeaways h2 { color: var(--gold); border: 0 !important; margin: 0 0 12px !important; padding: 0 !important; font-size: 1.4rem; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: .5em; }

/* FAQ */
.faq-section { margin: 34px 0; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; color: var(--red); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--ink-soft); }

/* References & author */
.references {
  font-size: .9rem; color: var(--text-2); margin: 30px 0;
  background: #fff; border-radius: var(--radius-sm); padding: 20px 24px;
  border: 1px solid var(--border);
}
.references h2 { font-size: 1.2rem; border: 0 !important; padding: 0 !important; margin: 0 0 10px !important; }
.references ol { margin: 0; padding-left: 1.4em; }
.author-box {
  display: flex; gap: 18px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin: 30px 0; box-shadow: var(--shadow);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box .a-name { font-weight: 700; }
.author-box .a-cred { font-size: .82rem; color: var(--red-dark); font-weight: 600; }
.author-box p { margin: 8px 0 0; font-size: .9rem; color: var(--text-2); }

/* Article rail (sidebar) */
.article-rail { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.rail-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.rail-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.rail-card ul { list-style: none; margin: 0; padding: 0; }
.rail-card li { margin-bottom: 10px; }
.rail-card li a { font-weight: 500; font-size: .92rem; color: var(--ink); }
.rail-card li a:hover { color: var(--red-dark); }
.rail-card .rail-price { color: var(--red-dark); font-weight: 700; }

/* Article cards (hubs, related) */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.article-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s;
}
.article-card:hover { transform: translateY(-4px); }
.article-card .img-wrap { aspect-ratio: 16 / 9; background: var(--cream-dark); }
.article-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-card .card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.article-card .hub-tag {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--red-dark);
}
.article-card h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--red-dark); text-decoration: none; }
.article-card p { margin: 0; font-size: .88rem; color: var(--text-2); flex: 1; }
.article-card .read-time { margin-top: 12px; font-size: .78rem; color: var(--text-2); }

/* Hub hero cards */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.hub-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); min-height: 220px; display: flex;
  box-shadow: var(--shadow); transition: transform .15s;
}
.hub-card:hover { transform: translateY(-4px); text-decoration: none; }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hub-card .hub-label { position: relative; align-self: end; padding: 30px 22px 18px; width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.hub-card h3 { color: #fff; margin: 0 0 4px; }
.hub-card p { margin: 0; font-size: .85rem; color: #e3e3e3; }
.hub-card .count { font-size: .78rem; color: var(--gold); font-weight: 600; }

/* ---------- KFC Index ---------- */
.index-table td.rank { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--text-2); width: 48px; }
.index-table .flag { font-size: 1.3rem; margin-right: 8px; }
.index-table .bar-cell { min-width: 180px; }
.bar {
  height: 12px; border-radius: 6px; background: var(--red);
  background-image: linear-gradient(90deg, var(--gold), var(--red));
  min-width: 6px;
}
.vs-cheaper { color: var(--green); font-weight: 600; }
.vs-pricier { color: var(--red-dark); font-weight: 600; }
tr.row-highlight { background: #fff4d6 !important; outline: 2px solid var(--gold); }
tr.row-highlight td { border-color: var(--gold); }

/* ---------- Locations ---------- */
.province-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.province-card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
  transition: transform .15s; color: var(--ink);
}
.province-card:hover { transform: translateY(-3px); text-decoration: none; }
.province-card h3 { margin: 0 0 4px; }
.province-card .p-count {
  font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--red-dark);
}
.province-card p { margin: 4px 0 0; font-size: .85rem; color: var(--text-2); }
.city-block { background: #fff; border-radius: var(--radius); padding: 24px 28px; margin-bottom: 18px; box-shadow: var(--shadow); }
.city-block h3 { border-bottom: 2px solid var(--red); display: inline-block; padding-bottom: 4px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.area-tag {
  background: var(--cream); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 14px; font-size: .85rem; color: var(--ink-soft);
}
.region-head { margin-top: 40px; }
.region-head:first-of-type { margin-top: 0; }

/* ---------- Utility ---------- */
.notice {
  background: #fff8e8; border: 1px solid #f0d9a0; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .88rem; color: #6b5416; margin: 20px 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--text-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--red); color: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; margin-top: 60px; }
.stripe-band { height: 12px; background: repeating-linear-gradient(90deg, var(--red) 0 48px, #fff 48px 96px); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding: 48px 20px 24px;
}
.footer-logo { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: #fff; margin: 0 0 10px; }
.footer-logo em { font-style: normal; color: var(--red); }
.footer-logo span { color: #8b8b8b; font-size: .8em; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cfcfcf; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: .88rem; }
.footer-disclaimer { font-size: .76rem !important; color: #9a9a9a; }
.footer-disclaimer a { color: #bdbdbd; }
.footer-bottom { border-top: 1px solid #333; padding: 18px 20px; font-size: .8rem; color: #9a9a9a; }
.footer-bottom p { margin: 0; }

/* ---------- Admin ---------- */
.admin-wrap { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-nav a { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.admin-nav a:hover { border-color: var(--red); color: var(--red-dark); text-decoration: none; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 30px; }
.admin-form label { display: block; font-weight: 600; font-size: .88rem; margin: 14px 0 4px; }
.admin-form input[type=text], .admin-form input[type=password], .admin-form textarea, .admin-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--body); font-size: .92rem; background: #fff;
}
.admin-form textarea { min-height: 300px; font-family: ui-monospace, monospace; font-size: .84rem; }
.flash { background: #e7f6ec; border: 1px solid #b5e0c4; color: #14532d; border-radius: 8px; padding: 10px 16px; margin: 14px 0; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-rail { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; gap: 2px; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-drop { width: 100%; }
  .drop-toggle { width: 100%; text-align: left; }
  .drop-panel { position: static; display: none; background: #262626; box-shadow: none; }
  .drop-panel a { color: #e5e5e5; }
  .drop-panel a:hover { background: #333; color: #fff; }
  .nav-drop.open .drop-panel { display: block; }
  .cat-tabs { top: 64px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 40px 0; }
}

/* ---------- Store maps ---------- */
.store-map {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream-dark); z-index: 1;
  margin: 24px 0;
}
.kfc-pin span {
  display: block; width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
  background: var(--red); border: 2px solid #fff; transform: rotate(-45deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.map-error { padding: 20px; color: var(--text-2); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(228,0,43,.25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
  background: var(--red) !important; color: #fff !important;
  font-family: var(--display); font-weight: 700;
}

/* Store address directory */
.store-list { list-style: none; margin: 0; padding: 4px 20px 14px; }
.store-row { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.store-row:last-child { border-bottom: 0; }
.store-hours { color: var(--green); }

/* Price change chips (month-over-month, from the price ledger) */
.price-chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; white-space: nowrap;
}
.chip-up { background: #fde8ec; color: var(--red-dark); border: 1px solid #f5c2cc; }
.chip-down { background: #e7f6ec; color: var(--green); border: 1px solid #b5e0c4; }
.price-chip-lg { font-size: .95rem; padding: 6px 16px; }

/* Store directory: search + 3-column card grid */
.store-search {
  width: 100%; max-width: 560px; padding: 13px 18px; margin: 6px 0 4px;
  border: 2px solid var(--border); border-radius: 999px;
  font-family: var(--body); font-size: 1rem; background: #fff;
}
.store-search:focus { outline: none; border-color: var(--red); }
.store-search-meta { font-size: .85rem; margin: 6px 0 14px; }
.store-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.city-head {
  grid-column: 1 / -1; margin: 18px 0 0; padding-bottom: 4px;
  border-bottom: 2px solid var(--red); display: block; font-size: 1.25rem;
}
.store-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem;
  box-shadow: var(--shadow); line-height: 1.5;
}
.store-card strong { display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .store-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .store-grid { grid-template-columns: 1fr; } }

/* Food-label table */
.label-table .label-sub { padding-left: 34px; color: var(--text-2); font-size: .88rem; }

/* FoodMenu.Guide network strip (frontpage) */
.network-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  background: #fff; border: 1px solid var(--border);
  border-left: 6px solid var(--gold); border-radius: var(--radius-sm);
  padding: 12px 20px; margin-top: 18px; font-size: .92rem;
  box-shadow: var(--shadow);
}
.network-label {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--ink); font-size: .95rem;
}
.network-strip a { font-weight: 600; white-space: nowrap; }

/* Recipe cards (homepage — uglyfood.com.sg) */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recipe-card {
  display: flex; flex-direction: column; gap: 8px; background: var(--cream);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; color: var(--ink); transition: transform .15s;
}
.recipe-card:hover { transform: translateY(-3px); text-decoration: none; }
.recipe-card:hover h3 { color: var(--red-dark); }
.recipe-kicker {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
}
.recipe-card h3 { margin: 0; }
.recipe-card p { margin: 0; font-size: .9rem; color: var(--text-2); flex: 1; }
.recipe-cta {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--red-dark); font-size: .95rem;
}
@media (max-width: 820px) { .recipe-grid { grid-template-columns: 1fr; } }

/* Clickable address cards -> map focus */
.store-card { cursor: pointer; transition: transform .12s, border-color .12s; }
.store-card:hover { border-color: var(--red); transform: translateY(-2px); }
.store-card:focus-visible { outline: 2px solid var(--red); }
.store-map-link {
  display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 600;
  color: var(--red-dark);
}
