.food-status-section { width: 100%; max-width: 560px; margin-block: 8px 24px; }
.food-status-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.food-status-control { min-width: 0; padding: 14px; border: 1px solid #e2e8ef; border-radius: 16px; background: #f8fafc; }
.food-status-control label { display: block; margin-bottom: 10px; font-weight: 700; cursor: pointer; }
.food-status-control small { display: block; margin-top: 8px; font-size: 11px; color: #64748b; }
.food-status-toggle { display: flex; align-items: center; gap: 9px; min-height: 32px; }
.food-status-toggle input.food-ios-switch { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; flex: 0 0 51px; margin: 0; border: 0; border-radius: 999px; background: #b8bec7; cursor: pointer; position: relative; transition: background .2s ease; direction: ltr; }
.food-status-toggle input.food-ios-switch::before { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; background: #fff; border-radius: 50%; box-shadow: 0 2px 4px #0003; transition: transform .2s ease; }
.food-status-toggle input.food-ios-switch:checked { background: #34c759; }
.food-status-toggle input.food-ios-switch:checked::before { transform: translateX(20px); }
.food-status-toggle input.food-ios-switch:focus-visible { outline: 3px solid #1984fa; outline-offset: 3px; }
.food-status-toggle .status-on { display: none; }
.food-status-toggle input:checked ~ .status-on { display: inline; }
.food-status-toggle input:checked ~ .status-off { display: none; }
.food-status-toggle span { font-size: 12px; font-weight: 600; color: #475569; white-space: nowrap; }
.food-is-unavailable { filter: grayscale(1); background: linear-gradient(140deg, #f9fafb, #e9edf1) !important; border-color: #cbd1d8 !important; }
.food-is-unavailable > a > img,
.food-is-unavailable > .product-detail-media > img { filter: grayscale(1); opacity: .55; }
.food-unavailable-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 10px; margin-bottom: 8px; border: 1px solid #c2c9d1; border-radius: 999px; background: #eef0f3; color: #424c58; font-size: 12px; font-weight: 700; line-height: 1.5; }
.food-unavailable-action { margin: 0; padding: 9px 12px; border-radius: 9px; min-height: 38px; justify-content: center; white-space: nowrap; flex-shrink: 0; }
.dark .food-is-unavailable { background: #303640 !important; border-color: #68717d !important; }
[data-layout-mode="dark"] .food-status-control { background: #282f3c; border-color: #414b5d; }
[data-layout-mode="dark"] .food-status-toggle span,
[data-layout-mode="dark"] .food-status-control small { color: #c5ceda; }
@media (prefers-reduced-motion: reduce) { .food-status-toggle input.food-ios-switch, .food-status-toggle input.food-ios-switch::before { transition: none; } }
