/* ==========================================================================
   KFC Menu - Modern Responsive Design System
   Inspired by timsmenu.ca & Official United States KFC Menu Architecture
   ========================================================================== */

:root {
  --kfc-red: #E4002B;
  --kfc-red-dark: #A3001F;
  --kfc-red-light: #FDE8EC;
  --kfc-black: #202020;
  --kfc-slate: #2B2B2B;
  --kfc-gold: #F59E0B;
  --kfc-gold-light: #FEF3C7;
  --kfc-white: #FFFFFF;
  --kfc-cream: #F9F9F9;
  --kfc-gray-900: #18181B;
  --kfc-gray-800: #27272A;
  --kfc-gray-700: #3F3F46;
  --kfc-gray-600: #52525B;
  --kfc-gray-500: #71717A;
  --kfc-gray-400: #A1A1AA;
  --kfc-gray-300: #D4D4D8;
  --kfc-gray-200: #E4E4E7;
  --kfc-gray-100: #F4F4F5;
  --kfc-gray-50: #FAFAFA;
  --kfc-green: #10B981;
  --kfc-green-light: #D1FAE5;
  --kfc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --kfc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --kfc-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --kfc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--kfc-gray-800);
  background-color: var(--kfc-cream);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Alert Bar
   ========================================================================== */
.top-notice-bar {
  background: var(--kfc-black);
  color: var(--kfc-white);
  font-size: 0.85rem;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid var(--kfc-red);
}

.top-notice-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-notice-bar a {
  color: var(--kfc-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-notice-bar a:hover {
  color: var(--kfc-white);
}

/* ==========================================================================
   Header Navigation Bar
   ========================================================================== */
.site-header {
  background: var(--kfc-white);
  border-bottom: 1px solid var(--kfc-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--kfc-shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background: var(--kfc-red);
  color: var(--kfc-white);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(228, 0, 43, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--kfc-black);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--kfc-red);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--kfc-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  display: inline-block;
  padding: 24px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--kfc-gray-700);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item a:hover {
  color: var(--kfc-red);
}

/* Strict rule: sleek bottom border line, avoiding oversized background boxes */
.nav-item a.active {
  color: var(--kfc-red);
  border-bottom: 3px solid var(--kfc-red);
  background: transparent !important;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--kfc-black);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.mobile-nav-toggle:hover {
  background: var(--kfc-gray-100);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--kfc-black) 0%, #151515 100%);
  color: var(--kfc-white);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--kfc-red);
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(228, 0, 43, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(228, 0, 43, 0.2);
  color: #FFB3BF;
  border: 1px solid rgba(228, 0, 43, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--kfc-white);
}

.hero h1 span {
  color: var(--kfc-red);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--kfc-gray-300);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--kfc-red);
  color: var(--kfc-white);
  box-shadow: 0 4px 14px rgba(228, 0, 43, 0.4);
}

.btn-primary:hover {
  background: var(--kfc-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 0, 43, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--kfc-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--kfc-white);
}

.btn-gold {
  background: var(--kfc-gold);
  color: var(--kfc-black);
}

.btn-gold:hover {
  background: #D97706;
  color: var(--kfc-white);
}

/* Hero Search Bar */
.hero-search-wrap {
  display: flex;
  align-items: center;
  background: var(--kfc-white);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  max-width: 650px;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 1rem;
  color: var(--kfc-black);
  background: transparent;
}

.hero-search-input::placeholder {
  color: var(--kfc-gray-400);
}

.hero-search-btn {
  background: var(--kfc-red);
  color: var(--kfc-white);
  border: none;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.hero-search-btn:hover {
  background: var(--kfc-red-dark);
}

/* ==========================================================================
   Sticky Category Quick Navigation Bar
   ========================================================================== */
.category-nav-bar {
  background: var(--kfc-white);
  border-bottom: 1px solid var(--kfc-gray-200);
  position: sticky;
  top: 72px;
  z-index: 990;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.category-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
}

.category-nav-inner::-webkit-scrollbar {
  height: 4px;
}

.category-nav-inner::-webkit-scrollbar-thumb {
  background: var(--kfc-gray-300);
  border-radius: 4px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--kfc-gray-100);
  color: var(--kfc-gray-700);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid transparent;
}

.cat-pill:hover {
  background: var(--kfc-red-light);
  color: var(--kfc-red);
  border-color: rgba(228, 0, 43, 0.2);
}

.cat-pill.active {
  background: var(--kfc-red);
  color: var(--kfc-white);
  box-shadow: 0 2px 8px rgba(228, 0, 43, 0.35);
}

/* ==========================================================================
   1:1 Square Grid Tile Cards
   ========================================================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.menu-card {
  background: var(--kfc-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--kfc-gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--kfc-shadow-sm);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kfc-shadow-md);
  border-color: var(--kfc-gray-300);
}

.menu-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background-color: var(--kfc-gray-100);
}

.menu-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-img-wrap img {
  transform: scale(1.05);
}

.card-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}

.badge-special {
  background: var(--kfc-red);
  color: var(--kfc-white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.badge-cal {
  background: rgba(32, 32, 32, 0.88);
  color: var(--kfc-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.menu-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kfc-red);
}

.card-cat-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--kfc-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kfc-black);
  line-height: 1.3;
  margin-bottom: 8px;
}

.card-title a:hover {
  color: var(--kfc-red);
}

.card-desc {
  font-size: 0.86rem;
  color: var(--kfc-gray-600);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Macro Pills */
.macro-mini-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.macro-mini-pill {
  flex: 1;
  background: var(--kfc-gray-100);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  text-align: center;
}

.macro-mini-pill .lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--kfc-gray-500);
  text-transform: uppercase;
}

.macro-mini-pill .val {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--kfc-gray-800);
}

/* Card Action Buttons */
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-calc {
  flex: 1;
  background: var(--kfc-gray-100);
  color: var(--kfc-gray-800);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--kfc-gray-300);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-card-calc:hover {
  background: var(--kfc-black);
  color: var(--kfc-white);
  border-color: var(--kfc-black);
}

.btn-card-details {
  flex: 1;
  background: var(--kfc-red);
  color: var(--kfc-white);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-card-details:hover {
  background: var(--kfc-red-dark);
}

/* ==========================================================================
   Category Header Block & Rich Content Sections
   ========================================================================== */
.category-section {
  padding: 48px 0 24px;
}

.category-header-block {
  margin-bottom: 24px;
  border-bottom: 2px solid var(--kfc-gray-200);
  padding-bottom: 16px;
}

.category-tagline {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--kfc-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.category-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--kfc-black);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-description {
  font-size: 1rem;
  color: var(--kfc-gray-600);
  max-width: 900px;
  line-height: 1.6;
}

/* ==========================================================================
   Editorial Content Blocks (Reading & SEO Content)
   ========================================================================== */
.editorial-section {
  padding: 56px 0;
  background: var(--kfc-white);
  border-top: 1px solid var(--kfc-gray-200);
  border-bottom: 1px solid var(--kfc-gray-200);
  margin: 40px 0;
}

.editorial-section.alt-bg {
  background: var(--kfc-gray-50);
}

.editorial-inner {
  max-width: 920px;
  margin: 0 auto;
}

.editorial-inner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--kfc-black);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.editorial-inner h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--kfc-slate);
  margin-top: 28px;
  margin-bottom: 12px;
}

.editorial-inner p {
  font-size: 1.05rem;
  color: var(--kfc-gray-700);
  line-height: 1.75;
  margin-bottom: 18px;
}

.editorial-inner ul, .editorial-inner ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.editorial-inner li {
  font-size: 1.02rem;
  color: var(--kfc-gray-700);
  line-height: 1.7;
  margin-bottom: 8px;
  list-style: disc;
}

.editorial-callout {
  background: var(--kfc-red-light);
  border-left: 5px solid var(--kfc-red);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.editorial-callout h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kfc-red-dark);
  margin-bottom: 6px;
}

.editorial-callout p {
  font-size: 0.98rem;
  color: var(--kfc-black);
  margin-bottom: 0;
}

/* Data Tables */
.data-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--kfc-gray-200);
  box-shadow: var(--kfc-shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--kfc-white);
  font-size: 0.94rem;
}

.data-table th {
  background: var(--kfc-black);
  color: var(--kfc-white);
  padding: 14px 18px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--kfc-gray-200);
  color: var(--kfc-gray-700);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--kfc-gray-50);
}

/* ==========================================================================
   Nutrition Facts Box (FDA Layout)
   ========================================================================== */
.nutrition-facts-box {
  background: var(--kfc-white);
  border: 2px solid var(--kfc-black);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  max-width: 360px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--kfc-black);
}

.nutrition-facts-box .nf-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  border-bottom: 10px solid var(--kfc-black);
  padding-bottom: 4px;
}

.nf-serving {
  padding: 6px 0;
  border-bottom: 5px solid var(--kfc-black);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.nf-calories-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 4px solid var(--kfc-black);
  padding: 8px 0;
}

.nf-calories-label {
  font-size: 1.1rem;
  font-weight: 900;
}

.nf-calories-val {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.nf-dv-header {
  text-align: right;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 0;
  border-bottom: 1px solid var(--kfc-black);
}

.nf-nutrient-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--kfc-gray-300);
  font-size: 0.86rem;
}

.nf-nutrient-row.indent {
  padding-left: 16px;
}

.nf-nutrient-row strong {
  font-weight: 800;
}

.nf-footer {
  font-size: 0.72rem;
  color: var(--kfc-gray-600);
  margin-top: 10px;
  line-height: 1.35;
  border-top: 4px solid var(--kfc-black);
  padding-top: 6px;
}

/* ==========================================================================
   Accordion FAQ System
   ========================================================================== */
.faq-section {
  padding: 48px 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--kfc-white);
  border: 1px solid var(--kfc-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--kfc-shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--kfc-gray-300);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--kfc-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--kfc-red);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.98rem;
  color: var(--kfc-gray-700);
  line-height: 1.65;
  border-top: 1px solid var(--kfc-gray-100);
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Calorie Calculator UI Elements
   ========================================================================== */
.calc-card-panel {
  background: var(--kfc-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--kfc-gray-200);
  padding: 28px;
  box-shadow: var(--kfc-shadow-md);
  margin-bottom: 32px;
}

.calc-selector-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.calc-select-input {
  flex: 1;
  min-width: 260px;
  padding: 12px 16px;
  border: 1px solid var(--kfc-gray-300);
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  background: var(--kfc-white);
}

.calc-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--kfc-gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border: 1px solid var(--kfc-gray-200);
}

.calc-row-info .item-name {
  font-weight: 800;
  color: var(--kfc-black);
  font-size: 0.98rem;
}

.calc-row-info .item-cal {
  font-size: 0.82rem;
  color: var(--kfc-gray-600);
}

.calc-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-qty-btn {
  background: var(--kfc-white);
  border: 1px solid var(--kfc-gray-300);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.calc-qty-btn:hover {
  background: var(--kfc-red);
  color: var(--kfc-white);
  border-color: var(--kfc-red);
}

.calc-progress-container {
  margin: 24px 0;
  background: var(--kfc-gray-200);
  height: 16px;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.calc-progress-bar {
  background: linear-gradient(90deg, #10B981 0%, var(--kfc-gold) 60%, var(--kfc-red) 100%);
  height: 100%;
  width: 0%;
  transition: width 0.4s ease;
  border-radius: var(--radius-full);
}

.calc-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.calc-total-pill {
  background: var(--kfc-gray-50);
  border: 1px solid var(--kfc-gray-200);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-total-pill .lbl {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--kfc-gray-500);
  text-transform: uppercase;
}

.calc-total-pill .val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--kfc-black);
}

/* ==========================================================================
   Store Locator & Map Elements
   ========================================================================== */
.locations-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  margin-top: 24px;
}

.locations-sidebar {
  background: var(--kfc-white);
  border: 1px solid var(--kfc-gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  height: 680px;
  overflow-y: auto;
}

.locations-map-card {
  background: var(--kfc-white);
  border: 1px solid var(--kfc-gray-200);
  border-radius: var(--radius-lg);
  height: 680px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--kfc-shadow-sm);
}

.store-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--kfc-gray-200);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--kfc-cream);
}

.store-card:hover, .store-card.selected {
  border-color: var(--kfc-red);
  background: var(--kfc-white);
  box-shadow: var(--kfc-shadow-sm);
}

.store-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--kfc-black);
  margin-bottom: 4px;
}

.store-card-address {
  font-size: 0.85rem;
  color: var(--kfc-gray-600);
  margin-bottom: 8px;
}

.store-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.amenity-tag {
  background: var(--kfc-gray-200);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kfc-gray-700);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--kfc-black);
  color: var(--kfc-white);
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 4px solid var(--kfc-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-title {
  color: var(--kfc-white);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--kfc-gray-400);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--kfc-white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--kfc-red);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--kfc-gray-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--kfc-red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--kfc-slate);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--kfc-gray-500);
}

.footer-disclaimer {
  line-height: 1.5;
  background: #181818;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--kfc-gold);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .locations-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .locations-sidebar, .locations-map-card {
    height: 480px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .hero {
    padding: 40px 0 32px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
}
