/* V31.0.158: tamaño independiente y 1-4 líneas. Sólo para textos configurados. */
#premiumBannerForm .premium-typography-options label{display:grid;gap:6px}
#premiumBannerForm .premium-typography-options label small{font-weight:400;color:#506657}
#premiumBannerForm .premium-typography-options input[type=number]{width:100%;padding:10px;font-size:16px;border:1px solid #bdcfc2;border-radius:8px;background:#fff;color:#193e2c}
#premiumBannerForm [data-typography-preview]{display:block;border-radius:8px;background:#eff7ec;padding:9px 10px;color:#284b2a}
.premium-hero .premium-title[data-custom-lines="1"],.premium-hero .premium-subtitle[data-custom-lines="1"]{white-space:nowrap!important}
.premium-hero :is(.premium-title,.premium-subtitle)[data-custom-lines="1"]{text-overflow:clip!important}
#premiumBannerForm .premium-preview :is(strong,p)[data-custom-lines="1"]{white-space:nowrap!important}
#premiumBannerForm .premium-preview :is(strong,p)[data-custom-lines="1"]{max-width:100%;}
/* Cuando en móvil el texto permanece debajo de la fotografía, usar un flujo vertical
   natural para que 3-4 líneas no se monten una encima de otra. Sólo si hubo personalización. */
@media(max-width:767px){
 html body.gourmet-store .premium-hero.premium-has-mobile-custom-lines .premium-frame .premium-caption.premium-mobile-text-enabled{
   top:calc(100% + 52px)!important;left:16px!important;right:16px!important;
   width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;
   display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;
 }
 html body.gourmet-store .premium-hero.premium-has-mobile-custom-lines .premium-caption.premium-mobile-text-enabled :is(strong,.premium-subtitle):not(.premium-positioned-piece){
   position:static!important;top:auto!important;left:auto!important;right:auto!important;
   display:block!important;width:100%!important;max-width:100%!important;
   text-align:center!important;white-space:pre-line!important;line-height:1.16!important;
   margin:0!important;max-height:none!important;overflow:visible!important;
   -webkit-line-clamp:unset!important;
 }
 html body.gourmet-store .premium-hero.premium-has-mobile-custom-lines .premium-caption.premium-mobile-text-enabled :is(strong,.premium-subtitle)[data-custom-lines="1"]{white-space:nowrap!important}
 html body.gourmet-store .premium-hero.premium-has-mobile-custom-lines .premium-caption.premium-mobile-text-enabled .premium-cta{align-self:flex-end!important}
 html body.gourmet-store .premium-hero.premium-has-mobile-custom-lines{margin-bottom:var(--premium-mobile-custom-height,245px)!important}
}

/* La vista previa del editor móvil también amplía su área para 3-4 líneas. */
#premiumBannerForm .premium-preview.mobile.premium-editor-has-custom-lines{
 margin-bottom:var(--editor-mobile-extra,200px)!important;overflow:visible!important;
}
#premiumBannerForm .premium-preview.mobile.premium-editor-has-custom-lines .premium-editor-copy{
 position:absolute!important;top:calc(100% + 8px)!important;bottom:auto!important;left:0!important;right:0!important;
 width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;
 align-items:stretch!important;gap:8px!important;transform:none!important;text-align:center!important;
}
#premiumBannerForm .premium-preview.mobile.premium-editor-has-custom-lines .premium-editor-copy :is(strong,p):not(.premium-piece-hidden){
 position:static!important;display:block!important;top:auto!important;right:auto!important;
 width:100%!important;max-width:100%!important;text-align:center!important;
 line-height:1.16!important;margin:0!important;overflow:visible!important;
}
#premiumBannerForm .premium-preview.mobile.premium-editor-has-custom-lines .premium-editor-copy .premium-piece-hidden{display:none!important}
