:root{
  --bg:#05070a;
  --card:#12171f;
  --soft:#1b2129;
  --line:#30363d;
  --green:#00f298;
  --blue:#007aff;
  --red:#ff453a;
  --yellow:#ffcc00;
  --text:#ffffff;
  --dim:#a0a0a0;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}
#recipe-card{
  scroll-margin-top:90px;
}

body{
  margin:0;
  background:
    radial-gradient(circle at 50% -10%, rgba(0,242,152,.16), transparent 35%),
    linear-gradient(180deg, #07120d 0%, #05070a 42%, #05070a 100%);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  padding-bottom:50px;
}

a{
  color:var(--green);
  text-decoration:none;
}

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(5,7,10,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
/* === RECETAS INDEX SEO === */
.recipe-tools{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0;
}

.recipe-tool-btn{
  background:#00ff9d;
  color:#041014;
  border:0;
  border-radius:14px;
  padding:11px 15px;
  font-weight:900;
  cursor:pointer;
}

.check-recipe-list{
  list-style:none;
  padding-left:0;
}

.check-recipe-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  background:#020617;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  margin-bottom:10px;
}

.check-recipe-list input{
  width:auto;
  margin-top:6px;
}

.check-recipe-list li.done{
  opacity:.55;
  text-decoration:line-through;
}

.timer-box{
  display:none;
  margin-top:14px;
  background:#020617;
  border:1px solid rgba(0,255,157,.25);
  border-radius:18px;
  padding:18px;
}

.timer-time{
  font-size:2rem;
  color:#00ff9d;
  font-weight:900;
}
.recipes-index-page{
  max-width:1100px;
  margin:0 auto;
  padding:44px 20px;
}

.recipes-index-hero{
  text-align:center;
  margin:0 auto 34px;
  max-width:900px;
}

.recipes-index-hero h1{
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  letter-spacing:-.06em;
  margin:0 0 18px;
}
.related-recipes-grid{
  max-width:720px;
  grid-template-columns:repeat(2,1fr);
}

@media(max-width:700px){
  .related-recipes-grid{
    grid-template-columns:1fr;
  }
}
.recipes-index-hero p{
  color:#94a3b8;
  max-width:820px;
  margin:0 auto;
  font-size:1.08rem;
  line-height:1.6;
}

.recipes-index-page .cards-scroll{
  max-width:940px;
  margin:0 auto;
}

.recipe-card-title{
  font-size:1.05rem;
  line-height:1.25;
  margin:0 0 12px;
}

.recipe-card-title a{
  color:#fff;
}

.recipe-card-title a:hover{
  color:#00ff9d;
}

@media(max-width:700px){
  .recipes-index-page{
    padding:30px 16px;
  }

  .recipes-index-hero{
    text-align:left;
  }

  .recipes-index-hero h1{
    font-size:2.25rem;
  }

  .recipes-index-hero p{
    font-size:1rem;
  }
}
.header-inner{
  max-width:1100px;
  margin:auto;
  padding:16px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.logo{
  font-size:1.35rem;
  font-weight:900;
  color:var(--green);
  letter-spacing:-.04em;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.app-download-box{
  margin-top:26px;
  padding:24px;
  border-radius:24px;
  background:linear-gradient(135deg,#052e1a,#07111f);
  border:1px solid rgba(0,255,157,.28);
  text-align:center;
}

.app-download-box h3{
  margin:0 0 10px;
  color:#00ff9d;
  font-size:1.5rem;
}

.app-download-box p{
  color:#cbd5e1;
  max-width:680px;
  margin:0 auto 18px;
  line-height:1.5;
}

.app-buttons{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.store-btn{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:180px;
  padding:13px 18px;
  border-radius:16px;
  text-decoration:none;
  background:#020617;
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:0 14px 35px rgba(0,0,0,.28);
}

.store-btn span{
  font-size:.78rem;
  color:#94a3b8;
}

.store-btn strong{
  font-size:1.1rem;
}
.nav a{
  font-weight:900;
  font-size:.96rem;
}

.container{
  max-width:980px;
  margin:auto;
  padding:34px 20px;
}

.hero{
  max-width:900px;
  margin:30px auto 26px;
  text-align:center;
}

.hero-text{
  max-width:780px;
  margin:auto;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  padding:9px 15px;
  border-radius:999px;
  background:rgba(0,242,152,.12);
  color:var(--green);
  border:1px solid rgba(0,242,152,.35);
  font-weight:900;
  font-size:.92rem;
}

h1{
  font-size:3.15rem;
  line-height:1.08;
  letter-spacing:-.07em;
  margin:0 auto 18px;
  max-width:820px;
}

h2{
  color:var(--green);
  font-size:1.9rem;
  letter-spacing:-.04em;
  margin-top:0;
  margin-bottom:12px;
}

h3{
  margin:22px 0 10px;
  font-size:1.1rem;
}

p,
label,
li{
  font-size:1.05rem;
  line-height:1.65;
}

.small{
  color:var(--dim);
  font-size:.95rem;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:26px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:auto;
  min-width:210px;
  padding:17px 22px;
  border:0;
  border-radius:18px;
  background:var(--green);
  color:#000;
  font-size:1rem;
  font-weight:900;
  cursor:pointer;
  text-align:center;
  box-shadow:0 12px 28px rgba(0,242,152,.12);
}

.btn.blue{
  width:100%;
  background:var(--blue);
  color:#fff;
  box-shadow:0 12px 28px rgba(0,122,255,.16);
}

.btn.dark{
  background:#242b35;
  color:#fff;
  box-shadow:none;
}

.card{
  background:rgba(18,23,31,.96);
  border:1px solid rgba(255,255,255,.13);
  border-radius:30px;
  padding:30px;
  margin-bottom:30px;
  box-shadow:0 18px 45px rgba(0,0,0,.45);
}

.analyzer-card{
  max-width:980px;
  margin:34px auto 26px;
  clear:both;
}

.step-label{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:#0d1117;
  color:var(--yellow);
  border:1px solid var(--line);
  font-weight:900;
  font-size:.9rem;
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}


.range-box{
  background:#0d1117;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:20px;
  margin-bottom:20px;
}

.range-box label{
  display:block;
  font-weight:800;
  margin-bottom:12px;
}

.range-box strong{
  color:var(--yellow);
  font-size:1.35rem;
}

input[type=range]{
  width:100%;
  accent-color:var(--green);
}

input,
select{
  width:100%;
  padding:15px;
  border-radius:15px;
  border:1px solid var(--line);
  background:#0d1117;
  color:#fff;
  margin-bottom:14px;
  font-size:1rem;
}

.tag-select{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 18px;
}

.tag{
  background:#21262d;
  border:2px solid var(--line);
  padding:11px 15px;
  border-radius:16px;
  cursor:pointer;
  font-weight:900;
  user-select:none;
  transition:.18s ease;
}

.tag:hover{
  transform:translateY(-1px);
  border-color:rgba(0,242,152,.45);
}

.tag.selected{
  border-color:var(--green);
  color:var(--green);
  background:rgba(0,242,152,.12);
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  max-width:980px;
  margin:34px auto 34px;
}

.feature{
  background:rgba(13,17,23,.86);
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  padding:24px;
  min-height:180px;
}

.feature h3{
  margin-top:0;
}

.hidden{
  display:none;
}

.result-card{
  max-width:900px;
  margin:30px auto;
}

.score{
  width:160px;
  height:160px;
  border:5px solid var(--green);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 24px;
  font-size:2.4rem;
  font-weight:900;
  box-shadow:0 0 40px rgba(0,242,152,.12);
}

.alert{
  background:rgba(255,204,0,.12);
  border-left:6px solid var(--yellow);
  border-radius:16px;
  padding:18px;
  margin-bottom:18px;
}

.alert h3{
  margin-top:0;
}

.ok{
  background:rgba(0,242,152,.12);
  border-left-color:var(--green);
}

.danger{
  background:rgba(255,69,58,.13);
  border-left-color:var(--red);
}

.info{
  background:rgba(0,122,255,.12);
  border-left-color:var(--blue);
}

.inner-card{
  background:#0d1117;
  box-shadow:none;
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.mobile-bottom-nav{
  display:none;
}

@media(max-width:800px){
  body{
    padding-bottom:82px;
  }

  .mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999;
    height:72px;
    background:rgba(5,15,10,.96);
    backdrop-filter:blur(16px);
    border-top:1px solid rgba(0,255,157,.25);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    padding:8px 6px calc(8px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav a{
    color:#7fa08d;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font-weight:900;
    font-size:.72rem;
  }

  .mobile-bottom-nav a span{
    font-size:1.25rem;
    line-height:1;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav a:hover{
    color:#00ff9d;
  }
}
.kcal{
  color:var(--yellow);
  font-weight:900;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#0d1117;
  border-radius:16px;
  overflow:hidden;
}

td,
th{
  border:1px solid var(--line);
  padding:13px;
  text-align:left;
  vertical-align:top;
}

th{
  background:#1b2129;
  color:var(--green);
}
.premium-dish-card{
  background:linear-gradient(180deg,#111827,#050816);
  border:1px solid rgba(0,255,170,.22);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.premium-dish-img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:#94a3b8;
  margin-bottom:20px;
  font-size:.92rem;
}

.breadcrumbs a{
  color:#00ff9d;
  font-weight:800;
}

.breadcrumbs strong{
  color:#cbd5e1;
}
.premium-dish-img.placeholder{
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:54px;
  background:#111827;
}

.premium-dish-body{
  padding:16px;
}

.premium-dish-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:10px;
}

.premium-dish-top strong{
  color:#00ff9d;
  font-size:1.05rem;
  line-height:1.2;
}

.premium-dish-top span{
  background:rgba(0,255,157,.12);
  border:1px solid rgba(0,255,157,.35);
  color:#00ff9d;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  white-space:nowrap;
}

.premium-dish-btn{
  width:100%;
  margin-top:12px;
  background:#00ff9d;
  color:#061014;
  border:0;
  border-radius:14px;
  padding:12px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:800px){
  .header-inner{
    align-items:flex-start;
    flex-direction:column;
    padding:14px 18px;
  }

  .nav{
    gap:14px;
  }

  .container{
    padding:24px 16px;
  }

  .hero{
    text-align:left;
    margin-top:22px;
  }

  h1{
    font-size:2.25rem;
  }

  h2{
    font-size:1.55rem;
  }

  .hero-actions{
    justify-content:flex-start;
  }

  .btn{
    width:100%;
  }

  .row,
  .feature-grid,
  .mini-grid{
    grid-template-columns:1fr;
  }

  .card{
    padding:22px;
    border-radius:24px;
  }
.feature,
.card,
.range-box{
  overflow:hidden;
}
.feature-grid{
    grid-template-columns:1fr;
    gap:18px;
    margin:24px auto;
  }
    .row{
    grid-template-columns:1fr;
    gap:18px;
  }
}
.photo-card{
  border-color:rgba(0,242,152,.28);
}

.upload-box{
  min-height:260px;
  border:2px dashed rgba(0,242,152,.35);
  border-radius:26px;
  background:rgba(0,242,152,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  margin:20px 0;
  padding:20px;
  transition:.2s ease;
}

.upload-box:hover{
  border-color:var(--green);
  background:rgba(0,242,152,.09);
}

.upload-icon{
  font-size:3rem;
  margin-bottom:12px;
}

#uploadPlaceholder{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--text);
}

#uploadPlaceholder span{
  color:var(--dim);
  font-size:.92rem;
}

.food-preview{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:22px;
  display:block;
}

.ai-result{
  margin-top:24px;
}

.score-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:20px 0;
}

.score-mini{
  background:#0d1117;
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
  text-align:center;
}

.score-mini strong{
  display:block;
  font-size:1.6rem;
  margin-bottom:6px;
}

.score-mini span{
  color:var(--dim);
  font-size:.9rem;
  font-weight:800;
}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:#94a3b8;
  margin-bottom:20px;
  font-size:.92rem;
}

.breadcrumbs a{
  color:#00ff9d;
  font-weight:800;
}

.breadcrumbs strong{
  color:#cbd5e1;
}
.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}

.faq-item p {
  font-size: 14px;
  line-height: 1.5;
  color: #aaa;
}
.rating-form{
  margin-top:18px;
  background:#020617;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
}

.rating-form select{
  margin:10px 0 14px;
}

.related-recipes-grid{
  max-width:720px;
  grid-template-columns:repeat(2,1fr);
}

@media(max-width:700px){
  .related-recipes-grid{
    grid-template-columns:1fr;
  }
}
.good-score{
  border-color:rgba(0,242,152,.4);
}

.good-score strong{
  color:var(--green);
}

.mid-score{
  border-color:rgba(255,204,0,.4);
}

.mid-score strong{
  color:var(--yellow);
}

.warn-score{
  border-color:rgba(255,69,58,.35);
}

.warn-score strong{
  color:var(--red);
}
.variants-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
    margin-top:15px;
}

.variant-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
    padding:18px;
}

.variant-card strong{
    display:block;
    margin-bottom:10px;
    color:#00f298;
    font-size:1rem;
}

.variant-card p{
    color:#ccc;
    font-size:.92rem;
    line-height:1.5;
}

.variant-card span{
    display:inline-block;
    margin-top:12px;
    color:#ffd166;
    font-weight:700;
}
.pill-soft{
  display:inline-block;
  background:#1f2937;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  padding:8px 12px;
  margin:4px;
  font-weight:800;
}
.hero-premium{
  padding:70px 20px 50px;
  background:
    radial-gradient(circle at top,#064e3b 0,#02140f 45%,#05070b 100%);
}

.hero-inner{
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}

.hero-badge{
  display:inline-block;
  background:rgba(0,255,157,.12);
  border:1px solid rgba(0,255,157,.35);
  color:#00ff9d;
  padding:8px 16px;
  border-radius:999px;
  font-weight:800;
  margin-bottom:18px;
}

.hero-inner h1{
  max-width:900px;
  margin:0 auto 18px;
  font-size:clamp(38px,6vw,72px);
  line-height:.95;
  letter-spacing:-2px;
  color:#fff;
}

.hero-subtitle{
  max-width:760px;
  margin:0 auto 28px;
  color:#cbd5e1;
  font-size:1.15rem;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:38px;
}

.btn-main,.btn-secondary{
  text-decoration:none;
  padding:15px 28px;
  border-radius:18px;
  font-weight:900;
}

.btn-main{
  background:#00ff9d;
  color:#041014;
}

.btn-secondary{
  background:#1f2937;
  color:#fff;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  text-align:left;
}
.dynamic-home{
  max-width:1300px;
  margin:40px auto;
  padding:0 20px;
}

.home-section{
  margin-bottom:50px;
}

.section-head{
  margin-bottom:20px;
}

.section-head h2{
  color:#fff;
  font-size:2rem;
  margin-bottom:6px;
}

.section-head p{
  color:#94a3b8;
}

.cards-scroll{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  max-width:900px;
  margin:0 auto;
}
.food-card{
  display:flex;
  flex-direction:column;
  min-height:320px;
}

.food-content{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.food-content strong{
  min-height:48px;
}

.food-btn{
  margin-top:auto;
  width:max-content;
}
.search-explore-section{
  max-width:1200px;
  margin:50px auto;
  padding:0 20px;
}

.search-panel{
  display:grid;
  grid-template-columns:1fr 180px 140px;
  gap:12px;
  background:#07111f;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:14px;
  margin-bottom:22px;
}

.search-panel input,
.search-panel select{
  background:#020617;
  color:#fff;
  border:1px solid #334155;
  border-radius:14px;
  padding:14px;
}

.search-panel button{
  background:#00ff9d;
  color:#041014;
  border:0;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}

.search-results-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

.search-result-card{
  background:#07111f;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  overflow:hidden;
}

.search-result-card img,
.search-no-img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#020617;
  font-size:42px;
}

.search-result-content{
  padding:16px;
}

.result-type{
  display:inline-block;
  color:#00ff9d;
  font-size:.8rem;
  font-weight:800;
  margin-bottom:8px;
}

.search-result-content strong{
  display:block;
  color:#fff;
  margin-bottom:8px;
}

.search-result-content p{
  color:#94a3b8;
}
@media(max-width:900px){
  .cards-scroll{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:600px){
  .cards-scroll{
    grid-template-columns:1fr;
  }
}

.food-card{
  background:#07111f;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  overflow:hidden;
  transition:.25s;
}

.food-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,255,157,.4);
}

.food-image{
  height:190px;
  overflow:hidden;
}

.food-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.food-content{
  padding:18px;
}

.food-content strong{
  display:block;
  color:#fff;
  margin-bottom:10px;
  font-size:1.05rem;
}

.food-content small{
  display:block;
  color:#94a3b8;
  margin-bottom:14px;
}
.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  margin:36px 0;
  flex-wrap:wrap;
}

.pagination a,
.pagination span{
  background:#07111f;
  border:1px solid rgba(255,255,255,.1);
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
}
.food-btn{
  display:inline-block;
  background:#00ff9d;
  color:#041014;
  text-decoration:none;
  padding:10px 16px;
  border-radius:12px;
  font-weight:800;
}
.feature-card{
  background:rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  padding:20px;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
}

.feature-card strong{
  display:block;
  color:#fff;
  margin:10px 0 8px;
  font-size:1.05rem;
}

.feature-card span{
  color:#94a3b8;
  line-height:1.45;
}
.ok-pill{
  border-color:rgba(0,242,152,.45);
  color:#00f298;
}

.variants-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
  margin-top:14px;
}

.variant-card{
  background:#111827;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
}

.variant-card strong{
  color:#00f298;
  display:block;
  margin-bottom:8px;
}

.variant-card p{
  color:#bbb;
  font-size:.92rem;
}
.food-card.no-image{
  padding:18px;
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.food-card.no-image .food-content{
  padding:0;
}

.food-card.no-image strong{
  font-size:1.05rem;
  line-height:1.3;
  min-height:auto;
}

.food-card.no-image small{
  margin:8px 0 14px;
  display:block;
}

.food-card.no-image .food-btn{
  margin-top:auto;
}
@media(max-width:800px){
  .score-row{
    grid-template-columns:1fr;
  }

  .upload-box{
    min-height:210px;
  }
}
.upload-box{
  min-height:180px;
  max-height:280px;
}

.food-preview{
  width:100%;
  max-width:360px;
  max-height:240px;
  object-fit:cover;
  border-radius:18px;
  margin:auto;
}

@media(max-width:800px){
  .food-preview{
    max-width:100%;
    max-height:190px;
  }

  .upload-box{
    min-height:150px;
    max-height:220px;
    padding:12px;
  }
}
.food-search-box{
  margin:20px 0;
}

.food-results{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin:12px 0 20px;
}

.food-result-item,
.selected-food-chip{
  background:#21262d;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
}

.food-result-item:hover{
  border-color:var(--green);
  color:var(--green);
}

.selected-foods{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.selected-food-chip{
  border-color:var(--green);
  color:var(--green);
  background:rgba(0,242,152,.10);
}

.selected-food-chip span{
  color:#fff;
  margin-left:8px;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
  margin:18px 0 24px;
}

.category-chip{
  background:#21262d;
  color:#fff;
  border:1px solid var(--line);
  padding:14px;
  border-radius:16px;
  font-weight:900;
  cursor:pointer;
  text-align:left;
}

.category-chip:hover{
  border-color:var(--green);
  color:var(--green);
}

.category-chip span{
  display:block;
  margin-top:6px;
  color:var(--dim);
  font-size:.85rem;
}

.food-category-box{
  margin-top:20px;
}
/* =========================
   NORMALIZACIÓN FINAL BODYDIET AI
   ========================= */

.cards-scroll{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:900px;
  margin:0 auto;
}

.food-card{
  background:#07111f;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  overflow:hidden;
  transition:.25s;
  display:flex;
  flex-direction:column;
  min-height:320px;
}

.food-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,255,157,.4);
}

.food-image{
  height:190px;
  overflow:hidden;
  background:#020617;
}

.food-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.no-img{
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  background:#020617;
}

.food-content{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.food-content strong{
  display:block;
  color:#fff;
  margin-bottom:10px;
  font-size:1.05rem;
  min-height:48px;
}

.food-content small{
  display:block;
  color:#94a3b8;
  margin-bottom:14px;
}

.food-btn{
  display:inline-block;
  background:#00ff9d;
  color:#041014;
  text-decoration:none;
  padding:10px 16px;
  border-radius:12px;
  font-weight:800;
  border:0;
  cursor:pointer;
  margin-top:auto;
  width:max-content;
}

.food-card.no-image{
  min-height:180px;
  padding:18px;
}

.food-card.no-image .food-content{
  padding:0;
}

.food-card.no-image strong{
  min-height:auto;
}

@media(max-width:900px){
  .cards-scroll{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .cards-scroll{
    grid-template-columns:1fr;
  }
}
/* === RECETA MOBILE PRO FIX === */

.recipe-page{
  overflow-x:hidden;
}

.recipe-section{
  overflow:hidden;
}

.recipe-meta,
.health-badges,
.recipe-section .tag-pill{
  max-width:100%;
}
.recipe-step-image{
  width:100%;
  max-height:360px;
  object-fit:cover;
  border-radius:18px;
  margin:12px 0 18px;
  border:1px solid rgba(255,255,255,.08);
}

.health-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.health-analysis-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}

.health-analysis-card{
  background:#020617;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px;
  color:#cbd5e1;
}

.health-analysis-card strong{
  display:block;
  color:#00ff9d;
  margin-bottom:8px;
}

@media(max-width:700px){
  .recipe-page{
    padding:0 14px;
    margin:24px auto;
  }

  .recipe-hero,
  .recipe-section,
  .cta-app{
    padding:20px;
    border-radius:22px;
  }

  .recipe-meta{
    gap:8px;
  }

  .recipe-meta span,
  .tag-pill{
    font-size:.86rem;
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .recipe-image{
    max-height:300px;
  }
}
.recipe-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.recipe-meta span,
.tag-pill,
.health-badges .tag-pill{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.25;
}

.health-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

@media(max-width:600px){
  .recipe-page{
    padding:0 14px;
    margin:24px auto;
  }

  .recipe-hero,
  .recipe-section,
  .cta-app{
    border-radius:22px;
    padding:20px;
  }

  .recipe-hero h1{
    font-size:2rem;
    line-height:1.1;
    letter-spacing:-.04em;
  }

  .recipe-section h2{
    font-size:1.45rem;
    line-height:1.2;
  }

  .recipe-section p,
  .recipe-section li{
    font-size:1rem;
    line-height:1.55;
  }

  .nutrition-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .recipe-meta span,
  .tag-pill{
    font-size:.88rem;
    padding:7px 10px;
  }
}
.footer-seo{
  max-width:1100px;
  margin:50px auto 20px;
  padding:24px 20px;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,.1);
}

.footer-seo a{
  display:inline-block;
  margin:8px 14px 0 0;
  font-weight:800;
}
/* FIX buscador global móvil */
@media(max-width:700px){
  .search-explore-section{
    padding:0 16px;
    margin:36px auto;
  }

  .search-panel{
    grid-template-columns:1fr;
    gap:12px;
    padding:14px;
  }

  .search-panel input,
  .search-panel select,
  .search-panel button{
    width:100%;
    min-width:0;
  }

  .search-panel button{
    padding:15px;
  }
}