/* ---- Toast سبد خرید ---- */
#cart-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  direction: rtl;
  min-width: 280px;
}

#cart-toast.show {
  bottom: 24px;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.toast-btn-go {
  background: #3C6E55;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}

.toast-btn-go:hover {
  background: #2f5842;
}

.toast-btn-close {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.toast-btn-close:hover {
  color: #333;
}


/* ─────────────────────────────────────────────
   کنترل تعداد + متن سبد (جایگزین دکمه افزودن)
   ───────────────────────────────────────────── */
.btn-cart-wrap {

}
.btn-cart-wrap_top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 4px 0;
  cursor: default;
}

.cart-status-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.cart-status-text span {
  font-size: 13px;
  color: #444;
  font-weight: 600;
}

.cart-status-text a {
  font-size: 12px;
  color: #2377f5;
  text-decoration: none;
  font-weight: 500;
}

.cart-status-text a:hover {
  text-decoration: underline;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
}

.qty-ctrl-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #3C6E55;
  font-weight: bold;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}

.qty-ctrl-btn:hover {
  background: #f0f0f0;
}

.qty-ctrl-num {
  font-size: 15px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
  color: #222;
}