/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --saffron:    #E8853D;
  --deep-red:   #C0392B;
  --warm-cream: #FDF5EC;
  --card-bg:    #FFFFFF;
  --dark:       #1A1008;
  --text:       #3D2B1F;
  --muted:      #876B5B;
  --border:     #EAD9CC;
  --green-veg:  #2E7D32;
  --red-nonveg: #C62828;
  --shadow:     0 4px 20px rgba(60,20,0,0.1);
  --radius:     12px;
  --nav-h:      56px;
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', Georgia, sans-serif;
  background: var(--warm-cream);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-primary { background: var(--deep-red); color: white; }
.btn-outline  { border: 2px solid var(--deep-red); color: var(--deep-red); background: transparent; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── Flash Messages ─────────────────────────────────────────────────────────── */
.flash-container { position: fixed; top: 16px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 12px 20px; border-radius: 8px; font-size: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.flash--success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.flash--error   { background: #fce4ec; color: #c62828; border-left: 4px solid #c62828; }
.flash--info    { background: #e3f2fd; color: #1565c0; border-left: 4px solid #1565c0; }
.flash button   { background: none; border: none; font-size: 18px; cursor: pointer; opacity: 0.6; }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: white; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-top { padding: 14px 0; }
.header-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon { font-size: 24px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--deep-red); }
.logo-sub   { font-size: 12px; color: var(--muted); letter-spacing: 1px; font-weight: 300; }
.header-search { flex: 1; max-width: 480px; display: flex; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; }
.header-search input { flex: 1; padding: 9px 14px; border: none; outline: none; font-size: 14px; background: var(--warm-cream); }
.header-search button { padding: 9px 16px; background: var(--saffron); border: none; cursor: pointer; font-size: 14px; }
.menu-toggle { display: none; background: var(--saffron); color: white; border: none; padding: 8px 14px; border-radius: 6px; font-size: 20px; cursor: pointer; }

/* ── Nav bar ────────────────────────────────────────────────────────────────── */
.nav-bar { background: var(--deep-red); }
.nav-list { display: flex; list-style: none; gap: 0; }
.nav-list > li > a { display: block; padding: 14px 18px; color: white; font-size: 14px; font-weight: 700; letter-spacing: .4px; white-space: nowrap; transition: background .2s; }
.nav-list > li > a:hover { background: rgba(255,255,255,.15); }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: white; border-radius: 0 0 10px 10px; box-shadow: var(--shadow); min-width: 200px; z-index: 200; max-height: 60vh; overflow-y: auto; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 11px 18px; font-size: 14px; color: var(--text); transition: background .15s; }
.dropdown li a:hover { background: var(--warm-cream); color: var(--deep-red); }
.dropdown li a span { color: var(--muted); font-size: 12px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  background: var(--dark);
  overflow: hidden;
  position: relative;
}
/* Text content sits in the middle column and always renders on top */
.hero-content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 700px;
  padding: 60px 24px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  position: relative;
  z-index: 2;          /* above the thali images */
}
/* Thali images are side columns that scale with the viewport */
.hero-thali {
  flex: 0 0 clamp(80px, 14vw, 240px);
  width: clamp(80px, 14vw, 240px);
  align-self: center;
  pointer-events: none;
  z-index: 1;          /* behind text */
  overflow: hidden;
}
.hero-thali img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
/* No absolute offsets — flex handles placement */
.hero-thali-left  {}
.hero-thali-right {}
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--saffron); }
.hero-title { font-size: clamp(2.6rem, 5vw, 4rem); color: white; line-height: 1.1; }
.hero-title em { color: var(--saffron); font-style: normal; }
.hero-sub { font-size: 30px; color: rgba(43,241,90,.65); line-height: 1.7; max-width: 520px; }
.hero-cta { display: flex; justify-content: center; }

/* Filter rows */
.hero-filter-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hf-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 40px; border: 1.5px solid transparent; transition: opacity .18s, transform .15s; white-space: nowrap; }
.hf-btn:hover { opacity: .82; transform: translateY(-1px); }

/* Row 1 – Type: muted green */
.hf-type { background: #1e3a2f; color: #6fcf97; border-color: #2d5a40; }

/* Row 2 – Category: warm amber */
.hf-cat { background: #3a2400; color: #f5a623; border-color: #5a3a00; }

/* Row 3 – Cuisine: deep teal */
.hf-cuisine { background: #0d2d35; color: #56cfe1; border-color: #174d5a; }

/* Row 4 – Healthy: soft rose */
.hf-health { background: #3a1a20; color: #f28b82; border-color: #5a2830; font-size: 11px; padding: 5px 11px; }

.hero-image { display: none; }
.hero-img-wrap { display: none; }
.hero-img-badge { display: none; }
.hero-toggles { display: none; }
.hero-cat-filters { display: none; }
.veg-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.veg-badge .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid; }
.veg-badge.veg .dot { background: var(--green-veg); border-color: var(--green-veg); }
.veg-badge.nonveg .dot { background: var(--red-nonveg); border-color: var(--red-nonveg); }

/* ── Section headers ────────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; color: var(--dark); }
.section-header p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.section-more { text-align: center; margin-top: 32px; }

/* ── Category Tiles ─────────────────────────────────────────────────────────── */
.categories-section { background: white; }
.category-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.cat-tile { background: var(--warm-cream); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 8px; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-icon { font-size: 36px; }
.cat-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--dark); }
.cat-count { font-size: 12px; color: var(--muted); }

/* ── Cuisine Cards ──────────────────────────────────────────────────────────── */
.cuisine-section { background: var(--dark); }
.cuisine-section .section-header h2 { color: white; }
.cuisine-section .section-header p  { color: rgba(255,255,255,.6); }
.cuisine-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cuisine-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; cursor: pointer; transition: transform .3s; }
.cuisine-card:hover { transform: scale(1.03); }
.cuisine-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.cuisine-overlay h3 { color: white; font-size: 1.2rem; }
.cuisine-overlay span { color: var(--saffron); font-size: 13px; font-weight: 700; margin-top: 4px; }

/* ── Picks Section ──────────────────────────────────────────────────────────── */
.picks-section { background: white; }
.picks-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.picks-header h2 { font-size: 2rem; }
.picks-tabs { display: flex; gap: 8px; }
.tab-btn { padding: 9px 22px; border-radius: 8px; border: 2px solid var(--border); background: white; font-weight: 700; font-size: 14px; cursor: pointer; transition: .15s; color: var(--text); }
.tab-btn.active { background: var(--deep-red); border-color: var(--deep-red); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Recipe Grid ─────────────────────────────────────────────────────────────── */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.recipe-grid--featured { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.recipe-grid--wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ── Recipe Card ─────────────────────────────────────────────────────────────── */
.recipe-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-card:hover .card-img-wrap img { transform: scale(1.06); }
.veg-dot { position: absolute; top: 10px; left: 10px; width: 14px; height: 14px; border-radius: 3px; border: 2px solid; }
.veg-dot.veg { background: var(--green-veg); border-color: var(--green-veg); }
.veg-dot.nonveg { background: var(--red-nonveg); border-color: var(--red-nonveg); }
.featured-badge { position: absolute; top: 10px; right: 10px; background: var(--saffron); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.card-body { padding: 18px; }
.card-meta { display: flex; gap: 8px; margin-bottom: 8px; }
.card-cuisine, .card-cat { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.card-cuisine::after { content: '·'; margin-left: 8px; }
.card-title { font-size: 1.05rem; margin-bottom: 8px; }
.card-title a:hover { color: var(--deep-red); }
.card-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-times { display: flex; flex-direction: column; gap: 2px; }
.card-times span { font-size: 12px; color: var(--muted); }
.card-diff { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.diff-easy   { background: #e8f5e9; color: #2e7d32; }
.diff-medium { background: #fff8e1; color: #f57f17; }
.diff-hard   { background: #fce4ec; color: #c62828; }

/* ── Inline Newsletter ───────────────────────────────────────────────────────── */
.inline-newsletter { background: var(--deep-red); }
.inline-nl { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.inl-text h3 { font-size: 1.5rem; color: white; }
.inl-text p  { color: rgba(255,255,255,.75); margin-top: 6px; }
.inl-form { display: flex; gap: 0; border-radius: 8px; overflow: hidden; }
.inl-form input { flex: 1; min-width: 240px; padding: 14px 18px; border: none; outline: none; font-size: 15px; }
.inl-form button { padding: 14px 28px; background: var(--saffron); border: none; color: white; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }

/* ── Recipe Detail ──────────────────────────────────────────────────────────── */
.rd-hero { min-height: 0 !important; background: white !important; position: relative; }
.rd-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 50%, transparent 100%); display: flex; align-items: flex-end; }
.rd-hero-overlay .container { padding-bottom: 20px; width: 100%; }

/* compact inner layout */
.rd-hero-inner { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 20px !important; padding: 14px 0 16px !important; }
.rd-hero-text  { flex: 1 !important; min-width: 0 !important; }
.rd-hero-image { flex-shrink: 0 !important; width: 384px !important; height: 288px !important; overflow: hidden !important; border-radius: var(--radius) !important; }
.rd-hero-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--saffron); }
.rd-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.veg-pill, .cuisine-pill, .cat-pill { font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.veg-pill.veg    { background: #e8f5e9; color: #2e7d32; }
.veg-pill.nonveg { background: #fce4ec; color: #c62828; }
.cuisine-pill { background: var(--saffron); color: white; }
.cat-pill     { background: var(--border); color: var(--muted); }
.rd-title { font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important; color: var(--text) !important; margin-bottom: 6px !important; }
.rd-description { font-size: 13px !important; color: var(--muted) !important; max-width: 560px; margin-bottom: 10px !important; line-height: 1.5; }
.rd-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.stat { display: flex; flex-direction: column; align-items: center; background: var(--warm-cream); border: 1px solid var(--border); padding: 3px 12px !important; border-radius: 8px; }
.stat-icon { font-size: 11px !important; }
.stat-label { font-size: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.stat strong { color: var(--text) !important; font-size: 10px !important; }

.rd-actions { margin-top: 2px !important; }
.rd-body { padding: 24px 0; }
.rd-layout { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.rd-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.rd-card h2 { font-size: 1.4rem; margin-bottom: 18px; color: var(--deep-red); }
.rd-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.rd-card-header h2 { margin-bottom: 0; }
.servings-control { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.servings-btn-group { display: flex; align-items: center; gap: 6px; }
.servings-btn-group button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: white; cursor: pointer; font-size: 16px; font-weight: 700; transition: .15s; }
.servings-btn-group button:hover { background: var(--deep-red); color: white; border-color: var(--deep-red); }
.servings-btn-group span { font-weight: 700; font-size: 16px; min-width: 24px; text-align: center; }
.ingredients-list { list-style: none; }
.ingredients-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ing-check { color: var(--green-veg); font-weight: 700; flex-shrink: 0; }

/* Star rating */
.rating-card { text-align: center; }
.rating-card h3 { margin-bottom: 16px; font-size: 1.1rem; }
.star-rating { display: flex; justify-content: center; gap: 6px; font-size: 32px; cursor: pointer; color: #ddd; margin-bottom: 12px; }
.star-rating .star { transition: color .15s, transform .15s; }
.star-rating .star:hover, .star-rating .star.hover, .star-rating .star.filled { color: #f5a623; transform: scale(1.15); }
.rating-display { font-size: 18px; font-weight: 700; color: var(--text); }
.rating-count { font-size: 13px; color: var(--muted); margin-left: 6px; }

/* Instructions */
.instructions-list { list-style: none; counter-reset: steps; }
.instructions-list .step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--deep-red); color: white; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.step p { font-size: 15px; line-height: 1.7; }
.recipe-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.tag { background: var(--warm-cream); border: 1px solid var(--border); color: var(--muted); font-size: 12px; padding: 4px 12px; border-radius: 20px; transition: .15s; }
.tag:hover { background: var(--saffron); border-color: var(--saffron); color: white; }

/* Related */
.rd-related { background: white; }
.rd-related h2 { font-size: 1.8rem; margin-bottom: 28px; text-align: center; }

/* Comments */
.rd-comments { padding: 48px 0; background: var(--warm-cream); }
.comments-wrap { max-width: 820px; margin: 0 auto; }
.rd-comments h2 { font-size: 1.8rem; margin-bottom: 28px; }
.comment { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--saffron); color: white; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.comment-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.comment-meta strong { font-size: 15px; }
.comment-meta time { font-size: 12px; color: var(--muted); }
.comment p { font-size: 14px; line-height: 1.65; }
.no-comments { color: var(--muted); font-style: italic; padding: 20px 0; }
.comment-form-wrap { margin-top: 40px; }
.comment-form-wrap h3 { font-size: 1.3rem; margin-bottom: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--text); }
.form-group input, .form-group textarea { border: 2px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 14px; font-family: inherit; outline: none; background: white; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--saffron); }

/* ── Search Page ─────────────────────────────────────────────────────────────── */
.search-hero { background: var(--dark); color: white; padding: 15px 0; text-align: center; }
.search-hero h1 { font-size: 2.2rem; color: white; margin-bottom: 8px; }
.search-hero p  { color: rgba(255,255,255,.65); margin-bottom: 24px; }
.search-bar-big { display: flex; max-width: 560px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.search-bar-big input { flex: 1; padding: 15px 20px; border: none; font-size: 15px; outline: none; }
.search-bar-big button { padding: 15px 28px; background: var(--saffron); border: none; color: white; font-weight: 700; cursor: pointer; font-size: 15px; }
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 40px 0; align-items: start; }
.filters { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 120px; }
.filters h3 { font-size: 1.2rem; margin-bottom: 18px; color: var(--dark); }
.filter-group { margin-bottom: 22px; }
.filter-group label { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { font-size: 12px; padding: 5px 12px; border-radius: 20px; border: 1.5px solid var(--border); color: var(--muted); transition: .15s; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { background: var(--deep-red); border-color: var(--deep-red); color: white; }
.filter-chip.veg.active  { background: var(--green-veg); border-color: var(--green-veg); color: white; }
.filter-chip.nonveg.active { background: var(--red-nonveg); border-color: var(--red-nonveg); color: white; }
.filter-group select { width: 100%; padding: 9px 12px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; background: white; cursor: pointer; }
.clear-filters { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.clear-filters:hover { color: var(--deep-red); }
.no-results { text-align: center; padding: 60px 0; }
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h2 { margin-bottom: 8px; }
.no-results p { color: var(--muted); margin-bottom: 24px; }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 9px 16px; border-radius: 8px; border: 2px solid var(--border); font-size: 14px; font-weight: 700; color: var(--text); transition: .15s; }
.page-btn:hover, .page-current { background: var(--deep-red); border-color: var(--deep-red); color: white; }
.page-ellipsis { padding: 9px 6px; color: var(--muted); }

/* ── Category Page ───────────────────────────────────────────────────────────── */
.category-hero { background: var(--dark); color: white; padding: 48px 0; }
.category-hero h1 { font-size: 2.4rem; color: white; margin-bottom: 8px; }
.category-hero p  { color: rgba(255,255,255,.65); margin-bottom: 20px; }
.veg-toggle-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-btn { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; border: 2px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); transition: .15s; }
.toggle-btn:hover, .toggle-btn.active { background: white; color: var(--dark); border-color: white; }
.toggle-btn.veg.active    { background: #2e7d32; border-color: #2e7d32; color: white; }
.toggle-btn.nonveg.active { background: var(--red-nonveg); border-color: var(--red-nonveg); color: white; }
.category-page .container { padding: 40px 20px; }
.see-all { font-size: 14px; font-weight: 700; color: var(--saffron); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer-newsletter { background: var(--saffron); padding: 32px 0; }
.newsletter-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nl-text h3 { font-size: 1.3rem; color: white; }
.nl-text p  { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }
.nl-form { display: flex; gap: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.nl-form input { padding: 13px 18px; border: none; font-size: 14px; outline: none; min-width: 240px; }
.nl-form button { padding: 13px 22px; background: var(--dark); border: none; color: white; font-weight: 700; font-size: 14px; cursor: pointer; }
.site-footer .footer-main { background: var(--dark); color: rgba(255,255,255,.75); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; color: rgba(255,255,255,.55); }
.footer-links h4 { font-family: 'Playfair Display', serif; font-size: 15px; color: white; margin-bottom: 14px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-links li a:hover { color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.footer-tagline { color: rgba(255,255,255,.4); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rd-layout { grid-template-columns: 280px 1fr; }
  /* Thalis scale automatically via clamp() — no override needed above 768px */
}
@media (max-width: 900px) {
  /* Hide thalis at tablet size — not enough room beside content */
  .hero-thali { display: none; }
  .hero-content { max-width: 100%; padding: 48px 20px 40px; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-content { padding: 40px 16px 36px; gap: 14px; }
  .hero-thali { display: none; }
  .hf-btn { font-size: 12px; padding: 5px 12px; }
  .menu-toggle { display: block; }
  .nav-bar { display: none; }
  .nav-bar.nav-open { display: block; }
  .nav-list { flex-direction: column; }
  .dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.1); }
  .dropdown li a { color: rgba(255,255,255,.85); }
  .rd-layout { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box, .inline-nl { flex-direction: column; }
  .inl-form { width: 100%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .recipe-grid { grid-template-columns: 1fr; }
  .rd-stats { gap: 6px; }
  .stat { padding: 5px 10px !important; }
  .header-search { display: none; }
}

/* ── Cuisine Other States Dropdown ────────────────────────────────────────── */
.cuisine-dropdown-wrap { margin-top: 8px; }
.cuisine-other-select {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: white;
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
.cuisine-other-select:hover,
.cuisine-other-select:focus { border-color: var(--deep-red); }
.cuisine-other-select optgroup { font-weight: 700; color: var(--muted); font-size: 12px; }
.cuisine-other-select option:disabled { color: #bbb; font-style: italic; }

/* ── Health Filter (Dropdown) ─────────────────────────────────────────────── */
.healthy-filter-group { border-top: 1px solid var(--border); padding-top: 18px; }
.healthy-filter-label { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 12px; }
.clear-health-tag { display: inline-block; font-size: 12px; color: var(--deep-red); margin-bottom: 10px; font-weight: 600; }
.clear-health-tag:hover { text-decoration: underline; }
.health-dropdown-wrap { margin-top: 4px; }
.health-select {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: white;
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
.health-select:hover,
.health-select:focus { border-color: var(--deep-red); }
.health-select optgroup { font-weight: 700; color: var(--text); font-size: 12px; }

/* ── Health Info Banner ───────────────────────────────────────────────────── */
.health-info-banner { background: #f0fdf4; border-bottom: 1px solid #bbf7d0; padding: 14px 0; }
.health-info-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.health-info-icon { font-size: 1.4rem; }
.health-info-text { flex: 1; font-size: 14px; color: #166534; line-height: 1.5; }
.health-info-link { font-size: 13px; font-weight: 700; color: #15803d; white-space: nowrap; }
.health-info-link:hover { text-decoration: underline; }
.health-search-banner { display: flex; align-items: center; gap: 16px; }
.health-banner-icon { font-size: 2.5rem; }
.health-banner-focus { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ── Medical Disclaimer (global) ─────────────────────────────────────────── */
.medical-disclaimer-global { padding: 20px 0; background: #fff8e1; border-top: 1px solid #ffe082; }
.disclaimer-box {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.82rem; color: #666; line-height: 1.65;
  max-width: 900px; margin: 0 auto;
}
.disclaimer-box strong { color: #555; }
.disclaimer-icon { font-size: 1.5rem; flex-shrink: 0; }

/* ── Recipe Page Disclaimer ──────────────────────────────────────────────── */
.recipe-disclaimer {
  padding: 20px 0;
  margin: 10px 0 0;
  background: #fff8e1;
  border-top: 1px solid #ffe082;
  border-bottom: 1px solid #ffe082;
}
.recipe-disclaimer .disclaimer-box {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.82rem; color: #666; line-height: 1.65;
  max-width: 900px; margin: 0 auto;
}
.recipe-disclaimer .disclaimer-box strong { color: #555; }

