/* FOODYA Menu Layouts 2.6
   No cambia fondos globales. El color elegido solo aplica a botones, filtros activos y líneas. */

#foodya-menu-root,
.foodya-menu-root,
.foodya-menu{
  --fy-layout-accent:#ff6a00;
  --fy-layout-line:#ff6a00;
  --fy-layout-text:#111;
  --fy-layout-muted:#666;
  --fy-layout-border:#e8e8e8;
  --fy-layout-font:inherit;
}

#foodya-menu-root.fy-font-system,.foodya-menu-root.fy-font-system,.foodya-menu.fy-font-system{--fy-layout-font:inherit;}
#foodya-menu-root.fy-font-inter,.foodya-menu-root.fy-font-inter,.foodya-menu.fy-font-inter{--fy-layout-font:Inter,Arial,sans-serif;}
#foodya-menu-root.fy-font-poppins,.foodya-menu-root.fy-font-poppins,.foodya-menu.fy-font-poppins{--fy-layout-font:Poppins,Arial,sans-serif;}
#foodya-menu-root.fy-font-montserrat,.foodya-menu-root.fy-font-montserrat,.foodya-menu.fy-font-montserrat{--fy-layout-font:Montserrat,Arial,sans-serif;}
#foodya-menu-root.fy-font-roboto,.foodya-menu-root.fy-font-roboto,.foodya-menu.fy-font-roboto{--fy-layout-font:Roboto,Arial,sans-serif;}

#foodya-menu-root.fy-layouts-on,
#foodya-menu-root.fy-layouts-on *,
.foodya-menu-root.fy-layouts-on,
.foodya-menu-root.fy-layouts-on *,
.foodya-menu.fy-layouts-on,
.foodya-menu.fy-layouts-on *{font-family:var(--fy-layout-font) !important;}

/* Texto neutral, legible */
#foodya-menu-root.fy-layouts-on .fy-title,
#foodya-menu-root.fy-layouts-on .fy-price,
.foodya-menu-root.fy-layouts-on .fy-title,
.foodya-menu-root.fy-layouts-on .fy-price,
.foodya-menu.fy-layouts-on .fy-title,
.foodya-menu.fy-layouts-on .fy-price{color:#111 !important;}
#foodya-menu-root.fy-layouts-on .fy-desc,
.foodya-menu-root.fy-layouts-on .fy-desc,
.foodya-menu.fy-layouts-on .fy-desc{color:#666 !important;}

/* SOLO acento: filtros activos, botones y líneas */
#foodya-menu-root.fy-layouts-on .fy-cat.active,
#foodya-menu-root.fy-layouts-on .fy-subcat.active,
.foodya-menu-root.fy-layouts-on .fy-cat.active,
.foodya-menu-root.fy-layouts-on .fy-subcat.active,
.foodya-menu.fy-layouts-on .fy-cat.active,
.foodya-menu.fy-layouts-on .fy-subcat.active{
  background:var(--fy-layout-accent) !important;
  border-color:var(--fy-layout-accent) !important;
  color:#fff !important;
}
#foodya-menu-root.fy-layouts-on .fy-cat:not(.active),
#foodya-menu-root.fy-layouts-on .fy-subcat:not(.active),
.foodya-menu-root.fy-layouts-on .fy-cat:not(.active),
.foodya-menu-root.fy-layouts-on .fy-subcat:not(.active),
.foodya-menu.fy-layouts-on .fy-cat:not(.active),
.foodya-menu.fy-layouts-on .fy-subcat:not(.active){
  background:#fff !important;
  color:#111 !important;
  border-color:#e5e5e5 !important;
}
#foodya-menu-root.fy-layouts-on .fy-plus,
#foodya-menu-root.fy-layouts-on button.fy-plus,
#foodya-menu-root.fy-layouts-on .fy-qtybtns button:last-child,
.foodya-menu-root.fy-layouts-on .fy-plus,
.foodya-menu-root.fy-layouts-on button.fy-plus,
.foodya-menu-root.fy-layouts-on .fy-qtybtns button:last-child,
.foodya-menu.fy-layouts-on .fy-plus,
.foodya-menu.fy-layouts-on button.fy-plus,
.foodya-menu.fy-layouts-on .fy-qtybtns button:last-child{
  background:var(--fy-layout-accent) !important;
  border-color:var(--fy-layout-accent) !important;
  color:#fff !important;
}
#foodya-menu-root.fy-layouts-on .fy-minus,
#foodya-menu-root.fy-layouts-on button.fy-minus,
#foodya-menu-root.fy-layouts-on .fy-qtybtns button:first-child,
.foodya-menu-root.fy-layouts-on .fy-minus,
.foodya-menu-root.fy-layouts-on button.fy-minus,
.foodya-menu-root.fy-layouts-on .fy-qtybtns button:first-child,
.foodya-menu.fy-layouts-on .fy-minus,
.foodya-menu.fy-layouts-on button.fy-minus,
.foodya-menu.fy-layouts-on .fy-qtybtns button:first-child{
  background:#fff !important;
  color:#111 !important;
  border-color:#ddd !important;
}
#foodya-menu-root.fy-layouts-on .fy-count,
.foodya-menu-root.fy-layouts-on .fy-count,
.foodya-menu.fy-layouts-on .fy-count{color:#111 !important;font-weight:700 !important;}

/* CLASSIC: se mantiene como el core, solo sanea color/acento */
#foodya-menu-root.fy-layout-classic .fy-card,
.foodya-menu-root.fy-layout-classic .fy-card,
.foodya-menu.fy-layout-classic .fy-card{background:#fff !important;border-color:var(--fy-layout-border) !important;}

/* Fotos opcionales */
#foodya-menu-root.fy-hide-photos .fy-card img,
.foodya-menu-root.fy-hide-photos .fy-card img,
.foodya-menu.fy-hide-photos .fy-card img{display:none !important;}


/* Fotos ocultas también dentro del modal/popup de producto */
body.fy-hide-photos .fy-modal .fy-modal-header,
body.fy-hide-photos .fy-modal .fy-modal-header img,
body.fy-hide-photos .fy-modal img,
body.fy-hide-photos .fy-modal picture,
body.fy-hide-photos .fy-modal .fy-product-image,
body.fy-hide-photos .fy-modal .fy-modal-image,
body.fy-hide-photos .fy-modal .fy-img,
body.fy-hide-photos .fy-modal .fy-photo{
  display:none !important;
}
body.fy-hide-photos .fy-modal .fy-modal-body{
  padding-top:16px !important;
}

/* CARTA SIN FOTOS — alineada */
#foodya-menu-root.fy-layout-carta .fy-container,
.foodya-menu-root.fy-layout-carta .fy-container,
.foodya-menu.fy-layout-carta .fy-container{max-width:1180px !important;margin:0 auto !important;padding-left:28px !important;padding-right:28px !important;}
#foodya-menu-root.fy-layout-carta .fy-list,
.foodya-menu-root.fy-layout-carta .fy-list,
.foodya-menu.fy-layout-carta .fy-list{gap:0 !important;padding-bottom:90px !important;}
#foodya-menu-root.fy-layout-carta .fy-card,
.foodya-menu-root.fy-layout-carta .fy-card,
.foodya-menu.fy-layout-carta .fy-card{display:block !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;padding:0 !important;margin:0 !important;}
#foodya-menu-root.fy-layout-carta .fy-card img,
#foodya-menu-root.fy-layout-carta .fy-desc,
.foodya-menu-root.fy-layout-carta .fy-card img,
.foodya-menu-root.fy-layout-carta .fy-desc,
.foodya-menu.fy-layout-carta .fy-card img,
.foodya-menu.fy-layout-carta .fy-desc{display:none !important;}
#foodya-menu-root.fy-layout-carta .fy-card > div,
.foodya-menu-root.fy-layout-carta .fy-card > div,
.foodya-menu.fy-layout-carta .fy-card > div{
  display:grid !important;
  grid-template-columns:minmax(110px,max-content) minmax(30px,1fr) minmax(64px,max-content) minmax(92px,max-content) !important;
  align-items:center !important;
  column-gap:10px !important;
  width:100% !important;
  min-height:46px !important;
}
#foodya-menu-root.fy-layout-carta .fy-title,
.foodya-menu-root.fy-layout-carta .fy-title,
.foodya-menu.fy-layout-carta .fy-title{grid-column:1 !important;color:#111 !important;font-size:16px !important;line-height:1.25 !important;font-weight:500 !important;margin:0 !important;min-width:0 !important;}
#foodya-menu-root.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-layout-carta .fy-card > div::before{content:"";grid-column:2 !important;height:0;border-top:1px solid var(--fy-layout-line);transform:translateY(1px);}
#foodya-menu-root.fy-sep-dotted.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-sep-dotted.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-sep-dotted.fy-layout-carta .fy-card > div::before{border-top-style:dotted;}
#foodya-menu-root.fy-sep-none.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-sep-none.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-sep-none.fy-layout-carta .fy-card > div::before{display:none;}
#foodya-menu-root.fy-layout-carta .fy-buy,
.foodya-menu-root.fy-layout-carta .fy-buy,
.foodya-menu.fy-layout-carta .fy-buy{grid-column:3 / 5 !important;display:grid !important;grid-template-columns:minmax(64px,max-content) minmax(92px,max-content) !important;align-items:center !important;justify-content:end !important;column-gap:10px !important;margin:0 !important;}
#foodya-menu-root.fy-layout-carta .fy-price,
.foodya-menu-root.fy-layout-carta .fy-price,
.foodya-menu.fy-layout-carta .fy-price{grid-column:1 !important;color:#111 !important;font-weight:600 !important;font-size:16px !important;text-align:right !important;white-space:nowrap !important;min-width:64px !important;}
#foodya-menu-root.fy-layout-carta .fy-qtybtns,
.foodya-menu-root.fy-layout-carta .fy-qtybtns,
.foodya-menu.fy-layout-carta .fy-qtybtns{grid-column:2 !important;display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:8px !important;min-width:92px !important;}
#foodya-menu-root.fy-layout-carta .fy-qtybtns button,
.foodya-menu-root.fy-layout-carta .fy-qtybtns button,
.foodya-menu.fy-layout-carta .fy-qtybtns button{width:28px !important;height:28px !important;min-width:28px !important;border-radius:999px !important;line-height:1 !important;}
#foodya-menu-root.fy-layout-carta .fy-qtybtns .fy-count,
.foodya-menu-root.fy-layout-carta .fy-qtybtns .fy-count,
.foodya-menu.fy-layout-carta .fy-qtybtns .fy-count{min-width:18px !important;text-align:center !important;}

/* GASTRO */
#foodya-menu-root.fy-layout-gastro .fy-card,.foodya-menu-root.fy-layout-gastro .fy-card,.foodya-menu.fy-layout-gastro .fy-card{display:block !important;border:0 !important;border-bottom:1px solid var(--fy-layout-line) !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;padding:14px 0 !important;}
#foodya-menu-root.fy-layout-gastro .fy-card img,.foodya-menu-root.fy-layout-gastro .fy-card img,.foodya-menu.fy-layout-gastro .fy-card img{display:none !important;}
#foodya-menu-root.fy-layout-gastro .fy-card > div,.foodya-menu-root.fy-layout-gastro .fy-card > div,.foodya-menu.fy-layout-gastro .fy-card > div{display:grid !important;grid-template-columns:1fr auto !important;gap:8px 14px !important;align-items:center !important;}
#foodya-menu-root.fy-layout-gastro .fy-title,.foodya-menu-root.fy-layout-gastro .fy-title,.foodya-menu.fy-layout-gastro .fy-title{font-size:17px !important;font-weight:800 !important;}
#foodya-menu-root.fy-layout-gastro .fy-desc,.foodya-menu-root.fy-layout-gastro .fy-desc,.foodya-menu.fy-layout-gastro .fy-desc{display:block !important;grid-column:1 !important;font-size:13px !important;}
#foodya-menu-root.fy-layout-gastro .fy-buy,.foodya-menu-root.fy-layout-gastro .fy-buy,.foodya-menu.fy-layout-gastro .fy-buy{grid-column:2 !important;grid-row:1 / span 2 !important;display:flex !important;gap:12px !important;align-items:center !important;}

/* TABERNA */
#foodya-menu-root.fy-layout-taberna .fy-card,.foodya-menu-root.fy-layout-taberna .fy-card,.foodya-menu.fy-layout-taberna .fy-card{display:block !important;border:0 !important;border-bottom:1px solid var(--fy-layout-line) !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;padding:9px 0 !important;}
#foodya-menu-root.fy-layout-taberna .fy-card img,#foodya-menu-root.fy-layout-taberna .fy-desc,.foodya-menu-root.fy-layout-taberna .fy-card img,.foodya-menu-root.fy-layout-taberna .fy-desc,.foodya-menu.fy-layout-taberna .fy-card img,.foodya-menu.fy-layout-taberna .fy-desc{display:none !important;}
#foodya-menu-root.fy-layout-taberna .fy-card > div,.foodya-menu-root.fy-layout-taberna .fy-card > div,.foodya-menu.fy-layout-taberna .fy-card > div{display:grid !important;grid-template-columns:1fr auto !important;gap:12px !important;align-items:center !important;}
#foodya-menu-root.fy-layout-taberna .fy-title,.foodya-menu-root.fy-layout-taberna .fy-title,.foodya-menu.fy-layout-taberna .fy-title{font-size:15px !important;font-weight:700 !important;}
#foodya-menu-root.fy-layout-taberna .fy-buy,.foodya-menu-root.fy-layout-taberna .fy-buy,.foodya-menu.fy-layout-taberna .fy-buy{display:flex !important;align-items:center !important;gap:12px !important;}

/* QR */
#foodya-menu-root.fy-layout-qr .fy-card,.foodya-menu-root.fy-layout-qr .fy-card,.foodya-menu.fy-layout-qr .fy-card{display:block !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;padding:7px 0 !important;}
#foodya-menu-root.fy-layout-qr .fy-card img,#foodya-menu-root.fy-layout-qr .fy-desc,.foodya-menu-root.fy-layout-qr .fy-card img,.foodya-menu-root.fy-layout-qr .fy-desc,.foodya-menu.fy-layout-qr .fy-card img,.foodya-menu.fy-layout-qr .fy-desc{display:none !important;}
#foodya-menu-root.fy-layout-qr .fy-card > div,.foodya-menu-root.fy-layout-qr .fy-card > div,.foodya-menu.fy-layout-qr .fy-card > div{display:grid !important;grid-template-columns:1fr auto !important;align-items:center !important;gap:8px !important;}
#foodya-menu-root.fy-layout-qr .fy-title,.foodya-menu-root.fy-layout-qr .fy-title,.foodya-menu.fy-layout-qr .fy-title{font-size:14px !important;font-weight:700 !important;}
#foodya-menu-root.fy-layout-qr .fy-buy,.foodya-menu-root.fy-layout-qr .fy-buy,.foodya-menu.fy-layout-qr .fy-buy{display:flex !important;align-items:center !important;gap:8px !important;}

/* PREMIUM */
#foodya-menu-root.fy-layout-premium .fy-card,.foodya-menu-root.fy-layout-premium .fy-card,.foodya-menu.fy-layout-premium .fy-card{border-radius:16px !important;overflow:hidden !important;background:#fff !important;}
#foodya-menu-root.fy-layout-premium .fy-card img,.foodya-menu-root.fy-layout-premium .fy-card img,.foodya-menu.fy-layout-premium .fy-card img{width:124px !important;height:92px !important;object-fit:cover !important;border-radius:12px !important;}

/* Editor front */
.foodya-design-editor{background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:18px;margin:18px 0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#111;}
.foodya-design-editor h2{margin:0 0 8px;font-size:24px;}
.foodya-design-editor p{margin:0 0 16px;color:#666;}
.fde-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:16px;}
.fde-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;}
.fde-grid select,.fde-grid input[type=color]{width:100%;min-height:42px;border:1px solid #ddd;border-radius:10px;padding:8px;background:#fff;}
.fde-check{justify-content:end;flex-direction:row !important;align-items:center;}
.fde-save{background:#ff6a00;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer;}
.fde-status{margin-left:10px;font-weight:700;}

@media(max-width:640px){
  #foodya-menu-root.fy-layout-carta .fy-container,.foodya-menu-root.fy-layout-carta .fy-container,.foodya-menu.fy-layout-carta .fy-container{padding-left:14px !important;padding-right:14px !important;}
  #foodya-menu-root.fy-layout-carta .fy-card > div,.foodya-menu-root.fy-layout-carta .fy-card > div,.foodya-menu.fy-layout-carta .fy-card > div{grid-template-columns:minmax(86px,max-content) minmax(16px,1fr) minmax(58px,max-content) minmax(88px,max-content) !important;column-gap:7px !important;}
  #foodya-menu-root.fy-layout-carta .fy-title,.foodya-menu-root.fy-layout-carta .fy-title,.foodya-menu.fy-layout-carta .fy-title{font-size:14px !important;}
  #foodya-menu-root.fy-layout-carta .fy-price,.foodya-menu-root.fy-layout-carta .fy-price,.foodya-menu.fy-layout-carta .fy-price{font-size:14px !important;min-width:58px !important;}
  #foodya-menu-root.fy-layout-carta .fy-qtybtns,.foodya-menu-root.fy-layout-carta .fy-qtybtns,.foodya-menu.fy-layout-carta .fy-qtybtns{gap:6px !important;min-width:88px !important;}
}

/* 2.4 — Acento global FOODYA: cambia TODOS los naranjas del core sin tocar fondos generales */
:root{--fy-layout-accent:#ff6a00;--fy-layout-line:#ff6a00;}
body.fy-layouts-on{--fy-accent:var(--fy-layout-accent) !important;--fy-layout-line:var(--fy-layout-accent) !important;}
body.fy-layouts-on .fy-cat.active,
body.fy-layouts-on .fy-subcat.active,
body.fy-layouts-on .fy-chip.selected,
body.fy-layouts-on .fy-plus,
body.fy-layouts-on button.fy-plus,
body.fy-layouts-on .fy-qtybtns button:last-child,
body.fy-layouts-on .fy-modal-qty .plus,
body.fy-layouts-on .fy-modal-footer .fy-add,
body.fy-layouts-on .fy-mini-btn.primary,
body.fy-layouts-on .fyc-item .q button:last-child,
body.fy-layouts-on .fyc-check,
body.fy-layouts-on .fy-bottom .btn,
body.fy-layouts-on .fde-save{
  background:var(--fy-layout-accent) !important;
  border-color:var(--fy-layout-accent) !important;
  color:#fff !important;
}
body.fy-layouts-on .fy-cat:not(.active),
body.fy-layouts-on .fy-subcat:not(.active){
  background:#fff !important;
  color:#111 !important;
  border-color:#e5e5e5 !important;
}
body.fy-layouts-on .fy-card,
body.fy-layouts-on .fy-modal,
body.fy-layouts-on #fy-cart,
body.fy-layouts-on .fy-bottom,
body.fy-layouts-on .fy-modal-footer,
body.fy-layouts-on .fy-modal-header{
  background:#fff !important;
}
body.fy-layouts-on .fy-title,
body.fy-layouts-on .fy-price,
body.fy-layouts-on .fy-modal-title,
body.fy-layouts-on .fyc-name,
body.fy-layouts-on .fyc-total,
body.fy-layouts-on .fy-bottom strong{color:#111 !important;}
body.fy-layouts-on .fy-desc,
body.fy-layouts-on .fy-modal-desc{color:#666 !important;}
body.fy-layouts-on .fy-layout-carta .fy-card > div::before,
body.fy-layouts-on.fy-layout-carta .fy-card > div::before,
body.fy-layouts-on .fy-layout-taberna .fy-card,
body.fy-layouts-on.fy-layout-taberna .fy-card,
body.fy-layouts-on .fy-layout-gastro .fy-card,
body.fy-layouts-on.fy-layout-gastro .fy-card,
body.fy-layouts-on .fy-layout-qr .fy-card > div::before,
body.fy-layouts-on.fy-layout-qr .fy-card > div::before{
  border-color:var(--fy-layout-accent) !important;
}
body.fy-hide-photos .fy-card img{display:none !important;}

/* Editor front */
.foodya-design-editor{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:18px;margin:18px 0;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.foodya-design-editor .fde-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:14px 0}
.foodya-design-editor label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#111}
.foodya-design-editor select,.foodya-design-editor input[type="text"]{height:42px;border:1px solid #ddd;border-radius:10px;padding:0 10px;background:#fff;color:#111}
.foodya-design-editor input[type="color"]{height:42px;width:56px;border:1px solid #ddd;border-radius:10px;background:#fff;padding:3px}
.foodya-design-editor .fde-color-row{display:flex;gap:8px;align-items:center}
.foodya-design-editor .fde-color-row input[type="text"]{font-family:monospace;width:120px}
.foodya-design-editor .fde-check{flex-direction:row;align-items:center;gap:8px;margin-top:24px}
.foodya-design-editor .fde-save{border:0;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}
.foodya-design-editor .fde-status{margin-left:10px;font-weight:700}


/* 2.5 — Modal: el color principal también controla acentos internos, y las fotos se pueden ocultar */
body.fy-layouts-on .fy-modal{--fy-accent:var(--fy-layout-accent) !important;}
body.fy-layouts-on .fy-modal .fy-modal-qty .plus,
body.fy-layouts-on .fy-modal .fy-add,
body.fy-layouts-on .fy-modal-footer .fy-add,
body.fy-layouts-on .fy-modal button.fy-plus,
body.fy-layouts-on .fy-modal .fy-plus{
  background:var(--fy-layout-accent) !important;
  border-color:var(--fy-layout-accent) !important;
  color:#fff !important;
}
body.fy-layouts-on .fy-modal .fy-modal-qty .minus,
body.fy-layouts-on .fy-modal button.fy-minus,
body.fy-layouts-on .fy-modal .fy-minus{
  background:#fff !important;
  border-color:#ddd !important;
  color:#111 !important;
}
body.fy-hide-photos .fy-modal-header{display:none !important;}
body.fy-hide-photos .fy-modal-header img{display:none !important;}


/* 2.6 — Corrección: descriptivo compacto y separadores reales */
/* En Gastro/descriptivo: precio y unidades arriba, a la altura del título. La descripción ocupa todo el ancho debajo. */
#foodya-menu-root.fy-layout-gastro .fy-card > div,
.foodya-menu-root.fy-layout-gastro .fy-card > div,
.foodya-menu.fy-layout-gastro .fy-card > div,
body.fy-layout-gastro #foodya-menu-root .fy-card > div,
body.fy-layout-gastro .foodya-menu-root .fy-card > div,
body.fy-layout-gastro .foodya-menu .fy-card > div{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-rows:auto auto !important;
  column-gap:12px !important;
  row-gap:6px !important;
  align-items:start !important;
}
#foodya-menu-root.fy-layout-gastro .fy-title,
.foodya-menu-root.fy-layout-gastro .fy-title,
.foodya-menu.fy-layout-gastro .fy-title,
body.fy-layout-gastro #foodya-menu-root .fy-title,
body.fy-layout-gastro .foodya-menu-root .fy-title,
body.fy-layout-gastro .foodya-menu .fy-title{
  grid-column:1 !important;
  grid-row:1 !important;
  margin:0 !important;
  align-self:center !important;
}
#foodya-menu-root.fy-layout-gastro .fy-buy,
.foodya-menu-root.fy-layout-gastro .fy-buy,
.foodya-menu.fy-layout-gastro .fy-buy,
body.fy-layout-gastro #foodya-menu-root .fy-buy,
body.fy-layout-gastro .foodya-menu-root .fy-buy,
body.fy-layout-gastro .foodya-menu .fy-buy{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  white-space:nowrap !important;
  margin:0 !important;
}
#foodya-menu-root.fy-layout-gastro .fy-desc,
.foodya-menu-root.fy-layout-gastro .fy-desc,
.foodya-menu.fy-layout-gastro .fy-desc,
body.fy-layout-gastro #foodya-menu-root .fy-desc,
body.fy-layout-gastro .foodya-menu-root .fy-desc,
body.fy-layout-gastro .foodya-menu .fy-desc{
  grid-column:1 / 3 !important;
  grid-row:2 !important;
  margin:0 !important;
  max-width:none !important;
  line-height:1.25 !important;
}

/* Separadores: solid/dotted/none funcionan en Carta, Gastro, Taberna y QR, tanto si la clase está en body como en root. */
body.fy-sep-solid .fy-layout-carta .fy-card > div::before,
body.fy-sep-solid.fy-layout-carta .fy-card > div::before,
#foodya-menu-root.fy-sep-solid.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-sep-solid.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-sep-solid.fy-layout-carta .fy-card > div::before{
  display:block !important;
  border-top:1px solid var(--fy-layout-accent) !important;
}
body.fy-sep-dotted .fy-layout-carta .fy-card > div::before,
body.fy-sep-dotted.fy-layout-carta .fy-card > div::before,
#foodya-menu-root.fy-sep-dotted.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-sep-dotted.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-sep-dotted.fy-layout-carta .fy-card > div::before{
  display:block !important;
  border-top:2px dotted var(--fy-layout-accent) !important;
}
body.fy-sep-none .fy-layout-carta .fy-card > div::before,
body.fy-sep-none.fy-layout-carta .fy-card > div::before,
#foodya-menu-root.fy-sep-none.fy-layout-carta .fy-card > div::before,
.foodya-menu-root.fy-sep-none.fy-layout-carta .fy-card > div::before,
.foodya-menu.fy-sep-none.fy-layout-carta .fy-card > div::before{
  display:none !important;
}

body.fy-sep-solid .fy-layout-gastro .fy-card,
body.fy-sep-solid.fy-layout-gastro .fy-card,
body.fy-sep-solid .fy-layout-taberna .fy-card,
body.fy-sep-solid.fy-layout-taberna .fy-card,
#foodya-menu-root.fy-sep-solid.fy-layout-gastro .fy-card,
#foodya-menu-root.fy-sep-solid.fy-layout-taberna .fy-card,
.foodya-menu-root.fy-sep-solid.fy-layout-gastro .fy-card,
.foodya-menu-root.fy-sep-solid.fy-layout-taberna .fy-card,
.foodya-menu.fy-sep-solid.fy-layout-gastro .fy-card,
.foodya-menu.fy-sep-solid.fy-layout-taberna .fy-card{
  border-bottom:1px solid var(--fy-layout-accent) !important;
}
body.fy-sep-dotted .fy-layout-gastro .fy-card,
body.fy-sep-dotted.fy-layout-gastro .fy-card,
body.fy-sep-dotted .fy-layout-taberna .fy-card,
body.fy-sep-dotted.fy-layout-taberna .fy-card,
#foodya-menu-root.fy-sep-dotted.fy-layout-gastro .fy-card,
#foodya-menu-root.fy-sep-dotted.fy-layout-taberna .fy-card,
.foodya-menu-root.fy-sep-dotted.fy-layout-gastro .fy-card,
.foodya-menu-root.fy-sep-dotted.fy-layout-taberna .fy-card,
.foodya-menu.fy-sep-dotted.fy-layout-gastro .fy-card,
.foodya-menu.fy-sep-dotted.fy-layout-taberna .fy-card{
  border-bottom:2px dotted var(--fy-layout-accent) !important;
}
body.fy-sep-none .fy-layout-gastro .fy-card,
body.fy-sep-none.fy-layout-gastro .fy-card,
body.fy-sep-none .fy-layout-taberna .fy-card,
body.fy-sep-none.fy-layout-taberna .fy-card,
#foodya-menu-root.fy-sep-none.fy-layout-gastro .fy-card,
#foodya-menu-root.fy-sep-none.fy-layout-taberna .fy-card,
.foodya-menu-root.fy-sep-none.fy-layout-gastro .fy-card,
.foodya-menu-root.fy-sep-none.fy-layout-taberna .fy-card,
.foodya-menu.fy-sep-none.fy-layout-gastro .fy-card,
.foodya-menu.fy-sep-none.fy-layout-taberna .fy-card{
  border-bottom:0 !important;
}

@media(max-width:640px){
  #foodya-menu-root.fy-layout-gastro .fy-card,
  .foodya-menu-root.fy-layout-gastro .fy-card,
  .foodya-menu.fy-layout-gastro .fy-card,
  body.fy-layout-gastro #foodya-menu-root .fy-card,
  body.fy-layout-gastro .foodya-menu-root .fy-card,
  body.fy-layout-gastro .foodya-menu .fy-card{
    padding:14px 4px !important;
  }
  #foodya-menu-root.fy-layout-gastro .fy-card > div,
  .foodya-menu-root.fy-layout-gastro .fy-card > div,
  .foodya-menu.fy-layout-gastro .fy-card > div,
  body.fy-layout-gastro #foodya-menu-root .fy-card > div,
  body.fy-layout-gastro .foodya-menu-root .fy-card > div,
  body.fy-layout-gastro .foodya-menu .fy-card > div{
    grid-template-columns:minmax(0,1fr) max-content !important;
    column-gap:8px !important;
  }
  #foodya-menu-root.fy-layout-gastro .fy-title,
  .foodya-menu-root.fy-layout-gastro .fy-title,
  .foodya-menu.fy-layout-gastro .fy-title,
  body.fy-layout-gastro #foodya-menu-root .fy-title,
  body.fy-layout-gastro .foodya-menu-root .fy-title,
  body.fy-layout-gastro .foodya-menu .fy-title{
    font-size:15px !important;
    line-height:1.15 !important;
  }
  #foodya-menu-root.fy-layout-gastro .fy-buy,
  .foodya-menu-root.fy-layout-gastro .fy-buy,
  .foodya-menu.fy-layout-gastro .fy-buy,
  body.fy-layout-gastro #foodya-menu-root .fy-buy,
  body.fy-layout-gastro .foodya-menu-root .fy-buy,
  body.fy-layout-gastro .foodya-menu .fy-buy{
    gap:7px !important;
  }
  #foodya-menu-root.fy-layout-gastro .fy-price,
  .foodya-menu-root.fy-layout-gastro .fy-price,
  .foodya-menu.fy-layout-gastro .fy-price,
  body.fy-layout-gastro #foodya-menu-root .fy-price,
  body.fy-layout-gastro .foodya-menu-root .fy-price,
  body.fy-layout-gastro .foodya-menu .fy-price{
    font-size:14px !important;
  }
  #foodya-menu-root.fy-layout-gastro .fy-desc,
  .foodya-menu-root.fy-layout-gastro .fy-desc,
  .foodya-menu.fy-layout-gastro .fy-desc,
  body.fy-layout-gastro #foodya-menu-root .fy-desc,
  body.fy-layout-gastro .foodya-menu-root .fy-desc,
  body.fy-layout-gastro .foodya-menu .fy-desc{
    font-size:13px !important;
    padding-right:0 !important;
  }
}

/* 2.7 — Opción precio arriba o debajo en layout Gastro/descriptivo + límite de descripción */
body.fy-layout-gastro.fy-price-title #foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-title .foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-title .foodya-menu .fy-card > div,
#foodya-menu-root.fy-layout-gastro.fy-price-title .fy-card > div,
.foodya-menu-root.fy-layout-gastro.fy-price-title .fy-card > div,
.foodya-menu.fy-layout-gastro.fy-price-title .fy-card > div{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content !important;
  grid-template-rows:auto auto !important;
  column-gap:12px !important;
  row-gap:6px !important;
  align-items:start !important;
}
body.fy-layout-gastro.fy-price-title .fy-title,
#foodya-menu-root.fy-layout-gastro.fy-price-title .fy-title,
.foodya-menu-root.fy-layout-gastro.fy-price-title .fy-title,
.foodya-menu.fy-layout-gastro.fy-price-title .fy-title{
  grid-column:1 !important;
  grid-row:1 !important;
}
body.fy-layout-gastro.fy-price-title .fy-buy,
#foodya-menu-root.fy-layout-gastro.fy-price-title .fy-buy,
.foodya-menu-root.fy-layout-gastro.fy-price-title .fy-buy,
.foodya-menu.fy-layout-gastro.fy-price-title .fy-buy{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
}
body.fy-layout-gastro.fy-price-title .fy-desc,
#foodya-menu-root.fy-layout-gastro.fy-price-title .fy-desc,
.foodya-menu-root.fy-layout-gastro.fy-price-title .fy-desc,
.foodya-menu.fy-layout-gastro.fy-price-title .fy-desc{
  grid-column:1 / 3 !important;
  grid-row:2 !important;
}

body.fy-layout-gastro.fy-price-below #foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-below .foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-below .foodya-menu .fy-card > div,
#foodya-menu-root.fy-layout-gastro.fy-price-below .fy-card > div,
.foodya-menu-root.fy-layout-gastro.fy-price-below .fy-card > div,
.foodya-menu.fy-layout-gastro.fy-price-below .fy-card > div{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto auto !important;
  row-gap:7px !important;
  align-items:start !important;
}
body.fy-layout-gastro.fy-price-below .fy-title,
#foodya-menu-root.fy-layout-gastro.fy-price-below .fy-title,
.foodya-menu-root.fy-layout-gastro.fy-price-below .fy-title,
.foodya-menu.fy-layout-gastro.fy-price-below .fy-title{
  grid-column:1 !important;
  grid-row:1 !important;
  margin:0 !important;
}
body.fy-layout-gastro.fy-price-below .fy-buy,
#foodya-menu-root.fy-layout-gastro.fy-price-below .fy-buy,
.foodya-menu-root.fy-layout-gastro.fy-price-below .fy-buy,
.foodya-menu.fy-layout-gastro.fy-price-below .fy-buy{
  grid-column:1 !important;
  grid-row:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  margin:0 !important;
  white-space:nowrap !important;
}
body.fy-layout-gastro.fy-price-below .fy-desc,
#foodya-menu-root.fy-layout-gastro.fy-price-below .fy-desc,
.foodya-menu-root.fy-layout-gastro.fy-price-below .fy-desc,
.foodya-menu.fy-layout-gastro.fy-price-below .fy-desc{
  grid-column:1 !important;
  grid-row:3 !important;
  margin:0 !important;
}

body.fy-desc-2 .fy-desc,
#foodya-menu-root.fy-desc-2 .fy-desc,
.foodya-menu-root.fy-desc-2 .fy-desc,
.foodya-menu.fy-desc-2 .fy-desc{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.fy-desc-3 .fy-desc,
#foodya-menu-root.fy-desc-3 .fy-desc,
.foodya-menu-root.fy-desc-3 .fy-desc,
.foodya-menu.fy-desc-3 .fy-desc{
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.fy-desc-full .fy-desc,
#foodya-menu-root.fy-desc-full .fy-desc,
.foodya-menu-root.fy-desc-full .fy-desc,
.foodya-menu.fy-desc-full .fy-desc{
  -webkit-line-clamp:unset !important;
  overflow:visible !important;
}

/* 2.8 — Constructor: tamaños de letra + más posiciones de precio */
#foodya-menu-root,
.foodya-menu-root,
.foodya-menu,
body.fy-layouts-on{
  --fy-title-size:17px;
  --fy-price-size:16px;
  --fy-desc-size:14px;
  --fy-button-size:16px;
  --fy-cat-size:14px;
}
body.fy-layouts-on .fy-title,
#foodya-menu-root.fy-layouts-on .fy-title,
.foodya-menu-root.fy-layouts-on .fy-title,
.foodya-menu.fy-layouts-on .fy-title{font-size:var(--fy-title-size) !important;}
body.fy-layouts-on .fy-price,
#foodya-menu-root.fy-layouts-on .fy-price,
.foodya-menu-root.fy-layouts-on .fy-price,
.foodya-menu.fy-layouts-on .fy-price{font-size:var(--fy-price-size) !important;}
body.fy-layouts-on .fy-desc,
#foodya-menu-root.fy-layouts-on .fy-desc,
.foodya-menu-root.fy-layouts-on .fy-desc,
.foodya-menu.fy-layouts-on .fy-desc{font-size:var(--fy-desc-size) !important;}
body.fy-layouts-on .fy-plus,
body.fy-layouts-on .fy-minus,
body.fy-layouts-on .fy-count,
body.fy-layouts-on .fy-qtybtns button,
#foodya-menu-root.fy-layouts-on .fy-plus,
#foodya-menu-root.fy-layouts-on .fy-minus,
#foodya-menu-root.fy-layouts-on .fy-count,
#foodya-menu-root.fy-layouts-on .fy-qtybtns button{font-size:var(--fy-button-size) !important;}
body.fy-layouts-on .fy-cat,
body.fy-layouts-on .fy-subcat,
#foodya-menu-root.fy-layouts-on .fy-cat,
#foodya-menu-root.fy-layouts-on .fy-subcat,
.foodya-menu-root.fy-layouts-on .fy-cat,
.foodya-menu-root.fy-layouts-on .fy-subcat,
.foodya-menu.fy-layouts-on .fy-cat,
.foodya-menu.fy-layouts-on .fy-subcat{font-size:var(--fy-cat-size) !important;}

/* Precio debajo de descripción — izquierda/derecha en Gastro */
body.fy-layout-gastro.fy-price-desc_left #foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-desc_left .foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-desc_left .foodya-menu .fy-card > div,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-card > div,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-card > div,
.foodya-menu.fy-layout-gastro.fy-price-desc_left .fy-card > div,
body.fy-layout-gastro.fy-price-desc_right #foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-desc_right .foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-desc_right .foodya-menu .fy-card > div,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-card > div,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-card > div,
.foodya-menu.fy-layout-gastro.fy-price-desc_right .fy-card > div{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) max-content !important;
  grid-template-rows:auto auto auto !important;
  column-gap:12px !important;
  row-gap:7px !important;
  align-items:start !important;
}
body.fy-layout-gastro.fy-price-desc_left .fy-title,
body.fy-layout-gastro.fy-price-desc_right .fy-title,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-title,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-title,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-title,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-title,
.foodya-menu.fy-layout-gastro.fy-price-desc_left .fy-title,
.foodya-menu.fy-layout-gastro.fy-price-desc_right .fy-title{grid-column:1 / 3 !important;grid-row:1 !important;margin:0 !important;}
body.fy-layout-gastro.fy-price-desc_left .fy-desc,
body.fy-layout-gastro.fy-price-desc_right .fy-desc,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-desc,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-desc,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-desc,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-desc,
.foodya-menu.fy-layout-gastro.fy-price-desc_left .fy-desc,
.foodya-menu.fy-layout-gastro.fy-price-desc_right .fy-desc{grid-column:1 / 3 !important;grid-row:2 !important;margin:0 !important;}
body.fy-layout-gastro.fy-price-desc_left .fy-buy,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-buy,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_left .fy-buy,
.foodya-menu.fy-layout-gastro.fy-price-desc_left .fy-buy{grid-column:1 / 3 !important;grid-row:3 !important;justify-self:start !important;display:flex !important;align-items:center !important;gap:10px !important;margin:0 !important;}
body.fy-layout-gastro.fy-price-desc_right .fy-buy,
#foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-buy,
.foodya-menu-root.fy-layout-gastro.fy-price-desc_right .fy-buy,
.foodya-menu.fy-layout-gastro.fy-price-desc_right .fy-buy{grid-column:1 / 3 !important;grid-row:3 !important;justify-self:end !important;display:flex !important;align-items:center !important;gap:10px !important;margin:0 !important;}

/* Precio extremo derecho: título y controles arriba, descripción debajo */
body.fy-layout-gastro.fy-price-right #foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-right .foodya-menu-root .fy-card > div,
body.fy-layout-gastro.fy-price-right .foodya-menu .fy-card > div,
#foodya-menu-root.fy-layout-gastro.fy-price-right .fy-card > div,
.foodya-menu-root.fy-layout-gastro.fy-price-right .fy-card > div,
.foodya-menu.fy-layout-gastro.fy-price-right .fy-card > div{display:grid !important;grid-template-columns:minmax(0,1fr) max-content !important;grid-template-rows:auto auto !important;column-gap:12px !important;row-gap:6px !important;}
body.fy-layout-gastro.fy-price-right .fy-title,
#foodya-menu-root.fy-layout-gastro.fy-price-right .fy-title,
.foodya-menu-root.fy-layout-gastro.fy-price-right .fy-title,
.foodya-menu.fy-layout-gastro.fy-price-right .fy-title{grid-column:1 !important;grid-row:1 !important;}
body.fy-layout-gastro.fy-price-right .fy-buy,
#foodya-menu-root.fy-layout-gastro.fy-price-right .fy-buy,
.foodya-menu-root.fy-layout-gastro.fy-price-right .fy-buy,
.foodya-menu.fy-layout-gastro.fy-price-right .fy-buy{grid-column:2 !important;grid-row:1 !important;justify-self:end !important;display:flex !important;align-items:center !important;gap:10px !important;margin:0 !important;}
body.fy-layout-gastro.fy-price-right .fy-desc,
#foodya-menu-root.fy-layout-gastro.fy-price-right .fy-desc,
.foodya-menu-root.fy-layout-gastro.fy-price-right .fy-desc,
.foodya-menu.fy-layout-gastro.fy-price-right .fy-desc{grid-column:1 / 3 !important;grid-row:2 !important;}

.foodya-design-editor input[type="number"]{height:42px;border:1px solid #ddd;border-radius:10px;padding:0 10px;background:#fff;color:#111;max-width:100px}
