/* =============================================================
   Purple Fairiess — Main Stylesheet
   Design: Warm cream, blush, dusty pink, brown text, lavender
   ============================================================= */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --cream:       #F2EFE9;
  --cream-dark:  #E8E4DA;
  --blush:       #D4DAC4;
  --blush-light: #E4E8D8;
  --dusty-pink:  #9CA986;
  --dusty-pink-h:#838F6E;
  --brown:       #33312E;
  --brown-light: #5C5A55;
  --lavender:    #BFC8AC;
  --lav-light:   #E6E9DC;
  --beige:       #DDD8CC;
  --white:       #FFFFFF;
  --text-main:   #33312E;
  --text-muted:  #767369;
  --border:      #DCD7CB;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(74,55,40,0.08);
  --shadow-hover: 0 6px 28px rgba(74,55,40,0.14);
  --transition: 0.22s ease;
  --max-width: 1160px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dusty-pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dusty-pink-h); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--brown);
  line-height: 1.25;
  margin-bottom: .5rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
.section-label {
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dusty-pink);
  display: block;
  margin-bottom: .4rem;
}
.lead { font-size: 1.15rem; color: var(--brown-light); line-height: 1.8; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { max-width: 580px; margin: 8px auto 0; color: var(--text-muted); }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(74,55,40,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-logo { text-decoration: none; }
.logo-main {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--brown);
  font-style: italic;
}
.logo-sub {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--brown-light);
  text-decoration: none;
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--dusty-pink); }
.btn-insta {
  background: var(--dusty-pink);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: .82rem !important;
  white-space: nowrap;
}
.btn-insta:hover { background: var(--dusty-pink-h) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-primary { background: var(--dusty-pink); color: var(--white); }
.btn-primary:hover { background: var(--dusty-pink-h); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--dusty-pink); color: var(--dusty-pink); }
.btn-outline:hover { background: var(--dusty-pink); color: var(--white); }
.btn-cream { background: var(--cream-dark); color: var(--brown); border-color: var(--border); }
.btn-cream:hover { background: var(--beige); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--cream) 60%, var(--blush-light) 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--lavender);
  opacity: .12;
  border-radius: 50%;
  top: -120px; right: -80px;
  pointer-events: none;
}
.hero-label { margin-bottom: 12px; }
.hero h1 { max-width: 760px; margin: 0 auto 20px; }
.hero p {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--brown-light);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-dark); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--blush-light);
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dusty-pink);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.35;
}
.card-desc { font-size: .9rem; color: var(--text-muted); flex: 1; }
.card-meta { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.card-meta span { font-size: .78rem; color: var(--text-muted); }
.card-meta span::before { margin-right: 3px; }

/* ── START HERE BANNER ───────────────────────────────────────── */
.start-here {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lav-light) 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.start-here h2 { margin-bottom: 10px; }
.start-here p { color: var(--brown-light); max-width: 460px; margin: 0 0 20px; }

/* ── CATEGORY PILLS ──────────────────────────────────────────── */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-pill {
  padding: 7px 18px;
  border-radius: 40px;
  font-size: .82rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--brown-light);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--dusty-pink);
  border-color: var(--dusty-pink);
  color: var(--white);
}

/* ── SEARCH BAR ─────────────────────────────────────────────── */
.search-wrap { position: relative; max-width: 480px; margin-bottom: 36px; }
.search-wrap input {
  width: 100%;
  padding: 13px 48px 13px 20px;
  border: 2px solid var(--border);
  border-radius: 40px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition);
}
.search-wrap input:focus { border-color: var(--dusty-pink); }
.search-wrap button {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  background: var(--dusty-pink);
  border: none;
  border-radius: 40px;
  width: 36px; height: 36px;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── RECIPE DETAIL ───────────────────────────────────────────── */
.recipe-hero { background: var(--cream-dark); padding: 48px 0; }
.recipe-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.recipe-hero-inner .recipe-hero-text { order: 1; }
.recipe-hero-inner .recipe-main-img { order: 2; }
.recipe-meta-strip {
  display: flex; flex-wrap: wrap; gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.recipe-meta-item { text-align: center; }
.recipe-meta-item .label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.recipe-meta-item .value { font-family: var(--font-head); font-size: 1.1rem; color: var(--brown); }
.recipe-body { max-width: 720px; }
.ingredient-list { list-style: none; padding-left: 0; margin-left: 0; }
.ingredient-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: .95rem;
  list-style: none;
}
.ingredient-list li::before { content: '✦'; color: var(--dusty-pink); font-size: .7rem; flex-shrink: 0; }
.step-list { counter-reset: steps; list-style: none; padding-left: 0; margin-left: 0; }
.step-list li {
  counter-increment: steps;
  padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-main);
  list-style: none;
}
.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 16px;
  width: 34px; height: 34px;
  background: var(--dusty-pink);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.tips-box {
  background: var(--lav-light);
  border-left: 4px solid var(--lavender);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
}
.tips-box h4 { color: var(--brown); margin-bottom: 8px; }
.notes-box {
  background: var(--blush-light);
  border-left: 4px solid var(--blush);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.recipe-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
}
.recipe-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.recipe-main-img { border-radius: var(--radius); overflow: hidden; }
.recipe-main-img img { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; }

/* ── RECIPE GALLERY (above ingredients) ──────────────────────── */
.recipe-gallery-wrap { margin: 0 0 40px; }
.recipe-gallery-single {
  width: 50%;
  padding: 15px;
  background: var(--white);
  border-radius: var(--radius);
}
.recipe-gallery-single img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}
.recipe-slider {
  position: relative;
  width: 50%;
  padding: 15px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.recipe-slides { position: relative; }
.recipe-slide { display: none; }
.recipe-slide.active { display: block; }
.recipe-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--brown);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--dusty-pink); color: #fff; }
.slider-prev { left: 22px; }
.slider-next { right: 22px; }
.slider-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 12px;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: var(--border);
  transition: background .2s;
}
.slider-dot.active { background: var(--dusty-pink); }

/* ── TRAVEL / BLOG DETAIL ────────────────────────────────────── */
.post-hero-img { aspect-ratio: 16/7; overflow: hidden; border-radius: var(--radius); margin-bottom: 36px; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* Full (uncropped) hero image — shows the whole photo at its natural shape */
.post-hero-img-full { aspect-ratio: auto; }
.post-hero-img-full img { height: auto; object-fit: contain; display: block; }
.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2, .post-body h3 { margin: 2rem 0 .8rem; }
.post-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.post-body ul li { margin-bottom: .4rem; }
.info-block {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}
.info-block h4 { margin-bottom: 12px; color: var(--dusty-pink); font-family: var(--font-head); }
.two-col-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── RECOMMENDATIONS ─────────────────────────────────────────── */
.rec-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.rec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rec-card-img { aspect-ratio: 1/1; background: var(--cream-dark); overflow: hidden; }
.rec-card-img img { width: 100%; height: 100%; object-fit: cover; }
.rec-card-body { padding: 18px 20px; }
.rec-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.rec-card-body p { font-size: .88rem; color: var(--text-muted); margin-bottom: 14px; }
.affiliate-note { font-size: .75rem; color: var(--text-muted); margin-top: 10px; font-style: italic; }

/* ── EMAIL STRIP ─────────────────────────────────────────────── */
.email-strip {
  background: linear-gradient(135deg, var(--brown) 0%, #44423D 100%);
  padding: 60px 0;
}
.email-strip-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.email-strip-text h3 { font-family: var(--font-head); color: var(--cream); margin-bottom: 8px; font-size: 1.7rem; }
.email-strip-text p { color: var(--beige); max-width: 420px; font-size: .95rem; }
.email-form { display: flex; flex-wrap: wrap; gap: 12px; }
.email-form input {
  padding: 12px 20px;
  border-radius: 40px;
  border: none;
  font-family: var(--font-body);
  font-size: .9rem;
  background: rgba(255,255,255,.15);
  color: var(--white);
  outline: none;
  min-width: 180px;
}
.email-form input::placeholder { color: rgba(255,255,255,.6); }
.email-form input:focus { background: rgba(255,255,255,.25); }
.success-msg { color: var(--blush-light); font-weight: 700; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-hero { background: var(--blush-light); padding: 72px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%; height: 100%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-form-wrap { width: 100%; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-main);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--dusty-pink); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── SITE FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--brown); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-main { color: var(--cream); font-size: 1.5rem; }
.footer-brand p { color: var(--beige); margin: 12px 0 16px; font-size: .9rem; }
.footer-insta { color: var(--blush) !important; font-weight: 700; font-size: .9rem; }
.footer-links h4 { color: var(--cream); font-family: var(--font-head); margin-bottom: 14px; }
.footer-links a { display: block; color: var(--beige); font-size: .88rem; margin-bottom: 8px; }
.footer-links a:hover { color: var(--blush); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .8rem; margin-bottom: 4px; }
.footer-disc { font-style: italic; }

/* ── ADMIN ───────────────────────────────────────────────────── */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--brown); padding: 24px 0; }
/* Mobile top bar + overlay — hidden on desktop, shown via media query */
.admin-mobile-bar { display: none; align-items: center; gap: 14px; background: var(--brown); padding: 12px 16px; position: sticky; top: 0; z-index: 998; }
.admin-menu-btn { background: rgba(255,255,255,.15); color: var(--cream); border: none; border-radius: 8px; padding: 8px 14px; font-size: .95rem; font-weight: 700; cursor: pointer; }
.admin-mobile-title { color: var(--cream); font-family: var(--font-display); font-size: 1.1rem; }
.admin-nav-overlay { display: none; }
.admin-sidebar .logo-main { color: var(--cream); padding: 0 20px 24px; display: block; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.admin-nav a {
  display: block;
  padding: 11px 20px;
  color: var(--beige);
  font-size: .9rem;
  font-weight: 700;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-left-color: var(--blush);
}
.admin-content { padding: 36px; background: var(--cream); overflow-y: auto; }
.admin-content h1 { font-size: 1.8rem; margin-bottom: 8px; }
.admin-content .subtitle { color: var(--text-muted); margin-bottom: 32px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--cream-dark); padding: 12px 16px; text-align: left; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brown-light); border-bottom: 2px solid var(--border); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: .9rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 40px; font-size: .72rem; font-weight: 700; }
.badge-green { background: #D4EDDA; color: #1a6a30; }
.badge-grey { background: var(--beige); color: var(--text-muted); }
.admin-form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 800px; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.stat-card .stat-num { font-family: var(--font-head); font-size: 2.4rem; color: var(--dusty-pink); }
.stat-card .stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.alert { padding: 13px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: #D4EDDA; color: #1a6a30; border: 1px solid #c3e6cb; }
.alert-error { background: #FDDEDE; color: #721c24; border: 1px solid #f5c6cb; }

/* ── PAGINATION ─────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 8px 16px;
  border-radius: 40px;
  border: 2px solid var(--border);
  color: var(--brown-light);
  font-size: .88rem;
  font-weight: 700;
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--dusty-pink); color: var(--dusty-pink); }
.pagination .current { background: var(--dusty-pink); border-color: var(--dusty-pink); color: white; }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { padding: 16px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { font-size: .82rem; color: var(--text-muted); }
.breadcrumb span { font-size: .82rem; color: var(--text-muted); }
.breadcrumb .current { color: var(--brown); font-weight: 700; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 40px;
  background: var(--lav-light);
  color: var(--brown-light);
  font-weight: 700;
}
.insta-cta {
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--lav-light) 100%);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.insta-cta h3 { margin-bottom: 10px; }
.insta-cta p { color: var(--brown-light); margin-bottom: 24px; max-width: 440px; margin-left: auto; margin-right: auto; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .emoji { font-size: 3rem; display: block; margin-bottom: 16px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .recipe-hero-inner { grid-template-columns: 1fr; }
  .recipe-hero-inner .recipe-main-img { order: 1; }
  .recipe-hero-inner .recipe-hero-text { order: 2; }
  .recipe-gallery-single, .recipe-slider { width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .two-col-info { grid-template-columns: 1fr; }
  .admin-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; text-align: left; }
  .site-nav a.btn-insta {
    border-bottom: none;
    margin-top: 12px;
    text-align: center;
    width: auto;
    align-self: flex-start;
  }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .start-here { padding: 32px 24px; }
  .email-strip-inner { flex-direction: column; }
  .email-form { flex-direction: column; width: 100%; }
  .email-form input { min-width: unset; }
  .admin-wrap { grid-template-columns: 1fr; }
  /* Mobile: sidebar slides in from the left instead of being hidden */
  .admin-mobile-bar { display: flex; }
  .admin-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  body.admin-nav-open .admin-sidebar { transform: translateX(0); }
  body.admin-nav-open .admin-nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
  }
  .admin-content { padding-top: 8px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .hero-btns { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 8px; }
  .hero-btns .btn {
    padding: 10px 14px;
    font-size: .8rem;
    white-space: nowrap;
    flex: 0 1 auto;
  }
  .hero-btns .btn-emoji { display: none; }
  .section { padding: 48px 0; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}

/* ── SOCIAL ROW (homepage start-here) ────────────────────────── */
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown) !important;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid var(--border);
}
.social-btn svg { display: block; }
.social-btn:hover {
  background: var(--dusty-pink);
  color: var(--white) !important;
  border-color: var(--dusty-pink);
  transform: translateY(-3px);
}

/* ── SOCIAL-ONLY BAND (homepage) ─────────────────────────────── */
.social-only-band { text-align: center; }
.social-only-band .section-label { display: block; margin-bottom: 16px; }

/* ── FOOTER NAV ROW ──────────────────────────────────────────── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 40px;
}
.footer-nav a {
  color: var(--cream);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}
.footer-nav a:hover { color: var(--blush); }

/* Red circle icon for newsletter heading */
.circle-icon {
  display: inline-block;
  color: #E23B3B;
  filter: drop-shadow(0 0 0 #E23B3B);
}

@media (max-width: 600px) {
  .footer-nav { gap: 16px; }
  .footer-nav a { font-size: .82rem; }
}

/* ── ABOUT BODY & BOXES ──────────────────────────────────────── */
.about-body h2 { margin: 2rem 0 .8rem; }
.about-body h2:first-child { margin-top: 0; }
.about-body p { margin-bottom: 1rem; }
.about-intro-text p { font-size: 1.15rem; color: var(--brown-light); line-height: 1.8; margin-bottom: 1rem; }
.about-intro-text p:last-child { margin-bottom: 0; }
.about-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.info-block-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.info-block-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.info-block-link h4 { color: var(--dusty-pink); }
@media (max-width: 600px) {
  .about-boxes { grid-template-columns: 1fr; }
}

/* ── CATEGORY CHECKBOXES (admin recipe form) ─────────────────── */
.cat-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.cat-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-main);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .15s;
}
.cat-checkbox:hover { background: var(--cream-dark); }
.cat-checkbox input { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }
.cat-checkbox span { line-height: 1.3; }

/* Multiple category pills on the public recipe page */
.recipe-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.recipe-cats a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dusty-pink);
  text-decoration: none;
}
.recipe-cats a:not(:last-child)::after { content: ' ·'; color: var(--text-muted); }

/* ── RICH TEXT EDITOR (admin) ────────────────────────────────── */
.rte-wrap {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: var(--cream);
  border-bottom: 2px solid var(--border);
}
.rte-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: .82rem;
  font-family: var(--font-body);
  color: var(--brown);
  cursor: pointer;
  line-height: 1;
  transition: all .15s;
}
.rte-btn:hover { background: var(--dusty-pink); color: #fff; border-color: var(--dusty-pink); }
.rte-sep { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.rte-area {
  min-height: 320px;
  max-height: 640px;
  overflow-y: auto;
  padding: 18px;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-main);
  outline: none;
}
.rte-area:focus { background: #fffdfa; }
.rte-area h2 { font-size: 1.5rem; margin: 1.2rem 0 .5rem; }
.rte-area h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.rte-area h2:first-child, .rte-area h3:first-child, .rte-area p:first-child { margin-top: 0; }
.rte-area p { margin-bottom: .8rem; }
.rte-area ul, .rte-area ol { padding-left: 1.5rem; margin-bottom: .8rem; }
.rte-area ul { list-style: disc; }
.rte-area ol { list-style: decimal; }
.rte-area li { margin-bottom: .3rem; }
.rte-area a { color: var(--dusty-pink); text-decoration: underline; }
.rte-area img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.rte-status {
  position: absolute;
  bottom: 10px; right: 12px;
  background: var(--brown);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
}

/* ── EDITOR ON MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Toolbar becomes one swipeable row instead of a tall wrapped block */
  .rte-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 6px;
    padding: 8px 10px;
    /* subtle fade hint on the right edge so it's clear you can scroll */
    -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
            mask-image: linear-gradient(to right, #000 92%, transparent);
  }
  .rte-toolbar::-webkit-scrollbar { height: 4px; }
  .rte-toolbar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
  .rte-btn {
    flex: 0 0 auto;      /* don't shrink; keep tappable size */
    padding: 10px 12px;  /* bigger finger target */
    font-size: .9rem;
  }
  .rte-sep { flex: 0 0 auto; height: 24px; }
  .rte-area {
    min-height: 240px;
    padding: 14px;
    font-size: 16px;     /* 16px stops iOS auto-zooming on focus */
  }
  .rte-status {
    left: 12px; right: 12px; bottom: 12px;
    text-align: center;
  }
}

/* Post body on the public site — matches editor output */
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 16px 0; }
.post-content h2 { margin: 1.8rem 0 .6rem; }
.post-content h3 { margin: 1.4rem 0 .5rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .4rem; }
.post-content a { color: var(--dusty-pink); text-decoration: underline; }
