/* AfroKitchen — Africa's Recipe Platform
   Warm terracotta palette — earthy, inviting, African kitchen feel */
:root {
  --ak-primary: #D4652E;
  --ak-primary-hover: #B8541F;
  --ak-primary-light: #FFF5EB;
  --ak-primary-border: #F0C9A8;
  --ak-gold: #F5A623;
  --ak-dark: #1A1008;
  --ak-dark-alt: #2A1A0A;
  --ak-bg: #FFFAF5;
  --ak-text: #2C1810;
  --ak-muted: #7A6B5E;
  --ak-subtle: #A89888;
  --ak-border: #E8DDD2;
  --ak-card: #fff;
  --ak-radius: 18px;
  --ak-radius-pill: 980px;
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── BASE ── */
.ak-page { background: var(--ak-bg); min-height: 100vh; font-family: var(--font-body); color: var(--ak-text); }
.ak-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .ak-container { padding: 0 20px; } }

/* ── SCROLL REVEAL ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.rv.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }

/* ── HERO ── */
.ak-hero {
  background: var(--ak-dark);
  padding: 64px 20px 56px; position: relative; overflow: hidden;
}
.ak-hero::after {
  content: ''; position: absolute; top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 101, 46, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.ak-hero::before {
  content: ''; position: absolute; bottom: -100px; left: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.ak-hero-inner {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.ak-hero-text { max-width: 560px; }
.ak-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: rgba(255,255,255,.4); margin-bottom: 16px;
}
.ak-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; }
.ak-breadcrumb a:hover { color: rgba(255,255,255,.8); }

.ak-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ak-primary); margin-bottom: 14px;
}
.ak-eyebrow::before {
  content: ''; display: inline-block; width: 14px; height: 2px;
  background: var(--ak-primary); vertical-align: middle;
}

.ak-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em;
  color: #fff; line-height: 1.1; margin-bottom: 14px;
}
.ak-hero-sub { font-size: .95rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 24px; }

.ak-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ak-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 10px 16px;
}
.ak-stat-lbl { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.ak-stat-val { font-size: .9rem; font-weight: 800; color: #fff; }
.ak-stat-val.accent { color: var(--ak-primary); }

/* ── SEARCH BAR ── */
.ak-search-wrap { position: relative; margin-bottom: 20px; }
.ak-search {
  width: 100%; padding: 14px 16px 14px 44px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--ak-radius-pill); color: #fff; font-size: .9rem; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.ak-search::placeholder { color: rgba(255,255,255,.4); }
.ak-search:focus { border-color: var(--ak-primary); background: rgba(255,255,255,.14); }
.ak-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.4); pointer-events: none;
}

/* ── FILTERS ── */
.ak-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ak-filter-select {
  padding: 8px 14px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--ak-radius-pill);
  color: rgba(255,255,255,.8); font-size: .78rem; font-family: inherit;
  cursor: pointer; outline: none;
}
.ak-filter-select option { background: var(--ak-dark); color: #fff; }

/* Light filters (for non-hero sections) */
.ak-filters-light { padding: 16px 0; }
.ak-filters-light .ak-filter-select {
  background: #fff; border-color: var(--ak-border); color: var(--ak-text); border-radius: var(--ak-radius-pill);
}
.ak-filters-light .ak-filter-select option { background: #fff; color: var(--ak-text); }

/* ── HERO PREVIEW ── */
.ak-hero-preview {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--ak-radius); overflow: hidden;
}
.ak-featured-card {
  position: relative; cursor: pointer; text-decoration: none; display: block; color: #fff;
}
.ak-featured-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  filter: brightness(.85);
}
.ak-featured-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.ak-featured-overlay h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 6px; }
.ak-featured-meta { font-size: .78rem; color: rgba(255,255,255,.7); display: flex; gap: 12px; }

/* ── SECTION ── */
.ak-section { padding: 80px 0; }
.ak-section:nth-child(even) { background: #fff; }
.ak-section-head { text-align: center; margin-bottom: 40px; }
.ak-section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ak-primary); margin-bottom: 8px;
}
.ak-section-eyebrow::before {
  content: ''; display: inline-block; width: 14px; height: 2px;
  background: var(--ak-primary); vertical-align: middle;
}
.ak-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0em;
  color: var(--ak-text); line-height: 1.15;
}
.ak-section-sub { font-size: .88rem; color: var(--ak-muted); max-width: 520px; margin: 8px auto 0; line-height: 1.6; }

/* ── RECIPE GRID ── */
.ak-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.ak-recipe-card {
  background: var(--ak-card); border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius);
  overflow: hidden; transition: all 0.3s ease;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.ak-recipe-card:hover {
  border-color: var(--ak-primary);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 30px rgba(212, 101, 46, 0.12);
}
.ak-recipe-card-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  background: #f0f0f0;
}
.ak-recipe-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.ak-recipe-card-flag { font-size: .78rem; color: var(--ak-muted); margin-bottom: 4px; }
.ak-recipe-card-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.3; margin-bottom: 6px; }
.ak-recipe-card-desc { font-size: .85rem; color: var(--ak-muted); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.ak-recipe-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .72rem; color: var(--ak-muted); padding-top: 12px; border-top: 1px solid #f1f5f9;
}
.ak-recipe-card-meta span { display: flex; align-items: center; gap: 3px; }

/* ── COUNTRY GRID ── */
.ak-country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.ak-country-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: var(--ak-card); border: 1.5px solid var(--ak-border);
  border-radius: var(--ak-radius); text-decoration: none; color: var(--ak-text);
  font-size: .78rem; font-weight: 600; transition: all 0.3s ease;
}
.ak-country-chip:hover {
  border-color: var(--ak-primary); background: var(--ak-primary-light);
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212, 101, 46, 0.08);
}
.ak-country-chip-count { margin-left: auto; font-size: .65rem; color: var(--ak-muted); }

/* ── COLLECTION CARDS ── */
.ak-collection-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.ak-collection-card {
  background: var(--ak-dark); border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--ak-radius); padding: 24px; color: #fff;
  text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ak-collection-card::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(212, 101, 46, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.ak-collection-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.25); border-color: var(--ak-primary); }
.ak-collection-card h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 6px; position: relative; }
.ak-collection-card p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; position: relative; }

/* ── BUTTONS ── */
.ak-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.75rem 1.75rem; border-radius: var(--ak-radius-pill); font-size: .9375rem; font-weight: 600;
  font-family: inherit; cursor: pointer; border: none; text-decoration: none;
  transition: all 0.2s ease;
}
.ak-btn-primary {
  background: var(--ak-primary); color: #fff;
  box-shadow: 0 2px 10px rgba(212, 101, 46, 0.3);
}
.ak-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(212, 101, 46, 0.4); }
.ak-btn-secondary {
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; border: 1px solid rgba(255,255,255,.15);
}
.ak-btn-secondary:hover { background: rgba(255,255,255,.18); }
.ak-btn-outline {
  background: transparent; color: var(--ak-primary); border: 1px solid var(--ak-border);
}
.ak-btn-outline:hover { border-color: var(--ak-primary); color: var(--ak-primary); }
.ak-btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ── CTA BANNER ── */
.ak-cta-banner {
  background: var(--ak-dark); position: relative; overflow: hidden;
  border-radius: var(--ak-radius); padding: 48px 40px; text-align: center; color: #fff;
}
.ak-cta-banner::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212, 101, 46, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.ak-cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 8px; position: relative;
}
.ak-cta-banner p { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 20px; position: relative; }

/* ═══════════════════════════════════════════
   RECIPE PAGE
   ═══════════════════════════════════════════ */

/* ── RECIPE HERO ── */
.ak-recipe-hero {
  position: relative; min-height: 340px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
}
.ak-recipe-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(26, 16, 8, .88));
}
.ak-recipe-hero-content {
  position: relative; z-index: 1; padding: 32px 24px; width: 100%; max-width: 1200px; margin: 0 auto;
  color: #fff;
}
.ak-recipe-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 8px;
}
.ak-recipe-meta-row {
  display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: rgba(255,255,255,.8);
}
.ak-recipe-meta-row span { display: flex; align-items: center; gap: 4px; }

/* ── BADGES ── */
.ak-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.15rem 0.5rem; font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; border-radius: var(--ak-radius-pill);
}
.ak-badge-live { background: #FFF5EB; color: #8B4513; }
.ak-badge-new  { background: #FEF2F2; color: #991B1B; }
.ak-badge-ai   { background: #FFF8E8; color: #8a5c00; }

/* ── ACTION BAR ── */
.ak-action-bar {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0;
  border-bottom: 1px solid var(--ak-border);
}

/* ── SERVING ADJUSTER ── */
.ak-servings {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--ak-border);
}
.ak-servings-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.ak-servings-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ak-border);
  background: var(--ak-card); font-size: 1.1rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.ak-servings-btn:hover { border-color: var(--ak-primary); background: var(--ak-primary-light); color: var(--ak-primary); }
.ak-servings-val {
  font-size: 1.2rem; font-weight: 800; min-width: 32px; text-align: center;
}

/* ── TWO-COLUMN LAYOUT ── */
.ak-recipe-layout {
  display: grid; grid-template-columns: 340px 1fr; gap: 32px; padding: 24px 0;
}

/* ── INGREDIENTS PANEL ── */
.ak-ingredients-panel { position: sticky; top: 80px; align-self: start; }
.ak-ing-group {
  font-size: .72rem; font-weight: 800; color: var(--ak-primary);
  text-transform: uppercase; letter-spacing: .08em; margin: 16px 0 8px;
}
.ak-ing-group:first-child { margin-top: 0; }
.ak-ing-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: .88rem; line-height: 1.5;
}
.ak-ing-check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ak-border);
  flex-shrink: 0; cursor: pointer; margin-top: 2px; appearance: none;
  transition: all 0.2s ease;
}
.ak-ing-check:checked { background: var(--ak-primary); border-color: var(--ak-primary); }
.ak-ing-check:checked + .ak-ing-text { text-decoration: line-through; color: var(--ak-muted); }
.ak-ing-amount { font-weight: 700; white-space: nowrap; }
.ak-ing-optional { font-size: .72rem; color: var(--ak-muted); font-style: italic; }

/* ── COST PANEL ── */
.ak-cost-panel {
  margin-top: 20px; padding: 16px; background: var(--ak-primary-light);
  border: 1.5px solid var(--ak-primary-border); border-radius: var(--ak-radius);
}
.ak-cost-total { font-size: 1.1rem; font-weight: 800; color: var(--ak-primary); }
.ak-cost-per { font-size: .78rem; color: var(--ak-muted); margin-top: 2px; }
.ak-cost-note { font-size: .68rem; color: var(--ak-muted); margin-top: 8px; }
.ak-cost-country { margin-top: 10px; }

/* ── STEPS ── */
.ak-step {
  padding: 20px; margin-bottom: 16px;
  background: var(--ak-card); border: 1.5px solid var(--ak-border);
  border-radius: var(--ak-radius); transition: all 0.2s ease;
}
.ak-step.active { border-color: var(--ak-primary); box-shadow: 0 4px 16px rgba(212, 101, 46, 0.08); }
.ak-step-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.ak-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ak-primary); color: #fff;
  font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ak-step-title { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.ak-step-text { font-size: .88rem; line-height: 1.7; color: #374151; }
.ak-step-tip {
  margin-top: 10px; padding: 10px 14px; background: #FFF8E8; border-left: 3px solid var(--ak-gold);
  border-radius: 0 10px 10px 0; font-size: .82rem; color: #92400e; line-height: 1.5;
}

/* ── TIMER ── */
.ak-timer {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--ak-dark); border-radius: var(--ak-radius-pill); color: #fff;
}
.ak-timer-display { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 60px; }
.ak-timer-bar {
  width: 100px; height: 4px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden;
}
.ak-timer-bar-fill { height: 100%; background: var(--ak-primary); border-radius: 4px; transition: width 1s linear; }
.ak-timer-btn {
  padding: 4px 12px; border-radius: var(--ak-radius-pill); border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; font-size: .72rem; font-weight: 700; cursor: pointer;
}
.ak-timer-btn:hover { background: rgba(255,255,255,.1); }
.ak-timer-label { font-size: .72rem; color: rgba(255,255,255,.6); }

/* ── COOKING MODE ── */
.ak-cooking-mode {
  position: fixed; inset: 0; z-index: 9999; background: var(--ak-dark);
  color: #fff; display: none; flex-direction: column;
}
.ak-cooking-mode.active { display: flex; }
.ak-cooking-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.ak-cooking-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 24px; overflow-y: auto; text-align: center; max-width: 700px; margin: 0 auto; width: 100%;
}
.ak-cooking-step-num { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.ak-cooking-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.ak-cooking-instruction { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.ak-cooking-tip {
  padding: 14px 20px; background: rgba(245,166,35,.15); border-left: 3px solid var(--ak-gold);
  border-radius: 0 10px 10px 0; text-align: left; font-size: .9rem; color: #fcd34d;
  margin-bottom: 24px; max-width: 100%;
}
.ak-cooking-nav {
  display: flex; gap: 16px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.1);
  justify-content: center;
}
.ak-cooking-nav button {
  padding: 12px 32px; border-radius: var(--ak-radius-pill); border: 1.5px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all 0.2s ease;
}
.ak-cooking-nav button.primary { background: var(--ak-primary); border-color: var(--ak-primary); box-shadow: 0 2px 10px rgba(212, 101, 46, 0.3); }

/* ── CULTURAL STORY ── */
.ak-story { padding: 32px 0; }
.ak-story-text { font-size: .92rem; line-height: 1.8; color: #374151; max-width: 700px; }
.ak-story-text p { margin-bottom: 14px; }
.ak-served-with {
  margin-top: 16px; padding: 14px 18px; background: var(--ak-primary-light);
  border-radius: var(--ak-radius); font-size: .85rem; color: var(--ak-text);
}
.ak-variations {
  margin-top: 12px; padding: 14px 18px; background: #FFF5EB;
  border-radius: var(--ak-radius); font-size: .85rem; color: var(--ak-text);
}

/* ── NUTRITION ── */
.ak-nutrition { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; }
.ak-nutrition-item {
  flex: 1; min-width: 80px; padding: 14px; background: var(--ak-card);
  border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius); text-align: center;
}
.ak-nutrition-val { font-size: 1.1rem; font-weight: 800; color: var(--ak-text); }
.ak-nutrition-label { font-size: .65rem; color: var(--ak-muted); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }

/* ── AI ADVISOR ── */
.ak-advisor {
  padding: 24px; background: var(--ak-card); border: 1.5px solid var(--ak-border);
  border-radius: var(--ak-radius);
}
.ak-advisor-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ak-advisor-header h3 { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.ak-advisor-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; font-size: .55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  background: #FFF8E8; color: #8a5c00; border-radius: var(--ak-radius-pill);
}
.ak-advisor-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ak-advisor-suggestion {
  padding: 6px 14px; background: var(--ak-primary-light); border: 1px solid var(--ak-primary-border);
  border-radius: var(--ak-radius-pill); font-size: .72rem; font-weight: 600; color: var(--ak-primary);
  cursor: pointer; transition: all 0.2s ease;
}
.ak-advisor-suggestion:hover { background: #F5DCC5; }
.ak-advisor-input-wrap { display: flex; gap: 8px; }
.ak-advisor-input {
  flex: 1; padding: 10px 16px; border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius-pill);
  font-size: .85rem; font-family: inherit; outline: none;
}
.ak-advisor-input:focus { border-color: var(--ak-primary); }
.ak-advisor-send {
  padding: 10px 20px; background: var(--ak-primary); color: #fff; border: none;
  border-radius: var(--ak-radius-pill); font-size: .82rem; font-weight: 600; cursor: pointer;
  font-family: inherit; box-shadow: 0 2px 8px rgba(212, 101, 46, 0.3);
}
.ak-advisor-messages { margin-top: 14px; max-height: 300px; overflow-y: auto; }
.ak-advisor-msg {
  padding: 10px 14px; border-radius: var(--ak-radius); font-size: .85rem; line-height: 1.6;
  margin-bottom: 8px; max-width: 90%;
}
.ak-advisor-msg.user { background: #f3f4f6; margin-left: auto; text-align: right; }
.ak-advisor-msg.ai { background: var(--ak-primary-light); border: 1px solid var(--ak-primary-border); }

/* ── REVIEWS ── */
.ak-reviews-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ak-star-rating { color: var(--ak-gold); font-size: 1.1rem; }
.ak-review-card {
  padding: 14px; border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius); margin-bottom: 10px;
}
.ak-review-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.ak-review-author { font-size: .82rem; font-weight: 700; }
.ak-review-date { font-size: .72rem; color: var(--ak-muted); }
.ak-review-text { font-size: .85rem; line-height: 1.5; color: #374151; }
.ak-review-form { margin-top: 16px; }
.ak-review-stars { display: flex; gap: 4px; margin-bottom: 10px; }
.ak-review-stars button {
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
  color: #d1d5db; transition: color .15s;
}
.ak-review-stars button.active, .ak-review-stars button:hover { color: var(--ak-gold); }
.ak-review-textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius);
  font-size: .85rem; font-family: inherit; resize: vertical; min-height: 60px;
}

/* ── RELATED RECIPES ── */
.ak-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}

/* ── SUBMIT FORM ── */
.ak-form-group { margin-bottom: 18px; }
.ak-form-label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 6px; }
.ak-form-input, .ak-form-textarea, .ak-form-select {
  width: 100%; padding: 10px 16px; border: 1.5px solid var(--ak-border); border-radius: var(--ak-radius);
  font-size: .88rem; font-family: inherit; background: var(--ak-card); outline: none;
  transition: border-color 0.2s;
}
.ak-form-input:focus, .ak-form-textarea:focus, .ak-form-select:focus { border-color: var(--ak-primary); }
.ak-form-textarea { resize: vertical; min-height: 100px; }
.ak-form-hint { font-size: .72rem; color: var(--ak-muted); margin-top: 4px; }

/* ── EMPTY STATE ── */
.ak-empty { text-align: center; padding: 48px 20px; color: var(--ak-muted); }
.ak-empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: .5; }
.ak-empty h3 { font-size: 1rem; font-weight: 800; color: var(--ak-text); text-transform: uppercase; margin-bottom: 6px; }
.ak-empty p { font-size: .88rem; line-height: 1.6; }

/* ── LOADING ── */
.ak-loading { text-align: center; padding: 40px; color: var(--ak-muted); }
.ak-spinner {
  width: 28px; height: 28px; border: 3px solid var(--ak-border);
  border-top-color: var(--ak-primary); border-radius: 50%;
  animation: ak-spin 0.7s linear infinite; margin: 0 auto 10px;
}
@keyframes ak-spin { to { transform: rotate(360deg); } }

/* ── PRINT ── */
@media print {
  .ak-action-bar, .ak-advisor, .ak-cooking-mode,
  afro-navbar, afro-footer, .ak-cta-banner { display: none !important; }
  .ak-recipe-layout { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ak-hero-inner { grid-template-columns: 1fr; }
  .ak-hero-preview { display: none; }
  .ak-recipe-layout { grid-template-columns: 1fr; }
  .ak-ingredients-panel { position: static; }
  .ak-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .ak-country-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .ak-cooking-title { font-size: 1.2rem; }
  .ak-cooking-instruction { font-size: .95rem; }
  .ak-section { padding: 48px 0; }
}
@media (max-width: 400px) {
  .ak-grid { grid-template-columns: 1fr; }
  .ak-hero { padding: 48px 16px 40px; }
}
