/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #fdf6ef;
  --surface:      #fffaf6;
  --border:       #e8d9cc;
  --text:         #2c1f17;
  --muted:        #8a6f5e;
  --accent:       #b85c52;
  --accent-hover: #a04840;
  --accent-soft:  #f5e6e4;
  --jade:         #5f8c7a;
  --jade-soft:    #e8f0ed;
  --gold:         #c4923a;
  --tag-bg:       #f3e9e2;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 2px 12px rgba(44,31,23,0.07);
  --shadow-md:    0 6px 24px rgba(44,31,23,0.11);
}

body {
  font-family: "Noto Sans HK", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: "Lora", Georgia, serif;
}

/* ── Layout ── */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-zh {
  font-family: "Noto Sans HK", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.brand-en {
  font-family: "Lora", serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
}

.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, color 0.15s;
  font-family: inherit;
}
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost    { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn-danger   { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-danger:hover { background: var(--accent); color: #fff; }
.btn-full     { width: 100%; text-align: center; }

/* ── Flash ── */
.flash-messages { margin-bottom: 1.25rem; }
.flash {
  padding: 0.75rem 1rem;
  background: #fef9ec;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #7a5c1e;
}

/* ── Hero banner ── */
.hero-banner {
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  width: 100%;
  padding: 3rem 2rem 2.5rem;
  background: linear-gradient(to top, rgba(30,15,10,0.82) 0%, rgba(30,15,10,0.3) 60%, transparent 100%);
}

.hero-content { max-width: 600px; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.hero-recipe-title {
  font-family: "Lora", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.btn-hero {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-hero:hover { background: rgba(255,255,255,0.28); border-color: #fff; }

.hero-empty {
  padding: 3.5rem 1rem 1rem;
  text-align: center;
}
.hero-title {
  font-family: "Lora", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Browse bar (search + filters) ── */
.browse-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.75rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.browse-search {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  max-width: 540px;
  align-items: center;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.5;
}

.browse-search input[type="search"] {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.browse-search input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.clear-search {
  position: absolute;
  right: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ── Recipe sections (category rows) ── */
.recipe-section { padding: 2rem 0 0.5rem; }

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding: 0 0.25rem;
}

.section-title {
  font-family: "Lora", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.section-see-all {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.section-see-all:hover { text-decoration: underline; }

.recipe-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* ── Filter dropdowns (landing page) ── */
.filter-dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.filter-dropdowns select {
  padding: 0.5rem 2.25rem 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-family: inherit;
  background-color: var(--surface);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6f5e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-dropdowns select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }

/* ── Section header ── */
.section-header {
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}
.recipe-count { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.recipe-count strong { color: var(--text); font-style: normal; }

/* ── Tag (inline) ── */
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--tag-bg);
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.tag:hover { background: var(--accent-soft); color: var(--accent); }

/* ── Recipe grid ── */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.recipe-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--tag-bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.recipe-card:hover .card-img img { transform: scale(1.03); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; opacity: 0.4;
}

.card-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.card-body h2 { font-family: "Lora", serif; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.card-body p  { font-size: 0.85rem; color: var(--muted); flex: 1; }
.card-tags    { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.empty-state p { font-style: italic; }

/* ── Recipe detail ── */
.recipe-detail { max-width: 740px; margin: 0 auto; }

.recipe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recipe-actions { display: flex; gap: 0.5rem; align-items: center; }
.recipe-actions form { margin: 0; }

.back-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.back-link:hover { color: var(--accent); }

/* ── Carousel ── */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tag-bg);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-md);
}

.carousel-track { width: 100%; height: 100%; }

.carousel-slide { display: none; width: 100%; height: 100%; }
.carousel-slide.active { display: block; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,246,239,0.75);
  color: var(--accent);
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: 8px;
  z-index: 10;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(253,246,239,0.95); }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.45rem;
  z-index: 10;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.15s;
}
.dot.active { background: #fff; }

/* ── Recipe title / meta ── */
.recipe-title {
  font-family: "Lora", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }

.recipe-description {
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* ── Time bar ── */
.time-bar {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.25rem;
  background: var(--surface);
}

.time-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border);
  gap: 0.25rem;
}
.time-item:last-child { border-right: none; }
.time-item.total { background: var(--accent-soft); }

.time-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.time-value {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Section headings (detail page) ── */
.ingredients-section,
.steps-section,
.notes-section,
.related-section { margin-bottom: 2.75rem; }

.ingredients-section h2,
.steps-section h2,
.notes-section h2,
.related-section h2 {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ingredients-section h2::before { content: '✦'; font-size: 0.65rem; color: var(--accent); opacity: 0.7; }
.steps-section h2::before       { content: '✦'; font-size: 0.65rem; color: var(--accent); opacity: 0.7; }
.notes-section h2::before       { content: '✦'; font-size: 0.65rem; color: var(--accent); opacity: 0.7; }
.related-section h2::before     { content: '✦'; font-size: 0.65rem; color: var(--accent); opacity: 0.7; }

/* ── Story / Memory ── */
.recipe-story {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.story-icon { color: var(--accent); font-size: 0.75rem; margin-top: 0.3rem; flex-shrink: 0; }
.recipe-story p { font-family: "Lora", serif; font-style: italic; font-size: 0.975rem; line-height: 1.7; color: var(--text); margin: 0; }

/* ── Chef's Notes ── */
.notes-section p {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Difficulty colours ── */
.difficulty-easy   { color: var(--jade); }
.difficulty-medium { color: var(--gold); }
.difficulty-hard   { color: var(--accent); }

/* ── Ingredients ── */
.ingredient-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.ingredient-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, opacity 0.15s;
}
.ingredient-list li:hover { background: var(--accent-soft); }
.ingredient-list li.checked {
  opacity: 0.4;
  text-decoration: line-through;
  background: var(--bg);
}
.ingredient-check { font-size: 1rem; flex-shrink: 0; color: var(--accent); }

/* ── Steps ── */
.steps-list { display: flex; flex-direction: column; gap: 2rem; }

.step { display: flex; gap: 1.1rem; align-items: flex-start; }

.step-number {
  flex-shrink: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
  box-shadow: 0 2px 6px rgba(184,92,82,0.3);
}

.step-content { flex: 1; display: flex; flex-direction: column; gap: 0.85rem; }
.step-content p { font-size: 0.975rem; line-height: 1.7; }

.step-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ── Gallery grid (edit page) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
}
.gallery-item { display: flex; flex-direction: column; gap: 0.3rem; }
.delete-check { font-size: 0.8rem; color: var(--accent); cursor: pointer; }

/* ── Login ── */
.login-wrap {
  max-width: 380px;
  margin: 5rem auto;
  text-align: center;
}
.login-wrap h1 {
  font-family: "Lora", serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.login-wrap .subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.75rem;
}

/* ── Forms ── */
.form-page { max-width: 700px; margin: 0 auto; }
.form-page h1 {
  font-family: "Lora", serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--shadow);
}

.form-card label,
.file-label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-card input[type="text"],
.form-card input[type="password"],
.form-card input[type="search"],
.form-card textarea {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hint { font-weight: 400; color: var(--muted); font-size: 0.78rem; }

/* ── File inputs ── */
.form-card input[type="file"],
.file-label input[type="file"] {
  padding: 0.5rem 0.75rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.form-card input[type="file"]:hover,
.file-label input[type="file"]:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

/* ── Login card ── */
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.login-title {
  font-family: "Lora", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.login-form {
  display: flex; flex-direction: column; gap: 1rem;
  text-align: left;
  margin-top: 1.5rem;
}
.login-form label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: var(--text);
}
.login-form input[type="password"],
.login-form input[type="text"] {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.login-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.login-footer {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.login-footer a { color: var(--accent); text-decoration: none; }
.login-footer a:hover { text-decoration: underline; }

/* ── Category dropdowns ── */
.category-dropdowns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.category-dropdowns label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600;
}
.category-dropdowns select {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.category-dropdowns select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Time inputs ── */
.time-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.time-inputs select {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.time-inputs select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.time-inputs input {
  width: 100%;
}

/* ── Fieldsets (edit form) ── */
.fieldset {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.fieldset legend {
  font-weight: 700; font-size: 0.9rem;
  padding: 0 0.5rem; color: var(--text);
}

/* ── Step rows ── */
.step-row {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.step-row-header {
  display: flex; align-items: center; justify-content: space-between;
}
.step-num { font-weight: 700; font-size: 0.85rem; color: var(--accent); }

.btn-remove-step {
  background: none; border: none; color: var(--muted);
  font-size: 0.8rem; cursor: pointer;
  padding: 0.2rem 0.5rem; border-radius: 6px;
  font-family: inherit;
}
.btn-remove-step:hover { background: var(--accent-soft); color: var(--accent); }

.step-current-img img {
  max-height: 130px; border-radius: 8px;
  object-fit: cover; border: 1px solid var(--border);
}
.step-current-img { display: flex; flex-direction: column; gap: 0.25rem; }

.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero-title { font-size: 1.75rem; }
  .recipe-title { font-size: 1.5rem; }
  .recipe-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .navbar { padding: 0.75rem 1rem; }
  .time-inputs { grid-template-columns: 1fr; }
  .category-dropdowns { grid-template-columns: 1fr; }
  .recipe-detail { padding: 0 0.25rem; }
}
