/* Carrito lateral — cristal fuerte */

.eb-drawer-root{
  position:fixed;inset:0;z-index:99990;
  visibility:hidden;pointer-events:none;
  font-family:'Albert Sans',system-ui,sans-serif;
}
.eb-drawer-root.is-open{visibility:visible;pointer-events:auto;}

.eb-drawer-dim{
  position:absolute;inset:0;
  background:rgba(20,22,22,.36);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  opacity:0;transition:opacity .35s ease;
}
.eb-drawer-root.is-open .eb-drawer-dim{opacity:1;}

.eb-drawer{
  position:absolute;top:0;right:0;bottom:0;
  width:min(400px,88vw);
  display:flex;flex-direction:column;
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(40px) saturate(180%);
  -webkit-backdrop-filter:blur(40px) saturate(180%);
  border-left:1px solid rgba(255,255,255,.85);
  box-shadow:-20px 0 56px rgba(20,22,22,.18);
  transform:translateX(100%);
  transition:transform .42s cubic-bezier(.16,1,.3,1);
  color:#161514;
}
.eb-drawer-root.is-open .eb-drawer{transform:translateX(0);}
@media (prefers-reduced-motion: reduce){
  .eb-drawer,.eb-drawer-dim{transition:none;}
}

.eb-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 22px 14px;
}
.eb-drawer-title{font-size:16px;font-weight:700;}
.eb-drawer-x{
  background:none;border:none;cursor:pointer;color:#767370;
  padding:6px;border-radius:50%;display:flex;
  transition:background .2s ease,color .2s ease;
}
.eb-drawer-x:hover{background:rgba(22,21,20,.07);color:#161514;}

.eb-drawer-toast{
  display:flex;align-items:center;gap:9px;
  margin:0 22px 12px;padding:11px 15px;border-radius:13px;
  background:rgba(63,122,82,.14);border:1px solid rgba(63,122,82,.3);
  font-size:13px;font-weight:600;color:#2f5c3e;
}
.eb-drawer-toast[hidden]{display:none;}

.eb-drawer-body{flex:1;overflow-y:auto;padding:0 22px 22px;}

/* --- mini-cart (marcado propio del tema bw-fitrush), revestido --- */
.eb-drawer-body .list-mini-cart-item{margin:0;padding:0;}

.eb-drawer-body .item-info-cart{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px 0;border-bottom:1px solid rgba(22,21,20,.10);
}
.eb-drawer-body .item-info-cart .product-thumb{
  width:58px;height:58px;flex:0 0 58px;border-radius:12px;overflow:hidden;
  background:#fff;border:1px solid rgba(255,255,255,.9);
}
.eb-drawer-body .item-info-cart .product-thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.eb-drawer-body .item-info-cart .product-info{flex:1;min-width:0;padding:0;}
.eb-drawer-body .product-title{
  margin:0 0 4px;font-size:13.5px;font-weight:600;line-height:1.35;
}
.eb-drawer-body .product-title a{color:#161514;text-decoration:none;}
.eb-drawer-body .mini-cart-qty{font-size:12.5px;color:#767370;}
.eb-drawer-body .woocommerce-Price-amount{color:#c96a3f;font-weight:700;}

.eb-drawer-body .product-delete{flex:0 0 auto;}
.eb-drawer-body a.remove-product{
  width:28px;height:28px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#8a8681 !important;text-decoration:none;font-size:15px !important;
  transition:background .2s ease,color .2s ease;
}
.eb-drawer-body a.remove-product:hover{background:rgba(201,90,60,.12);color:#c94b2f !important;}

.eb-drawer-body .mini-cart-total{
  display:flex;justify-content:space-between;align-items:baseline;
  margin:16px 0 14px;padding-top:14px;
  border-top:1px solid rgba(22,21,20,.14);
  font-size:14px !important;font-weight:700;
}
.eb-drawer-body .mini-cart-total .pull-left{float:none;}
.eb-drawer-body .mini-cart-total-price{float:none;font-size:20px;color:#161514;}
.eb-drawer-body .mini-cart-total-price .woocommerce-Price-amount{color:#161514;}

.eb-drawer-body .mini-cart-button{display:flex;flex-direction:column;gap:9px;}
.eb-drawer-body .mini-cart-button a.button{
  display:flex;align-items:center;justify-content:center;
  width:100%;padding:15px;border-radius:12px;
  font-size:14.5px;font-weight:700;text-decoration:none;font-family:inherit;
  text-transform:none;
}
.eb-drawer-body .mini-cart-button a.checkout{
  background:#000 !important;color:#fff !important;border:none !important;
  box-shadow:0 8px 20px rgba(0,0,0,.2);order:1;
}
.eb-drawer-body .mini-cart-button a.button:not(.checkout){
  background:rgba(255,255,255,.5) !important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(22,21,20,.14) !important;
  color:#161514 !important;order:2;
}
.eb-drawer-body .get-cart-number,
.eb-drawer-body .product-remove-ajax-nonce{display:none;}

/* El tema muestra su propio popup en inglés al añadir al carrito.
   Con el panel lateral ya no hace falta y además duplicaba el mensaje. */
.bzo-ajaxcart-report,
.bzo-ajaxcart-overlay{display:none !important;}
