/* AVENSA 6.4 - Panel de carrito siempre por encima del encabezado */
#overlay.overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 20000 !important;
  background: rgba(12,18,32,.56) !important;
}
#drawer.drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(440px, 100vw) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  z-index: 20001 !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translate3d(105%,0,0);
  transition: transform .28s ease !important;
  isolation: isolate;
  overflow: hidden;
}
#drawer.drawer.show {transform:translate3d(0,0,0) !important;}
#drawer .drawerhead {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto;
  min-height: 78px;
  padding: 17px 22px !important;
  background: white !important;
  border-bottom: 1px solid #e7e9ee;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  z-index: 3;
}
#drawer .drawerhead h2 {margin:0 !important;font-size:21px;font-weight:750;line-height:1.3;color:#181c28;}
#drawer .av64-close-cart {
  position:relative !important;
  inset:auto !important;
  flex:0 0 43px;
  display:grid !important;
  place-items:center !important;
  width:43px !important;
  height:43px !important;
  padding:0 !important;
  margin:0 !important;
  color:#212632 !important;
  background:#f7f8fa !important;
  border:1px solid #dce0e7 !important;
  border-radius:12px !important;
  font-family:inherit;
  font-size:27px !important;
  font-weight:400 !important;
  line-height:1 !important;
  cursor:pointer;
}
#drawer .av64-close-cart:hover {background:#fff0f2 !important;border-color:#dc0926 !important;color:#dc0926 !important;}
#drawer .av64-close-cart:focus-visible {outline:3px solid #e5002b;outline-offset:2px;}
#drawer .drawerbody {flex:1 1 auto !important;min-height:0;overflow-y:auto !important;}
#drawer .drawerfoot {flex:0 0 auto;position:relative;background:white;}
body.av64-cart-open {overflow:hidden;}
@media(max-width:600px){
  #drawer.drawer{width:min(440px,100vw) !important;}
  #drawer .drawerhead{min-height:72px;padding:14px 18px !important;}
}
