/* Continue shopping button (Cart Totals) */
.woocommerce-cart .cart_totals .mfk-continue-shopping{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  margin-top:10px !important;
  padding:12px 16px !important;

  border:1px solid #dfdfdf !important;
  background-color:#fff !important;
  color:#535359 !important;
  letter-spacing:1px !important;
  font-family:"Post", sans-serif !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:20px !important;

  text-transform:none !important;
  border-radius:4px !important;
}

.woocommerce-cart .cart_totals .mfk-continue-shopping:hover{
  border-color:#cfcfcf !important;
  color:#2f2f2f !important;
}

/* Cart page: make the RIGHT totals section height fit its content */

/* 1) Stop any equal-height behavior on the two-column row */
body.woocommerce-cart .elementor-section .elementor-container,
body.woocommerce-cart .e-con,
body.woocommerce-cart .e-con-inner,
body.woocommerce-cart .row,
body.woocommerce-cart .wd-row{
  align-items: flex-start !important;
}

/* 2) Ensure the right column (totals card) sizes to its content */
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart_totals .shop_table{
  height: auto !important;
  min-height: 0 !important;
}

/* 3) WoodMart sticky sidebar can force extra height—turn it off here */
body.woocommerce-cart .wd-sticky-sidebar,
body.woocommerce-cart .wd-sticky-content{
  position: static !important;
  top: auto !important;
  height: auto !important;
}

/* 4) Remove extra padding/margins that visually enlarge the card */
body.woocommerce-cart .cart_totals{ margin: 0 !important; }
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout{ margin-top: 12px !important; }

/* =========================
   CART: cart page only
   ========================= */

/* Hide quantity in cart table */
.woocommerce-cart .shop_table .product-quantity{ display:none !important; }

/* Cart title styles (fix missing semicolon) */
.mfk-bag-title,
.mfk-bag-title .mfk-cart-title{
  font-size:28px;
  line-height:40px;
  font-family:"Roman", serif;
  font-weight:500;
}
.mfk-bag-title .mfk-cart-count{
  font-size:16px;
  line-height:1;
  font-family:"Post", sans-serif;
  font-weight:400;
}

/* Cart totals fit content (your earlier rules) */
body.woocommerce-cart .elementor-section .elementor-container,
body.woocommerce-cart .e-con,
body.woocommerce-cart .e-con-inner,
body.woocommerce-cart .row,
body.woocommerce-cart .wd-row{
  align-items:flex-start !important;
}
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart_totals .shop_table{
  height:auto !important;
  min-height:0 !important;
}
body.woocommerce-cart .wd-sticky-sidebar,
body.woocommerce-cart .wd-sticky-content{
  position:static !important;
  top:auto !important;
  height:auto !important;
}
body.woocommerce-cart .cart_totals{ margin:0 !important; }
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout{ margin-top:12px !important; }

/* Continue shopping button (from earlier) */
.woocommerce-cart .cart_totals .mfk-continue-shopping{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  margin-top:10px !important;
  padding:12px 16px !important;
  border:1px solid #dfdfdf !important;
  background-color:#fff !important;
  color:#535359 !important;
  letter-spacing:1px !important;
  font-family:"Post", sans-serif !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:20px !important;
  text-transform:none !important;
  border-radius:4px !important;
}
.woocommerce-cart .cart_totals .mfk-continue-shopping:hover{
  border-color:#cfcfcf !important;
  color:#2f2f2f !important;
}

/* LEFT: new rows after Samples */
.tf-mfk-left-info-card{
	margin-top:14px;
}

/* clickable row without breaking style */
.tf-mfk-left-info-card .tf-mfk-info-row{
	text-decoration:none;
	color:inherit;
	display:flex;
}

/* progress style like attachment */
.tf-mfk-ship-progress{
	position:relative;
	height:4px;
	background:rgba(0,0,0,.12);
	overflow:hidden;
	margin-top:10px;
}

.tf-mfk-ship-bar{
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	width:0%;
	background:rgba(0,0,0,.55);
}

.tf-mfk-ship-meta{
	display:flex;
	justify-content:space-between;
	margin-top:6px;
	font-size:12px;
	opacity:.75;
}

/* =========================
   Free Shipping compact row (like screenshot)
   ========================= */

/* Make the whole row behave like a card row */
a.tf-mfk-info-row.tf-mfk-ship-compact{
	display:block;
	padding:18px;
	text-decoration:none !important; /* remove underline */
	color:inherit;
}

/* Remove underline on hover/focus */
a.tf-mfk-info-row.tf-mfk-ship-compact:hover,
a.tf-mfk-info-row.tf-mfk-ship-compact:focus,
a.tf-mfk-info-row.tf-mfk-ship-compact:hover *{
	text-decoration:none !important;
}

.tf-mfk-ship-top{
	margin-bottom:10px;
}

.tf-mfk-ship-line{
	font-size:13px;
	line-height:1.3;
	opacity:.9;
}

/* Bar + target on same line */
.tf-mfk-ship-bottom{
	display:flex;
	align-items:center;
	gap:12px;
}

/* Progress bar */
.tf-mfk-ship-progress{
	position:relative;
	flex:1;
	height:4px;
	background:rgba(0,0,0,.12);
	overflow:hidden;
}

.tf-mfk-ship-bar{
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	width:0%;
	background:#1e63d6; /* لو بدك نفس اللون الأزرق */
}

/* Target value on right */
.tf-mfk-ship-target{
	white-space:nowrap;
	font-size:12px;
	opacity:.7;
}

/* spacing after samples */
.tf-mfk-left-info-card{ margin-top:14px; }

/* ===== Free shipping card (exact layout: text top, bar + target below) ===== */
.tf-mfk-free-ship-link{
	display:block;
	padding:18px;
	color:inherit;
	text-decoration:none !important;
}

.tf-mfk-free-ship-link:hover,
.tf-mfk-free-ship-link:focus,
.tf-mfk-free-ship-link:hover *{
	text-decoration:none !important; /* kill underline */
}

.tf-mfk-free-ship-line{
	font-size:13px;
	line-height:1.3;
	opacity:.9;
	margin-bottom:10px;
}

/* bar + target same row (target on right) */
.tf-mfk-free-ship-barline{
	display:flex;
	align-items:center;
	gap:12px;
}

.tf-mfk-free-ship-progress{
	position:relative;
	flex:1;
	height:4px;
	background:rgba(0,0,0,.12);
	overflow:hidden;
}

.tf-mfk-free-ship-fill{
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	width:0%;
	background:#1e63d6; /* same blue like screenshot */
}

.tf-mfk-free-ship-target{
	white-space:nowrap;
	font-size:12px;
	opacity:.7;
}

/* Academy card row clickable without underline */
.tf-mfk-academy-card a,
.tf-mfk-academy-card a:hover{
	text-decoration:none !important;
	color:inherit;
}

/* ================================
   Cart: make left/right equal height
   ================================ */

/* 1) Ensure grid stretches items to same row height */
.tf-mfk-cart-grid{
  align-items: stretch !important;
}

/* 2) Make both columns take full row height */
.tf-mfk-cart-left,
.tf-mfk-cart-right{
  height: 100% !important;
}

/* 3) Build a "card" wrapper feel for LEFT so empty area looks intentional (like right card) */
.tf-mfk-cart-left{
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;

  /* Optional: give same card background/border like your right side */
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}

/* 4) Let the form/content expand to fill the remaining space */
.tf-mfk-cart-left .tf-mfk-cart-form{
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 100% !important;
}

/* 5) Items block grows, samples stay at bottom */
.tf-mfk-cart-left .tf-mfk-items{
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Keep the samples card pinned after items */
.tf-mfk-samples-card{
  margin-top: auto !important;
}

/* If you want same inner padding like right card */
.tf-mfk-cart-left .tf-mfk-items,
.tf-mfk-cart-left .tf-mfk-samples-card{
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Equal height columns (NO change to inner blocks sizes) */
.tf-mfk-cart-grid{
  align-items: stretch !important; /* make both columns same height */
}

.tf-mfk-cart-left,
.tf-mfk-cart-right{
  height: 100% !important; /* ensure fill the stretched grid row */
}