/* Dolmeh v95.4: defensive layout for food controls + missing-image fallback.
   Original Unslop workflow by Damir Sokolovsky, CC BY 4.0.
   Cart styles are in assets/cart.css; this is NOT a replacement. */
html body .food-card .food-actions {
  flex: 0 0 auto !important;
  min-height: 44px;
  max-height: 52px;
  align-self: stretch;
}
html body .food-card .atc-btn {
  display: inline-flex !important;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  color: #fff !important;
  padding: 8px 15px !important;
  cursor: pointer;
}
html body .food-card .atc-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
html body .food-thumb > img.is-broken { display:none !important; }
html body .food-thumb .food-image-fallback {
  display:grid;
  place-items:center;
  position:absolute;
  inset:0;
  color:var(--dolmeh-accent,#C62828);
  background:var(--dolmeh-soft,#f1ede7);
  pointer-events:none;
}
@media (max-width: 760px) {
 html body .food-card .food-actions { margin-top: auto !important; }
}
