/* Option sheet outside the menu page (cart page): same look as the menu's sheet (menu.css). */
.mw-sheet { --mw-ink: #19232e; --mw-muted: #5b6670; --mw-red: #d62828; position: fixed; z-index: 100000; inset: 0; font-family: var(--maiwand-font, Arial, Helvetica, sans-serif); }
.mw-sheet[hidden] { display: none !important; }
.mw-sheet *, .mw-sheet *::before, .mw-sheet *::after { box-sizing: border-box; }
.mw-sheet__backdrop { position: absolute; inset: 0; background: rgb(15 20 25 / 55%); animation: mw-fade .2s ease; }
.mw-sheet__panel { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; height: 92vh; height: 92dvh; overflow: hidden; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -10px 40px rgb(0 0 0 / 25%); animation: mw-up .28s cubic-bezier(.2, .8, .2, 1); }
.mw-sheet__bar { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 12px 10px 18px; border-bottom: 1px solid #f1e8e1; }
.mw-sheet__handle { position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; border-radius: 4px; background: #e2d6cc; transform: translateX(-50%); }
.mw-sheet__title { margin: 4px 0 0; overflow: hidden; color: var(--mw-ink); font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mw-sheet__close { display: grid; flex: none; width: 40px; height: 40px; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f5eee8; color: var(--mw-ink); cursor: pointer; }
.mw-sheet__close svg { width: 18px; height: 18px; }
.mw-sheet__close:focus-visible { outline: 3px solid var(--mw-red); outline-offset: 2px; }
.mw-sheet__body { position: relative; flex: 1; min-height: 0; }
.mw-sheet__frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.mw-sheet__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; color: var(--mw-muted); font-size: 14px; }
.mw-sheet.is-ready .mw-sheet__loading { display: none; }
.mw-sheet .mw-spinner { width: 28px; height: 28px; border: 3px solid rgb(214 40 40 / 20%); border-top-color: var(--mw-red); border-radius: 50%; animation: mw-spin .7s linear infinite; }
html.mw-locked, html.mw-locked body { overflow: hidden; }

@media (min-width: 768px) {
  .mw-sheet__panel { top: 50%; right: auto; bottom: auto; left: 50%; width: min(600px, 92vw); height: min(86vh, 860px); border-radius: 20px; transform: translate(-50%, -50%); animation: mw-pop .22s ease; }
  .mw-sheet__handle { display: none; }
}
@keyframes mw-spin { to { transform: rotate(360deg); } }
@keyframes mw-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mw-pop { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) {
  .mw-sheet__panel, .mw-sheet__backdrop { animation: none; }
}

/* Cart lines: the dish name and photo are not links to a product page. */
.wc-block-cart-items .wc-block-components-product-name,
.wc-block-cart-item__image a { cursor: default; pointer-events: none; text-decoration: none !important; }
.wc-block-cart-items .wc-block-components-product-name { color: inherit !important; }
