/* Updating overlay */
.woocommerce-checkout-review-order.ak-updating,
#order_review.ak-updating {
  position: relative;
  opacity: 0.75;
  transition: opacity 180ms ease;
}

.woocommerce-checkout-review-order.ak-updating::after,
#order_review.ak-updating::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* After update pulse */
.woocommerce-checkout-review-order.ak-updated,
#order_review.ak-updated {
  animation: akPulse 320ms ease;
}
@keyframes akPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

/* Product name + remove button line */
.ak-product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  direction: rtl;
}

/* Remove button */
.ak-remove-btn {
  border: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 14px;
  line-height: 1;
}

.ak-remove-btn:hover {
  background: #ffeded;
  border-color: #ff4d4f;
  transform: scale(1.05);
}

/* Quantity controls */
.ak-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: rtl;
  vertical-align: middle;
}

.ak-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.ak-qty-btn:hover {
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ak-qty-btn:active {
  transform: scale(0.98);
}

/* Woo qty input */
.ak-qty .quantity {
  margin: 0 !important;
}

.ak-qty input.qty {
  width: 60px !important;
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  text-align: center !important;
  padding: 0 8px !important;
}

/* Static qty */
.ak-qty-static {
  display: inline-block;
  min-width: 28px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.05);
}

.ak-subtotal-wrap{
    display:flex;
    align-items:center;
    justify-content:flex-start ;
    gap:40px;
}

.ak-subtotal-price{
    white-space:nowrap;
}

.ak-remove-btn{
     /*opacity:.3;*/
    transition:.2s;
}
.woocommerce-checkout-review-order-table tr:hover .ak-remove-btn{
    opacity:1;
}

/* remove button style */
.ak-remove-btn{
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid rgba(0,0,0,.12);
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .2s ease;
    padding:0;
}

/* icon */
.ak-remove-icon{
    color:#777;
    transition:all .2s ease;
}

/* hover effect */
.ak-remove-btn:hover{
    border-color:#ff4d4f;
    background:#fff5f5;
}

.ak-remove-btn:hover .ak-remove-icon{
    color:#ff4d4f;
    transform:scale(1.1);
}

/* click feedback */
.ak-remove-btn:active{
    transform:scale(.92);
}

/* wrapper */
.ak-product-line{
    display:flex;
    align-items:center;
    gap:12px;              /* ← المسافة بين الزر والاسم */
}

/* ضمان عدم التصاق الاسم */
.ak-product-name{
    display:inline-block;
}

/* زر البداية */
.ak-remove-start{
    flex-shrink:0;
}

 