.mini-cart-wrapper {
  position: relative;
  display: inline-block;
}

.mini-cart-icon {
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.cart-count-bubble {
  position: absolute;
  top: -5px;
  right: -5px;
  border-radius: 50%;
  padding: 2px 6px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
}
.mini-cart-price ins bdi {
	color: red;
}
.cart-count-plain {
    position: absolute;
    top: -10px;
    left: 15px;
    border-radius: 25px;
    padding: 2px 3px;
    color: black;
    text-align: center;
    min-width: 20px;
    font-size: 11px;
    background-color: white;
}

.mini-cart-offcanvas {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1000;
}

.mini-cart-offcanvas.active {
  right: 0;
}

.mini-cart-offcanvas-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
}
.mini-cart-offcanvas-content.loading:after{
	content: " ";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	z-index: 3;
}
.mini-cart-header {
  padding: 20px;
  border-bottom: 1px solid #ddd;
  text-align: left;
 flex:0 0 auto;
}
.mini-cart-top-content{
	display:flex;
	flex-direction:column;
	flex:1;
	overflow:hidden;
}
.mini-cart-close {
  position: absolute;
  top: 25px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  right: 20px !important;
}
.mini-cart-close:hover {
  background: none;
}
.mini-cart-subtotal {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  align-items: center;
  text-transform: uppercase;
}
.mini-cart-subtotal .cart_subtotal{
	font-weight:400;
}
.mini-cart-items {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1 1 auto;
  overflow-y:auto;

}
.mini-cart-bottom-content {
  padding: 20px;
}
.mini-cart-item {
  display: flex;
  align-items: center;
  position: relative;
}
.mini-cart-thumbnail {
  display: flex;
  flex-shrink: 0;
}
.mini-cart-thumbnail img {
  height: auto;
  margin-right: 10px;
  display: flex;
  flex-shrink: 0;
}

.mini-cart-details {
  flex-grow: 1;
  text-align: left;
}
.min-cart-product-categories a {
  font-size: 10px !important;
  margin-bottom: 5px;
  color: var(--ast-global-color-3) !important;
}
/* .mini-cart-item h4{
    font-weight: 500 !important;
    letter-spacing: 0.7px !important;
	text-decoration: none;
} */

.mini-cart-quantity {
  margin-top: 5px;
}
.mini-cart-quantity .quantity {
  display: flex;
  align-items: center;
  width: 120px;
}
.woocommerce-js .quantity .minus,
.woocommerce-js .quantity .plus {
  margin: 0 !important;
  border: none;
}
.mini-cart-quantity input {
  width: 46px;
  text-align: center;
  padding: 0;
  font-size: 14px;
  border: none;
  margin: 0;
  min-height: auto !important;
  max-width: unset !important;
  color: rgb(0, 0, 0) !important;
  font-weight: 500 !important;
}

.mini-cart-price {
    text-transform: uppercase;
	font-size:14px;
	display: flex;
    flex-direction: column;
	letter-spacing: 0.7px;
	font-family: 'Futura PT';
    font-weight: 400 !important;
}

.mini-cart-price del{
	opacity: .5;
	letter-spacing: 0.7px;
}
.mini-cart-quantity button {
  cursor: pointer;
  cursor: pointer;
  height: 33px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: none;
}
.mini-cart-quantity-price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.mini-cart-quantity button:hover,
.mini-cart-quantity button:focus {
  border: none;
  background-color: transparent !important;
}
.mini-cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
}
.mini-cart-remove:hover,
.mini-cart-remove:focus {
  background: none;
  border: none;
  outline: none;
}

.remove-icon-top {
  align-self: flex-start;
}

.remove-icon-center {
  align-self: center;
}

.remove-icon-bottom {
  align-self: flex-end;
}

.mini-cart-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-cart-buttons a {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  text-decoration: none;
  border: 1px solid #000;
  width: 100%;
}

@media (max-width: 768px) {
  .mini-cart-offcanvas {
    width: 100%;
  }
  .mini-cart-price {
	font-size:16px;
	}
  .mini-cart-offcanvas.active {
    right: 0;
  }
}

@media (max-width: 1024px) {
	.mini-cart-details h4 a{
	font-size:14px !important;
}
}
.mini-cart-backdrop {
  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: 9990;
}

.mini-cart-offcanvas {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 9991;
}

.mini-cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.mini-cart-quantity .plus-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13' viewBox='0 0 14 13' fill='none'%3E%3Cpath d='M6.77454 0.558594V13' stroke='%231D1D1B' stroke-miterlimit='10'/%3E%3Cpath d='M0.518311 6.77734H13.0356' stroke='%231D1D1B' stroke-miterlimit='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 13px; /* match original SVG size */
    border: none;
    cursor: pointer;
    background-color: transparent; /* or any color you want */
}
.mini-cart-quantity .minus-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='2' viewBox='0 0 12 2' fill='none'%3E%3Cpath d='M0.241364 0.90625H11.978' stroke='black'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 2px; /* match original SVG size */
    border: none;
    cursor: pointer;
    background-color: transparent; /* or any background color */
}

