/* Food Menu Widget */
.fmw-menu-wrap{
  --fmw-primary:#a81f1f;
  --fmw-primary-dark:#7f1717;
  --fmw-accent:#f4b63f;
  --fmw-bg:#fffaf5;
  --fmw-card:#ffffff;
  --fmw-text:#1f1f1f;
  --fmw-muted:#6f6f6f;
  --fmw-border:rgba(168,31,31,.10);
  max-width:1280px;
  margin:0 auto;
  padding:24px;
  color:var(--fmw-text);
  font-family:inherit;
}

.fmw-topbar{
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:20px;
  align-items:end;
  background:linear-gradient(135deg,#fff8f1 0%,#fff 45%,#fff7f0 100%);
  border:1px solid var(--fmw-border);
  border-radius:28px;
  padding:28px;
  box-shadow:0 10px 35px rgba(0,0,0,.05);
  margin-bottom:22px;
}

.fmw-kicker{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--fmw-primary);
  margin-bottom:8px;
}

.fmw-title{
  font-size:clamp(28px,4vw,46px);
  line-height:1.08;
  margin:0 0 10px;
  font-weight:800;
}

.fmw-subtitle{
  margin:0;
  color:var(--fmw-muted);
  font-size:15px;
  line-height:1.7;
}

.fmw-search-box{
  width:100%;
}

.fmw-search-input{
  width:100%;
  height:60px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  padding:0 18px;
  font-size:16px;
  outline:none;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
  transition:.25s ease;
}

.fmw-search-input:focus{
  border-color:rgba(168,31,31,.25);
  box-shadow:0 10px 26px rgba(168,31,31,.08);
}

.fmw-results-note{
  margin:10px 4px 26px;
  font-size:14px;
  color:var(--fmw-muted);
}

.fmw-category-section{
  margin-bottom:34px;
}

.fmw-category-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.fmw-category-title{
  margin:0;
  font-size:clamp(22px,2.8vw,30px);
  font-weight:800;
  color:var(--fmw-primary);
}

.fmw-category-count{
  font-size:13px;
  color:var(--fmw-muted);
  background:#fff6e6;
  border:1px solid rgba(244,182,63,.35);
  padding:6px 12px;
  border-radius:999px;
  white-space:nowrap;
}

.fmw-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.fmw-card{
  background:var(--fmw-card);
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.fmw-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 36px rgba(0,0,0,.08);
  border-color:rgba(168,31,31,.14);
}

.fmw-image-wrap{
  position:relative;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#f7f7f7;
}

.fmw-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.fmw-card:hover .fmw-image{
  transform:scale(1.05);
}

.fmw-no-image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:#777;
  font-size:14px;
}

.fmw-price-badge{
  position:absolute;
  top:14px;
  right:14px;
  background:var(--fmw-primary);
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(168,31,31,.28);
}

.fmw-card-body{
  padding:18px 18px 16px;
}

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

.fmw-item-title{
  margin:0;
  font-size:20px;
  line-height:1.25;
  font-weight:800;
}

.fmw-rating-wrap{
  text-align:right;
  flex-shrink:0;
}

.fmw-stars{
  display:block;
  color:var(--fmw-accent);
  font-size:14px;
  line-height:1;
}

.fmw-rating-number{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:var(--fmw-muted);
  font-weight:700;
}

.fmw-desc{
  margin:0 0 14px;
  font-size:14px;
  line-height:1.7;
  color:var(--fmw-muted);
}

.fmw-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:auto;
}

.fmw-category-pill{
  font-size:12px;
  font-weight:700;
  color:var(--fmw-primary);
  background:#fff3f3;
  border:1px solid rgba(168,31,31,.12);
  padding:7px 10px;
  border-radius:999px;
}

.fmw-inline-price{
  font-size:18px;
  font-weight:800;
  color:var(--fmw-primary-dark);
}

.fmw-no-results,
.fmw-empty{
  text-align:center;
  padding:40px 20px;
  border:1px dashed rgba(0,0,0,.12);
  border-radius:24px;
  background:#fff;
}

.fmw-no-results h4,
.fmw-empty h4{
  margin:0 0 8px;
}

@media (max-width: 1024px){
  .fmw-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fmw-topbar{grid-template-columns:1fr;}
}

@media (max-width: 767px){
  .fmw-menu-wrap{padding:16px;}
  .fmw-topbar{padding:18px;border-radius:22px;}
  .fmw-grid{grid-template-columns:1fr;}
  .fmw-item-title{font-size:18px;}
  .fmw-search-input{height:54px;}
}
