/* MarketFood Menú — editor del dueño (celular primero). */
.mf-editor{--mf-primary:#F3931B;--mf-title:#333;--mf-text:#797979;--mf-border:#E6E6E6;max-width:720px;margin:0 auto;font-family:"Open Sans",system-ui,sans-serif;color:var(--mf-title)}
.mf-editor *{box-sizing:border-box}
.mf-card{background:#fff;border:1px solid var(--mf-border);border-radius:12px;padding:16px;margin:0 0 14px}
.mf-editor h2,.mf-editor h3{font-family:Poppins,system-ui,sans-serif;color:var(--mf-title)}
.mf-editor h3{font-size:18px;margin:0 0 6px}
.mf-editor__title{margin:4px 0;font-size:22px}
.mf-editor__meta{margin:0 0 10px;color:var(--mf-text);font-size:14px}
.mf-plan{display:inline-block;font-size:12px;font-weight:700;padding:2px 8px;border-radius:6px;margin-right:6px}
.mf-plan--pro{background:var(--mf-primary);color:#fff}
.mf-plan--free{background:#F2F2F2;color:#555}
.mf-upsell{margin:10px 0 0;font-size:13px;background:#FFFAF0;border:1px solid #FFE0B2;border-radius:8px;padding:8px 10px;color:#8A4B00}
.mf-notice{background:#EFFAEA;border:1px solid #BFE6AE;color:#2F6B1A;border-radius:10px;padding:10px 14px;margin:0 0 14px;font-weight:600}
.mf-switch{margin-bottom:8px}
.mf-switch label{display:block;font-size:13px;color:var(--mf-text)}
.mf-editor select,.mf-editor input[type=text],.mf-editor input[type=url],.mf-editor input[type=number],.mf-editor textarea{width:100%;padding:10px 12px;border:1px solid var(--mf-border);border-radius:8px;font-size:16px;min-height:44px;background:#fff;color:var(--mf-title)}
.mf-editor label{font-size:14px;font-weight:600;display:block;margin-bottom:4px}
.mf-form p{margin:0 0 12px}
.mf-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mf-check label{font-weight:400;display:flex;gap:8px;align-items:center}
.mf-check input{width:20px;height:20px}
.mf-hint{font-size:13px;color:var(--mf-text)}
.mf-editor details>summary{list-style:none;cursor:pointer}
.mf-editor details>summary::-webkit-details-marker{display:none}
.mf-add>summary{display:block;text-align:center}
.mf-add[open]>summary{margin-bottom:14px}
.mf-btn{display:inline-block;background:var(--mf-primary);color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:700;font-size:15px;text-decoration:none;cursor:pointer;min-height:44px;line-height:24px}
.mf-btn--ghost{background:#fff;color:var(--mf-title);border:1px solid var(--mf-border)}
.mf-btn--warn{background:#fff;color:#B00020;border:1px solid #F3C2C9}
.mf-btn--ok{background:#73CF42}
.mf-btn--danger{background:#D0021B}
.mf-editor__items{list-style:none;margin:0;padding:0}
.mf-erow{border-top:1px solid var(--mf-border);padding:12px 0}
.mf-erow:first-child{border-top:0}
.mf-erow.is-agotado{opacity:.75}
.mf-erow__top{display:flex;gap:10px;align-items:center}
.mf-erow__img{width:52px;height:52px;object-fit:cover;border-radius:8px}
.mf-erow__name{font-weight:700;display:block}
.mf-erow__group{display:block;font-size:12px;color:var(--mf-text);text-transform:uppercase;letter-spacing:.04em}
.mf-badge{display:inline-block;font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px;margin:4px 4px 0 0}
.mf-badge--rec{background:#FFF3E0;color:#B85C00}
.mf-badge--out{background:#F2F2F2;color:#8A8A8A}
.mf-price-form{display:flex;align-items:center;gap:6px;margin:10px 0 8px}
.mf-price-form__cur{font-weight:700}
.mf-price-form input{max-width:110px}
.mf-actions{display:flex;flex-wrap:wrap;gap:6px}
.mf-inline{display:inline;margin:0}
.mf-erow__more{margin-top:8px}
.mf-erow__more>summary{color:var(--mf-primary);font-weight:700;padding:8px 0}
.mf-erow__more[open]{background:#FAFAFA;border-radius:10px;padding:0 10px 10px}
.mf-delete{margin-top:10px}
.mf-delete>summary{color:#D0021B;font-size:14px;padding:6px 0}
.mf-sections{list-style:none;padding:0;margin:12px 0 0}
.mf-sections li{border-top:1px solid var(--mf-border);padding:10px 0}
.mf-rename{display:flex;gap:6px;margin-top:8px}
.mf-import textarea{font-family:ui-monospace,Menlo,monospace;font-size:14px;margin-bottom:10px}
.mf-import code{font-size:13px;background:#F6F6F6;padding:2px 4px;border-radius:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media (max-width:420px){.mf-row{grid-template-columns:1fr}}
.mf-notice--error{background:#FDECEE;border-color:#F3C2C9;color:#9B0F22}
.mf-limit{background:#FFFAF0;border-color:#FFE0B2;color:#8A4B00}
.mf-limit p{margin:6px 0 0;font-size:14px}

/* ===== Blindaje contra estilos del tema y Elementor (v0.4) ===== */
.mf-editor{max-width:min(720px,100%);min-width:0;overflow-wrap:anywhere}
.mf-editor.mf-editor button,.mf-editor.mf-editor summary.mf-btn{font-family:inherit;text-transform:none;letter-spacing:normal;line-height:24px;box-shadow:none;margin:0;width:auto;height:auto;min-height:44px;padding:10px 14px;font-size:15px;font-weight:700;border-radius:8px;border:0;background:var(--mf-primary);color:#fff}
.mf-editor.mf-editor .mf-btn.mf-btn--ghost{background:#fff;color:#333;border:1px solid var(--mf-border)}
.mf-editor.mf-editor .mf-btn.mf-btn--warn{background:#fff;color:#B00020;border:1px solid #F3C2C9}
.mf-editor.mf-editor .mf-btn.mf-btn--ok{background:#73CF42;color:#fff}
.mf-editor.mf-editor .mf-btn.mf-btn--danger{background:#D0021B;color:#fff}
.mf-editor.mf-editor ul{list-style:none;margin:0;padding:0}
.mf-editor.mf-editor li::before{content:none}
.mf-editor.mf-editor input[type=text],.mf-editor.mf-editor input[type=tel],.mf-editor.mf-editor input[type=url],.mf-editor.mf-editor textarea,.mf-editor.mf-editor select{width:100%;max-width:100%;box-sizing:border-box}
.mf-editor.mf-editor .mf-price-form input{width:110px;min-width:0}
.mf-editor.mf-editor .mf-limit strong{display:block;font-size:16px;line-height:1.4}
