.mcfwc-content .icons {
	padding-left: 5px;
    display: inline-grid;
}
.mcfwc-content .icons i.fa-regular.fa-plus {
	font-size: 10px;
}

.mcfwc-content .icons i.fa-solid.fa-minus{
	font-size: 10px;
}

.mcfwc-subtotal {
    border: 1px solid;
    padding-top: 10px;
    height: 40px;
    text-align: center;
}

.mcfwc_total_price_text {
	display: inline-block;
	font-weight: 600;
}
.mcfwc_total_price {
	display: inline-block;
	font-weight: 600;
}
.mcfwc-cart-wrapper{
	width: 270px;
	position: fixed;
	z-index: 99999;
}
.mcfwc-cart-{
	position: absolute;
	cursor: pointer;
}
.mcfwc_popup_qnt {
	width: 50px !important;
    height: 10px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    display: inline-block !important;
}
.mcfwc-count{
	position: absolute;
	right: -10px;
	height: 25px;
	width: 25px;
	border-radius: 100px;
	background-color: #000;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	font-size: 12px;
	top: 0;
}
.mcfwc-content{
	height: 420px;
	position: relative;
	background-color: #fff;
	overflow: hidden;
	top: 50px;
	width: 500px;
	right: 10px;
	display: none;
	border:1px solid #ccc;
	z-index: 999;
}

.mcfwc-cart-wrapper:hover .mcfwc-content{
	/*display: block;*/
}
.mcfwc-content h3{
	font-size:20px !important;
	height: 40px;
	margin: 0 !important;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #333;
	color: #fff;
}

.mcfwc-products{
	height: 290px;
	overflow-y: auto;
	list-style-type: none;
	margin: 0 !important;
	padding-left: 0;
}

.mcfwc-products li:first-child{
  margin-top: 10px;
}
.mcfwc-remove{
	width: 5%;
}
.mcfwc-image{
	width: 18%;
}
.mcfwc-product-title{
	color:#333 !important;
	text-decoration:none !important;
}

.mcfwc-details{
	width: 60%;
	text-align: center;
}
.mcfwc-details h4{
	font-size: 18px;
	font-weight: 700;
}
.mcfwc-price{
	font-size: 16px;
  display: grid;
}
.mcfwc-content h5{
	font-size: 18px;
	padding: 0;
	font-weight: 700;
	border-top:1px solid #ccc;
	margin: 0 !important;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.mcfwc-empty{
	height: auto;
}

.mcfwc-cart-wrapper.mcfwc-shortcode-wrapper{
	position: relative !important;
	top: unset !important;
	bottom: unset !important;
	right: unset !important;
	left: unset !important;
	width: auto !important;
	z-index: 99999;
}
.mcfwc-shortcode-wrapper .mcfwc-cart{
	position: relative !important;
}
.mcfwc-shortcode-wrapper .mcfwc-content{
	position: absolute !important;
	bottom: unset !important;
	top: 60px !important;
	right: 0;
	z-index: 99999;
}
.mcfwc-shortcode-wrapper ul{
	position: relative !important;
	top: unset !important;
	left: unset !important;
	float: none !important;
}
.mcfwc-shortcode-wrapper li{
	max-width: 100% !important;
}
.mcfwc-shortcode-wrapper ul li a{
	max-width: 100% !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-indent: unset !important;
}
.mcfwc-shortcode-wrapper li{
	display: inline-flex !important;
}

.mcfwc_amc_open_count {
  padding: 0 4px;
}
.mcfwc_amc_item_quanity_update {
  cursor: pointer;
  transition: color 0.2s ease;
}

.mcfwc_amc_item_quanity_update:hover {
  color: #0073aa; /* or any color that fits your design */
}

.mcfwc-bottom-buttonss {
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow: hidden; /* ensures border-radius applies to both buttons */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mcfwc-cart-div,
.mcfwc-checkout-div {
  flex: 1;
}

.mcfwc-cart,
.mcfwc-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: none;
}

/* Cart Button Style */
.mcfwc-cart {
  background-color: #0073aa;
  color: #fff;
  border-right: 1px solid #005f8d;
}

.mcfwc-cart:hover {
  background-color: #005f8d;
}

/* Checkout Button Style */
.mcfwc-checkout {
  background-color: #2ecc71;
  color: #fff;
}

.mcfwc-checkout:hover {
  background-color: #27ae60;
}

/* Main cart item container */
.mcfwc-woocommerce-mini-cart-item {
  width: 98%;
  max-width: 485px;
  margin: 0 auto 16px;
  padding: 25px 15px;
  background: #eafffb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);

  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.3s ease;
  border: 1px solid;
}

.mcfwc-woocommerce-mini-cart-item:hover {
  background: #def8f5;
}

/* Remove (X) button */
.mcfwc-remove {
  align-self: flex-start;
}

.mcfwc-remove a {
  color: #e74c3c;
  font-size: 18px;
  text-decoration: none;
}

.mcfwc-remove a:hover {
  color: #c0392b;
}

/* Product image */
.mcfwc-image img {
  width: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Product details (title + price row) */
.mcfwc-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
.mcfwc-product-title h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #f39c12;
  font-weight: bold;
  float: left;
}

/* Price & quantity row */
.mcfwc-details p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
}

/* Price styling */
.mcfwc-price del {
  color: #aaa;
  margin-right: 4px;
}

.mcfwc-price ins {
  color: #27ae60;
  font-weight: 600;
  text-decoration: none;
}

/* Quantity input box */
.mcfwc_popup_qnt {
  width: 50px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
  background: #fff;
}

/* Plus/minus icons */
.mcfwc-content .icons i {
  font-size: 14px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mcfwc-content .icons i:hover {
  background: #f0f0f0;
}

.mcfwc-content .icons {
  display: flex;
  flex-direction: column; /* vertical stacking */
  align-items: center;
  gap: 8px; /* normal space between + and - */
}


/* Final line price */
.mcfwc_perticular_price {
  font-weight: bold;
  font-size: 16px;
  color: #222;
  margin-left: 6px;
}

/* Optional: center all items in list */
.mcfwc-products {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Base Desktop Styles (already included, kept unchanged here) */
/* Your existing styles remain as-is and continue above */

/* ===================== Responsive Styles ===================== */

/* Tablet view (768px and below) */
@media (max-width: 768px) {
  .mcfwc-cart-wrapper {
    width: 85%;
    right: 0;
    left: 0;
  }

  .mcfwc-content {
    width: 75%;
    right: 2.5%;
    top: 50px;
    height: 65vh;
    overflow-y: auto;
  }

  .mcfwc-products {
    height: auto;
    padding: 10px;
  }

  .mcfwc-woocommerce-mini-cart-item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px 10px;
    gap: 10px;
  }

  .mcfwc-image {
    width: 100%;
    text-align: center;
  }

  .mcfwc-image img {
    width: 100px;
  }

  .mcfwc-details {
    width: 100%;
    align-items: flex-start;
    padding: 0 10px;
  }

  .mcfwc-details p {
    flex-wrap: nowrap;
  }

  .mcfwc-remove {
    width: auto;
    align-self: flex-end;
    position: static; /* ⬅️ remove absolute positioning */
    margin-left: auto;
    margin-bottom: 5px;
  }

  .mcfwc-bottom-buttonss {
    flex-direction: column;
  }

  .mcfwc-cart,
  .mcfwc-checkout {
    font-size: 14px;
    padding: 12px 0;
  }
}

/* Mobile view (480px and below) */
@media (max-width: 480px) {
  .mcfwc-content {
    width: 90%;
    right: 2.5%;
    height: 65vh;
    top: 40px;
  }

  .mcfwc-content h3 {
    font-size: 18px;
    height: 40px;
  }

  .mcfwc-details h4 {
    font-size: 15px;
  }

  .mcfwc-price {
    font-size: 14px;
  }

  .mcfwc_popup_qnt {
    width: 40px;
    font-size: 13px;
  }

  .mcfwc-content .icons i {
    font-size: 12px;
    padding: 5px;
  }

  .mcfwc_perticular_price {
    font-size: 14px;
  }

  .mcfwc-cart,
  .mcfwc-checkout {
    font-size: 14px;
    padding: 12px 0;
  }

  .mcfwc-count {
    height: 20px;
    width: 20px;
    font-size: 11px;
  }
}

.mcfwc-close-icon {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #fff !important;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1000;
}

}
