/* ===== BioPoint Custom Cart ===== */

@media (min-width: 768px) {
  .bp-cart-wrap .citem-price:has(.citem-was) {
    margin-top: -60px;
  }
 .bp-cart-wrap .citem-price:not(:has(.citem-was)) {
    margin-top: -20px;
  }	
	
}
	
.bp-cart-wrap .qty-label{
 margin-right: 60px;
}


.bp-cart-wrap{
  --ink:#0E1116;
  --gray:#6B7480;
  --line:#E8EAEE;
  --bg:#FFFFFF;
  --bg2:#F6F8FB;
  --blue:#2B7FE0;
  --blue-bright:#4A9EF5;
  --blue-faint:#EAF3FF;
  --green:#1D9E75;
  max-width:1280px;
  margin:0 auto;
  padding:40px 48px 80px;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
}

/* Title */
.bp-cart-wrap .cart-title{
  font-size:38px;
  font-weight:900;
  letter-spacing:-0.02em;
  margin-bottom:4px;
}
.bp-cart-wrap .cart-count{
  font-size:14px;
  color:var(--gray);
  margin-bottom:30px;
}

/* Grid: items left, summary right */
.bp-cart-wrap .cart-grid{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:48px;
  align-items:start;
}

/* ===== CART ITEMS ===== */
.bp-cart-wrap .citems{
  border-top:1px solid var(--line);
}
.bp-cart-wrap .citem{
  display:flex;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
}

/* Product image */
.bp-cart-wrap .citem-img{
  width:104px;
  height:104px;
  border-radius:14px;
  background:var(--bg2);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
}
.bp-cart-wrap .citem-img img{
  height:90%;
  width:auto;
  object-fit:contain;
}

/* Product body */
.bp-cart-wrap .citem-body{
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.bp-cart-wrap .citem-top{
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:12px;
}
.bp-cart-wrap .citem-name{
  font-size:18px;
  font-weight:800;
  color:var(--ink);
}
.bp-cart-wrap .citem-mg{
  font-size:13px;
  color:var(--gray);
  margin-top:3px;
}

/* Remove button */
.bp-cart-wrap .citem-x{
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
  color:var(--gray);
  text-decoration:none;
  display:flex;
  flex-shrink:0;
  align-self:flex-start;
}
.bp-cart-wrap .citem-x:hover{ color:#E24B4A; }
.bp-cart-wrap .citem-x svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
}

/* Deal badge */
.bp-cart-wrap .citem-deal{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:#fff;
  background:var(--blue);
  padding:4px 9px;
  border-radius:6px;
  margin-top:9px;
  align-self:flex-start;
}

/* Bottom row: qty + price */


/* Qty label (read-only) */
.bp-cart-wrap .qty-label{
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 14px;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
    background:#fff;
  flex-shrink:0;
  align-self:center;
  height:fit-content;
  line-height:1;
}
/* Line price */
.bp-cart-wrap .citem-price{
  text-align:right;
}
.bp-cart-wrap .citem-now{
  font-size:18px;
  font-weight:800;
  color:var(--ink);
}
.bp-cart-wrap .citem-was{
  font-size:13px;
  color:var(--gray);
  text-decoration:line-through;
}

/* ===== ORDER SUMMARY ===== */
.bp-cart-wrap .cart-aside{
  position:sticky;
  top:100px;
}
.bp-cart-wrap .summary{
  background:var(--bg2);
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
}
.bp-cart-wrap .sum-h{
  font-size:13px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--ink);
  margin-bottom:20px;
}

/* Coupon input */
.bp-cart-wrap .coupon-row{
  display:flex;
  gap:8px;
  margin-bottom:14px;
}
.bp-cart-wrap .coupon-row input{
  flex:1;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  font-size:13px;
  font-family:'Inter',sans-serif;
  outline:none;
  text-transform:uppercase;
  background:#fff;
}
.bp-cart-wrap .coupon-row input:focus{
  border-color:var(--blue-bright);
}
.bp-cart-wrap .coupon-row button{
  background:var(--ink);
  color:#fff;
  border:none;
  border-radius:10px;
  padding:0 20px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:background .2s;
}
.bp-cart-wrap .coupon-row button:hover{
  background:var(--blue);
}

/* Coupon remove link */
.bp-cart-wrap .coupon-remove{
  color:var(--gray);
  font-size:11px;
  margin-left:4px;
  text-decoration:none;
}
.bp-cart-wrap .coupon-remove:hover{
  color:#E24B4A;
}

/* Divider */
.bp-cart-wrap .sum-div{
  border-top:1px solid var(--line);
  margin:18px 0;
}

/* Summary rows */
.bp-cart-wrap .sum-row{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  margin-bottom:13px;
  color:var(--gray);
}
.bp-cart-wrap .sum-row .v{
  color:var(--ink);
  font-weight:600;
}
.bp-cart-wrap .sum-row.disc .v{
  color:var(--green);
  font-weight:700;
}
.bp-cart-wrap .ship-free{
  color:var(--green);
  font-weight:700;
}

/* Total */
.bp-cart-wrap .sum-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:16px;
  border-top:1px solid var(--line);
  margin-top:4px;
}
.bp-cart-wrap .sum-total .l{
  font-size:16px;
  font-weight:800;
  color:var(--ink);
}
.bp-cart-wrap .sum-total .v{
  font-size:26px;
  font-weight:900;
  color:var(--ink);
}

/* Checkout button */
.bp-cart-wrap .checkout-btn{
  display:block;
  width:100%;
  text-align:center;
  background:var(--ink);
  color:#fff;
  border:none;
  border-radius:13px;
  padding:18px;
  font-size:14px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  transition:background .2s;
  margin-top:22px;
  text-decoration:none;
  box-sizing:border-box;
}
.bp-cart-wrap .checkout-btn:hover{
  background:var(--blue);
  color:#fff;
}

/* Continue shopping */
.bp-cart-wrap .keep{
  display:block;
  text-align:center;
  margin-top:16px;
  font-size:13px;
  color:var(--blue);
  text-decoration:none;
  font-weight:600;
}
.bp-cart-wrap .keep:hover{
  text-decoration:underline;
}

/* Trust badges */
.bp-cart-wrap .trust{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.bp-cart-wrap .trust-item{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:var(--gray);
  font-weight:500;
}
.bp-cart-wrap .trust-item svg{
  width:14px;
  height:14px;
  stroke:var(--blue);
  fill:none;
  stroke-width:2;
}

/* ===== WooCommerce overrides inside our wrapper ===== */
.bp-cart-wrap .woocommerce-notices-wrapper{
  margin-bottom:10px;
}
.bp-cart-wrap .woocommerce-message,
.bp-cart-wrap .woocommerce-error,
.bp-cart-wrap .woocommerce-info{
  padding:12px 16px;
  border-radius:10px;
  margin-bottom:12px;
  font-size:13px;
}


/* ===================================================
   MOBILE
   =================================================== */
@media (max-width:767px){
  .bp-cart-wrap{
    padding:22px 24px 40px;
  }
  .bp-cart-wrap .cart-title{
    font-size:28px;
  }
  .bp-cart-wrap .cart-count{
    font-size:12px;
    margin-bottom:18px;
  }

  /* Stack: items on top, summary below */
  .bp-cart-wrap .cart-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  /* Items */
  .bp-cart-wrap .citem{
    gap:13px;
    padding:18px 0;
	padding-bottom: 10px;
  }
  .bp-cart-wrap .citem-img{
    width:74px;
    height:74px;
    border-radius:12px;
  }
  .bp-cart-wrap .citem-name{
    font-size:14px;
    line-height:1.2;
  }
  .bp-cart-wrap .citem-mg{
    font-size:11px;
    margin-top:2px;
  }
  .bp-cart-wrap .citem-deal{
    font-size:9px;
    padding:3px 5px;
    border-radius:5px;
    margin-top:7px;
  }
  .bp-cart-wrap .citem-x svg{
    width:16px;
    height:16px;
  }
.bp-cart-wrap .citem-bot{
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
  text-align:right;
  margin-top: -17px;
}
  .bp-cart-wrap .qty-label{
    padding:6px 12px;
    font-size:13px;
  }
  .bp-cart-wrap .citem-now{
    font-size:15px;
  }
  .bp-cart-wrap .citem-was{
    font-size:11px;
  }

  /* Summary */
  .bp-cart-wrap .cart-aside{
    position:static;
    margin-top:18px;
  }
  .bp-cart-wrap .summary{
    border-radius:14px;
    padding:18px;
  }
  .bp-cart-wrap .sum-row{
    font-size:13px;
    margin-bottom:11px;
  }
  .bp-cart-wrap .sum-total .l{
    font-size:15px;
  }
  .bp-cart-wrap .sum-total .v{
    font-size:22px;
  }

  /* Trust badges: stack on small screens */
  .bp-cart-wrap .trust{
    gap:12px;
    flex-wrap:wrap;
  }
}
