/* v1426 — Food desktop cart controls only. Mobile remains protected by v1418. */
@media (min-width: 640px) {
  /* Keep the internal close control compact; do not affect the full-screen outside-close backdrop. */
  body > [data-food-cart-drawer] > aside > div:first-child > button:not([data-food-cart-outside-close]),
  body > [data-food-cart-drawer] > [data-food-light-surface="cart-drawer"] > div:first-child > button:not([data-food-cart-outside-close]) {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    line-height: 1 !important;
  }

  /* Restore Lucide close / minus / plus / remove strokes inside the desktop Food cart. */
  body [data-food-cart-drawer] aside button svg,
  body [data-food-cart-drawer] [data-food-light-surface="cart-drawer"] button svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    color: currentColor !important;
    stroke: currentColor !important;
    fill: none !important;
    -webkit-text-fill-color: initial !important;
  }

  body [data-food-cart-drawer] aside button svg path,
  body [data-food-cart-drawer] aside button svg line,
  body [data-food-cart-drawer] aside button svg polyline,
  body [data-food-cart-drawer] aside button svg circle,
  body [data-food-cart-drawer] [data-food-light-surface="cart-drawer"] button svg path,
  body [data-food-cart-drawer] [data-food-light-surface="cart-drawer"] button svg line,
  body [data-food-cart-drawer] [data-food-light-surface="cart-drawer"] button svg polyline,
  body [data-food-cart-drawer] [data-food-light-surface="cart-drawer"] button svg circle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    stroke: currentColor !important;
    fill: none !important;
  }

  /* Quantity controls: preserve the intended compact 36px circles and dark icon contrast. */
  body [data-food-cart-drawer] [data-food-cart-scroll-body] [data-food-light-surface="cart-item"] .mt-4.flex.items-center.gap-2 > button:not(.ml-auto) {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
  }

  body [data-food-cart-drawer] [data-food-cart-scroll-body] [data-food-light-surface="cart-item"] button.ml-auto,
  body [data-food-cart-drawer] [data-food-cart-scroll-body] [data-food-light-surface="cart-item"] button.text-rose-700 {
    color: #be123c !important;
    -webkit-text-fill-color: #be123c !important;
  }
}

/* v1427 contract marker */
html[data-v1427-food-desktop-cart-controls-contract="protected"] { --sabihq-v1427-food-desktop-cart-controls: 1; }
