/* SOCIOS PRO v1.9.1 — final, limited-scope UI layer: sidebar, readability, floating actions. */
html, body, #root{max-width:100%;min-width:0;}
html.ec-admin-active body .containerGrid{overflow-x:clip!important;max-width:100%!important;}
/* No three-line hamburger on any viewport. The existing logo is the menu control. */
html body #ec-sidebar-toggle{display:none!important;visibility:hidden!important;pointer-events:none!important;}
html.ec-admin-active body .navbarDashboard :is(.links a, a[data-ec-appearance], a[href*="logout"]){
 box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;
 gap:14px!important;min-height:49px!important;line-height:1.35!important;margin:3px 0!important;
 padding:10px 12px!important;white-space:nowrap!important;text-indent:0!important;
 border-radius:12px!important;overflow:hidden!important;
}
html.ec-admin-active body .navbarDashboard :is(.links a, a[data-ec-appearance], a[href*="logout"]) :is(svg,i){
 display:block!important;width:21px!important;height:21px!important;min-width:21px!important;max-width:21px!important;
 min-height:21px!important;max-height:21px!important;flex:0 0 21px!important;font-size:20px!important;line-height:1!important;
 margin:0!important;padding:0!important;position:relative!important;inset:auto!important;
}
html.ec-admin-active body .navbarDashboard :is(.links a, a[data-ec-appearance]) .ec-nav-label{
 min-width:0!important;max-width:100%!important;line-height:1.4!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;}
html.ec-admin-active body .navbarDashboard>.logo,
html.ec-admin-active body .navbarDashboard>.logo:hover{
 align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
 position:relative!important;flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:64px!important;
 height:64px!important;min-height:64px!important;max-height:64px!important;
 background:#fff!important;border-radius:50%!important;overflow:hidden!important;
 padding:2px!important;margin:4px auto 14px!important;cursor:pointer!important;
}
html.ec-admin-active body .navbarDashboard>.logo img,
html.ec-admin-active body .navbarDashboard>.logo:hover img{
 display:block!important;position:static!important;width:57px!important;height:57px!important;
 min-width:57px!important;max-width:57px!important;min-height:57px!important;max-height:57px!important;
 object-fit:contain!important;margin:0!important;padding:0!important;transform:none!important;
}
html.ec-admin-active body .navbarDashboard .logo:focus-visible,
html.ec-admin-active #ec-mobile-brand-toggle:focus-visible{outline:3px solid #f5ad40!important;outline-offset:2px!important;}
/* Dashboard number cards: icon, text and count never overlap or use absolute placement. */
html.ec-admin-active body .containerSection .CardsCantidad .cardCantidad{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
 min-width:0!important;max-width:100%!important;height:auto!important;min-height:72px!important;
 padding:12px!important;overflow:hidden!important;
}
html.ec-admin-active body .containerSection .CardsCantidad .cardCantidad>.icons{
 flex:0 0 38px!important;width:38px!important;max-width:38px!important;min-width:38px!important;
 height:38px!important;max-height:38px!important;min-height:38px!important;
 display:grid!important;place-items:center!important;margin:0!important;position:static!important;
}
html.ec-admin-active body .containerSection .CardsCantidad .cardCantidad .deColumn{
 flex:1 1 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-direction:row!important;flex-wrap:wrap!important;gap:6px 10px!important;
 min-width:0!important;max-width:100%!important;width:auto!important;position:static!important;
}
html.ec-admin-active body .containerSection .CardsCantidad .cardCantidad .deColumn :is(h2,h3){
 margin:0!important;padding:0!important;position:static!important;transform:none!important;
 font-size:clamp(13px,1vw,16px)!important;line-height:1.35!important;overflow-wrap:normal!important;
 white-space:normal!important;hyphens:none!important;min-width:0!important;
}
html.ec-admin-active body .containerSection .CardsCantidad .cardCantidad .deColumn h3{
 margin-left:auto!important;flex:0 0 auto!important;white-space:nowrap!important;
}
/* Header actions stay on their own flex line, not on top of icons. */
html.ec-admin-active body .HeaderDashContain :is(a,button,.search,form){box-sizing:border-box!important;min-width:0!important;}
html.ec-admin-active body .HeaderDashContain .deFlexHeader{gap:clamp(9px,1.2vw,18px)!important;align-items:center!important;}
html.ec-admin-active body .HeaderDashContain .deFlexHeader :is(a,button){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
 white-space:normal!important;line-height:1.3!important;
}
html.ec-admin-active body .HeaderDashContain .deFlexHeader :is(a,button) :is(svg,i){
 flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important;
}
/* Desktop and landscape tablet: compact sidebar showing only icons until logo is clicked. */
@media (min-width:1025px), (min-width:900px) and (max-width:1024px) and (orientation:landscape){
 html.ec-admin-active body .containerGrid>div:has(>.navbarDashboard){
  display:block!important;position:relative!important;flex:0 0 86px!important;width:86px!important;
  min-width:86px!important;max-width:86px!important;min-height:100dvh!important;height:auto!important;
  padding:0!important;margin:0!important;transition:width .18s ease,flex-basis .18s ease!important;
 }
 html.ec-admin-active body .containerGrid>div:has(>.navbarDashboard.ec-sidebar-open){
  flex-basis:276px!important;width:276px!important;min-width:276px!important;max-width:276px!important;
 }
 html.ec-admin-active body .containerGrid>.containerSection{
  flex:1 1 0%!important;min-width:0!important;width:auto!important;max-width:calc(100% - 86px)!important;
  padding-left:clamp(12px,2vw,30px)!important;padding-right:clamp(12px,2vw,30px)!important;
 }
 html.ec-admin-active body .containerGrid:has(.navbarDashboard.ec-sidebar-open)>.containerSection{
  max-width:calc(100% - 276px)!important;
 }
 html.ec-admin-active body .navbarDashboard,
 html.ec-admin-active body .navbarDashboard:hover{
  position:fixed!important;left:0!important;top:0!important;right:auto!important;bottom:0!important;
  width:86px!important;min-width:86px!important;max-width:86px!important;
  height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;
  padding:12px 7px 12px!important;border-radius:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;transition:width .18s ease!important;
 }
 html.ec-admin-active body .navbarDashboard.ec-sidebar-open,
 html.ec-admin-active body .navbarDashboard.ec-sidebar-open:hover{
  width:276px!important;min-width:276px!important;max-width:276px!important;
 }
 html.ec-admin-active body .navbarDashboard:not(.ec-sidebar-open) :is(.links a,a[data-ec-appearance],a[href*="logout"]){
  justify-content:center!important;gap:0!important;padding:10px 8px!important;font-size:0!important;
 }
 html.ec-admin-active body .navbarDashboard.ec-sidebar-open :is(.links a,a[data-ec-appearance],a[href*="logout"]){
  justify-content:flex-start!important;gap:14px!important;font-size:15px!important;
 }
 html.ec-admin-active body .navbarDashboard.ec-sidebar-open .ec-nav-label{display:inline!important;font-size:15px!important;}
 html.ec-admin-active body .navbarDashboard:not(.ec-sidebar-open) .ec-nav-label{display:none!important;}
 html.ec-admin-active body .navbarDashboard .links{width:100%!important;display:flex!important;flex-direction:column!important;min-width:0!important;gap:2px!important;}
}
/* Mobile and portrait tablet: logo in header opens a full-width menu in normal document flow. */
@media (max-width:899px), (min-width:900px) and (max-width:1024px) and (orientation:portrait){
 html.ec-admin-active body .containerGrid{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;}
 html.ec-admin-active body .containerGrid>div:has(>.navbarDashboard){
  position:relative!important;display:none!important;flex:none!important;width:100%!important;min-width:0!important;
  max-width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;
  padding:0!important;margin:0!important;overflow:visible!important;
 }
 html.ec-admin-nav-open.ec-admin-active body .containerGrid>div:has(>.navbarDashboard){display:block!important;}
 html.ec-admin-active body .navbarDashboard,
 html.ec-admin-active body .navbarDashboard:hover{
  display:none!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
  top:auto!important;bottom:auto!important;transform:none!important;visibility:hidden!important;pointer-events:none!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  margin:0!important;padding:16px clamp(12px,3vw,22px)!important;border-radius:0!important;
  box-sizing:border-box!important;overflow:visible!important;
 }
 html.ec-admin-nav-open.ec-admin-active body .navbarDashboard,
 html.ec-admin-nav-open.ec-admin-active body .navbarDashboard:hover{
  display:flex!important;flex-direction:column!important;transform:none!important;visibility:visible!important;pointer-events:auto!important;
 }
 html.ec-admin-active body .navbarDashboard :is(.links a,a[data-ec-appearance],a[href*="logout"]){
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-height:48px!important;width:100%!important;max-width:100%!important;
  gap:16px!important;padding:11px 14px!important;margin:2px 0!important;
  line-height:1.35!important;font-size:clamp(15px,3.8vw,18px)!important;white-space:normal!important;
 }
 html.ec-admin-active body .navbarDashboard>.logo,
 html.ec-admin-active body .navbarDashboard>.logo:hover{align-self:flex-start!important;margin:2px 0 14px 6px!important;}
 html.ec-admin-active body .navbarDashboard .links{display:flex!important;flex-direction:column!important;gap:2px!important;width:100%!important;}
 html.ec-admin-active body .containerGrid>.containerSection{
  display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:100dvh!important;height:auto!important;padding:10px clamp(10px,3vw,18px) 25px!important;
  margin:0!important;overflow-x:clip!important;overflow-y:visible!important;
 }
 html.ec-admin-active body .HeaderDashContain{max-width:100%!important;min-width:0!important;}
 html.ec-admin-active body #ec-mobile-brand-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:56px!important;min-width:56px!important;max-width:56px!important;
  height:56px!important;min-height:56px!important;max-height:56px!important;flex:0 0 56px!important;
  padding:4px!important;margin:0!important;position:relative!important;border-radius:50%!important;background:#fff!important;
 }
 html.ec-admin-active body #ec-mobile-brand-toggle img{
  display:block!important;width:47px!important;height:47px!important;min-width:47px!important;min-height:47px!important;
  max-width:47px!important;max-height:47px!important;object-fit:contain!important;
 }
 html.ec-admin-active body .HeaderDashContain{grid-template-columns:56px minmax(0,1fr)!important;gap:10px!important;}
 html.ec-admin-active body .HeaderDashContain .deFlexHeader{flex-wrap:wrap!important;row-gap:10px!important;}
}
@media(max-width:420px){
 html.ec-admin-active body .containerSection .CardsCantidad{grid-template-columns:1fr!important;}
 html.ec-admin-active body .HeaderDashContain .deFlexHeader :is(a,button){font-size:13px!important;}
}
@media(min-width:421px) and (max-width:899px){
 html.ec-admin-active body .containerSection .CardsCantidad{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
/* Floating actions: ALWAYS above the mobile footer; WhatsApp on top, CART below. */
html body .btnWhatsapp,html body .cartIconFixed{
 box-sizing:border-box!important;position:fixed!important;left:auto!important;right:clamp(12px,2vw,28px)!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
 max-width:48px!important;max-height:48px!important;padding:0!important;border-radius:50%!important;
 opacity:1!important;visibility:visible!important;transform:none!important;z-index:110!important;
 box-shadow:0 5px 15px #0003!important;overflow:visible!important;
}
html body .btnWhatsapp{bottom:calc(98px + env(safe-area-inset-bottom,0px))!important;background:#16b82f!important;color:#fff!important;}
html body .cartIconFixed{bottom:calc(36px + env(safe-area-inset-bottom,0px))!important;background:#009e95!important;color:#fff!important;}
html body .cartIconFixed.ec-cart-button> :is(i,svg,img),
html body .cartIconFixed.ec-cart-button :is(.fa-calendar,.fa-calendar-o,.fa-calendar-check-o){display:none!important;}
html body .cartIconFixed.ec-cart-button::before{
 content:''!important;display:block!important;flex:0 0 23px!important;width:23px!important;height:23px!important;
 background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 2h2l3 13h13l3-9H4'/%3E%3C/svg%3E")!important;
 pointer-events:none!important;
}
html body .cartIconFixed.ec-cart-button :is(span,small){position:relative;}
html body .btnWhatsapp :is(svg,img,i){max-width:24px!important;max-height:24px!important;width:24px!important;height:24px!important;object-fit:contain!important;}
@media(max-width:1024px){
 html body .btnWhatsapp,html body .cartIconFixed{
  right:14px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
 }
 html body .cartIconFixed{bottom:calc(146px + env(safe-area-inset-bottom,0px))!important;}
 html body .btnWhatsapp{bottom:calc(204px + env(safe-area-inset-bottom,0px))!important;}
}
@media(max-width:500px){
 html body .cartIconFixed{bottom:calc(145px + env(safe-area-inset-bottom,0px))!important;}
 html body .btnWhatsapp{bottom:calc(201px + env(safe-area-inset-bottom,0px))!important;}
}
/* Cart never obscures the checkout and keeps contrasting labels. */
html body:has(.overlay-cart) :is(.btnWhatsapp,.cartIconFixed){z-index:1!important;}
html body .modal-cart :is(.deFLexRadio,.cardProductCart){max-width:100%!important;min-width:0!important;}
html body .modal-cart .deFLexRadio label{padding:0!important;margin:0!important;line-height:1.4!important;}
html body .modal-cart .deFLexRadio>div{gap:12px!important;min-height:32px!important;align-items:center!important;}
html body .modal-cart .deFLexRadio input[type=radio]{position:static!important;inset:auto!important;margin:0!important;flex-shrink:0!important;}
html body .modal-cart .ec-checkout-action{
 background:#df6b13!important;color:#fff!important;border:1px solid #bd5304!important;
 border-radius:11px!important;min-height:46px!important;font-weight:700!important;
}
html body .modal-cart .ec-checkout-action:hover{background:#bd5304!important;}
html body .modal-cart .ec-checkout-action:disabled{background:#a9b1b6!important;color:#33444f!important;border-color:#a9b1b6!important;cursor:not-allowed!important;}
@media(prefers-reduced-motion:reduce){html.ec-admin-active body .navbarDashboard{transition:none!important;}}
/* Required: the legacy app hides WhatsApp's parent container below 900px. */
@media(max-width:900px){
 html body .containWpp{display:contents!important;visibility:visible!important;}
 html body .containWpp>.btnWhatsapp{display:flex!important;visibility:visible!important;}
}
/* Original React cart markup puts its quantity badge before the pictogram. */
html body .cartIconFixed.ec-cart-button>span{
 position:absolute!important;top:-5px!important;right:-5px!important;left:auto!important;bottom:auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;min-width:19px!important;height:19px!important;max-width:none!important;
 padding:0 4px!important;border:2px solid #fff!important;border-radius:99px!important;
 color:#fff!important;background:#12252d!important;line-height:1!important;font-size:11px!important;font-weight:700!important;
 pointer-events:none!important;white-space:nowrap!important;
}
