.sticky-cart-bar {
    position: sticky;   /* or fixed if you want it always at top */
    top: 0;
    z-index: 9999;
    background-color: #f5be35; 
    padding: 10px;
    text-align: center;
    display:flex;
    justify-content: center;
}
.purchase_info{display:flex;}
.p_info{display:flex;align-items: center;}
.p_info input{width: 152px;border-radius: 5px !important;margin-right
:8px;margin-left
:8px;}
span.dashicons-cart{color: #dc2525;
    background: white;
    padding-top: 7px;
    width: 38px;
    height: 38px;
    border-radius: 4px;}

//cart popup
/* Overlay behind the popup */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup Sidebar */
.cart-popup {
  position: fixed;
  top: 0;
  right: -400px; /* hidden offscreen */
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.cart-popup.open {
  right: 0; /* slides in */
}

/* Header */
.cart-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
}

.cart-popup-header h3 {
  margin: 0;
  font-size: 18px;
}

.cart-popup-header .close {
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* Body */
.cart-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-popup-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-popup-body li {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.cart-popup-body li img {
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Footer */
.cart-popup-footer {
  padding: 15px;
  border-top: 1px solid #ddd;
  font-size: 16px;
  background: #fafafa;
}


@media only screen and (max-width: 768px) {
	.sticky-cart-bar{flex-direction: column;}
	
	.p_info{flex-direction: column;}
	.p_info input{margin-right: 4px;}
	.p_info strong{text-align:left;}
	span.dashicons-cart {
    color: #dc2525;
    margin-top: 23px;
    margin-left: 12px;
	margin-right
:unset;	
}
}
