/* ─── Variables & Reset ─────────────────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1c1c1c;
  --bg4: #252525;
  --gold: #c9a84c;
  --gold-light: #e4c76b;
  --gold-dim: #c9a84c55;
  --text: #eee6d9;
  --text-muted: #beb3a3;
  --text-dim: #c9b9aa;
  --border: #2a2a2a;
  --border-light: #333;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
}
.section-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* ─── Page Transitions ──────────────────────────────────────────────────── */
#main-content {
  min-height: 100vh;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.page-exit { opacity: 0; transform: translateY(12px); }
.page-enter { animation: fadeUp 0.4s ease forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Header / Navbar ───────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color var(--transition);
}
.logo:hover { color: var(--gold-light); }

.logo span {
  color: var(--text);
  font-weight: 300;
}

nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg3); }
.nav-link.active { color: var(--gold); }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 24px; }

#lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
#lang-btn:hover { border-color: var(--gold); color: var(--gold); }
#lang-btn .flag { font-size: 1.1rem; }
#lang-btn .lang-flag { font-size: 1.25rem; width: 1.33em; line-height: 1; border-radius: 2px; }
#lang-btn .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}
#lang-dropdown.open + * .chevron,
#lang-btn .chevron.open { transform: rotate(180deg); }

#lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
#lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.lang-option:hover { background: var(--bg4); color: var(--text); }
.lang-option.active { color: var(--gold); }
.lang-option .flag { font-size: 1.1rem; }
.lang-option .lang-flag { font-size: 1.25rem; width: 1.33em; line-height: 1; border-radius: 2px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  background: var(--bg3);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0a0806 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.7); }
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--gold);
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
}
.btn-primary:active { transform: translateY(0); }

/* ─── Featured Grid ─────────────────────────────────────────────────────── */
.featured-section { background: var(--bg2); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Recipe Cards ──────────────────────────────────────────────────────── */
.recipe-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.recipe-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--gold-dim);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg4);
}
.card-image-wrap img {
  transition: transform 0.5s ease;
  object-position: center;
}
.recipe-card:hover .card-image-wrap img { transform: scale(1.05); }

.card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.3rem;
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 20px 24px 24px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.card-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}
.card-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.difficulty-dots { display: flex; gap: 6px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background var(--transition);
}
.dot--filled { background: var(--gold); }

.card-arrow {
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.recipe-card:hover .card-arrow { transform: translateX(4px); }

/* ─── CTA Section ───────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--bg2) 0%, #0f0c06 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: var(--text);
}
.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ─── Page Hero (inner pages) ───────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text);
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ─── Recipes Filter Bar ────────────────────────────────────────────────── */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.search-input:focus { border-color: var(--gold); }
.search-input::placeholder { color: var(--text-muted); }

.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: var(--bg3);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold-dim); color: var(--text); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #0d0d0d; font-weight: 700; }

.alcohol-toggle {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 4px;
}
.toggle-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.toggle-btn:hover { color: var(--text); }
.toggle-btn.active { background: var(--bg); color: var(--gold); }

/* ─── Recipes Grid ──────────────────────────────────────────────────────── */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  transition: opacity 0.15s ease;
}
.grid-fade { opacity: 0; }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 80px 0;
  font-size: 1.1rem;
}

/* ─── Detail Page ───────────────────────────────────────────────────────── */
.detail-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 48px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.back-btn:hover { color: var(--gold); background: var(--bg3); }
.back-btn svg { width: 18px; height: 18px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.detail-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.detail-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.tag {
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-cat { background: var(--bg4); color: var(--gold); border: 1px solid var(--gold-dim); }
.tag-alc { background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid var(--gold-dim); }
.tag-nonalc { background: rgba(38,222,129,0.1); color: #26de81; border: 1px solid rgba(38,222,129,0.3); }

.detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.detail-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.detail-meta {
  display: flex;
  gap: 24px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.meta-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* Detail Body */
.detail-body { background: var(--bg2); border-top: 1px solid var(--border); }
.detail-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.detail-body-grid h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.ingredient-list { display: flex; flex-direction: column; gap: 12px; }
.ingredient-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: border-color var(--transition);
}
.ingredient-item:hover { border-color: var(--gold-dim); }
.ing-num {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-serif);
  flex-shrink: 0;
  min-width: 24px;
}

.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #0d0d0d;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.95rem;
  padding-top: 6px;
}

/* Related */
.related-section .section-header { margin-bottom: 40px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── About Page ────────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-img-wrap {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg3);
}

.about-quote {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--bg2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-text-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 32px 0;
}

.about-text-col h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  padding: 24px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.value-card:hover { border-color: var(--gold-dim); }
.value-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ─── Placeholder Image ─────────────────────────────────────────────────── */
.card-image-wrap, .detail-image-wrap, .about-img-wrap {
  background: var(--bg4);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid .recipe-card:last-child { display: none; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-image-wrap { max-width: 480px; margin: 0 auto; }
  .detail-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img-wrap { aspect-ratio: 16/9; max-width: 560px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }

  .burger { display: flex; }

  nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 99;
  }
  nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; border-radius: var(--radius); }
  .lang-switcher { margin: 8px 0 0; width: 100%; }
  #lang-btn { width: 100%; justify-content: center; }
  #lang-dropdown { left: 0; right: 0; }

  .section { padding: 64px 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .recipe-card:last-child { display: block; }
  .recipes-grid { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: unset; }
  .category-filters { justify-content: center; }
  .alcohol-toggle { justify-content: center; }

  .detail-hero { padding: 100px 0 60px; }
  .related-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.8rem; }
  .btn-primary { padding: 14px 28px; font-size: 0.85rem; }
  .detail-meta { flex-direction: column; gap: 12px; }
}

/* ─── Buttons Extra ─────────────────────────────────────────────────────── */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; background: transparent;
  border: 1px solid var(--gold-dim); color: var(--gold);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 100px;
  transition: var(--transition);
}
.btn-secondary:hover { background: var(--gold-dim); border-color: var(--gold); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: transparent;
  border: 1px solid var(--border-light); color: var(--text-dim);
  font-weight: 500; font-size: 0.85rem; border-radius: 100px;
  transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: transparent;
  border: 1px solid var(--border-light); color: var(--text-muted);
  font-weight: 500; font-size: 0.8rem; border-radius: 8px;
  transition: var(--transition); cursor: pointer;
}
.btn-outline-sm svg { width: 14px; height: 14px; }
.btn-outline-sm:hover { border-color: var(--gold); color: var(--gold); }

.btn-text { background: none; color: var(--text-muted); font-size: 0.85rem; padding: 4px 8px; border-radius: 4px; transition: color var(--transition); }
.btn-text:hover { color: var(--gold); }

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-timer {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--bg4); border: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.82rem; font-weight: 500;
  border-radius: 8px; transition: var(--transition); cursor: pointer;
}
.btn-timer svg { width: 16px; height: 16px; color: var(--gold); }
.btn-timer:hover { border-color: var(--gold); color: var(--gold); }

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Home Features Bar ─────────────────────────────────────────────────── */
.home-features-bar { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0; }
.home-features { display: grid; grid-template-columns: repeat(3,1fr); }
.home-feat {
  display: flex; align-items: center; gap: 20px;
  padding: 32px 40px; cursor: pointer;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.home-feat:last-child { border-right: none; }
.home-feat:hover { background: var(--bg3); }
.feat-icon { font-size: 2rem; flex-shrink: 0; }
.home-feat strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.home-feat p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ─── Favorites Button on Cards ─────────────────────────────────────────── */
.card-fav {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(13,13,13,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--text-muted);
}
.card-fav svg { width: 16px; height: 16px; }
.card-fav:hover, .card-fav.active { color: #e84393; }
.card-fav.active svg { fill: currentColor; }

.fav-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg3); border: 1px solid var(--border-light); border-radius: 100px; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; transition: var(--transition); cursor: pointer; }
.fav-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.fav-btn:hover, .fav-btn.active { border-color: #e84393; color: #e84393; }
.fav-btn.active svg { fill: currentColor; }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

#fav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; background: var(--gold); color: #0d0d0d; font-size: 0.7rem; font-weight: 700; border-radius: 50%; margin-left: 4px; }

/* ─── Servings ───────────────────────────────────────────────────────────── */
.servings-control {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg4); border-radius: var(--radius);
  margin-bottom: 20px; font-size: 0.875rem; color: var(--text-muted);
}
.servings-btns { display: flex; align-items: center; gap: 12px; }
.servings-btns button {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg3);
  border: 1px solid var(--border-light); color: var(--gold);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.servings-btns button:hover { background: var(--gold); color: #0d0d0d; }
.servings-btns #servings-num { font-weight: 700; color: var(--text); min-width: 20px; text-align: center; }

/* ─── Steps Header + Timer ───────────────────────────────────────────────── */
.steps-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.steps-header h2 { margin-bottom: 0; }

.timer-panel { margin-bottom: 24px; }
.timer-panel.hidden { display: none; }
.timer-box {
  background: var(--bg4); border: 1px solid var(--gold-dim); border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
}
.timer-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
.timer-countdown { font-family: var(--font-serif); font-size: 4rem; color: var(--text); line-height: 1; margin-bottom: 16px; }
.timer-countdown.countdown-done { color: var(--gold); }
.timer-step-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.timer-done { padding: 24px; font-size: 1.1rem; color: var(--gold); font-family: var(--font-serif); text-align: center; }

.step-item.active-step { background: rgba(201,168,76,0.08); border-radius: var(--radius); padding: 12px; margin: -12px; }
.step-item.active-step .step-num { background: var(--gold-light); transform: scale(1.15); }

/* ─── Extended Content ───────────────────────────────────────────────────── */
.detail-extended { background: var(--bg2); border-top: 1px solid var(--border); }
.extended-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }

.extended-block { margin-bottom: 40px; }
.extended-block:last-child { margin-bottom: 0; }
.extended-block h2, .extended-block h3 {
  font-family: var(--font-serif); color: var(--text); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.extended-block h2 { font-size: 1.8rem; }
.extended-block h3 { font-size: 1.3rem; }
.extended-history p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 0.97rem; }

.tips-list { display: flex; flex-direction: column; gap: 12px; }
.tips-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.tip-icon { color: var(--gold); flex-shrink: 0; font-size: 0.75rem; margin-top: 4px; }

.variations-list { display: flex; flex-direction: column; gap: 14px; }
.variations-list li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; padding-left: 16px; border-left: 2px solid var(--gold-dim); }
.variations-list strong { color: var(--text); display: block; margin-bottom: 2px; }

.pairing-block p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-preview-section { background: var(--bg2); border-top: 1px solid var(--border); }

.blog-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: transform var(--transition), border-color var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold-dim); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg4); }
.blog-card-img img { transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px 24px 24px; }
.blog-card-meta { display: flex; gap: 12px; margin-bottom: 10px; font-size: 0.78rem; color: var(--text-muted); }
.blog-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.blog-read-more { font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.06em; }

.blog-post-hero { padding: 140px 0 60px; background: linear-gradient(180deg,var(--bg2) 0%,var(--bg) 100%); border-bottom: 1px solid var(--border); }
.blog-post-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-post-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3.5rem); color: var(--text); margin-bottom: 16px; text-align: center; }
.blog-post-excerpt { font-size: 1.1rem; color: var(--text-muted); /*max-width: 640px;*/ text-align: center; line-height: 1.7; }
.blog-post-img-wrap { max-height: 480px; overflow: hidden; }
.blog-post-body { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.blog-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; font-size: 1rem; }
.blog-content h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text); margin: 36px 0 16px; }
.blog-content ul, .blog-content ol { margin: 0 0 20px 0; padding-left: 24px; }
.blog-content li { color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; font-size: 0.97rem; }
.blog-content strong { color: var(--text); }

/* ─── Quiz ───────────────────────────────────────────────────────────────── */
.quiz-container { max-width: 680px; margin: 0 auto; }
.quiz-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.quiz-progress { height: 3px; background: var(--border); border-radius: 2px; margin-bottom: 28px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.4s ease; }
.quiz-step-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
.quiz-question { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text); margin-bottom: 28px; line-height: 1.3; }
.quiz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-answer-btn {
  padding: 16px 20px; background: var(--bg3); border: 1px solid var(--border-light);
  border-radius: var(--radius); color: var(--text-dim); font-size: 0.92rem; text-align: left;
  cursor: pointer; transition: var(--transition); line-height: 1.4;
}
.quiz-answer-btn:hover { border-color: var(--gold); color: var(--text); }
.quiz-answer-btn.selected { border-color: var(--gold); background: var(--gold-dim); color: var(--text); }

.quiz-result { text-align: center; padding: 20px 0; }
.quiz-result-icon { font-size: 3rem; margin-bottom: 16px; }
.quiz-result h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--text); margin-bottom: 8px; }
.quiz-result p { color: var(--text-muted); margin-bottom: 32px; }
.quiz-result-card {
  display: flex; gap: 20px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; margin-bottom: 28px;
  transition: border-color var(--transition);
}
.quiz-result-card:hover { border-color: var(--gold-dim); }
.quiz-result-img { width: 180px; flex-shrink: 0; }
.quiz-result-info { padding: 24px; text-align: left; }
.quiz-result-info h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.quiz-result-info p { font-size: 0.9rem; color: var(--text-muted); }
.quiz-result-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Favorites ──────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 0; }
.empty-icon { font-size: 4rem; margin-bottom: 20px; }
.empty-state h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--text); margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; }

.shopping-section { margin-top: 64px; border-top: 1px solid var(--border); padding-top: 48px; }
.shopping-section h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--text); margin-bottom: 8px; }
.shopping-section > p { color: var(--text-muted); margin-bottom: 24px; }
.shopping-empty { color: var(--text-muted); font-style: italic; }
.shopping-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.shopping-header-text p { color: var(--text-muted); }
.shopping-clear-btn { flex-shrink: 0; white-space: nowrap; }
.shopping-list-wrap { max-width: 600px; }
.shopping-recipe-group { margin-bottom: 24px; }
.shopping-recipe-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.shopping-recipe-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); }
.shopping-remove-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: var(--text-muted); border: 1px solid var(--border); transition: var(--transition); flex-shrink: 0; }
.shopping-remove-btn svg { width: 16px; height: 16px; }
.shopping-remove-btn:hover { color: #e05c5c; border-color: #e05c5c; background: rgba(224,92,92,0.08); }
.shopping-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.shopping-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.shopping-item.checked { opacity: 0.4; }
.shopping-item.checked .s-ing { text-decoration: line-through; }
.shopping-item label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.shopping-item input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; }
.s-ing { font-size: 0.9rem; color: var(--text-dim); }
.copy-btn { align-self: flex-start; }

/* ─── Fridge Search ──────────────────────────────────────────────────────── */
.fridge-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.fridge-panel { position: sticky; top: 96px; }
.fridge-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fridge-header h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--text); }
.fridge-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fridge-tag { padding: 7px 14px; border-radius: 100px; background: var(--bg3); border: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.82rem; cursor: pointer; transition: var(--transition); }
.fridge-tag:hover { border-color: var(--gold-dim); color: var(--text); }
.fridge-tag.active { background: var(--gold); border-color: var(--gold); color: #0d0d0d; font-weight: 600; }

.fridge-results h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text); margin-bottom: 20px; }
.fridge-hint { color: var(--text-muted); font-style: italic; padding: 40px 0; }
.fridge-results-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fridge-result-card {
  display: flex; gap: 16px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; position: relative;
  transition: var(--transition);
}
.fridge-result-card:hover { border-color: var(--gold-dim); transform: translateX(4px); }
.fridge-perfect { border-color: var(--gold-dim) !important; }
.fridge-match-badge {
  position: absolute; top: 10px; right: 10px; padding: 3px 10px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  background: var(--gold); color: #0d0d0d;
}
.fridge-partial .fridge-match-badge { background: var(--bg4); color: var(--text-muted); border: 1px solid var(--border-light); }
.fridge-card-img { width: 80px; flex-shrink: 0; }
.fridge-card-body { padding: 16px 16px 16px 0; }
.fridge-card-body h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text); margin-bottom: 4px; }
.fridge-missing { font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 0; }
.fridge-missing em { color: var(--gold); font-style: normal; }

/* ─── Glossary ───────────────────────────────────────────────────────────── */
.glossary-search { max-width: 480px; margin-bottom: 40px; }
.glossary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.glossary-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; transition: border-color var(--transition); }
.glossary-card:hover { border-color: var(--gold-dim); }
.glossary-term { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); margin-bottom: 10px; }
.glossary-def { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Privacy / Legal ────────────────────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0; font-size: 0.95rem; }

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.contact-info-item strong { display: block; color: var(--text); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-input {
  width: 100%; padding: 13px 18px; background: var(--bg2); border: 1px solid var(--border-light);
  border-radius: var(--radius); color: var(--text); font-family: var(--font-sans); font-size: 0.92rem;
  outline: none; transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.contact-msg { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; }
.contact-msg.success { background: rgba(38,222,129,0.1); color: #26de81; border: 1px solid rgba(38,222,129,0.3); }
.contact-msg.error { background: rgba(255,71,87,0.1); color: #ff4757; border: 1px solid rgba(255,71,87,0.3); }
.hidden { display: none !important; }

/* ─── Cookie Banner ──────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--bg3); border-top: 1px solid var(--border);
  padding: 20px 32px; display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-msg { flex: 1; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; min-width: 240px; }
.cookie-msg a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { padding: 9px 22px; background: var(--gold); color: #0d0d0d; border-radius: 100px; font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline { padding: 9px 22px; background: var(--bg4); border: 1px solid var(--border-light); color: var(--text-muted); border-radius: 100px; font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.cookie-decline:hover { color: var(--text); }

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--bg3); border: 1px solid var(--gold-dim); color: var(--text-dim);
  padding: 12px 24px; border-radius: 100px; font-size: 0.875rem;
  opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 9999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Favorites nav btn ──────────────────────────────────────────────────── */
.nav-fav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius);
  background: var(--bg3); border: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.85rem; cursor: pointer; transition: var(--transition);
}
.nav-fav-btn:hover { border-color: #e84393; color: #e84393; }
.nav-fav-btn svg { width: 16px; height: 16px; }

/* ─── Responsive New Sections ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .extended-grid { grid-template-columns: 1fr; gap: 40px; }
  .fridge-container { grid-template-columns: 1fr; }
  .fridge-panel { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .home-features { grid-template-columns: 1fr; }
  .home-feat { border-right: none; border-bottom: 1px solid var(--border); }
  .home-feat:last-child { border-bottom: none; }
  .blog-preview-grid { grid-template-columns: repeat(2,1fr); }
  .quiz-answers { grid-template-columns: 1fr; }
  .quiz-result-card { flex-direction: column; }
  .quiz-result-img { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
  .blog-preview-grid, .blog-grid { grid-template-columns: 1fr; }
  .fridge-results-grid { grid-template-columns: 1fr; }
  #cookie-banner { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ─── Placeholder shimmer ───────────────────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}
.card-image-wrap img[src="images/placeholder.avif"],
.detail-image-wrap img[src="images/placeholder.avif"] {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 936px 100%;
  animation: shimmer 1.5s infinite linear;
}
