/* MesaCheia */
.mesacheia-page .site-header{border-bottom:1px solid rgba(15,122,79,.12)}
.mesacheia-page .brand img{width:40px;height:40px;object-fit:contain;border-radius:14px}
.mc-hero{
  width:min(1180px,calc(100% - 32px));
  margin:30px auto;
  padding:34px;
  border-radius:34px;
  background:linear-gradient(135deg,#0f7a4f,#14aa70 62%,#ffe6a6);
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  color:#fff;
  box-shadow:0 18px 48px rgba(15,122,79,.18);
}
.mc-hero h1{font-size:clamp(2.5rem,7vw,5.4rem);line-height:.95;margin:10px 0;color:#fff}
.mc-hero p{font-size:1.15rem;color:#f2fff8;max-width:680px}
.mc-hero img{width:160px;height:160px;object-fit:contain;border-radius:34px;background:rgba(255,255,255,.24);padding:14px}
.mc-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.mc-hero-actions a,.mc-grid a,.mc-tool-actions button,.mc-inline-form button,.mc-leftover-form button,.mc-list-tools button{
  border:0;border-radius:999px;background:#073d2a;color:#fff;text-decoration:none;font-weight:950;padding:10px 14px;min-height:42px;cursor:pointer;
}
.mc-hero-actions a:nth-child(2){background:#fff;color:#0f7a4f}
.mc-search-card,.mc-principles,.mc-tool-hero,.mc-tool-card,.mc-guide-card{
  width:min(1180px,calc(100% - 32px));
  margin:22px auto;
  padding:24px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(5,34,74,.08);
  box-shadow:0 14px 34px rgba(5,34,74,.06);
}
.mc-search-card h2,.mc-principles h2,.mc-tool-hero h1,.mc-tool-card h2,.mc-guide-card h2{color:#05224a}
.mc-grid{
  width:min(1180px,calc(100% - 32px));
  margin:22px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}
.mc-grid article,.mc-principles article{
  padding:20px;
  border-radius:26px;
  background:#f7fff9;
  border:1px solid rgba(15,122,79,.14);
}
.mc-grid article span{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:999px;background:#0f7a4f;color:#fff;font-weight:950}
.mc-grid h2{color:#073d2a}
.mc-grid p,.mc-principles p,.mc-tool-hero p,.mc-guide-card p{color:#52647c;line-height:1.6}
.mc-principles>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.mc-tool-hero{background:linear-gradient(135deg,#f7fff9,#eefdf4)}
.mc-tool-hero h1{font-size:clamp(2.1rem,5vw,4.2rem);line-height:1;margin:10px 0}
.mc-planner-grid,.mc-budget-grid,.mc-inline-form{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
.mc-inline-form{align-items:end}
.mc-planner-grid label,.mc-budget-grid label,.mc-inline-form label,.mc-leftover-form label{
  display:grid;gap:7px;font-weight:950;color:#05224a;
}
.mc-planner-grid select,.mc-budget-grid input,.mc-inline-form input,.mc-inline-form select,.mc-leftover-form textarea{
  width:100%;
  border:1px solid rgba(5,34,74,.16);
  border-radius:16px;
  padding:12px;
  font:inherit;
  background:#fff;
  color:#05224a;
}
.mc-leftover-form textarea{min-height:150px;resize:vertical}
.mc-tool-actions,.mc-list-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.mc-output{
  margin-top:16px;
  padding:16px;
  border-radius:20px;
  background:#f7fff9;
  border:1px solid rgba(15,122,79,.14);
  color:#05224a;
}
.mc-shopping-list section{margin-top:16px}
.mc-check-item{
  display:flex!important;
  align-items:center;
  gap:10px;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid rgba(5,34,74,.08);
  margin:8px 0;
}
.mc-check-item span{flex:1;color:#05224a}
.mc-check-item button,.mc-pantry-item button{border:0;border-radius:999px;background:#ffe4e4;color:#8a1f1f;font-weight:950;cursor:pointer;padding:6px 10px}
.mc-pantry-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:16px}
.mc-pantry-item{display:grid;gap:6px;padding:14px;border-radius:18px;background:#f7fff9;border:1px solid rgba(15,122,79,.14)}
.mc-pantry-item strong{color:#073d2a}
.mc-pantry-item small{color:#52647c}
html[data-nb-theme="dark"] .mc-search-card,
html[data-nb-theme="dark"] .mc-principles,
html[data-nb-theme="dark"] .mc-tool-hero,
html[data-nb-theme="dark"] .mc-tool-card,
html[data-nb-theme="dark"] .mc-guide-card,
html[data-nb-theme="dark"] .mc-grid article,
html[data-nb-theme="dark"] .mc-principles article,
html[data-nb-theme="dark"] .mc-output,
html[data-nb-theme="dark"] .mc-check-item,
html[data-nb-theme="dark"] .mc-pantry-item{
  background:#0c2342!important;
  border-color:rgba(255,255,255,.16)!important;
}
html[data-nb-theme="dark"] .mc-grid h2,
html[data-nb-theme="dark"] .mc-tool-hero h1,
html[data-nb-theme="dark"] .mc-search-card h2,
html[data-nb-theme="dark"] .mc-principles h2,
html[data-nb-theme="dark"] .mc-tool-card h2,
html[data-nb-theme="dark"] .mc-guide-card h2,
html[data-nb-theme="dark"] .mc-planner-grid label,
html[data-nb-theme="dark"] .mc-budget-grid label,
html[data-nb-theme="dark"] .mc-inline-form label,
html[data-nb-theme="dark"] .mc-leftover-form label,
html[data-nb-theme="dark"] .mc-check-item span,
html[data-nb-theme="dark"] .mc-pantry-item strong{
  color:#fff!important;
}
html[data-nb-theme="dark"] .mc-grid p,
html[data-nb-theme="dark"] .mc-principles p,
html[data-nb-theme="dark"] .mc-tool-hero p,
html[data-nb-theme="dark"] .mc-guide-card p,
html[data-nb-theme="dark"] .mc-pantry-item small{
  color:#d9e9ff!important;
}
@media(max-width:760px){
  .mc-hero{grid-template-columns:1fr;padding:24px}
  .mc-hero img{width:126px;height:126px}
}

/* MesaCheia Plus */
.mc-plus-grid{
  width:min(1180px,calc(100% - 32px));
  margin:22px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}
.mc-plus-grid article,
.mc-price-warning{
  padding:20px;
  border-radius:26px;
  background:#fffaf0;
  border:1px solid rgba(15,122,79,.14);
  box-shadow:0 12px 28px rgba(5,34,74,.05);
}
.mc-plus-grid h2{color:#073d2a}
.mc-plus-grid p{color:#52647c;line-height:1.6}
.mc-plus-grid a,
.mc-recipe-buttons button,
.mc-cart-game-grid button{
  display:inline-flex;
  margin-top:8px;
  border:0;
  border-radius:999px;
  background:#0f7a4f;
  color:#fff;
  text-decoration:none;
  font-weight:950;
  padding:10px 14px;
  cursor:pointer;
}
.mc-recipe-buttons,
.mc-cart-game-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.mc-expiry-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
}
.mc-expiry-list article{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(5,34,74,.08);
}
.mc-expiry-list .urgent{background:#ffe9e9}
.mc-expiry-list .soon{background:#fff6df}
.mc-expiry-list .ok{background:#f0fff7}
.mc-price-controls{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
  align-items:end;
}
.mc-price-controls label{
  display:grid;
  gap:7px;
  font-weight:950;
  color:#05224a;
}
.mc-price-controls input,
.mc-price-controls select,
.mc-price-table input{
  width:100%;
  border:1px solid rgba(5,34,74,.16);
  border-radius:14px;
  padding:10px;
  font:inherit;
  color:#05224a;
  background:#fff;
}
.mc-price-controls button{
  border:0;
  border-radius:999px;
  background:#073d2a;
  color:#fff;
  min-height:42px;
  font-weight:950;
  cursor:pointer;
}
.mc-price-table-wrap{
  overflow:auto;
  margin-top:16px;
}
.mc-price-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 8px;
}
.mc-price-table th{
  text-align:left;
  color:#05224a;
}
.mc-price-table td{
  background:#f8fbff;
  padding:10px;
  border-top:1px solid rgba(5,34,74,.08);
  border-bottom:1px solid rgba(5,34,74,.08);
}
.mc-price-table td:first-child{
  border-left:1px solid rgba(5,34,74,.08);
  border-radius:14px 0 0 14px;
  font-weight:950;
  color:#05224a;
}
.mc-price-table td:last-child{
  border-right:1px solid rgba(5,34,74,.08);
  border-radius:0 14px 14px 0;
}
.mc-guide-list li{margin:.55rem 0;color:#52647c;line-height:1.55}
html[data-nb-theme="dark"] .mc-plus-grid article,
html[data-nb-theme="dark"] .mc-price-warning,
html[data-nb-theme="dark"] .mc-expiry-list article,
html[data-nb-theme="dark"] .mc-price-table td{
  background:#0c2342!important;
  border-color:rgba(255,255,255,.16)!important;
}
html[data-nb-theme="dark"] .mc-plus-grid h2,
html[data-nb-theme="dark"] .mc-price-controls label,
html[data-nb-theme="dark"] .mc-price-table th,
html[data-nb-theme="dark"] .mc-price-table td:first-child{
  color:#fff!important;
}
html[data-nb-theme="dark"] .mc-plus-grid p,
html[data-nb-theme="dark"] .mc-guide-list li{
  color:#d9e9ff!important;
}
html[data-nb-theme="dark"] .mc-price-controls input,
html[data-nb-theme="dark"] .mc-price-controls select,
html[data-nb-theme="dark"] .mc-price-table input{
  background:#071a32!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.22)!important;
}

/* MesaCheia More */
.mc-more-tools{
  width:min(1180px,calc(100% - 32px));
  margin:22px auto 34px;
  padding:24px;
  border-radius:28px;
  background:#f7fff9;
  border:1px solid rgba(15,122,79,.14);
}
.mc-more-tools h2{color:#073d2a;margin-top:0}
.mc-more-tools div{display:flex;flex-wrap:wrap;gap:10px}
.mc-more-tools a{
  display:inline-flex;
  border-radius:999px;
  background:#0f7a4f;
  color:#fff;
  padding:10px 14px;
  text-decoration:none;
  font-weight:950;
}
.mc-full-label{
  display:grid;
  gap:8px;
  font-weight:950;
  color:#05224a;
}
.mc-full-label input,
.mc-full-label textarea{
  width:100%;
  border:1px solid rgba(5,34,74,.16);
  border-radius:16px;
  padding:12px;
  font:inherit;
  background:#fff;
  color:#05224a;
}
.mc-full-label textarea{min-height:170px;resize:vertical}
html[data-nb-theme="dark"] .mc-more-tools{
  background:#0c2342!important;
  border-color:rgba(255,255,255,.16)!important;
}
html[data-nb-theme="dark"] .mc-more-tools h2,
html[data-nb-theme="dark"] .mc-full-label{
  color:#fff!important;
}
html[data-nb-theme="dark"] .mc-full-label input,
html[data-nb-theme="dark"] .mc-full-label textarea{
  background:#071a32!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.22)!important;
}