/* Unified native mini-cart drawer and product purchase band. */
.ec-drawer--cart{
  width:min(456px,100vw)!important;
  max-width:456px!important;
  display:flex!important;
  flex-direction:column;
  background:#fff;
  border-left:1px solid #d4e3e1;
  box-shadow:-24px 0 66px rgba(11,42,48,.22);
}
.ec-drawer--cart .ec-cart-drawer__head{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex:0 0 auto;
  padding:28px 30px 23px!important;
  border-bottom:1px solid #dfeae8!important;
  background:linear-gradient(135deg,#fbfefd 0%,#f0f8f7 100%);
}
.ec-cart-drawer__heading{min-width:0}
.ec-cart-drawer__heading>span{
  display:block;
  margin:0 0 6px;
  color:#087a78;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}
.ec-cart-drawer__heading h2{
  margin:0!important;
  color:#16353d;
  font-size:27px!important;
  font-weight:850!important;
  letter-spacing:-.045em;
}
.ec-drawer--cart .ec-cart-drawer__close{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:40px;
  margin:0;
  padding:0 2px;
  border:0!important;
  border-radius:8px;
  background:transparent!important;
  color:#38565d;
  font-size:14px;
  font-weight:800;
}
.ec-drawer--cart .ec-cart-drawer__close span{font-size:28px;line-height:.75;font-weight:300}
.ec-drawer--cart .ec-cart-drawer__close b{font-size:14px;font-weight:800}
@media(min-width:681px){.ec-drawer--cart .ec-cart-drawer__close{display:grid!important;place-items:center;width:36px;height:36px;padding:0;border:1px solid #d7e5e3!important;border-radius:50%;background:#fff!important}.ec-drawer--cart .ec-cart-drawer__close b{display:none}}
.ec-drawer--cart .ec-cart-drawer__close:hover{color:#087a78}
.ec-drawer--cart .ec-cart-drawer__close:focus-visible{outline:2px solid #087a78;outline-offset:3px}
.ec-drawer--cart .ec-mini-cart{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  margin:0!important;
  padding:0 30px!important;
}
.ec-drawer--cart .woocommerce-mini-cart{margin:0!important;padding:0!important}
.ec-drawer--cart .woocommerce-mini-cart-item{
  position:relative;
  display:block!important;
  min-height:124px;
  margin:0!important;
  padding:22px 0!important;
  border-bottom:1px solid #e4edeb!important;
}
.ec-drawer--cart .woocommerce-mini-cart-item>a:not(.remove){
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr);
  align-items:start;
  gap:15px;
  min-width:0;
  padding-right:30px;
  color:#17363e!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.38;
  text-decoration:none;
}
.ec-drawer--cart .woocommerce-mini-cart-item>a:not(.remove) img{
  grid-column:1;
  grid-row:1 / span 3;
  display:block;
  width:78px!important;
  height:78px!important;
  min-width:78px;
  padding:7px!important;
  border:1px solid #dbe8e6!important;
  border-radius:12px!important;
  background:#fff!important;
  object-fit:contain!important;
}
.ec-drawer--cart .ms-mini-cart-title{grid-column:2;display:block;overflow-wrap:anywhere}
.ec-drawer--cart .woocommerce-mini-cart-item>a.remove{
  position:absolute!important;
  z-index:2;
  top:21px!important;
  right:0!important;
  left:auto!important;
  display:grid!important;
  place-items:center;
  width:28px!important;
  height:28px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e5caca!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#a54b4b!important;
  font-size:18px!important;
  line-height:1!important;
}
.ec-drawer--cart .woocommerce-mini-cart-item>a.remove:hover{background:#a54b4b!important;color:#fff!important}
.ec-drawer--cart .ms-mini-cart-quantity-row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  margin:13px 0 0 93px;
}
.ec-drawer--cart .ms-mini-cart-qty{
  display:grid;
  grid-template-columns:32px 38px 32px;
  width:102px;
  height:38px;
  overflow:hidden;
  border:1px solid #cfe0dd;
  border-radius:9px;
  background:#fff;
}
.ec-drawer--cart .ms-mini-cart-qty button{border:0;background:#fff;color:#16615f;font-size:19px;line-height:1;cursor:pointer}
.ec-drawer--cart .ms-mini-cart-qty button:hover{background:#edf7f5}
.ec-drawer--cart .ms-mini-cart-qty span{display:grid;place-items:center;border-inline:1px solid #dce8e6;color:#183c43;font-size:13px;font-weight:850}
.ec-drawer--cart .woocommerce-mini-cart-item>.quantity{margin:0!important;color:#647b80;font-size:13px;font-weight:700;white-space:nowrap}
.ec-drawer--cart .woocommerce-mini-cart-item>.quantity .woocommerce-Price-amount{color:#087a78;font-size:15px;font-weight:900}
.ec-drawer--cart .woocommerce-mini-cart__total,.ec-drawer--cart .woocommerce-mini-cart__buttons{display:none!important}
.ec-drawer--cart .woocommerce-mini-cart__empty-message{margin:0;padding:56px 8px;color:#688086;text-align:center;line-height:1.6}
.ec-drawer--cart .ec-drawer__foot{
  display:block!important;
  flex:0 0 auto;
  margin:0!important;
  padding:20px 30px 28px!important;
  border-top:1px solid #dbe8e6!important;
  background:#fff;
  box-shadow:0 -11px 28px rgba(19,55,61,.05);
}
.ec-drawer--cart .ec-cart-footer-total{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0 0 18px;color:#405c62}
.ec-drawer--cart .ec-cart-footer-total span{font-size:13px;font-weight:800}
.ec-drawer--cart .ec-cart-footer-total strong{color:#123e45;font-size:23px;font-weight:900;letter-spacing:-.035em;white-space:nowrap}
.ec-drawer--cart .ec-cart-footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ec-drawer--cart .ec-cart-footer-view,.ec-drawer--cart .ec-cart-footer-checkout{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 14px;
  border-radius:10px!important;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
  transition:transform .18s ease,background .18s ease;
}
.ec-drawer--cart .ec-cart-footer-view{border:1px solid #0c6f6d!important;background:#fff!important;color:#096563!important}
.ec-drawer--cart .ec-cart-footer-checkout{border:1px solid #0b575b!important;background:#0b575b!important;color:#fff!important}
.ec-drawer--cart .ec-cart-footer-view:hover,.ec-drawer--cart .ec-cart-footer-checkout:hover{transform:translateY(-1px)}
.ec-drawer--cart .ec-cart-footer-checkout:hover{background:#087a78!important}
/* The product band appears only after its own purchase controls leave view. */
.ec-purchase-band{
  position:fixed!important;
  z-index:9990;
  right:0;
  bottom:0;
  left:0;
  transform:translateY(115%);
  opacity:0;
  pointer-events:none;
  border-top:1px solid #c7ddd9!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 -14px 38px rgba(17,49,56,.13)!important;
  backdrop-filter:blur(12px);
  transition:transform .25s ease,opacity .2s ease;
}
.ec-purchase-band.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
body.ec-cart-drawer-active .ec-purchase-band{transform:translateY(115%)!important;opacity:0!important;pointer-events:none!important}
.ec-purchase-band .ec-shell{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:28px;min-height:82px}
.ec-purchase-band__model{min-width:0}
.ec-purchase-band__model span{display:block;margin:0 0 5px;color:#087a78;font-size:10px;font-weight:900;letter-spacing:.13em}
.ec-purchase-band__model b{display:block;overflow:hidden;color:#16363e;font-size:15px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.ec-purchase-band__price{color:#0a5e60;font-size:21px;font-weight:900;letter-spacing:-.03em;white-space:nowrap}
.ec-purchase-band__action .ec-btn{display:flex;align-items:center;justify-content:center;min-width:176px;min-height:48px;border-radius:10px!important;font-size:13px;font-weight:900}
.ec-purchase-band__action .ec-btn:hover{background:#087a78!important}
@media(max-width:680px){
  .ec-drawer--cart{width:75vw!important;max-width:none!important}
  .ec-drawer--cart .ec-cart-drawer__head{padding:22px 20px 18px!important}
  .ec-cart-drawer__heading h2{font-size:22px!important}
  .ec-drawer--cart .ec-mini-cart{padding-inline:20px!important}
  .ec-drawer--cart .ec-drawer__foot{padding:18px 20px calc(18px + env(safe-area-inset-bottom))!important}
  .ec-drawer--cart .woocommerce-mini-cart-item>a:not(.remove){grid-template-columns:70px minmax(0,1fr);gap:13px;font-size:14px!important}
  .ec-drawer--cart .woocommerce-mini-cart-item>a:not(.remove) img{width:70px!important;height:70px!important;min-width:70px}
  .ec-drawer--cart .ms-mini-cart-quantity-row{margin-left:83px}
  .ec-purchase-band{bottom:69px}
  .ec-purchase-band .ec-shell{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:66px;padding-top:9px;padding-bottom:9px}
  .ec-purchase-band__price{display:none}
  .ec-purchase-band__model b{font-size:12px}
  .ec-purchase-band__action .ec-btn{min-width:130px;min-height:43px;font-size:12px}
}
@media(max-width:390px){
  .ec-drawer--cart .ec-cart-drawer__head{padding-inline:16px!important}
  .ec-cart-drawer__heading h2{font-size:19px!important}
  .ec-drawer--cart .ec-cart-drawer__close b{font-size:13px}
  .ec-drawer--cart .ec-mini-cart{padding-inline:16px!important}
  .ec-drawer--cart .ec-drawer__foot{padding-inline:16px!important}
  .ec-drawer--cart .ms-mini-cart-quantity-row{margin-left:0}
  .ec-drawer--cart .ec-cart-footer-actions{gap:8px}
}
